/* ===========================================================
   First Light Pool Care — styles
   Palette: fresh aqua + sunrise
   =========================================================== */

:root {
  /* Brand */
  --teal:        #0EA5B7;
  --teal-deep:   #0B7A89;
  --teal-dark:   #075563;
  --navy:        #0F2A3F;
  --navy-soft:   #1c3e54;
  --sunrise:     #F5A623;
  --sunrise-lt:  #FFD27D;
  --coral:       #FF8A5B;

  /* Neutrals */
  --white:       #ffffff;
  --paper:       #F8FAFC;
  --mist:        #EAF6F8;
  --mist-2:      #DDF0F3;
  --line:        #d9e6ea;
  --ink:         #0F2A3F;
  --ink-soft:    #355064;
  --muted:       #4d6175;

  /* Effects */
  --shadow-sm:   0 1px 2px rgba(15,42,63,.06), 0 2px 6px rgba(15,42,63,.05);
  --shadow-md:   0 8px 24px rgba(15,42,63,.10);
  --shadow-lg:   0 20px 50px rgba(15,42,63,.16);
  --shadow-teal: 0 16px 40px rgba(14,165,183,.28);

  --radius:      14px;
  --radius-lg:   22px;
  --radius-pill: 999px;

  --container:   1160px;
  --gutter:      clamp(20px, 5vw, 48px);

  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--ink); letter-spacing: -.01em; }

:focus-visible { outline: 3px solid var(--sunrise); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section--tint { background: linear-gradient(180deg, var(--mist) 0%, #fff 100%); }

.section__head { max-width: 660px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section__title { font-size: clamp(1.9rem, 4vw, 3rem); }
.section__lead { margin-top: 16px; font-size: 1.1rem; color: var(--ink-soft); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-deep);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--sunrise); border-radius: 2px; }
.eyebrow--center { justify-content: center; }

.text-grad {
  background: linear-gradient(100deg, var(--teal) 0%, var(--teal-deep) 60%, var(--sunrise) 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--teal); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: .98rem;
  padding: 13px 24px; border: 1.5px solid transparent; border-radius: var(--radius-pill);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: linear-gradient(120deg, var(--teal) 0%, var(--teal-deep) 100%); box-shadow: var(--shadow-teal); }
.btn--primary:hover { box-shadow: 0 20px 46px rgba(14,165,183,.4); }
.btn--sunrise { background: linear-gradient(120deg, var(--sunrise-lt) 0%, var(--sunrise) 55%, var(--coral) 120%); color: #4a2c00; box-shadow: 0 16px 40px rgba(245,166,35,.36); }
.btn--ghost { background: transparent; color: var(--teal-deep); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--teal); background: var(--mist); }
.btn--ghost-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost-light:hover { background: rgba(255,255,255,.2); }
.btn--lg { padding: 16px 30px; font-size: 1.04rem; }
.btn--block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy); color: #cfe6ec; font-size: .85rem; }
.topbar__inner {
  max-width: var(--container); margin-inline: auto; padding: 8px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.topbar__phone { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 600; transition: color .2s; }
.topbar__phone:hover { color: var(--sunrise-lt); }
.topbar__item:first-child { letter-spacing: .02em; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, background .3s;
}
.header.is-stuck { box-shadow: var(--shadow-sm); border-color: var(--line); background: rgba(255,255,255,.94); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { display: grid; place-items: center; filter: drop-shadow(0 4px 8px rgba(14,165,183,.18)); }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; line-height: 1; color: var(--ink); display: flex; flex-direction: column; }
.brand__sub { font-family: var(--font-body); font-weight: 600; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--teal-deep); margin-top: 3px; }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__sub { color: var(--sunrise-lt); }

.nav__menu { display: flex; align-items: center; gap: 6px; }
.nav__menu a { padding: 9px 14px; border-radius: var(--radius-pill); font-weight: 500; font-size: .96rem; color: var(--ink-soft); transition: color .2s, background .2s; }
.nav__menu a:hover { color: var(--teal-deep); background: var(--mist); }
.nav__cta { background: linear-gradient(120deg, var(--teal), var(--teal-deep)); color: #fff !important; font-weight: 600; box-shadow: var(--shadow-teal); }
.nav__cta:hover { background: var(--teal-deep) !important; transform: translateY(-1px); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav__toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 3px; transition: transform .3s, opacity .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #effafb 0%, #fef7ea 100%); }
.hero__sky { position: absolute; inset: 0; overflow: hidden; }
.hero__sun {
  position: absolute; top: -120px; right: 8%; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255,210,125,.95) 0%, rgba(245,166,35,.55) 38%, rgba(245,166,35,0) 70%);
  filter: blur(2px); animation: floatSun 12s ease-in-out infinite;
}
.hero__glow {
  position: absolute; bottom: -10%; left: -10%; width: 60%; height: 60%; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,183,.22) 0%, rgba(14,165,183,0) 70%);
}
@keyframes floatSun { 0%,100% { transform: translateY(0); } 50% { transform: translateY(18px); } }

.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center;
  padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(120px, 14vw, 180px);
}
.hero__title { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 600; margin-top: 18px; }
.hero__lead { margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 34px; }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 500; color: var(--ink-soft); }
.hero__badges svg { color: var(--teal); flex: none; }

/* Hero quote card */
.hero__card { position: relative; z-index: 2; }
.quote-card {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.quote-card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); padding: 1px;
  background: linear-gradient(140deg, var(--sunrise-lt), transparent 40%, var(--teal) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.quote-card__title { font-size: 1.5rem; }
.quote-card__sub { color: var(--muted); font-size: .92rem; margin-top: 4px; margin-bottom: 18px; }
.quote-card__form { display: grid; gap: 13px; }
.quote-card__fineprint { font-size: .76rem; color: var(--muted); text-align: center; margin-top: 2px; }

/* Fields */
.field { display: grid; gap: 6px; }
.field__label { font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.req { color: var(--coral); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 11px;
  padding: 12px 14px; width: 100%; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #9fb0bb; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); background: #fff;
  box-shadow: 0 0 0 4px rgba(14,165,183,.14);
}
.field.is-invalid input, .field.is-invalid select { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255,138,91,.14); }
.field__error { font-size: .78rem; color: #d9533a; min-height: 0; }
.field.is-invalid .field__error { min-height: 1em; }

/* Water divider */
.water { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; line-height: 0; }
.water__waves { width: 100%; height: clamp(70px, 9vw, 120px); }
.water__wave { transform-origin: center; }
.water__wave--back { fill: #d6eef2; animation: waveX 14s ease-in-out infinite alternate; }
.water__wave--front { fill: #ffffff; animation: waveX 9s ease-in-out infinite alternate-reverse; }
@keyframes waveX { from { transform: translateX(-20px); } to { transform: translateX(20px); } }

/* ---------- Stats ---------- */
.stats { background: #fff; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: -10px; padding: clamp(28px, 4vw, 40px) clamp(20px, 4vw, 44px);
  background: linear-gradient(120deg, var(--navy) 0%, var(--teal-dark) 100%);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  position: relative; top: -56px; margin-bottom: -36px;
}
.stat { text-align: center; color: #fff; }
.stat__num { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1; color: var(--sunrise-lt); }
.stat__label { display: block; margin-top: 8px; font-size: .9rem; color: #bcdde4; letter-spacing: .01em; }

/* ---------- Cards (services) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 26px); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 32px);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--sunrise)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--mist), var(--mist-2)); color: var(--teal-deep);
  margin-bottom: 18px; transition: background .3s, color .3s, transform .3s;
}
.card:hover .card__icon { background: linear-gradient(135deg, var(--teal), var(--teal-deep)); color: #fff; transform: rotate(-6deg) scale(1.05); }
.card__title { font-size: 1.28rem; margin-bottom: 8px; }
.card__text { color: var(--ink-soft); font-size: .98rem; }

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.why__photo {
  position: relative; aspect-ratio: 4/3.4; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, #ffe9c2 0%, #ffd79a 22%, #7fd0dc 60%, #0EA5B7 100%);
  box-shadow: var(--shadow-lg);
}
.why__photo-sun { position: absolute; top: 16%; left: 50%; transform: translateX(-50%); width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, #fff6e0 0%, var(--sunrise-lt) 60%, rgba(245,166,35,.2) 100%); box-shadow: 0 0 70px 24px rgba(255,210,125,.7); }
.why__photo-water { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0)); backdrop-filter: blur(1px); }
.why__photo-water::before, .why__photo-water::after {
  content: ""; position: absolute; left: -10%; right: -10%; height: 14px; border-radius: 50%;
  background: rgba(255,255,255,.4);
}
.why__photo-water::before { top: 30%; animation: ripple 6s ease-in-out infinite; }
.why__photo-water::after  { top: 60%; animation: ripple 8s ease-in-out infinite reverse; }
@keyframes ripple { 0%,100% { transform: scaleX(1); opacity:.4; } 50% { transform: scaleX(1.08); opacity:.7; } }
.why__badge {
  position: absolute; right: 18px; bottom: 18px; background: #fff; border-radius: 16px; padding: 12px 16px;
  box-shadow: var(--shadow-md); display: flex; flex-direction: column; line-height: 1.2;
}
.why__badge strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--sunrise); }
.why__badge small { color: var(--muted); font-size: .78rem; }

.features { display: grid; gap: 20px; margin-top: 26px; }
.feature { display: flex; gap: 15px; align-items: flex-start; }
.feature__check { flex: none; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--teal-deep)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; box-shadow: 0 6px 14px rgba(14,165,183,.3); }
.feature h3 { font-size: 1.12rem; margin-bottom: 2px; }
.feature p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 34px); counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 28px 30px; text-align: center; }
.step__num {
  position: absolute; top: -26px; left: 50%; transform: translateX(-50%);
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: #fff;
  background: linear-gradient(135deg, var(--sunrise-lt), var(--sunrise) 60%, var(--coral)); box-shadow: 0 12px 26px rgba(245,166,35,.4);
}
.step__title { font-size: 1.22rem; margin: 14px 0 8px; }
.step__text { color: var(--ink-soft); font-size: .98rem; }
.steps .step:not(:last-child)::after {
  content: ""; position: absolute; top: 0; right: -17px; width: 34px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--teal) 0 6px, transparent 6px 12px);
}

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 26px); align-items: stretch; }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 34px); position: relative; transition: transform .3s var(--ease), box-shadow .3s; }
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.plan--featured { border-color: transparent; background: linear-gradient(180deg, #fff, var(--mist)); box-shadow: var(--shadow-lg); transform: scale(1.03); }
.plan--featured:hover { transform: scale(1.03) translateY(-5px); }
.plan__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(120deg, var(--sunrise), var(--coral)); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: var(--radius-pill); box-shadow: 0 8px 18px rgba(245,166,35,.4); }
.plan__name { font-size: 1.4rem; }
.plan__desc { color: var(--muted); font-size: .92rem; margin: 6px 0 18px; }
.plan__quote { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; color: var(--teal-deep); line-height: 1.1; }
.plan--featured .plan__quote { color: var(--teal-deep); }
.plan__list { display: grid; gap: 11px; margin: 22px 0 26px; }
.plan__list li { position: relative; padding-left: 28px; color: var(--ink-soft); font-size: .95rem; }
.plan__list li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 19px; height: 19px; border-radius: 50%; background: var(--mist-2); color: var(--teal-deep); font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.plan--featured .plan__list li::before { background: var(--teal); color: #fff; }
.plan .btn { margin-top: auto; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 26px); }
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 2.6vw, 32px); box-shadow: var(--shadow-sm); }
.testimonial__stars { color: var(--sunrise); letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 14px; }
.testimonial blockquote { font-size: 1.04rem; color: var(--ink); line-height: 1.6; }
.testimonial figcaption { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.testimonial figcaption strong { color: var(--ink); }
.testimonial figcaption span { color: var(--muted); font-size: .85rem; }

/* ---------- Areas ---------- */
.areas__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.areas__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; margin: 26px 0 30px; }
.areas__list li { position: relative; padding-left: 24px; color: var(--ink-soft); font-weight: 500; }
.areas__list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(14,165,183,.16); }
.areas__map { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 5/4; }
.areas__map svg { width: 100%; height: 100%; }
.areas__pin { position: absolute; width: 16px; height: 16px; border-radius: 50% 50% 50% 0; background: var(--coral); transform: rotate(-45deg); box-shadow: 0 4px 10px rgba(0,0,0,.25); z-index: 2; }
.areas__pin::after { content: ""; position: absolute; inset: 4px; background: #fff; border-radius: 50%; }
.areas__pin--1 { top: 30%; left: 28%; } .areas__pin--2 { top: 52%; left: 58%; }
.areas__pin--3 { top: 22%; left: 68%; } .areas__pin--4 { top: 66%; left: 36%; }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; padding: clamp(54px, 8vw, 90px) 0; background: linear-gradient(120deg, var(--navy) 0%, var(--teal-dark) 60%, var(--teal-deep) 100%); overflow: hidden; }
.cta-banner::before { content: ""; position: absolute; top: -40%; right: -5%; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(245,166,35,.5) 0%, rgba(245,166,35,0) 70%); }
.cta-banner__inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-banner__title { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.cta-banner__text { color: #c8e6ec; margin-top: 8px; font-size: 1.08rem; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.contact__details { display: grid; gap: 20px; margin-top: 28px; }
.contact__details li { display: flex; gap: 15px; align-items: center; }
.contact__icon { flex: none; width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, var(--mist), var(--mist-2)); color: var(--teal-deep); display: grid; place-items: center; }
.contact__k { display: block; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.contact__details a { font-weight: 600; color: var(--ink); transition: color .2s; }
.contact__details a:hover { color: var(--teal-deep); }

.contact__form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 38px); box-shadow: var(--shadow-md); }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__note { font-size: .92rem; text-align: center; min-height: 1.2em; }
.form__note.is-success { color: var(--teal-deep); font-weight: 600; }
.form__note.is-error { color: #d9533a; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #aecbd4; padding-top: clamp(54px, 7vw, 80px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 50px); padding-bottom: 48px; }
.footer__tag { margin-top: 16px; font-size: .94rem; max-width: 32ch; color: #9ec0cb; }
.footer__col h3 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 11px; }
.footer__col a, .footer__col li { color: #9ec0cb; font-size: .95rem; transition: color .2s; }
.footer__col a:hover { color: var(--sunrise-lt); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; color: #88a8b3; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { max-width: 460px; }
  .why__grid, .areas__grid, .contact__grid { grid-template-columns: 1fr; }
  .why__media { order: -1; max-width: 520px; }
  .cards, .steps, .plans, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .steps .step:not(:last-child)::after { display: none; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-5px); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); top: -30px; margin-bottom: -10px; }
}

@media (max-width: 760px) {
  .topbar__item:first-child { display: none; }
  .nav__toggle { display: flex; z-index: 110; }
  .nav__menu {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 6px;
    background: #fff; padding: 96px 24px 32px; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .35s var(--ease); z-index: 105;
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__menu a { padding: 14px 16px; font-size: 1.05rem; }
  .nav__cta { margin-top: 8px; text-align: center; }
  body.nav-open { overflow: hidden; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(15,42,63,.5); z-index: 102; }
}

@media (max-width: 560px) {
  .cards, .steps, .plans, .testimonials, .areas__list { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .cta-banner__actions { width: 100%; }
  .cta-banner__actions .btn { flex: 1; }
}

/* ---------- Motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
