/* ============================================================
   License To Chill HVAC — Homepage
   Coastal-modern, conversion-focused
   ============================================================ */

:root {
  /* Brand */
  --navy:        #0E2A47;
  --navy-800:    #122F4F;
  --navy-700:    #18406A;
  --blue:        #0A84D6;
  --blue-600:    #0A6CC0;
  --teal:        #00B8B0;
  --orange:      #FF7A00;
  --orange-600:  #F26A00;

  /* Accent (tweakable) — defaults to teal */
  --accent:      var(--teal);
  --accent-ink:  #00322F;

  /* Neutrals — cool whites */
  --bg:          #F2F7FC;
  --bg-2:        #E8F1F9;
  --card:        #FFFFFF;
  --ink:         #0E2238;
  --slate:       #51657D;
  --slate-2:     #6E809A;
  --line:        rgba(14, 42, 71, 0.10);
  --line-2:      rgba(14, 42, 71, 0.06);

  /* Type */
  --display: "Sora", system-ui, sans-serif;
  --body:    "Hanken Grotesk", system-ui, sans-serif;

  /* Shape */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(14,42,71,.06), 0 2px 8px rgba(14,42,71,.05);
  --sh:    0 6px 20px rgba(14,42,71,.08), 0 2px 6px rgba(14,42,71,.05);
  --sh-lg: 0 24px 60px rgba(14,42,71,.16), 0 8px 24px rgba(14,42,71,.08);
  --sh-blue: 0 14px 34px rgba(10,108,192,.30);
  --sh-orange: 0 14px 30px rgba(242,106,0,.32);

  --maxw: 1200px;
  --gutter: 28px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  /* Stop iOS/Android from inflating type in portrait->landscape rotation */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
section[id], span[id] { scroll-margin-top: 92px; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

h1, h2, h3, h4 { font-family: var(--display); margin: 0; line-height: 1.06; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  /* Gutter never dips below the notch/rounded-corner inset in landscape */
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

.eyebrow {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px; border-radius: 2px;
  background: var(--accent);
}
.eyebrow.center { justify-content: center; }

.section { padding: 96px 0; }
.section-head { max-width: 680px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin: 16px 0 0; color: var(--navy); }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--slate); }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  border: 0;
  border-radius: 999px;
  padding: 15px 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: var(--sh-orange); }
.btn-primary:hover { background: var(--orange-600); transform: translateY(-2px); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: var(--sh-blue); }
.btn-blue:hover { background: var(--blue-600); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255,255,255,.10); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.30); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.btn-lg { padding: 17px 30px; font-size: 17px; }

/* ---------- Announcement bar ---------- */
.topbar {
  background: var(--navy);
  color: #cfe1f2;
  font-size: 13.5px;
  letter-spacing: .01em;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.topbar .left { display: flex; align-items: center; gap: 20px; min-width: 0; }
.topbar .pill {
  display: inline-flex; align-items: center; gap: 8px; min-width: 0;
  font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.25;
  color: #fff; background: var(--orange); padding: 4px 11px; border-radius: 999px;
}
.topbar .dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #8be38b; box-shadow: 0 0 0 4px rgba(139,227,139,.22); }
.topbar .right { display: flex; align-items: center; gap: 22px; flex: none; }
.topbar a { color: #e6f0fa; display: inline-flex; align-items: center; gap: 7px; font-weight: 500; white-space: nowrap; }
.topbar a:hover { color: #fff; }
.topbar svg { flex: none; width: 14px; height: 14px; opacity: .85; }
.topbar .left .muted { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Above the phone range there is room for the badge on one line, so the tagline yields instead */
@media (min-width: 761px){ .topbar .pill { flex: none; white-space: nowrap; } }
@media (max-width: 900px){ .topbar .left .muted { display: none; } }
@media (max-width: 760px){
  .topbar .right .hours { display: none; }
  /* The orange badge never takes more than half the row it shares with the phone number */
  .topbar .left { max-width: 50%; }
  .topbar .pill { text-align: center; line-height: 1.2; }
}
/* Below ~470px the two words cannot sit on one line inside the 50% cap, so the badge
   sizes to its longest word and stacks them instead of stretching to the full cap */
@media (max-width: 470px){
  .topbar .pill { width: min-content; }
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.header .wrap { display: flex; align-items: center; gap: 26px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { height: 52px; width: auto; background: var(--navy); border-radius: 50%; padding: 5px; }
.brand .name { font-family: var(--display); line-height: 1; }
.brand .name b { display: block; font-weight: 700; font-size: 18px; color: var(--navy); letter-spacing: -.01em; }
.brand .name span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .22em; color: var(--teal); text-transform: uppercase; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--display); font-weight: 500; font-size: 15px; color: var(--navy);
  padding: 9px 14px; border-radius: 999px; transition: background .15s, color .15s;
}
.nav a:hover { background: var(--bg-2); color: var(--blue); }
.header .actions { display: flex; align-items: center; gap: 14px; }
.header .callnum { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 600; color: var(--navy); font-size: 15px; }
.header .callnum svg { width: 16px; height: 16px; color: var(--blue); }
.header .callnum span { white-space: nowrap; }
.header .callnum small { display: block; font-weight: 500; font-size: 11px; color: var(--slate-2); letter-spacing: .04em; }

.burger { display: none; background: #fff; border: 1px solid var(--line); width: 46px; height: 46px; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; }
.burger svg { width: 22px; height: 22px; color: var(--navy); }

@media (max-width: 1000px){
  .nav, .header .callnum, .header .actions .btn { display: none; }
  .burger { display: inline-flex; }
}

/* mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 120; display: none; }
.mobile-menu.open { display: block; }
.mobile-menu .scrim { position: absolute; inset: 0; background: rgba(14,42,71,.5); backdrop-filter: blur(2px); }
.mobile-menu .panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px);
  background: #fff; padding: 22px; display: flex; flex-direction: column; gap: 6px;
  box-shadow: var(--sh-lg); transform: translateX(8px); animation: slideIn .22s ease forwards;
}
@keyframes slideIn { to { transform: translateX(0); } }
.mobile-menu .panel .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mobile-menu .panel .top img { height: 48px; width: auto; background: var(--navy); border-radius: 50%; padding: 5px; }
.mobile-menu .panel .x { background: var(--bg-2); border: 0; width: 42px; height: 42px; border-radius: 10px; cursor: pointer; font-size: 20px; color: var(--navy); }
.mobile-menu .panel a.mlink { font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--navy); padding: 13px 12px; border-radius: 12px; }
.mobile-menu .panel a.mlink:hover { background: var(--bg-2); }
.mobile-menu .panel .btn { margin-top: 6px; justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 70px 0 84px; background:
  radial-gradient(1100px 560px at 78% -8%, #DCEEFB 0%, rgba(220,238,251,0) 60%),
  radial-gradient(900px 520px at 6% 110%, #E4F6F4 0%, rgba(228,246,244,0) 55%),
  var(--bg); }
.hero .grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); color: var(--navy); letter-spacing: -.03em; }
.hero h1 .hl { color: var(--blue); }
.hero .sub { margin-top: 22px; font-size: 19px; color: var(--slate); max-width: 540px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero .chips { display: flex; flex-wrap: wrap; gap: 10px 8px; margin-top: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 14px; font-size: 14px; font-weight: 600; color: var(--navy); box-shadow: var(--sh-sm);
}
.chip svg { width: 16px; height: 16px; color: var(--teal); }
.hero .ratingline { display: flex; align-items: center; gap: 12px; margin-top: 26px; color: var(--slate); font-size: 14.5px; }
.hero .stars { display: inline-flex; gap: 2px; color: #FFB400; }
.hero .stars svg { width: 17px; height: 17px; }

/* hero visual */
.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-lg); aspect-ratio: 4 / 4.5; min-height: 420px;
}
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.badge-float {
  position: absolute; background: #fff; border-radius: var(--r); box-shadow: var(--sh-lg);
  padding: 14px 16px; display: flex; align-items: center; gap: 12px;
}
.badge-float .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.badge-float .ic svg { width: 22px; height: 22px; color: #fff; }
.badge-float b { font-family: var(--display); font-size: 15px; color: var(--navy); display: block; line-height: 1.1; }
.badge-float small { font-size: 12.5px; color: var(--slate); }
.badge-a { top: 22px; left: -26px; }
.badge-a .ic { background: linear-gradient(135deg, var(--blue), #2BB2F0); }
.badge-b { bottom: 26px; right: -22px; }
.badge-b .ic { background: linear-gradient(135deg, var(--orange), #FF9D3D); }
.hero-logo-watermark { position: absolute; right: -14px; bottom: -10px; width: 130px; opacity: .9; filter: drop-shadow(0 8px 18px rgba(14,42,71,.18)); pointer-events: none; }

/* image placeholder */
.ph {
  position: relative; width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(10,132,214,.07) 0 11px, rgba(10,132,214,0) 11px 22px),
    linear-gradient(160deg, #DCEBF8, #EAF4FB);
  display: grid; place-items: center; color: var(--blue-600);
}
.ph .ph-label {
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; letter-spacing: .02em;
  color: var(--blue-600); background: rgba(255,255,255,.78); border: 1px dashed rgba(10,108,192,.45);
  padding: 8px 13px; border-radius: 8px; text-align: center; max-width: 78%;
}
.ph .ph-ic { position: absolute; opacity: .5; }
.ph .ph-ic svg { width: 46px; height: 46px; color: var(--blue); }

/* layout variant: stacked hero */
.hero.layout-stacked .grid { grid-template-columns: 1fr; text-align: center; gap: 44px; }
.hero.layout-stacked .sub { margin-left: auto; margin-right: auto; }
.hero.layout-stacked .cta-row, .hero.layout-stacked .chips, .hero.layout-stacked .ratingline { justify-content: center; }
.hero.layout-stacked .hero-photo { max-width: 720px; margin: 0 auto; aspect-ratio: 16/9; min-height: 360px; }
.hero.layout-stacked .badge-a { left: 14px; }
.hero.layout-stacked .badge-b { right: 14px; }

/* ---------- Mobile (hero + global spacing) ---------- */
@media (max-width: 760px){
  .section { padding: 60px 0; }
  .wrap { --gutter: 20px; }
  .hero { padding: 36px 0 54px; }
  .hero .grid { grid-template-columns: 1fr; gap: 34px; align-items: stretch; }
  .hero-visual { order: 2; }
  .hero-photo { max-width: 480px; width: 100%; margin: 0 auto; aspect-ratio: 4/4.2; min-height: 0; }
  .hero .sub { font-size: 17px; max-width: none; }
  .hero .cta-row .btn { flex: 1 1 auto; justify-content: center; }
  .badge-a { left: 10px; top: 12px; }
  .badge-b { right: 10px; bottom: 12px; }
  .badge-float { padding: 11px 13px; gap: 10px; }
  .badge-float .ic { width: 36px; height: 36px; }
  .badge-float .ic svg { width: 19px; height: 19px; }
  .section-head h2 { font-size: clamp(26px, 7vw, 34px); }
}
@media (max-width: 460px){
  .section { padding: 50px 0; }
  .wrap { --gutter: 16px; }
  .badge-b { display: none; }
  .hero .cta-row { gap: 10px; }
}

/* ---------- Trust strip ---------- */
.trust { background: var(--navy); color: #fff; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-top: 30px; padding-bottom: 30px; }
.trust .item { display: flex; align-items: center; gap: 14px; padding: 6px 10px; }
.trust .item + .item { border-left: 1px solid rgba(255,255,255,.12); }
.trust .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; flex: none; }
.trust .ic svg { width: 22px; height: 22px; color: var(--teal); }
.trust b { font-family: var(--display); font-size: 15.5px; display: block; }
.trust small { font-size: 13px; color: #aebfd2; }
@media (max-width: 860px){
  .trust .wrap { grid-template-columns: repeat(2, 1fr); gap: 18px 8px; }
  .trust .item:nth-child(odd) { border-left: 0; }
}

/* ---------- Services ---------- */
.services { background: linear-gradient(180deg, var(--bg) 0%, #fff 100%); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.card {
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--sh-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: rgba(10,132,214,.25); }
.card .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(140deg, #E8F3FD, #DCEEFB); margin-bottom: 20px; }
.card .ic svg { width: 28px; height: 28px; color: var(--blue); }
.card.warm .ic { background: linear-gradient(140deg, #FFEFE0, #FFE2CB); }
.card.warm .ic svg { color: var(--orange); }
.card.teal .ic { background: linear-gradient(140deg, #DEF5F3, #CFF0ED); }
.card.teal .ic svg { color: var(--teal); }
.card h3 { font-size: 21px; color: var(--navy); }
.card p { margin-top: 10px; color: var(--slate); font-size: 15.5px; }
.card .more { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-family: var(--display); font-weight: 600; font-size: 14.5px; color: var(--blue); }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }
@media (max-width: 940px){ .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px){ .cards { grid-template-columns: 1fr; } }

/* ---------- Why choose ---------- */
.why { background: #fff; }
.why .grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 56px; align-items: center; }
.why-visual { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 4/4.4; min-height: 440px; }
.why-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.why .stat-float { position: absolute; left: 22px; bottom: 22px; right: 22px; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); border-radius: var(--r); padding: 16px 18px; display: flex; gap: 26px; box-shadow: var(--sh); }
.why .stat-float .s b { font-family: var(--display); font-size: 26px; color: var(--navy); display: block; }
.why .stat-float .s span { font-size: 12.5px; color: var(--slate); }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; margin-top: 34px; }
.benefit { display: flex; gap: 14px; }
.benefit .tick { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(140deg, var(--teal), #1fd0c8); display: grid; place-items: center; flex: none; }
.benefit .tick svg { width: 16px; height: 16px; color: #fff; }
.benefit b { font-family: var(--display); font-size: 16px; color: var(--navy); display: block; }
.benefit p { font-size: 14px; color: var(--slate); margin-top: 3px; }
@media (max-width: 920px){ .why .grid { grid-template-columns: 1fr; gap: 40px; } .benefits { grid-template-columns: 1fr; } }

/* ---------- Stats band ---------- */
.statband { background: linear-gradient(135deg, var(--navy) 0%, #0B2138 100%); color: #fff; position: relative; overflow: hidden; }
.statband::after { content:""; position:absolute; inset:0; background: radial-gradient(700px 320px at 88% 120%, rgba(0,184,176,.20), transparent 60%); }
.statband .wrap { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.statband .s b { font-family: var(--display); font-size: clamp(34px, 4.4vw, 50px); display: block; letter-spacing: -.02em; background: linear-gradient(180deg,#fff,#cfe6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.statband .s span { font-size: 14.5px; color: #a9bdd4; margin-top: 4px; display: block; }
@media (max-width: 700px){ .statband .wrap { grid-template-columns: 1fr 1fr; gap: 34px 18px; } }

/* ---------- Testimonials ---------- */
.testi { background: var(--bg); }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 50px; }
.tcard { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh-sm); display: flex; flex-direction: column; }
.tcard .stars { display: inline-flex; gap: 2px; color: #FFB400; margin-bottom: 14px; }
.tcard .stars svg { width: 18px; height: 18px; }
.tcard .quote { font-size: 16.5px; color: var(--ink); line-height: 1.55; flex: 1; }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.tcard .av { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--display); font-weight: 700; color: #fff; font-size: 16px; }
.tcard .who b { font-family: var(--display); font-size: 15.5px; color: var(--navy); display: block; }
.tcard .who small { font-size: 13px; color: var(--slate); }
@media (max-width: 940px){ .testi-grid { grid-template-columns: 1fr; max-width: 560px; margin-left:auto; margin-right:auto; } }

/* ---------- Service area ---------- */
.area { background: #fff; }
.area .grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.area .towns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }
.town { display: flex; align-items: center; gap: 11px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 15px; font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--navy); }
.town svg { width: 16px; height: 16px; color: var(--blue); flex:none; }
.area-map { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 1/0.86; min-height: 380px; }
/* Crop the My Maps owner/attribution bar at the top by shifting the iframe up behind the clip. */
.area-map iframe { position: absolute; left: 0; top: -58px; width: 100%; height: calc(100% + 58px); border: 0; }
.map-pin { position: absolute; transform: translate(-50%,-100%); display: flex; flex-direction: column; align-items: center; }
.map-pin .dot { width: 16px; height: 16px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255,122,0,.25), var(--sh); }
.map-pin.hq .dot { background: var(--blue); box-shadow: 0 0 0 6px rgba(10,132,214,.25), var(--sh); width: 20px; height: 20px; }
.map-pin .lbl { margin-top: 6px; background: #fff; border-radius: 8px; padding: 3px 9px; font-family: var(--display); font-weight: 600; font-size: 12px; color: var(--navy); box-shadow: var(--sh-sm); white-space: nowrap; }
@media (max-width: 920px){ .area .grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- CTA banner ---------- */
.ctaband { padding: 0 0 96px; }
.ctaband .inner {
  position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 64px 56px;
  background: linear-gradient(120deg, var(--blue) 0%, #0B66B8 48%, var(--navy) 100%);
  color: #fff; box-shadow: var(--sh-lg);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.ctaband .inner::before { content:""; position:absolute; right:-60px; top:-60px; width:340px; height:340px; border-radius:50%; background: radial-gradient(circle, rgba(0,184,176,.45), transparent 62%); }
.ctaband .inner::after { content:""; position:absolute; left:-40px; bottom:-80px; width:280px; height:280px; border-radius:50%; background: radial-gradient(circle, rgba(255,122,0,.35), transparent 62%); }
.ctaband h2 { font-size: clamp(28px, 3.6vw, 42px); position: relative; }
.ctaband p { margin-top: 14px; font-size: 18px; color: #d4e6f6; position: relative; max-width: 460px; }
.ctaband .right { position: relative; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.ctaband .right .phone { font-family: var(--display); font-weight: 700; font-size: 30px; display: inline-flex; align-items: center; gap: 12px; }
.ctaband .right .phone svg { width: 26px; height: 26px; color: var(--teal); }
.ctaband .right small { color: #bcd4ec; font-size: 14px; }
@media (max-width: 820px){ .ctaband .inner { grid-template-columns: 1fr; padding: 44px 30px; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #c3d3e6; padding: 70px 0 30px; }
.footer .grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brandcol img { height: 91px; width: auto; margin-bottom: 16px; }
.footer .brandcol p { font-size: 14.5px; color: #9fb4cc; max-width: 300px; }
.footer .social { display: flex; gap: 10px; margin-top: 18px; }
.footer .social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: background .15s; }
.footer .social a:hover { background: var(--blue); }
.footer .social svg { width: 18px; height: 18px; color: #fff; }
.footer h4 { font-family: var(--display); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { font-size: 14.5px; color: #a9bdd4; }
.footer ul a:hover { color: #fff; }
.footer .contactrow { display: flex; gap: 11px; font-size: 14.5px; color: #c3d3e6; align-items: flex-start; }
.footer .contactrow svg { width: 17px; height: 17px; color: var(--teal); flex: none; margin-top: 2px; }
.footer .contactrow + .contactrow { margin-top: 13px; }
.footer .bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.10); display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; color: #8ea4be; }
.footer .bottom .links { display: flex; gap: 20px; }
.footer .bottom a:hover { color: #fff; }
@media (max-width: 860px){ .footer .grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; } .footer .bottom { flex-direction: column; text-align: center; } }

/* ---------- Sticky mobile call ---------- */
.mobile-cta {
  position: fixed; z-index: 90; display: none; gap: 10px;
  left: max(14px, env(safe-area-inset-left));
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
}
.mobile-cta .btn { flex: 1; justify-content: center; box-shadow: var(--sh-lg); }
@media (max-width: 1000px){ .mobile-cta { display: flex; } body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); } }

/* ---------- Hero entrance handled via Web Animations API (capture-safe) ---------- */

/* ---------- Tweaks panel (vanilla) ---------- */
#tweaks { position: fixed; right: 18px; bottom: 18px; z-index: 200; width: 290px; background: #fff;
  border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh-lg); padding: 16px 16px 18px; display: none;
  font-family: var(--body); }
#tweaks.show { display: block; }
#tweaks .th { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
#tweaks .th b { font-family: var(--display); font-size: 15px; color: var(--navy); }
#tweaks .th button { background: var(--bg-2); border: 0; width: 30px; height: 30px; border-radius: 8px; cursor: pointer; color: var(--navy); font-size: 16px; }
#tweaks .tl { font-family: var(--display); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-2); margin: 14px 0 9px; }
#tweaks .tl:first-of-type { margin-top: 0; }
#tweaks .swatches { display: flex; gap: 9px; }
#tweaks .sw { width: 34px; height: 34px; border-radius: 50%; cursor: pointer; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--line); transition: transform .15s; }
#tweaks .sw:hover { transform: scale(1.08); }
#tweaks .sw.active { box-shadow: 0 0 0 2.5px var(--navy); }
#tweaks .seg { display: flex; background: var(--bg-2); border-radius: 11px; padding: 4px; gap: 4px; }
#tweaks .seg button { flex: 1; border: 0; background: transparent; padding: 8px 6px; border-radius: 8px; cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 13px; color: var(--slate); }
#tweaks .seg button.active { background: #fff; color: var(--navy); box-shadow: var(--sh-sm); }

/* ============================================================
   Maintenance Plans / Pricing
   ============================================================ */
.plans { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 32px 28px; box-shadow: var(--sh-sm); display: flex; flex-direction: column;
  position: relative; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: rgba(10,132,214,.25); }
.plan.featured { border: 2px solid var(--blue); box-shadow: var(--sh-lg); }
.plan .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: #fff; font-family: var(--display); font-weight: 700;
  font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 15px; border-radius: 999px; box-shadow: var(--sh-orange); white-space: nowrap;
}
:is(.plan, .plan-hero, .plan-side) .pname { font-family: var(--display); font-weight: 700; font-size: 21px; color: var(--navy); }
:is(.plan, .plan-hero, .plan-side) .pdesc { color: var(--slate); font-size: 14.5px; margin-top: 7px; }
.plan .pdesc { min-height: 42px; }
:is(.plan, .plan-hero, .plan-side) .price { display: flex; align-items: baseline; gap: 7px; margin: 18px 0 2px; }
:is(.plan, .plan-hero, .plan-side) .price b { font-family: var(--display); font-weight: 800; font-size: 46px; color: var(--navy); letter-spacing: -.03em; line-height: 1; }
:is(.plan, .plan-hero, .plan-side) .price .cyc { color: var(--slate); font-size: 15px; font-weight: 600; }
:is(.plan, .plan-hero, .plan-side) .per { color: var(--slate-2); font-size: 13px; }
:is(.plan, .plan-hero, .plan-side) ul { list-style: none; margin: 24px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 13px; }
:is(.plan, .plan-hero, .plan-side) li { display: flex; gap: 11px; font-size: 14.5px; color: var(--ink); align-items: flex-start; }
:is(.plan, .plan-hero, .plan-side) li svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 1px; }
.plan li.off { color: var(--slate-2); }
.plan li.off svg { color: var(--slate-2); opacity: .55; }
:is(.plan, .plan-side) .btn { margin-top: 26px; justify-content: center; width: 100%; }
.plans .fineprint { text-align: center; margin-top: 26px; color: var(--slate-2); font-size: 14px; }.plans .fineprint a { color: var(--blue); font-weight: 600; }
@media (max-width: 940px){ .plan-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }

/* sub-labels inside plan cards */
.plan .sublbl { font-family: var(--display); font-weight: 700; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-top: 22px; }
.plan ul + .sublbl { margin-top: 20px; }
.plan ul { margin-top: 13px; padding-top: 0; border-top: 0; }
.plan ul.bens li svg { color: var(--orange); }
.plan .btn { margin-top: auto; }
.plan .pdesc { min-height: 44px; }

/* multi-system pricing */
.multi-sys { margin-top: 30px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--sh-sm); overflow: hidden; }
.multi-sys .ms-head { padding: 22px 28px 0; }
.multi-sys .ms-head b { font-family: var(--display); font-size: 18px; color: var(--navy); }
.multi-sys .ms-head span { color: var(--slate); font-size: 14.5px; margin-left: 8px; }
.ms-table { padding: 16px 28px 26px; overflow-x: auto; }
.ms-table table { width: 100%; border-collapse: collapse; min-width: 420px; }
.ms-table th, .ms-table td { padding: 13px 16px; text-align: center; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.ms-table thead th { font-family: var(--display); font-weight: 700; color: var(--navy); font-size: 14.5px; }
.ms-table thead th.feat { color: var(--blue); }
.ms-table tbody th { text-align: left; font-weight: 600; color: var(--navy); font-family: var(--body); }
.ms-table tbody td { color: var(--ink); font-weight: 600; }
.ms-table tbody tr:last-child th, .ms-table tbody tr:last-child td { border-bottom: 0; }

/* Variation B — comparison table */
.plan-table { margin-top: 48px; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); background: #fff; }
.plan-table table { width: 100%; border-collapse: collapse; }
.plan-table th, .plan-table td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--line-2); }
.plan-table thead th { background: var(--navy); color: #fff; font-family: var(--display); }
.plan-table thead th .pn { font-size: 17px; font-weight: 700; display: block; }
.plan-table thead th .pp { font-size: 13px; color: #bcd4ec; font-weight: 500; margin-top: 2px; display: block; }
.plan-table thead th.feat { background: var(--blue); }
.plan-table tbody th { text-align: left; font-family: var(--body); font-weight: 600; color: var(--navy); font-size: 14.5px; background: var(--bg); }
.plan-table td svg { width: 18px; height: 18px; color: var(--teal); }
.plan-table td.no { color: var(--slate-2); }
.plan-table tr:last-child td, .plan-table tr:last-child th { border-bottom: 0; }

/* Variation C — hero membership + tune-up callout */
.plan-duo { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; margin-top: 50px; align-items: stretch; }
.plan-hero { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 40px; color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, #0B66B8 52%, var(--navy) 100%); box-shadow: var(--sh-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.plan-hero::before { content:""; position:absolute; right:-50px; top:-50px; width:240px; height:240px; border-radius:50%; background: radial-gradient(circle, rgba(0,184,176,.4), transparent 62%); }
.plan-hero .pname { color: #fff; position: relative; }
.plan-hero .price b { color: #fff; }
.plan-hero .price .cyc { color: #cfe6ff; }
.plan-hero ul { border-top-color: rgba(255,255,255,.18); }
.plan-hero li { color: #eaf3fb; }
.plan-hero li svg { color: #7fe3dd; }
.plan-side { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 32px 28px; box-shadow: var(--sh-sm); display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 940px){ .plan-duo { grid-template-columns: 1fr; } .plan-hero { grid-template-columns: 1fr; } }

/* ============================================================
   Contact form
   ============================================================ */
.contact-sec { padding: 96px 0; background: var(--bg); }
.contact-card {
  display: grid; grid-template-columns: 0.92fr 1.08fr; border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--sh-lg);
}
/* Grid columns must be free to shrink below the intrinsic width of the form
   controls inside them, or the whole card overflows narrow viewports. */
.contact-card > * { min-width: 0; }
.contact-info {
  position: relative; overflow: hidden; color: #fff; padding: 52px 46px;
  background: linear-gradient(150deg, var(--blue) 0%, #0B66B8 48%, var(--navy) 100%);
}
.contact-info::before { content:""; position:absolute; right:-60px; top:-70px; width:300px; height:300px; border-radius:50%; background: radial-gradient(circle, rgba(0,184,176,.42), transparent 62%); }
.contact-info::after { content:""; position:absolute; left:-40px; bottom:-80px; width:240px; height:240px; border-radius:50%; background: radial-gradient(circle, rgba(255,122,0,.32), transparent 62%); }
.contact-info .eyebrow { color: #aee0ff; position: relative; }
.contact-info .eyebrow::before { background: #7fe3dd; }
.contact-info h2 { font-size: clamp(26px, 3vw, 36px); color: #fff; margin-top: 14px; position: relative; }
.contact-info > p { margin-top: 14px; color: #d4e6f6; font-size: 16.5px; position: relative; max-width: 360px; }
.contact-info .clist { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; position: relative; }
.contact-info .crow { display: flex; gap: 14px; align-items: flex-start; }
.contact-info .crow .ic { width: 44px; height: 44px; border-radius: 13px; background: rgba(255,255,255,.12); display: grid; place-items: center; flex: none; }
.contact-info .crow .ic svg { width: 21px; height: 21px; color: #fff; }
.contact-info .crow .lbl { font-size: 12.5px; color: #aecbe6; letter-spacing: .04em; text-transform: uppercase; font-family: var(--display); font-weight: 600; }
.contact-info .crow .val { font-family: var(--display); font-weight: 700; font-size: 18px; color: #fff; margin-top: 3px; display: block; }
.contact-info .crow .val.sm { font-size: 15px; }
.contact-info .crow .val.afterhours { font-family: var(--body); font-weight: 500; font-size: 13.5px; color: #aecbe6; margin-top: 6px; max-width: 300px; }
.contact-info .crow .val.afterhours a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.contact-info .ci-foot { margin-top: 34px; display: flex; gap: 9px; flex-wrap: wrap; position: relative; }
.contact-info .ci-foot .chip { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22); color: #fff; box-shadow: none; }
.contact-info .ci-foot .chip svg { color: #7fe3dd; }

.contact-form { background: #fff; padding: 48px 44px; }
.contact-form h3 { font-family: var(--display); font-size: 23px; color: var(--navy); }
.contact-form .sub { color: var(--slate); font-size: 15px; margin-top: 8px; margin-bottom: 26px; }
.field { margin-bottom: 17px; }
.field > label { font-family: var(--display); font-weight: 600; font-size: 13px; color: var(--navy); display: block; margin-bottom: 8px; }
.field > label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; max-width: 100%;
  font-family: var(--body); font-size: 15px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 15px; outline: none; transition: border-color .15s, box-shadow .15s, background .15s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--slate-2); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,132,214,.15); background: #fff; }
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 17px; }
.field.two .field { margin-bottom: 0; min-width: 0; }
.form-submit { width: 100%; justify-content: center; margin-top: 6px; }
.form-foot { margin-top: 14px; font-size: 12.5px; color: var(--slate-2); text-align: center; }
.form-ok { display: none; text-align: center; padding: 30px 10px; }
.form-ok.show { display: block; }
.form-ok .ok-ic { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px; background: linear-gradient(140deg, var(--teal), #1fd0c8); display: grid; place-items: center; }
.form-ok .ok-ic svg { width: 32px; height: 32px; color: #fff; }
.form-ok h3 { color: var(--navy); font-family: var(--display); font-size: 23px; }
.form-ok p { color: var(--slate); margin-top: 10px; font-size: 15.5px; }
@media (max-width: 880px){ .contact-card { grid-template-columns: 1fr; } .contact-info { padding: 40px 30px; } .contact-form { padding: 36px 28px; } }

/* Variation B — centered form, chips above */
.contact-centered { max-width: 720px; margin: 44px auto 0; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-xl); box-shadow: var(--sh-lg); padding: 44px; }
.contact-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }

/* ============================================================
   FAQ (AEO)
   ============================================================ */
.faq { background: var(--bg); }
.faq-list { max-width: 820px; margin: 44px auto 0; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 22px 26px; font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; margin-left: auto; width: 12px; height: 12px; border-right: 2.4px solid var(--blue); border-bottom: 2.4px solid var(--blue); transform: rotate(45deg); transition: transform .25s ease; }
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item summary:hover { color: var(--blue); }
.faq-a { padding: 0 26px 24px; }
.faq-a p { color: var(--slate); font-size: 16px; line-height: 1.65; max-width: 68ch; }
@media (max-width: 640px){ .faq-item summary { font-size: 16.5px; padding: 18px 20px; } .faq-a { padding: 0 20px 20px; } }

/* ============================================================
   Small-screen refinements
   Goal: the layout fits every phone width (320px and up) with no
   horizontal page scroll, no clipped content, and comfortable
   tap targets. Ordered widest -> narrowest.
   ============================================================ */

/* Long unbreakable strings (email addresses) must not widen their column */
.footer .contactrow a, .contact-info .crow .val { overflow-wrap: anywhere; }

@media (max-width: 760px){
  /* 16px is the threshold below which iOS zooms in on a focused field,
     which leaves the page scrolled sideways after the keyboard closes. */
  .field input, .field select, .field textarea { font-size: 16px; }

  .section-head p { font-size: 16.5px; }

  /* Owner photo + its stats overlay: shorter frame, stats that still fit */
  .why-visual { aspect-ratio: 4/4.2; min-height: 0; }
  .why .stat-float { left: 14px; right: 14px; bottom: 14px; padding: 13px 15px; gap: 14px; }
  .why .stat-float .s b { font-size: 21px; }
  .why .stat-float .s span { font-size: 11.5px; line-height: 1.35; display: block; }

  /* Map keeps a usable height without dominating the screen */
  .area-map { min-height: 0; aspect-ratio: 1/0.95; }
}

@media (max-width: 600px){
  /* Announcement bar: badge tightens up so both words stay readable inside the 50% cap */
  .topbar { font-size: 12.5px; }
  .topbar .wrap { gap: 10px; }
  .topbar .pill { font-size: 11px; padding: 4px 10px; letter-spacing: .045em; }

  /* Multi-system price table fits the screen instead of scrolling inside the card */
  .multi-sys .ms-head { padding: 20px 18px 0; }
  .multi-sys .ms-head span { display: block; margin-left: 0; margin-top: 3px; }
  .ms-table { padding: 12px 14px 22px; }
  .ms-table table { min-width: 0; }
  .ms-table th, .ms-table td { padding: 11px 6px; font-size: 13.5px; }
  .ms-table thead th { font-size: 13px; }

  /* Equal-height padding on plan cards is only useful in a multi-column grid */
  .plan .pdesc { min-height: 0; }
}

@media (max-width: 560px){
  /* Trust strip: one promise per row reads better than four cramped columns */
  .trust .wrap { grid-template-columns: 1fr; gap: 0; padding-top: 22px; padding-bottom: 22px; }
  .trust .item { padding: 13px 2px; gap: 13px; }
  .trust .item + .item { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .trust .ic { width: 40px; height: 40px; }
  .trust .ic svg { width: 20px; height: 20px; }
  .trust b { font-size: 15px; }
  .trust small { display: block; font-size: 12.5px; line-height: 1.4; }

  /* Footer: brand and contact details take the full width, link lists pair up */
  .footer { padding-top: 52px; }
  .footer .grid { gap: 30px 22px; }
  .footer .brandcol, .footer .contactcol { grid-column: 1 / -1; }
  .footer .brandcol p { max-width: none; }
  .footer .brandcol img { height: 76px; }
}

@media (max-width: 480px){
  /* Paired inputs stack so each keeps a usable width */
  .field.two { grid-template-columns: 1fr; gap: 17px; }

  .contact-info { padding: 34px 22px; }
  .contact-form { padding: 32px 22px; }
  .contact-info h2 { font-size: 25px; }
  .contact-info > p { font-size: 15.5px; }
  .contact-info .crow .ic { width: 40px; height: 40px; }

  .card, .tcard { padding: 24px 21px; }
  .plan { padding: 28px 21px; }
  .plan .price b { font-size: 40px; }
}

@media (max-width: 400px){
  /* Narrowest phones: the badge tightens its type rather than dropping a word */
  .topbar .pill { font-size: 10.5px; padding: 4px 9px; letter-spacing: .03em; gap: 7px; }

  /* Header keeps logo, name and menu button on a single row */
  .header .wrap { gap: 12px; min-height: 68px; }
  .brand { gap: 9px; }
  .brand img { height: 44px; }
  .brand .name b { font-size: 16px; }
  .brand .name span { font-size: 9.5px; letter-spacing: .14em; }
  .burger { width: 42px; height: 42px; }
  .burger svg { width: 20px; height: 20px; }

  .hero h1 { font-size: 33px; }
  .hero .sub { font-size: 16.5px; }
  .hero .chips { gap: 8px 6px; }
  .chip { padding: 8px 12px; font-size: 13px; }

  /* Buttons (including the sticky call bar) shed padding rather than clip text */
  .btn { padding: 14px 20px; font-size: 15px; }
  .btn-lg { padding: 15px 22px; font-size: 16px; }

  /* One town per row: two columns cannot hold "Wrightsville Beach" this narrow */
  .area .towns { grid-template-columns: 1fr; }

  .why .stat-float { gap: 10px; padding: 12px; }
  .why .stat-float .s b { font-size: 19px; }
  .why .stat-float .s span { font-size: 11px; }
}
