/* =========================================================
   Oasis Irrigation & Landscaping LLC — styles
   Brand blue sampled from logo: #27628B
   ========================================================= */
:root {
  --brand: #27628b;
  --brand-600: #1f5378;
  --brand-700: #184463;
  --navy: #0b2233;
  --navy-2: #102e44;
  --sky: #5bb6e0;          /* water accent, used on dark surfaces */
  --sky-soft: #d9eef8;
  --mist: #eef4f8;
  --bg: #f5f8fb;
  --card: #ffffff;
  --ink: #0e2232;
  --muted: #4b5f6e;
  --line: #d8e3eb;
  --star: #f5b301;
  --success: #1e7a4f;
  --error: #b42318;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(11, 34, 51, .06), 0 2px 8px rgba(11, 34, 51, .05);
  --shadow: 0 10px 30px -12px rgba(11, 34, 51, .25);

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 112px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -0.02em; color: var(--ink); }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow svg { width: 16px; height: 16px; }
.eyebrow--light { color: var(--sky); }
.h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 700; text-wrap: balance; }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); max-width: 56ch; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .lead { max-width: 44ch; }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: var(--h); padding: 6px 6px 6px 22px;
  border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  touch-action: manipulation;
}
.btn .btn-ic {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  transition: transform .25s var(--ease);
}
.btn .btn-ic svg { width: 18px; height: 18px; }
.btn:hover .btn-ic { transform: rotate(45deg); }
.btn:active { transform: scale(.98); }

.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(39, 98, 139, .6); }
.btn--primary .btn-ic { background: #fff; color: var(--brand); }
.btn--primary:hover { background: var(--brand-700); }

.btn--light { background: #fff; color: var(--navy); }
.btn--light .btn-ic { background: var(--brand); color: #fff; }
.btn--light:hover { background: var(--sky-soft); }

.btn--ghost { background: transparent; color: #fff; padding: 6px 18px; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--ghost svg { width: 18px; height: 18px; }

.btn--sm { --h: 44px; font-size: 14px; padding-left: 18px; }
.btn--sm .btn-ic { width: 32px; height: 32px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 14px 0;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding: 8px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.brand .logo-blue { display: none; }
.site-header.is-scrolled .brand .logo-white { display: none; }
.site-header.is-scrolled .brand .logo-blue { display: block; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  color: #fff; text-decoration: none; font-size: 15px; font-weight: 500;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav-links a:hover { background: rgba(255, 255, 255, .14); }
.site-header.is-scrolled .nav-links a { color: var(--ink); }
.site-header.is-scrolled .nav-links a:hover { background: var(--mist); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  display: inline-flex; padding: 3px; border-radius: 999px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3);
}
.lang-toggle button {
  min-width: 40px; min-height: 36px; border: 0; border-radius: 999px; background: transparent;
  color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; letter-spacing: .03em;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.lang-toggle button[aria-pressed="true"] { background: #fff; color: var(--brand); }
.site-header.is-scrolled .lang-toggle { background: var(--mist); border-color: var(--line); }
.site-header.is-scrolled .lang-toggle button { color: var(--muted); }
.site-header.is-scrolled .lang-toggle button[aria-pressed="true"] { background: var(--brand); color: #fff; }

.nav-links a, .nav-phone { white-space: nowrap; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; min-height: 44px; padding: 0 6px; }
@media (max-width: 1240px) { .nav-phone { display: none; } }
.nav-phone svg { width: 18px; height: 18px; }
.site-header.is-scrolled .nav-phone { color: var(--brand); }

.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; place-items: center;
}
.menu-btn svg { width: 22px; height: 22px; }
.site-header.is-scrolled .menu-btn { color: var(--ink); border-color: var(--line); background: #fff; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--navy);
  display: flex; flex-direction: column; padding: 18px var(--gutter) 32px;
  transform: translateY(-100%); visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s linear .35s;
}
.mobile-menu.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
.mobile-menu .mm-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.mobile-menu .mm-top img { height: 40px; width: auto; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mobile-menu ul a { display: block; padding: 14px 4px; color: #fff; text-decoration: none; font-family: var(--font-head); font-size: 26px; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mobile-menu .mm-bottom { margin-top: auto; display: grid; gap: 14px; }
.mobile-menu .menu-btn { display: grid; }

/* ---------- Hero ---------- */
.hero { padding: 12px; }
.hero-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  min-height: min(92vh, 860px); min-height: min(92dvh, 860px);
  display: flex; align-items: flex-end;
  color: #fff; isolation: isolate;
}
.hero-card > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 28, 43, .55) 0%, rgba(8, 28, 43, .05) 26%, rgba(8, 28, 43, .1) 45%, rgba(8, 28, 43, .82) 100%),
    linear-gradient(90deg, rgba(8, 28, 43, .55) 0%, rgba(8, 28, 43, 0) 65%);
}
.hero-inner { width: 100%; padding: 140px clamp(20px, 5vw, 64px) clamp(32px, 6vw, 64px); display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: end; }
.trust { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; margin-bottom: 18px; color: rgba(255, 255, 255, .92); }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 16px; height: 16px; }
.hero h1 { color: #fff; font-size: clamp(40px, 6.6vw, 80px); font-weight: 700; max-width: 14ch; text-wrap: balance; }
.hero h1 .accent { color: var(--sky); }
.hero-sub { margin-top: 18px; font-size: clamp(16px, 1.5vw, 19px); color: rgba(255, 255, 255, .9); max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-badges { display: grid; gap: 10px; justify-self: end; width: 100%; max-width: 320px; }
.badge-glass {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 14px; font-weight: 500; line-height: 1.35;
}
.badge-glass .ic { width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .92); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.badge-glass .ic svg { width: 20px; height: 20px; }
.badge-glass strong { display: block; font-weight: 700; font-size: 15px; }

/* ---------- About + stats ---------- */
.about-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px 64px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.about-grid .lead { margin-top: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { padding: 4px 0 0; border-top: 2px solid var(--line); }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; color: var(--brand); letter-spacing: -0.02em; line-height: 1.2; padding-top: 10px; }
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- Before/After ---------- */
.ba {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16 / 9; background: var(--mist); box-shadow: var(--shadow);
  user-select: none; -webkit-user-select: none; touch-action: pan-y;
  --pos: 50%;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-label {
  position: absolute; top: 18px; z-index: 3; padding: 7px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
}
.ba-label--before { left: 18px; background: #fff; color: var(--navy); }
.ba-label--after { right: 18px; background: var(--brand); color: #fff; }
.ba-divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; z-index: 2; pointer-events: none; }
.ba-handle {
  position: absolute; top: 50%; left: var(--pos); z-index: 3; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--brand);
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); pointer-events: none;
}
.ba-handle svg { width: 26px; height: 26px; }
.ba input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; z-index: 4;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
}
.ba input[type="range"]:focus-visible ~ .ba-handle { outline: 3px solid var(--sky); outline-offset: 4px; }
.ba-caption { margin-top: 14px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.ba-caption svg { width: 16px; height: 16px; color: var(--brand); }

/* ---------- Services ---------- */
.services { background: #fff; }
.service-list { display: grid; gap: 18px; }
.service {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 0; align-items: stretch;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service:hover { box-shadow: var(--shadow); border-color: transparent; }
.service-body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; }
.service-num { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--brand); letter-spacing: .06em; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.service-num .tag { background: var(--sky-soft); color: var(--brand-700); padding: 4px 10px; border-radius: 999px; font-size: 12px; letter-spacing: .02em; }
.service h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; }
.service p { margin-top: 12px; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.checks li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; }
.checks svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--brand); margin-top: 1px; }
.license {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  margin: -8px 0 22px !important; padding: 6px 12px; border-radius: 999px;
  background: var(--sky-soft); color: var(--brand-700) !important; font-size: 13px; font-weight: 600;
}
.license svg { width: 16px; height: 16px; flex-shrink: 0; }
.service .btn { margin-top: auto; align-self: flex-start; }
.service-media { position: relative; min-height: 300px; }
.service-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service:hover .service-media img { transform: scale(1.04); }
.service:nth-child(even) .service-media { order: -1; }

/* ---------- Process ---------- */
.process { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.process::after {
  content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%;
  border: 60px solid rgba(91, 182, 224, .07); pointer-events: none;
}
.process .h2 { color: #fff; }
.process .lead { color: rgba(255, 255, 255, .75); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step {
  padding: 30px; border-radius: var(--radius); background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, .08); position: relative;
}
.step-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--brand); display: grid; place-items: center; margin-bottom: 22px; }
.step-ic svg { width: 24px; height: 24px; color: #fff; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 26px; right: 28px; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--sky);
}
.step h3 { color: #fff; font-size: 21px; font-weight: 700; }
.step p { margin-top: 10px; color: rgba(255, 255, 255, .72); font-size: 15px; }
.process-cta { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.process-cta p { color: rgba(255, 255, 255, .8); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.g-item { position: relative; border-radius: var(--radius); overflow: hidden; margin: 0; background: var(--mist); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-item figcaption {
  position: absolute; left: 10px; bottom: 10px; right: 10px;
  padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .94);
  font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.35;
  display: flex; align-items: center; gap: 8px; width: fit-content; max-width: calc(100% - 20px);
}
.g-item figcaption svg { width: 15px; height: 15px; color: var(--brand); flex-shrink: 0; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* ---------- Reviews ---------- */
.reviews { background: #fff; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review {
  padding: 28px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 16px; margin: 0;
}
.review blockquote { margin: 0; font-size: 16px; line-height: 1.65; color: var(--ink); }
.review footer { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--font-head); }
.review cite { font-style: normal; font-weight: 700; display: block; }
.review small { color: var(--muted); font-size: 13px; }
.review-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- FAQ + Area ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; align-items: start; }
.faq { display: grid; gap: 12px; margin-top: 28px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.faq details[open] { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 600; font-size: 16px; min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 30px; height: 30px; border-radius: 50%; background: var(--mist); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; transition: transform .25s var(--ease), background-color .2s; }
.faq summary .pm svg { width: 16px; height: 16px; }
.faq details[open] .pm { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq .answer { padding: 0 20px 20px; color: var(--muted); }

.area-card { background: var(--navy); color: #fff; border-radius: var(--radius-lg); overflow: hidden; }
.area-card .area-body { padding: clamp(24px, 4vw, 36px); }
.area-card h3 { color: #fff; font-size: 26px; }
.area-card p { color: rgba(255, 255, 255, .75); margin-top: 10px; }
.chips { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 14px; font-weight: 500; }
.chips li svg { width: 14px; height: 14px; color: var(--sky); }
.area-map { aspect-ratio: 16 / 10; width: 100%; border: 0; display: block; filter: saturate(.85); background: var(--navy-2); }

/* ---------- Contact / Estimate ---------- */
.contact { padding-bottom: calc(var(--section) - 24px); }
.contact-card { display: grid; grid-template-columns: .9fr 1.1fr; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact-media { position: relative; min-height: 420px; color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.contact-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.contact-media::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 34, 51, .1), rgba(11, 34, 51, .88)); }
.contact-info { padding: clamp(24px, 4vw, 40px); display: grid; gap: 14px; width: 100%; }
.contact-info h3 { color: #fff; font-size: 24px; }
.ci-row { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 500; min-height: 44px; }
.ci-row .ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; flex-shrink: 0; }
.ci-row .ic svg { width: 18px; height: 18px; }
a.ci-row:hover .ic { background: var(--brand); }

.form { padding: clamp(24px, 4vw, 44px); }
.form h2 { font-size: clamp(28px, 3.4vw, 40px); }
.form > p { color: var(--muted); margin-top: 8px; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--ink); padding: 0; }
.field .req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg); font-size: 16px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b6c7d4; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(39, 98, 139, .15); }
.field .err { font-size: 13px; color: var(--error); min-height: 0; display: none; }
.field.has-error input, .field.has-error select { border-color: var(--error); }
.field.has-error .err { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg); font-weight: 600; font-size: 15px;
  transition: all .2s var(--ease);
}
.seg span svg { width: 18px; height: 18px; }
.seg input:checked + span { border-color: var(--brand); background: var(--sky-soft); color: var(--brand-700); }
.seg input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.form-foot { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-foot small { color: var(--muted); font-size: 13px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-weight: 500; display: none; }
.form-status.is-success { display: block; background: #e7f5ee; color: var(--success); }
.form-status.is-error { display: block; background: #fdecea; color: var(--error); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .78); padding: 64px 0 28px; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid img { height: 46px; width: auto; margin-bottom: 16px; }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 14px; letter-spacing: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-grid a { text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links, .nav-phone { display: none; }
  .menu-btn { display: grid; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-badges { justify-self: start; grid-template-columns: repeat(3, 1fr); max-width: none; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .about-grid, .faq-grid, .contact-card { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; }
  .service:nth-child(even) .service-media { order: 0; }
  .service-media { min-height: 240px; aspect-ratio: 16 / 10; order: -1; }
  .steps, .review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .contact-media { min-height: 320px; }
  .hero-badges { grid-template-columns: 1fr; max-width: 360px; }
}
@media (max-width: 640px) {
  .hero { padding: 8px; }
  .hero-card { border-radius: 22px; min-height: 88svh; }
  .hero-inner { padding-top: 120px; }
  .hero-badges { display: none; }
  .brand img { height: 36px; }
  .nav-actions .btn { display: none; }
  .checks { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 10px; }
  .g-wide { grid-column: span 2; }
  .g-item figcaption { font-size: 12px; padding: 6px 10px; }
  .ba { aspect-ratio: 4 / 5; }
  .stats { gap: 12px; }
  .stat span { font-size: 13px; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px; }
  .callbar a svg { width: 18px; height: 18px; }
  .callbar .cb-call { background: var(--mist); color: var(--brand-700); }
  .callbar .cb-quote { background: var(--brand); color: #fff; }
  .site-footer { padding-bottom: 96px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-card > img { transform: none; }
}
