*, *::before, *::after { box-sizing: border-box; }
/* ============================================================
   TOPTUBS LINCOLNSHIRE — v4
   Dark, clean, warm — think high-end spa brand, not MI5
   Inter throughout. Navy-charcoal base. Warm teal accent.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,200;0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;1,14..32,300;1,14..32,400&display=swap');

:root {
  /* Base — deep but warm, not pure black */
  --bg:        #111827;   /* deep navy-charcoal */
  --bg-card:   #1a2537;   /* card surface */
  --bg-mid:    #1e2d40;   /* slightly lighter section */
  --bg-light:  #243350;   /* lightest dark surface */

  /* Borders */
  --rule:      rgba(255,255,255,0.08);
  --rule-lt:   rgba(255,255,255,0.05);

  /* Text */
  --text:      #f0f4f8;   /* warm white, not harsh */
  --text-mid:  #b4c4d4;   /* muted body text */
  --text-dim:  #8899aa;   /* very muted */

  /* Accent — warm teal, spa-like */
  --teal:      #2dd4bf;
  --teal-dark: #14b8a6;
  --teal-dim:  rgba(45,212,191,0.10);
  --teal-glow: rgba(45,212,191,0.20);

  /* White sections (for contrast variety) */
  --white-bg:  #ffffff;
  --white-card:#f8fafc;
  --dark-text: #0f172a;
  --dark-mid:  #334155;
  --dark-rule: rgba(15,23,42,0.1);

  --f: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --section-x: max(24px, 5vw);
  --section-y: clamp(72px, 10vw, 120px);
  --max-w: 1100px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg);  overflow-x: hidden;}
body {
  font-family: var(--f);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--f); cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ── NAV ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--section-x); height: 62px;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(17,24,39,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--rule);
}
.nav-logo { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.nav-logo span { color: var(--teal); }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a {
  font-size: 13.5px; font-weight: 400; color: rgba(240,244,248,0.65);
  transition: color 0.2s; position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1.5px; background: var(--teal); border-radius: 1px;
}
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-phone { font-size: 13.5px; font-weight: 500; color: var(--text-mid); transition: color 0.2s; }
.nav-phone:hover { color: var(--text); }
.nav-cta {
  font-size: 13px; font-weight: 500; background: var(--teal); color: #0f172a;
  border-radius: 980px; padding: 8px 18px; transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--teal-dark); transform: scale(1.03); }
.nav-burger { display: none; background: none; border: none; color: var(--text); font-size: 22px; padding: 4px; }

.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 950;
  background: var(--bg); flex-direction: column; padding: 24px var(--section-x) 48px;
}
.mobile-nav.open { display: flex; }
.mobile-nav-close { align-self: flex-end; background: none; border: none; color: var(--text); font-size: 26px; margin-bottom: 32px; }
.mobile-nav ul { list-style: none; }
.mobile-nav li { border-bottom: 1px solid var(--rule); text-align: center; }
.mobile-nav a { display: block; padding: 16px 0; font-size: 20px; font-weight: 300; color: var(--text); text-align: center; }
.mobile-nav-footer { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 980px; font-size: 15px; font-weight: 500;
  padding: 13px 28px; border: none;
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s, background 0.2s;
  text-decoration: none; white-space: nowrap; font-family: var(--f);
}
.btn:hover { transform: scale(1.03); }
.btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.btn-fill { background: var(--teal); color: #0f172a; font-weight: 600; }
.btn-fill:hover { background: var(--teal-dark); box-shadow: 0 4px 24px rgba(45,212,191,0.3); }
.btn-outline { background: rgba(255,255,255,0.07); color: var(--text); border: 1px solid var(--rule); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.15); }
.btn-outline-dark { background: transparent; color: var(--dark-text); border: 1.5px solid rgba(15,23,42,0.2); }
.btn-outline-dark:hover { border-color: var(--teal); color: var(--teal-dark); background: var(--teal-dim); }
.btn-sm { font-size: 13px; padding: 9px 20px; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ── LAYOUT ── */
.section { padding: var(--section-y) var(--section-x); }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-mid { background: var(--bg-mid); }
.section-card { background: var(--bg-card); }
.section-white { background: var(--white-bg); color: var(--dark-text); }
.section-white .body-l, .section-white .body-m, .section-white .body-s { color: var(--dark-mid); }
.section-white h2.section-h { color: var(--dark-text); }
.section-white h3.card-h { color: #eef4ff; }

/* ── TYPE ── */
.eyebrow {
  display: block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
h1.display {
  font-size: clamp(40px, 6.5vw, 80px); font-weight: 300;
  line-height: 1.06; letter-spacing: -0.03em; color: var(--text);
}
h1.display strong { font-weight: 600; }
h1.display em { font-style: normal; color: rgba(240,244,248,0.45); font-weight: 300; }
h2.section-h {
  font-size: clamp(28px, 4vw, 52px); font-weight: 300;
  line-height: 1.1; letter-spacing: -0.03em; color: var(--text);
}
h2.section-h strong { font-weight: 600; color: var(--text); }
h2.section-h .accent { color: var(--teal); font-weight: 600; }
h3.card-h { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 8px; letter-spacing: -0.01em; }
.body-l { font-size: clamp(15px,1.7vw,17px); font-weight: 300; line-height: 1.78; color: var(--text-mid); }
.body-m { font-size: 15px; font-weight: 300; line-height: 1.72; color: var(--text-mid); }
.body-s { font-size: 13px; font-weight: 300; line-height: 1.65; color: var(--text-dim); }
.text-center { text-align: center; }
.max-56 { max-width: 56ch; } .max-48 { max-width: 48ch; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-sm { margin-top: 12px; } .mt-md { margin-top: 20px; }
.mt-lg { margin-top: 32px; } .mt-xl { margin-top: 52px; }

/* ── REVEAL ── */
[data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
[data-reveal].visible { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }

/* ── HERO ── */
.page-hero {
  min-height: 66vh; display: flex; align-items: flex-end;
  padding: calc(var(--section-y) + 62px) var(--section-x) var(--section-y);
  background: var(--bg); position: relative; overflow: hidden;
}
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; width: 100%; position: relative; z-index: 2; }
.page-hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 65% 55% at 65% 35%, rgba(45,212,191,0.09) 0%, transparent 65%);
}
.page-hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--rule-lt) 1px,transparent 1px), linear-gradient(90deg,var(--rule-lt) 1px,transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 75% at 50% 25%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 50% 25%, black 0%, transparent 80%);
}
.breadcrumb { display:flex; align-items:center; gap:8px; font-size:12px; color:#7890a0; margin-bottom:22px; }
.breadcrumb a { color:var(--text-dim); transition:color 0.2s; }
.breadcrumb a:hover { color:var(--text-mid); }
.breadcrumb-sep { color: var(--text-dim); }

/* ── TICKER ── */
.ticker-strip {
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  overflow: hidden; padding: 13px 0; background: var(--bg-card);
  max-width: 100vw; position: relative;
}
.ticker-inner { display: flex; width: max-content; animation: tickerScroll 30s linear infinite; }
@keyframes tickerScroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.ticker-item {
  display: flex; align-items: center; gap: 32px; padding: 0 32px;
  white-space: nowrap; font-size: 12px; font-weight: 400; color: #8899aa; letter-spacing: 0.04em;
}
.ticker-item::after { content: '·'; color: var(--teal); font-size: 16px; }

/* ── CARDS ── */
.card {
  background: var(--bg-card); border: 1px solid var(--rule);
  border-radius: var(--radius-md); padding: 28px 24px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.card:hover { background: var(--bg-mid); border-color: rgba(45,212,191,0.2); transform: translateY(-2px); box-shadow: var(--shadow); }
.card-icon {
  width: 44px; height: 44px; border-radius: 11px;
  background: var(--teal-dim); border: 1px solid rgba(45,212,191,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px;
}

/* White card (for white sections) */
.card-white {
  background: var(--white-card); border: 1px solid var(--dark-rule);
  border-radius: var(--radius-md); padding: 28px 24px;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.card-white:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); transform: translateY(-2px); border-color: rgba(45,212,191,0.25); }
.card-white h3.card-h { color: var(--dark-text); }
.card-white .body-m { color: var(--dark-mid); }
.card-white .card-icon { background: rgba(45,212,191,0.08); border-color: rgba(45,212,191,0.2); }

/* ── VISUAL BOX ── */
.visual-box {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--rule);
  box-shadow: var(--shadow);
}

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--rule); margin: 0; }

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > *:first-child { order: 2; }
.split.reverse > *:last-child  { order: 1; }

/* ── PRICE CARDS ── */
.price-card {
  background: var(--bg-card); border: 1px solid var(--rule);
  border-radius: var(--radius-lg); padding: 36px 30px; position: relative;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.price-card:hover { border-color: rgba(45,212,191,0.3); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.price-card.featured { border-color: var(--teal); background: linear-gradient(160deg, rgba(45,212,191,0.06) 0%, var(--bg-card) 60%); }
.price-badge {
  position: absolute; top: -13px; left: 28px;
  background: var(--teal); color: #0f172a;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 4px 14px; border-radius: 980px;
}
.price-amount { font-size: 46px; font-weight: 200; letter-spacing: -0.04em; color: var(--text); line-height: 1; }
.price-amount sup { font-size: 22px; vertical-align: top; margin-top: 8px; font-weight: 300; }
.price-period { font-size: 13px; color: var(--text-dim); margin-top: 5px; }
.price-title { font-size: 20px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.price-desc { font-size: 14px; color: #94a3b8; margin-bottom: 22px; line-height: 1.6; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.price-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #b4c4d4; }
.price-features li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; }

/* ── HIGHLIGHT BOX ── */
.highlight-box {
  background: var(--teal-dim); border: 1px solid rgba(45,212,191,0.2);
  border-radius: var(--radius-md); padding: 18px 22px;
}
.highlight-box p { font-size: 14px; color: var(--text-mid); line-height: 1.65; }
.highlight-box strong { color: var(--text); }
.highlight-box-light {
  background: rgba(45,212,191,0.07); border: 1px solid rgba(45,212,191,0.18);
  border-radius: var(--radius-md); padding: 18px 22px;
}
.highlight-box-light p { font-size: 14px; color: var(--dark-mid); line-height: 1.65; }

/* ── FOOTER ── */
.footer { background: #0d1520; border-top: 1px solid var(--rule); padding: 72px var(--section-x) 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; max-width: var(--max-w); margin: 0 auto 48px; }
.footer-brand-name { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.footer-brand-desc { font-size: 13px; font-weight: 300; line-height: 1.65; color: var(--text-dim); max-width: 26ch; margin-bottom: 22px; }
.footer-contact-link { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-dim); margin-bottom: 8px; transition: color 0.2s; }
.footer-contact-link:hover { color: var(--text); }
.footer-col h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; font-weight: 300; color: var(--text-dim); transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { max-width: var(--max-w); margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 12px; color: var(--text-dim); }

/* ── MOBILE BAR ── */
.mobile-bar {
  display: none; position: fixed; bottom: 0; inset-inline: 0; z-index: 800;
  padding: 10px 16px; gap: 8px;
  background: rgba(13,21,32,0.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--rule);
}
.mobile-bar .btn { flex: 1; justify-content: center; font-size: 13px; padding: 11px 10px; }

/* ── SENTINEL ── */
.sentinel-rings { position: relative; width: 160px; height: 160px; margin: 40px auto; }
.s-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(45,212,191,0.2); animation: sRingExpand 3.2s ease-out infinite; }
.s-ring:nth-child(1){inset:44px;animation-delay:0s}
.s-ring:nth-child(2){inset:22px;animation-delay:0.9s}
.s-ring:nth-child(3){inset:0;animation-delay:1.8s}
@keyframes sRingExpand{0%{opacity:0.9;transform:scale(0.88)}100%{opacity:0;transform:scale(1.28)}}
.s-core { position: absolute; inset: 54px; border-radius: 50%; background: radial-gradient(circle, rgba(45,212,191,0.18) 0%, rgba(45,212,191,0.04) 100%); border: 1px solid rgba(45,212,191,0.35); display: flex; align-items: center; justify-content: center; font-size: 26px; }

/* ── FORM ── */
.form-group {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #94a3b8;
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}
.form-input, .form-select {
  width: 100%;
  height: 48px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 300;
  color: #e8f0f8;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s, background 0.2s;
}
.form-textarea {
  width: 100%;
  min-height: 130px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 300;
  color: #e8f0f8;
  font-family: inherit;
  resize: vertical;
  box-sizing: border-box;
  transition: border-color 0.2s, background 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: rgba(45,212,191,0.5);
  background: rgba(255,255,255,0.09);
}
.form-input::placeholder, .form-textarea::placeholder {
  color: rgba(255,255,255,0.25);
}
.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232dd4bf' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-select option { background: var(--bg-mid); }
.form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 300;
  color: #e8f0f8;
  font-family: inherit;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}

/* ── STAT ── */
.stat-num { font-size: clamp(30px,4.5vw,50px); font-weight: 200; letter-spacing: -0.04em; color: var(--teal); display: block; line-height: 1; }
.stat-label { font-size: 13px; color: #8899aa; margin-top: 6px; }

/* ── RESPONSIVE ── */
@media(max-width:900px){
  .nav-links,.nav-phone{display:none}
  .nav-burger{display:block}
  .split{grid-template-columns:1fr;gap:36px}
  .split.reverse>*:first-child,.split.reverse>*:last-child{order:0}
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr;gap:32px}
  .mobile-bar{display:flex}
  body{padding-bottom:72px}
}
@media(max-width:560px){
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .btn-group{flex-direction:column}
  .btn-group .btn{width:100%;justify-content:center}
}


/* ══════════════════════════════════════════
   CONTRAST SYSTEM — clean overhaul
   ══════════════════════════════════════════ */

/* ── WHITE SECTIONS: force dark text on everything ── */
.section-white,
.section-white * {
  --text: #0f172a;
  --text-mid: #334155;
  --text-dim: #64748b;
  --teal: #0d9488;
  --bg-card: #f8fafc;
  --rule: #e2e8f0;
}
.section-white { background: #ffffff; color: #0f172a; }
.section-white h1,.section-white h2,.section-white h3,.section-white h4 { color: #0f172a; }
.section-white p { color: #334155; }
.section-white span:not(.eyebrow):not(.price-badge) { color: inherit; }
.section-white .eyebrow { color: #0d9488; }
.section-white .section-h { color: #0f172a; }
.section-white .section-h strong { color: #0f172a; }
.section-white .section-h .accent { color: #0d9488; }
.section-white .body-l { color: #334155; }

.section-white .body-s { color: #64748b; }


/* Cards inside white sections */
.section-white .card { background: #1a2537 !important; border-color: rgba(255,255,255,0.08) !important; }
.section-white .card:hover { border-color: rgba(45,212,191,0.25) !important; box-shadow: 0 8px 32px rgba(0,0,0,0.3) !important; }

.section-white div[style*="padding:18"] span,
.section-white div[style*="padding:18"] p[style*="font-size:10"] { color: #64748b !important; }

/* Inline styled category pills (commercial page "Lodge parks" etc) */
.section-white div[style*="padding:12"] { background: #f1f5f9 !important; border-color: #e2e8f0 !important; color: #334155 !important; font-size: 13px; }
.section-white div[style*="padding:14"] { background: #f1f5f9 !important; border-color: #e2e8f0 !important; color: #334155 !important; }

/* Highlight box in white sections */
.section-white .highlight-box { background: rgba(13,148,136,0.07); border-color: rgba(13,148,136,0.2); }
.section-white .highlight-box p,.section-white .highlight-box strong { color: #0f4c44; }

/* ── DARK SECTIONS: ensure light text ── */
.section,.section-mid,.section-card,.page-hero {
  --text: #e8f0f8;
  --text-mid: #b4c4d4;
  --text-dim: #8090a0;
}
.section h2,.section .section-h { color: #e8f0f8; }
.section .body-l,.section .body-m { color: #b4c4d4; }
.section .body-s { color: #8090a0; }
.section .card { background: #1a2537; border-color: rgba(255,255,255,0.08); }
.section .card .card-h,.section .card h3 { color: #e8f0f8; }
.section .card .body-m,.section .card p { color: #b4c4d4; }
/* Inline styled cards on dark sections (commercial category pills) */
.section div[style*="padding:12"],.section div[style*="padding:14"] { 
  background: rgba(255,255,255,0.06) !important; 
  border: 1px solid rgba(255,255,255,0.1) !important; 
  border-radius: 10px;
  color: #c0d0e0 !important; 
}
/* Section-mid slightly lighter */
.section-mid { background: #1e2d40; }
.section-mid .card { background: #243450; border-color: rgba(255,255,255,0.09); }
.section-mid .card .card-h,.section-mid .card h3 { color: #e8f0f8; }
.section-mid .card p,.section-mid .card .body-m { color: #b4c4d4; }
/* Inline styled content in dark section-mid */
.section-mid div[style*="padding:12"],.section-mid div[style*="padding:14"] { 
  background: rgba(255,255,255,0.06) !important; 
  border-color: rgba(255,255,255,0.1) !important; 
  color: #c0d0e0 !important; 
}

/* ── PRICE CARDS — always dark background ── */
.price-card { background: #1a2537; border-color: rgba(255,255,255,0.1); }
.price-card.featured { background: linear-gradient(160deg, rgba(45,212,191,0.07) 0%, #1a2537 60%); border-color: #2dd4bf; }
.price-card .price-title { color: #e8f0f8; }
.price-card .price-desc { color: #94a3b8; }
.price-card .price-amount { color: #e8f0f8; }
.price-card .price-period { color: #64748b; }
.price-card .price-features li { color: #b4c4d4; }

/* ── HIGHLIGHT BOX on dark sections ── */
.section .highlight-box,.section-mid .highlight-box { background: rgba(45,212,191,0.08); border-color: rgba(45,212,191,0.2); }
.section .highlight-box p,.section .highlight-box strong,.section-mid .highlight-box p,.section-mid .highlight-box strong { color: #c0d8e8; }

/* ── NAV always dark ── */
.nav-logo { background: none !important; border: none !important; padding: 0 !important; }
.nav-logo img { height: 40px; width: auto; display: block; background: none; border: none; }

/* ── FOOTER ── */
.footer { background: #0d1520; }
.footer-brand-name { color: #e8f0f8; }
.footer-brand-desc { color: #6880a0; }
.footer-contact-link { color: #6880a0; }
.footer-contact-link:hover { color: #e8f0f8; }
.footer-col h4 { color: #4a6070; }
.footer-col a { color: #6880a0; }
.footer-col a:hover { color: #e8f0f8; }
.footer-bottom p { color: rgba(255,255,255,0.35); }

/* ── MOBILE BAR ── */
.mobile-bar { background: rgba(13,21,32,0.96); }
/* ══════════════════════════════════════════ */

/* ── Product photo cards on HP page ── */
.visual-box img[src*="hp_ospa"],
.visual-box img[src*="hp_icespa"],
.visual-box img[src*="hp_mrsilence"],
.visual-box img[src*="hp_inverboost"] {
  background: #f5f7fa;
  padding: 14px;
}

/* ── Ensure section-white card grid items with inline padding are light ── */
.section-white div[style*="display:grid"] > div[style*="background:#f1f5f9"] {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}
.section-white div[style*="display:grid"] > div[style*="background:#f1f5f9"] p {
  color: #0f172a !important;
}

/* ── Body text in white sections more readable ── */
.section-white p.body-l,
.section-white p.body-m,
.section-white .split p {
  color: #374151 !important;
}

/* ── Heat pump how-it-works section body text ── */
.section-white .split .body-l { color: #374151 !important; }


.nav-logo {
  display: flex !important;
  align-items: center !important;
  padding: 0 4px 0 0 !important;
}
.nav-logo img {
  height: 36px !important;
  width: auto !important;
  display: block !important;
}


/* Cards in ANY section — ensure body text is readable */


/* In white sections, cards get light bg so text should be dark */


/* The service grid cards (on white bg) specifically */


/* Link-styled "Book a repair →" text in white section cards */


/* ════════════════════════════════
   CARD TEXT — definitive rules
   ════════════════════════════════ */

/* Dark-background cards (most of the site): white-ish text */



/* White-section cards: dark text */



/* Teal links inside cards always stay teal */


/* Logo */
.nav-logo { background: none !important; border: none !important; }
.nav-logo img { height: 36px !important; width: auto !important; display: block !important; }

/* ═══════════════════════════════════════════════
   CARD TEXT — single source of truth
   Cards always have dark bg so text is always light
   ═══════════════════════════════════════════════ */
.card .card-h,
.card h3.card-h,
a.card .card-h,
a.card h3 { color: #eef4ff !important; }

.card p,
.card .body-m,
a.card p,
a.card .body-m { color: #c0d4e8 !important; }

/* Teal CTA links inside cards */
.card p[style*="teal"],
a.card p:last-of-type { color: #2dd4bf !important; }

/* Override any section-white inheritance on cards */
.section-white .card .card-h,
.section-white .card h3,
.section-white a.card h3,
.section-white a.card .card-h { color: #eef4ff !important; }

.section-white .card p,
.section-white .card .body-m,
.section-white a.card p,
.section-white a.card .body-m { color: #c0d4e8 !important; }

.section-white a.card p:last-of-type,
.section-white .card p[style*="teal"] { color: #2dd4bf !important; }

/* override underline on parent */

/* ── SVG card icons ── */
.card-icon-svg svg { display: block; }
.section-white .card-icon-svg {
  background: rgba(13,148,136,0.08) !important;
  border-color: rgba(13,148,136,0.18) !important;
}

/* ── Nav dropdown (fixed) ── */
.nav-item { position: relative; }

/* Invisible bridge fills the gap between link and dropdown */
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -12px;
  right: -12px;
  height: 14px;
}

.nav-item:hover .nav-dropdown,
.nav-dropdown:hover { 
  opacity: 1; 
  pointer-events: all; 
  transform: translateY(0); 
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: -12px;
  background: rgba(13,20,32,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 8px;
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  /* Delay disappearing so cursor has time to reach it */
  transition-delay: 0s;
  z-index: 200;
  white-space: nowrap;
}

/* Keep open while hovering the item */
.nav-item:hover .nav-dropdown {
  transition-delay: 0s;
}

/* Slow the close so there's time to move cursor across the gap */
.nav-dropdown:not(:hover) {
  transition-delay: 0.12s;
}

.nav-dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.7) !important;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown a:hover {
  background: rgba(255,255,255,0.07);
  color: #fff !important;
}
.nav-dropdown a::after { display: none !important; }



/* Contact form — dark fields on white section */
.section-white .form-input,
.section-white .form-select {
  background: #1a2537 !important;
  border-color: rgba(255,255,255,0.12) !important;
  color: #e8f0f8 !important;
}
.section-white .form-textarea {
  background: #1a2537 !important;
  border-color: rgba(255,255,255,0.12) !important;
  color: #e8f0f8 !important;
}
.section-white .form-input::placeholder,
.section-white .form-textarea::placeholder,
.section-white .form-select::placeholder {
  color: rgba(255,255,255,0.3) !important;
}
.section-white .form-input:focus,
.section-white .form-select:focus,
.section-white .form-textarea:focus {
  border-color: rgba(45,212,191,0.5) !important;
  outline: none;
}
.section-white .form-label {
  color: #334155 !important;
}
.form-select option {
  background: #1a2537;
  color: #e8f0f8;
}

/* ── Mobile overflow fixes ── */
@media (max-width: 768px) {
  /* Review grids — stack to 1 column */
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3,1fr)"],
  [style*="grid-template-columns:repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Proof row — 2 columns on mobile */
  [style*="justify-content:space-between"] > div[style*="flex:1"] {
    min-width: 45% !important;
    border-right: none !important;
  }

  /* Any inline grid that might overflow */
  .section-inner > div[style*="display:grid"],
  .section-inner > div[style*="display: grid"] {
    max-width: 100% !important;
  }
  
}

/* ── Proof row mobile fix ── */
@media (max-width: 600px) {
  .proof-row > div,
  div[style*="min-width:160px"][style*="flex:1"] {
    min-width: calc(50% - 8px) !important;
    border-right: none !important;
  }
}

/* ── Proof row responsive ── */
@media (max-width: 640px) {
  div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2,1fr) !important;
  }
}
@media (max-width: 360px) {
  div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── Touch target sizes (accessibility) ── */
.btn { min-height: 44px; min-width: 44px; }
.nav-burger, .mobile-nav-close { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
.footer-contact-link { min-height: 44px; display: inline-flex; align-items: center; }
.nav-links a { min-height: 44px; display: inline-flex; align-items: center; }

/* ── Mobile grid responsive ── */
@media (max-width: 768px) {
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3,1fr)"],
  [style*="grid-template-columns:repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── Proof row responsive ── */
@media (max-width: 640px) {
  div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2,1fr) !important;
  }
}

/* ── Mobile nav text align ── */
.mobile-nav a { text-align: center; }
.mobile-nav li { text-align: center; }

/* ── Select option styling ── */
.form-select option { background: #1a2537; color: #e8f0f8; }

/* Contact form dark fields on white section */
.section-white .form-input, .section-white .form-select { background: #1a2537 !important; border-color: rgba(255,255,255,0.12) !important; color: #e8f0f8 !important; }
.section-white .form-textarea { background: #1a2537 !important; border-color: rgba(255,255,255,0.12) !important; color: #e8f0f8 !important; }
.section-white .form-input::placeholder, .section-white .form-textarea::placeholder { color: rgba(255,255,255,0.3) !important; }
.section-white .form-label { color: #334155 !important; }
