/* ==========================================================================
   Blue Castle Pools — Homepage
   Palette from the logo: castle royal blue, deep navy, pool aqua, sky, sand
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand */
  --navy-950: #061A44;
  --navy-900: #0A2463;       /* deep logo outline */
  --royal: #1E50B4;          /* castle & "BLUE" lettering — primary */
  --royal-600: #2A62D0;
  --azure: #2E8BEA;
  --aqua: #4CC9F0;           /* pool water */
  --sky: #EEF6FE;
  --sky-2: #F6FAFF;
  --sand: #F4ECDD;           /* pool deck */

  /* Neutrals */
  --ink: #0B1B3A;
  --text: #3A4A66;
  --muted: #677792;
  --line: #E1E8F3;
  --white: #FFFFFF;

  /* Type */
  --font-head: "DM Serif Display", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --section-y: clamp(84px, 9vw, 128px);
  --header-h: 88px;
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius: 16px;
  --radius-sm: 12px;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(10, 36, 99, .05), 0 3px 10px rgba(10, 36, 99, .05);
  --shadow-md: 0 16px 40px -16px rgba(10, 36, 99, .25);
  --shadow-lg: 0 40px 80px -30px rgba(10, 36, 99, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, fieldset { margin: 0; }
fieldset { padding: 0; border: 0; min-width: 0; }

h1, h2 { font-family: var(--font-head); font-weight: 400; color: var(--ink); letter-spacing: -0.01em; }
h3, h4 { font-family: var(--font-body); font-weight: 700; color: var(--ink); }
h1 em, h2 em { font-style: italic; color: var(--royal); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

/* ---------- 3. Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--royal);
}
.eyebrow::before {                     /* little wave mark */
  content: "";
  width: 26px; height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 8'%3E%3Cpath d='M1 4c3-3 5-3 8 0s5 3 8 0 5-3 8 0' fill='none' stroke='%232E8BEA' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.eyebrow-light { color: var(--aqua); }

.section-title { font-size: clamp(36px, 4.4vw, 54px); line-height: 1.1; }
.section-intro { margin-top: 18px; font-size: 18px; color: var(--muted); }
.lead { font-size: 18.5px; line-height: 1.7; color: var(--text); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn-sm { height: 44px; padding: 0 22px; font-size: 14px; }
.btn-lg { height: 58px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--royal-600), var(--royal));
  color: var(--white);
  box-shadow: 0 12px 26px -12px rgba(30, 80, 180, .75);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgba(30, 80, 180, .85); }

.btn-outline { color: var(--navy-900); border-color: #CAD7EC; background: var(--white); }
.btn-outline:hover { border-color: var(--royal); color: var(--royal); }

.btn-light { background: var(--white); color: var(--navy-900); }
.btn-light:hover { background: var(--sky); transform: translateY(-1px); }

.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .14); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(10, 36, 99, .5); }

.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-sm);
}
.brand-name { font-family: var(--font-head); font-size: 23px; line-height: 1; color: var(--navy-900); }
.brand-name em { font-style: italic; color: var(--royal); }

.main-nav { display: flex; align-items: center; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a:not(.btn) {
  position: relative;
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: color .2s;
}
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--aqua);
  transform: scaleX(0);
  transition: transform .25s var(--ease);
}
.main-nav a:not(.btn):hover, .main-nav a.is-active { color: var(--royal); }
.main-nav a:not(.btn):hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.nav-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 10px; }
.header-phone-icon {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--royal);
}
.header-phone-icon .icon { width: 18px; height: 18px; }
.header-phone-text { display: flex; flex-direction: column; line-height: 1.25; font-size: 15px; font-weight: 800; color: var(--navy-900); }
.header-phone-text small { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.header-phone:hover .header-phone-text { color: var(--royal); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { width: 18px; height: 2px; border-radius: 2px; background: var(--navy-900); transition: transform .3s var(--ease), opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 6vw, 80px) 0 clamp(56px, 6vw, 72px);
  background: linear-gradient(180deg, var(--sky) 0%, var(--sky-2) 60%, var(--white) 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero-water {                          /* soft caustic light */
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 380px at 80% 25%, rgba(76, 201, 240, .28), transparent 70%),
    radial-gradient(500px 300px at 10% 90%, rgba(46, 139, 234, .12), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 8px 16px 8px 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-900);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.stars { display: inline-flex; gap: 2px; color: #F5B301; }
.stars .icon { width: 15px; height: 15px; fill: currentColor; stroke: none; }

.hero-title { font-size: clamp(46px, 6.2vw, 80px); line-height: 1.02; letter-spacing: -0.02em; }
.hero-title em { color: var(--royal); }
.hero-text { margin: 26px 0 38px; max-width: 520px; font-size: 18.5px; color: var(--muted); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0;
  margin-top: 48px;
}
.hero-stats li { padding-right: 32px; }
.hero-stats li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.hero-stats strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 32px; line-height: 1.1; color: var(--navy-900); }
.hero-stats small { font-family: var(--font-body); font-size: 15px; color: var(--muted); }
.hero-stats span { font-size: 14px; color: var(--muted); }

/* Arch-framed photo — a nod to the castle in the logo */
.hero-visual { position: relative; padding: 0 0 36px 36px; }
.hero-arch {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius-xl) var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--white);
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; }

.hero-badge {
  position: absolute;
  left: 0; bottom: 0;
  width: clamp(130px, 13vw, 168px);
  aspect-ratio: 1;
  padding: 6px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.hero-badge img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

.hero-card {
  position: absolute;
  right: -20px; top: 18%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.hero-card-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--sky); color: var(--royal); }
.hero-card strong { display: block; font-size: 15px; color: var(--ink); line-height: 1.3; }
.hero-card div span { font-size: 13px; color: var(--muted); }

/* Service-area ribbon */
.area-ribbon {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: clamp(48px, 6vw, 72px);
  padding: 18px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.area-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--royal);
}
.area-label .icon { width: 18px; height: 18px; }
.area-ribbon ul { display: flex; flex-wrap: wrap; gap: 6px 0; }
.area-ribbon li { font-size: 14.5px; font-weight: 600; color: var(--text); }
.area-ribbon li + li::before { content: "·"; margin: 0 10px; color: var(--aqua); font-weight: 800; }

/* ---------- 7. Sections (shared) ---------- */
.section { padding-block: var(--section-y); }
.section-head { max-width: 680px; margin: 0 auto 60px; text-align: center; }
.section-head .eyebrow { justify-content: center; }

/* ---------- 8. About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}
.about-media { position: relative; padding-bottom: 48px; }
.about-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.about-quote {
  position: absolute;
  right: -28px; bottom: 0;
  max-width: 320px;
  padding: 26px 28px;
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-quote p { font-family: var(--font-head); font-size: 21px; line-height: 1.35; }
.about-quote span { display: block; margin-top: 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--aqua); }

.about-copy .section-title { margin-bottom: 22px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.why-grid li {
  padding: 24px;
  background: var(--sky-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.why-grid li:hover { background: var(--white); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.why-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--royal-600), var(--royal));
  color: var(--white);
}
.why-icon .icon { width: 22px; height: 22px; }
.why-grid h3 { font-size: 16.5px; margin-bottom: 4px; }
.why-grid p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* ---------- 9. Services (dark) ---------- */
.services {
  position: relative;
  background:
    radial-gradient(800px 500px at 0% 0%, rgba(46, 139, 234, .22), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(76, 201, 240, .14), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: rgba(255, 255, 255, .75);
}
.services .section-title { color: var(--white); }
.services .section-title em { color: var(--aqua); }
.services .section-intro { color: rgba(255, 255, 255, .65); }

.service-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-card {
  padding: 26px 24px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius-lg);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.service-card:hover { background: rgba(255, 255, 255, .08); border-color: rgba(76, 201, 240, .45); transform: translateY(-3px); }
.service-icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(76, 201, 240, .14);
  color: var(--aqua);
}
.service-icon .icon { width: 24px; height: 24px; stroke-width: 1.8; }
.service-card h3 { font-size: 17px; color: var(--white); margin-bottom: 6px; line-height: 1.35; }
.service-card p { font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .62); }

.results {
  display: flex;
  flex-direction: column;
  padding: 14px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-xl);
}
.results-pair { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-height: 360px; }
.results-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.results-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.results-tag {
  position: absolute;
  left: 12px; top: 12px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(6, 26, 68, .7);
  backdrop-filter: blur(6px);
  border-radius: 999px;
}
.results-tag-after { background: var(--royal); }
.results figcaption { padding: 18px 10px 8px; font-size: 15px; color: rgba(255, 255, 255, .7); }
.results figcaption strong { color: var(--white); }

/* ---------- 10. Pricing ---------- */
.pricing { background: linear-gradient(180deg, var(--white), var(--sky-2)); }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.price-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.price-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.price-card:hover .price-media img { transform: scale(1.04); }

.price-body { flex: 1; display: flex; flex-direction: column; padding: 30px 30px 32px; }
.price-body h3 { font-size: 19px; }
.price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin: 10px 0 12px;
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1;
}
.price .amount { font-size: 56px; }
.price .currency { font-size: 28px; align-self: flex-start; margin-top: 6px; color: var(--royal); }
.price .per, .price small { font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--muted); }
.price .per { margin-left: 8px; }
.price small { margin-right: 8px; }
.price-desc { font-size: 15px; color: var(--muted); }

.price-list { display: grid; gap: 12px; margin: 24px 0 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.price-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--text); }
.price-list .icon {
  width: 22px; height: 22px;
  padding: 4px;
  stroke-width: 3;
  border-radius: 50%;
  color: var(--royal);
  background: var(--sky);
}
.price-body .btn { margin-top: auto; }

.price-card-featured {
  background: linear-gradient(170deg, var(--royal) 0%, var(--navy-900) 70%);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-14px);
}
.price-card-featured:hover { transform: translateY(-19px); }
.price-card-featured h3, .price-card-featured .price { color: var(--white); }
.price-card-featured .price .currency { color: var(--aqua); }
.price-card-featured .price .per, .price-card-featured .price-desc { color: rgba(255, 255, 255, .7); }
.price-card-featured .price-list { border-color: rgba(255, 255, 255, .15); }
.price-card-featured .price-list li { color: rgba(255, 255, 255, .9); }
.price-card-featured .price-list .icon { color: var(--navy-900); background: var(--aqua); }

.price-ribbon {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* ---------- 11. CTA ---------- */
.cta {
  position: relative;
  padding-block: clamp(96px, 11vw, 150px);
  text-align: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  background: var(--navy-900);
}
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 26, 68, .78), rgba(10, 36, 99, .88));
}
.cta-inner { max-width: 820px; }
.cta .eyebrow { justify-content: center; }
.cta-title { font-size: clamp(36px, 5vw, 60px); line-height: 1.1; color: var(--white); margin-bottom: 40px; }
.cta-title em { color: var(--aqua); }
.cta .btn-row { justify-content: center; }

/* ---------- 12. FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-intro .section-intro { margin: 16px 0 28px; }

.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
}
.faq-item[open] { border-color: rgba(30, 80, 180, .3); background: var(--sky-2); box-shadow: var(--shadow-md); }
.faq-item summary {
  position: relative;
  display: block;
  padding: 24px 68px 24px 28px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 24px; top: 50%;
  width: 30px; height: 30px;
  margin-top: -15px;
  border-radius: 50%;
  background:
    linear-gradient(var(--white), var(--white)) center / 12px 2px no-repeat,
    linear-gradient(var(--white), var(--white)) center / 2px 12px no-repeat,
    var(--royal);
  transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--royal); }
.faq-item p { padding: 0 28px 26px; margin-top: -6px; font-size: 15.5px; color: var(--muted); }

/* ---------- 13. Contact ---------- */
.contact { background: var(--sky); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: stretch; }

.contact-info {
  position: relative;
  padding: clamp(32px, 4vw, 44px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(380px 260px at 100% 0%, rgba(76, 201, 240, .35), transparent 70%),
    linear-gradient(165deg, var(--royal) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  color: rgba(255, 255, 255, .78);
  overflow: hidden;
}
.contact-logo {
  width: 88px; height: 88px;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, .9);
  object-fit: cover;
  background: var(--white);
}
.contact-info h3 { font-family: var(--font-head); font-weight: 400; font-size: 28px; color: var(--white); margin-bottom: 28px; }

.info-list { display: grid; gap: 22px; }
.info-list li { display: flex; align-items: flex-start; gap: 16px; }
.info-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--aqua);
}
.info-label {
  display: block;
  margin-bottom: 2px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}
.info-list a, .info-list div > span:not(.info-label) { font-size: 15.5px; font-weight: 600; line-height: 1.55; color: var(--white); word-break: break-word; }
.info-list a:hover { color: var(--aqua); }

.info-areas { margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .14); }
.info-areas p { font-size: 14.5px; line-height: 1.8; color: rgba(255, 255, 255, .85); }

.contact-form {
  display: grid;
  gap: 20px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span, .field legend { font-size: 14px; font-weight: 700; color: var(--ink); }
.field legend { margin-bottom: 10px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--sky-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #98A6BD; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--royal);
  box-shadow: 0 0 0 4px rgba(30, 80, 180, .12);
}

.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: block;
  padding: 13px 10px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  color: var(--text);
  background: var(--sky-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: all .2s var(--ease);
}
.choice:hover span { border-color: #B8C9E6; }
.choice input:checked + span { color: var(--royal); background: var(--sky); border-color: var(--royal); box-shadow: inset 0 0 0 1px var(--royal); }
.choice input:focus-visible + span { outline: 2px solid var(--azure); outline-offset: 2px; }

.contact-form .btn { margin-top: 4px; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- 14. Footer ---------- */
.site-footer { position: relative; background: var(--navy-950); color: rgba(255, 255, 255, .65); font-size: 15px; }
.footer-wave { position: absolute; top: -59px; left: 0; right: 0; height: 60px; line-height: 0; }
.footer-wave svg { width: 100%; height: 100%; fill: var(--navy-950); }

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.5fr; gap: 48px; padding-block: 72px 56px; }
.footer-logo {
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, .9);
  object-fit: cover;
  background: var(--white);
}
.footer-brand p { margin-top: 22px; max-width: 34ch; }
.social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  transition: background-color .25s, border-color .25s;
}
.social:hover { background: var(--royal); border-color: var(--royal); }
.social .icon { width: 18px; height: 18px; }

.footer-col h4 { margin-bottom: 18px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--white); }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: var(--aqua); }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; }
.contact-list .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--aqua); }
.contact-list a { word-break: break-word; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 22px; font-size: 13.5px; color: rgba(255, 255, 255, .45); }

/* ==========================================================================
   15. Responsive
   ========================================================================== */

/* Small desktop */
@media (max-width: 1180px) {
  .header-phone-text { display: none; }
  .main-nav a:not(.btn) { padding: 8px 10px; }
  .main-nav a:not(.btn)::after { left: 10px; right: 10px; }
  .hero-card { right: 8px; }
  .about-quote { right: 16px; }
  .service-layout { grid-template-columns: 1fr; }
  .results-pair { min-height: 0; aspect-ratio: 16 / 9; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Tablet */
@media (max-width: 960px) {
  :root { --header-h: 76px; }

  .brand-logo { width: 54px; height: 54px; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    height: calc(100vh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 16px var(--gutter) 40px;
    background: var(--white);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { background: var(--white); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul li { border-bottom: 1px solid var(--line); }
  .main-nav a:not(.btn) { padding: 16px 4px; font-family: var(--font-head); font-size: 26px; font-weight: 400; color: var(--navy-900); }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-cta { display: inline-flex; height: 56px; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .kicker { margin-inline: auto; }
  .hero-text { margin-inline: auto; }
  .hero-copy .btn-row { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { max-width: 460px; width: 100%; margin-inline: auto; }

  .area-ribbon { flex-direction: column; gap: 10px; border-radius: var(--radius-lg); text-align: center; }
  .area-ribbon ul { justify-content: center; gap: 6px 16px; }
  .area-ribbon li + li::before { display: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; width: 100%; margin-inline: auto; }
  .about-img { aspect-ratio: 4 / 3; }

  .price-grid { grid-template-columns: 1fr; max-width: 500px; margin-inline: auto; }
  .price-card-featured { order: -1; transform: none; }
  .price-card-featured:hover { transform: translateY(-5px); }

  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }

  .contact-grid { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 600px) {
  :root { --gutter: 20px; }

  .brand-logo { width: 48px; height: 48px; }
  .brand-name { font-size: 20px; }
  .header-actions { gap: 10px; }
  .header-phone-icon { width: 44px; height: 44px; border-radius: 12px; }

  .kicker { font-size: 13px; }
  .hero-text { font-size: 17px; }
  .btn-row { flex-direction: column; width: 100%; }
  .btn-row .btn { width: 100%; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); width: 100%; }
  .hero-stats li { padding: 0 8px; }
  .hero-stats li + li { padding-left: 8px; }
  .hero-stats strong { font-size: 24px; }
  .hero-stats span { font-size: 12.5px; line-height: 1.35; display: block; }

  .hero-visual { padding: 0 0 28px 20px; }
  .hero-badge { width: 110px; }
  .hero-card { right: -6px; top: 10%; padding: 10px 14px; }
  .hero-card-icon { width: 36px; height: 36px; }

  .about-media { padding-bottom: 0; }
  .about-quote { position: relative; right: auto; max-width: none; margin: -40px 16px 0; }
  .why-grid { grid-template-columns: 1fr; }
  .why-grid li { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding: 20px; }
  .why-icon { margin-bottom: 0; grid-row: span 2; }

  .section-head { margin-bottom: 44px; }
  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 20px; }
  .service-icon { margin-bottom: 0; grid-row: span 2; }
  .results-pair { aspect-ratio: 4 / 3; }

  .price-body { padding: 26px 24px 28px; }
  .price .amount { font-size: 50px; }

  .faq-item summary { padding: 20px 60px 20px 20px; font-size: 16px; }
  .faq-item summary::after { right: 16px; }
  .faq-item p { padding: 0 20px 22px; }

  .form-row { grid-template-columns: 1fr; }
  .choices { grid-template-columns: 1fr; }

  .footer-wave { top: -39px; height: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-block: 56px 44px; }
  .footer-bottom-inner { flex-direction: column; gap: 4px; }
}

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