/* =========================================================
   Precision Pool Services — Madison, WI
   Global stylesheet
   ========================================================= */

:root {
  --navy: #0b2540;
  --navy-2: #12365c;
  --aqua: #17a9c9;
  --aqua-2: #4fd0e8;
  --aqua-light: #e8f7fb;
  --ink: #17232f;
  --muted: #5a6b7c;
  --bg: #ffffff;
  --bg-alt: #f3f7fa;
  --line: #dde6ee;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px rgba(11, 37, 64, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 37, 64, 0.14);
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--aqua); text-decoration: none; }
a:hover { color: var(--navy-2); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: #cfdbe7; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s;
  font-family: inherit;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--aqua); color: #fff; box-shadow: 0 8px 20px rgba(23, 169, 201, 0.35); }
.btn--primary:hover { background: #1297b4; color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(23, 169, 201, 0.4); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: #fff; }
.btn--outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn--outline:hover { border-color: var(--aqua); color: var(--aqua); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.35s, padding 0.35s, box-shadow 0.35s;
}
.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding: 10px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; line-height: 1.1; }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo small { display: block; font-weight: 500; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.75; }
.logo:hover { color: #fff; }
.is-scrolled .logo, .is-solid .logo { color: var(--navy); }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  font-size: 0.97rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--aqua-2); border-radius: 2px;
}
.is-scrolled .nav-links a, .is-solid .nav-links a { color: var(--ink); }
.is-scrolled .nav-links a:hover, .is-solid .nav-links a:hover { background: var(--aqua-light); color: var(--navy); }
.is-scrolled .nav-links a[aria-current="page"], .is-solid .nav-links a[aria-current="page"] { color: var(--navy); }
.nav-links .btn { padding: 10px 20px; margin-left: 8px; color: #fff; }
.nav-links .btn:hover { color: #fff; background: #1297b4; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; border-radius: 2px; content: ""; transition: transform 0.3s var(--ease), background 0.3s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; right: 0; top: -7px; }
.nav-toggle span::after { left: 0; right: 0; top: 7px; }
.is-scrolled .nav-toggle span, .is-scrolled .nav-toggle span::before, .is-scrolled .nav-toggle span::after,
.is-solid .nav-toggle span, .is-solid .nav-toggle span::before, .is-solid .nav-toggle span::after { background: var(--navy); }
.nav-open .nav-toggle span { background: transparent !important; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; z-index: 2; }
  .nav-links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 10px;
    background: var(--navy); opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease);
  }
  .nav-links a, .is-scrolled .nav-links a, .is-solid .nav-links a { color: #fff; font-size: 1.3rem; }
  .nav-links .btn { margin: 12px 0 0; }
  .nav-open .nav-links { opacity: 1; pointer-events: auto; }
  .nav-open .nav-toggle span::before, .nav-open .nav-toggle span::after { background: #fff; }
  .nav-open .logo { color: #fff; position: relative; z-index: 2; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 80% -10%, #1b4f80 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, #0e2f52 100%);
  color: #cbd9e6;
  padding: 160px 0 140px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--aqua-2); }
.hero .lead { color: #b9cbdc; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 36px; font-size: 0.92rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 18px; height: 18px; color: var(--aqua-2); }

.page-hero { padding: 150px 0 110px; }
.page-hero .hero-inner { position: relative; z-index: 2; max-width: 760px; }
.breadcrumbs { font-size: 0.88rem; margin-bottom: 18px; color: #9fb4c8; }
.breadcrumbs a { color: #cfe6f3; }

.hero-waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 110px; z-index: 1; }
.hero-waves svg { position: absolute; bottom: 0; width: 200%; height: 100%; }
.hero-waves .w1 { animation: waveMove 18s linear infinite; opacity: 0.35; }
.hero-waves .w2 { animation: waveMove 11s linear infinite reverse; opacity: 0.6; }
.hero-waves .w3 { animation: waveMove 24s linear infinite; }
@keyframes waveMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.bubbles span {
  position: absolute; bottom: -40px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5), rgba(79,208,232,0.15));
  animation: rise linear infinite; z-index: 1;
}
@keyframes rise {
  0% { transform: translateY(0) scale(0.8); opacity: 0; }
  10% { opacity: 0.8; }
  100% { transform: translateY(-720px) scale(1.1); opacity: 0; }
}

/* ---------- Image placeholders ---------- */
.img-ph {
  position: relative;
  width: 100%;
  aspect-ratio: var(--ratio, 4 / 3);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, rgba(11,37,64,0.035) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #e9f1f7, #dbe7f0);
  border: 2px dashed #b8cad9;
  display: grid;
  place-items: center;
  text-align: center;
  color: #6b8197;
  overflow: hidden;
}
.img-ph .ph-inner { display: grid; justify-items: center; gap: 6px; padding: 16px; }
.img-ph svg { width: 44px; height: 44px; opacity: 0.6; }
.img-ph strong { font-size: 0.9rem; font-weight: 600; }
.img-ph small { font-size: 0.78rem; opacity: 0.85; }
.img-ph--dark { background: repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 12px, transparent 12px 24px), linear-gradient(135deg, #1a456f, #143a60); border-color: rgba(255,255,255,0.28); color: #b7cde0; }
.img-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.hero-media { position: relative; }
.hero-media .img-ph { box-shadow: var(--shadow-lg); }
.float-card {
  position: absolute; background: #fff; color: var(--ink); border-radius: 14px; padding: 14px 18px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; font-size: 0.9rem; line-height: 1.3;
  animation: floaty 6s ease-in-out infinite;
}
.float-card strong { display: block; color: var(--navy); font-size: 1rem; }
.float-card .dot { width: 40px; height: 40px; border-radius: 12px; background: var(--aqua-light); display: grid; place-items: center; color: var(--aqua); flex: none; }
.float-card .dot svg { width: 20px; height: 20px; }
.float-card.fc1 { left: -28px; bottom: 40px; }
.float-card.fc2 { right: -20px; top: 30px; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Stats ---------- */
.stats { margin-top: -70px; position: relative; z-index: 5; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 30px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stat .num em { font-style: normal; color: var(--aqua); }
.stat p { margin: 8px 0 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--aqua), var(--aqua-2)); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card p { color: var(--muted); margin-bottom: 0; }
.card .link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.card .link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.card .link:hover svg { transform: translateX(3px); }
.icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--aqua-light); color: var(--aqua);
  display: grid; place-items: center; margin-bottom: 20px; transition: transform 0.35s var(--ease), background 0.35s, color 0.35s;
}
.icon svg { width: 28px; height: 28px; }
.card:hover .icon { background: var(--aqua); color: #fff; transform: rotate(-6deg) scale(1.05); }

/* ---------- Split / feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.reverse .split-media { order: 2; }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--aqua-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317a9c9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.tag { display: inline-block; background: var(--aqua-light); color: var(--navy-2); font-size: 0.8rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--aqua), var(--aqua-2)); transform-origin: left; transform: scaleX(var(--progress, 0)); transition: transform 1.4s var(--ease);
}
.steps.is-visible::before { --progress: 1; }
.step { text-align: center; position: relative; }
.step .n {
  counter-increment: step; width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--aqua); color: var(--navy); font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; position: relative; z-index: 1;
}
.step .n::before { content: counter(step); }
.step p { color: var(--muted); font-size: 0.96rem; }
.section--navy .step .n { background: var(--navy); color: #fff; }
.section--navy .step p { color: #a9bccf; }

/* ---------- Season timeline ---------- */
.season { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.season-item { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 26px 22px; transition: background 0.3s, transform 0.3s var(--ease); }
.season-item:hover { background: rgba(255,255,255,0.09); transform: translateY(-4px); }
.season-item .when { color: var(--aqua-2); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.season-item h3 { margin-top: 8px; }
.season-item p { color: #a9bccf; font-size: 0.95rem; margin: 0; }

/* ---------- Testimonials ---------- */
.quote { background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.quote .stars { color: #f5b301; letter-spacing: 3px; }
.quote blockquote { margin: 0; color: var(--ink); font-size: 1.02rem; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote .avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, #dbe7f0, #c5d6e4); border: 2px dashed #b8cad9; }
.quote .who strong { display: block; color: var(--navy); }
.quote .who small { color: var(--muted); }
.quote.is-placeholder blockquote { color: var(--muted); font-style: italic; }

/* ---------- Plans ---------- */
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 30px; display: flex; flex-direction: column; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan.featured { background: var(--navy); border-color: var(--navy); color: #c7d6e4; position: relative; }
.plan.featured h3, .plan.featured .price { color: #fff; }
.plan.featured .badge { position: absolute; top: -13px; left: 30px; background: var(--aqua); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; letter-spacing: 0.06em; text-transform: uppercase; }
.plan .price { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; color: var(--navy); margin: 6px 0 4px; }
.plan .price small { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.plan.featured .price small { color: #9fb4c8; }
.plan .checklist { margin-bottom: 28px; flex: 1; }
.plan.featured .checklist li::before { background-color: rgba(79, 208, 232, 0.18); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--aqua) 0%, #1386b8 100%);
  border-radius: 24px; padding: clamp(40px, 6vw, 64px); color: #e9f8fc; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: -120px; top: -160px; background: rgba(255,255,255,0.12); }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; max-width: 560px; }
.cta-band .btn { background: #fff; color: var(--navy); position: relative; z-index: 1; }
.cta-band .btn:hover { transform: translateY(-2px); color: var(--navy); }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-btn { font-family: inherit; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 9px 20px; border-radius: 999px; font-weight: 600; cursor: pointer; transition: all 0.25s; }
.filter-btn:hover { border-color: var(--aqua); color: var(--aqua); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { transition: opacity 0.4s, transform 0.4s var(--ease); }
.gallery-item.hidden { display: none; }
.gallery-item figcaption { margin-top: 10px; font-size: 0.92rem; color: var(--muted); }
.gallery-item figcaption strong { color: var(--navy); display: block; }
.gallery-item figure { margin: 0; }
.gallery-item .img-ph { transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.gallery-item:hover .img-ph { transform: scale(1.02); box-shadow: var(--shadow); }
.gallery-item.wide { grid-column: span 2; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.info-list { display: grid; gap: 16px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: border-color 0.25s, transform 0.3s var(--ease); }
.info-item:hover { border-color: var(--aqua); transform: translateX(4px); }
.info-item .icon { margin: 0; width: 48px; height: 48px; flex: none; }
.info-item .icon svg { width: 22px; height: 22px; }
.info-item h4 { margin: 0 0 2px; font-size: 1rem; }
.info-item p, .info-item a { margin: 0; color: var(--muted); }
.info-item a:hover { color: var(--aqua); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: 0.92rem; color: var(--navy); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.98rem; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fbfdfe; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 4px rgba(23, 169, 201, 0.15); background: #fff; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 12px; }
.form-success { display: none; padding: 16px 18px; border-radius: var(--radius-sm); background: #e9f9ef; color: #1c6b3a; margin-top: 14px; font-weight: 500; }
.form-success.show { display: block; animation: fadeIn 0.4s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; color: var(--muted); }

.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.areas span { background: #fff; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-size: 0.92rem; font-weight: 500; color: var(--navy); transition: all 0.25s; }
.areas span:hover { border-color: var(--aqua); color: var(--aqua); transform: translateY(-2px); }
.section--navy .areas span { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15); color: #e2ecf5; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; transition: border-color 0.25s, box-shadow 0.25s; }
.faq details[open] { border-color: var(--aqua); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--aqua); transition: transform 0.3s var(--ease); line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card .img-ph { --ratio: 1 / 1; margin-bottom: 16px; }
.team-card h3 { margin-bottom: 2px; }
.team-card p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #081b2f; color: #93a8bc; padding: 76px 0 28px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #93a8bc; transition: color 0.2s; }
.site-footer a:hover { color: var(--aqua-2); }
.site-footer .logo { color: #fff; margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 52px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.86rem; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); display: grid; place-items: center; transition: all 0.25s; }
.social a:hover { background: var(--aqua); border-color: var(--aqua); color: #fff; transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--navy); color: #fff;
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease), background 0.25s; z-index: 90;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--aqua); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--aqua), var(--aqua-2)); transform-origin: left; transform: scaleX(0); z-index: 200; }

/* =========================================================
   Scroll-reveal animations
   ========================================================= */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--delay, 0s); will-change: opacity, transform; }
.reveal.from-left { transform: translateX(-48px); }
.reveal.from-right { transform: translateX(48px); }
.reveal.zoom { transform: scale(0.92); }
.reveal.is-visible { opacity: 1; transform: none; }

.js-off .reveal { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .season { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { padding: 130px 0 120px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .float-card.fc1 { left: 10px; }
  .float-card.fc2 { right: 10px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid-3, .grid-2, .grid-4, .season, .steps, .gallery, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: auto; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .float-card { display: none; }
}

/* Uploaded photos fill their box */
.img-ph.has-img { border: 0; background: #e9f1f7; }
.img-ph.has-img .ph-inner { display: none; }
.quote .avatar img { border-radius: 50%; }
.quote .avatar.has-img { border: 0; }
