/* ===========================================================
   ACRI Air Conditioning — shared stylesheet
   =========================================================== */

:root {
  --color-primary: #0B64AD;
  --color-primary-dark: #084E8C;
  --color-primary-light: #1E86D1;
  --color-accent: #1FA8E6;
  --color-accent-dark: #0C7BC0;
  --color-cyan: #4FD4F7;
  --color-ink: #06304F;
  --color-ink-deep: #041F36;
  --color-bg: #F4FAFD;
  --color-bg-alt: #E8F2F9;
  --color-white: #FFFFFF;
  --color-text: #10283A;
  --color-text-muted: #4A6377;
  --color-border: #D6E5F0;
  --color-star: #FFB238;

  --gradient-accent: linear-gradient(135deg, #33C1F0 0%, #1173E0 100%);
  --gradient-ink: linear-gradient(160deg, #0A4A78 0%, #06304F 55%, #041F36 100%);

  --font-heading: 'Outfit', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(6, 48, 79, 0.05), 0 2px 10px rgba(6, 48, 79, 0.06);
  --shadow-md: 0 4px 10px rgba(6, 48, 79, 0.06), 0 14px 34px rgba(6, 48, 79, 0.12);
  --shadow-lg: 0 8px 20px rgba(6, 48, 79, 0.10), 0 28px 64px rgba(6, 48, 79, 0.18);
  --shadow-glow-accent: 0 8px 28px rgba(17, 128, 224, 0.38);

  --container-width: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* The off-canvas mobile nav sits translated 100% to the right; clip so it
   can never cause horizontal scroll. (clip, unlike hidden, keeps sticky
   positioning working.) */
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
button { font-family: inherit; }
.lead { font-size: 1.125rem; color: var(--color-text-muted); }

::selection { background: rgba(79, 212, 247, 0.35); }
:focus-visible { outline: 3px solid rgba(11, 100, 173, 0.55); outline-offset: 2px; }
[id] { scroll-margin-top: 96px; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: clamp(64px, 9vw, 104px) 0; }
.section-alt { background: var(--color-bg-alt); }
.section-dark {
  background: var(--gradient-ink);
  color: #C6E0F2;
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: "";
  position: absolute;
  top: -220px; right: -160px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 212, 247, 0.20), transparent 65%);
  pointer-events: none;
}
.section-dark > * { position: relative; }
.section-dark h2, .section-dark h3 { color: var(--color-white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  background: rgba(31, 168, 230, 0.10);
  border: 1px solid rgba(31, 168, 230, 0.28);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gradient-accent);
  box-shadow: 0 0 8px rgba(51, 193, 240, 0.8);
}
.hero .eyebrow, .page-hero .eyebrow, .section-dark .eyebrow {
  color: #9FE2FB;
  background: rgba(79, 212, 247, 0.12);
  border-color: rgba(79, 212, 247, 0.30);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p { color: var(--color-text-muted); font-size: 1.06rem; }
.section-head.align-left { margin-left: 0; text-align: left; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--gradient-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-glow-accent);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.28) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform 0.5s ease;
}
.btn-primary:hover { box-shadow: 0 12px 36px rgba(17, 115, 224, 0.48); }
.btn-primary:hover::after { transform: translateX(110%); }
.btn-secondary {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--color-primary-light); color: var(--color-primary-dark); box-shadow: var(--shadow-md); }
.btn-outline-light {
  background: rgba(255,255,255,0.06);
  color: var(--color-white);
  border-color: rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.7); }
.btn-block { width: 100%; white-space: normal; }
.btn-sm { padding: 11px 22px; font-size: 0.85rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 251, 253, 0.78);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid rgba(214, 229, 240, 0.7);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.scrolled {
  background: rgba(246, 251, 253, 0.92);
  box-shadow: 0 8px 32px rgba(6, 48, 79, 0.10);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-link img { height: 46px; width: auto; }

.main-nav { flex: 1; }
.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}
.nav-list a {
  font-weight: 500;
  font-size: 0.93rem;
  color: var(--color-text);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-list a:hover { color: var(--color-primary); background: rgba(11, 100, 173, 0.08); }
.nav-list a[aria-current="page"] {
  color: var(--color-primary-dark);
  background: rgba(11, 100, 173, 0.12);
  font-weight: 600;
}

.header-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-primary-dark);
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.header-phone:hover { color: var(--color-accent-dark); }
.header-phone svg { flex-shrink: 0; color: var(--color-accent); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-primary-dark);
}

/* Nine nav items: tighten before collapsing so the row never wraps. */
@media (max-width: 1360px) {
  .nav-list { gap: 0; }
  .nav-list a { padding: 8px 10px; font-size: 0.88rem; }
  .logo-link img { height: 40px; }
  .header-inner { gap: 16px; }
}
@media (max-width: 1240px) and (min-width: 1081px) {
  .header-cta .btn { display: none; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 72px 0 0 0;
    background: rgba(246, 251, 253, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    padding: 28px 24px;
    flex: none;
  }
  .main-nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 6px; }
  .nav-list a {
    display: block;
    width: 100%;
    padding: 15px 18px;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-heading);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    border: 1px solid var(--color-border);
  }
  .nav-list a[aria-current="page"] { border-color: rgba(11, 100, 173, 0.35); }
  .header-phone span.phone-text { display: none; }
}

/* ---------- Top bar ---------- */
.top-bar {
  background: var(--color-ink-deep);
  color: #A3C6DE;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(79, 212, 247, 0.15);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 9px;
  padding-bottom: 9px;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: #E4F3FB; font-weight: 500; transition: color 0.15s ease; }
.top-bar a:hover { color: var(--color-cyan); }
.top-bar-links { display: flex; gap: 22px; flex-wrap: wrap; }
.top-bar-links span, .top-bar-links a { display: inline-flex; align-items: center; gap: 6px; }
.top-bar svg { color: var(--color-cyan); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--color-white);
  overflow: hidden;
  background: var(--gradient-ink);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  top: -30%; right: -12%;
  width: 62vw; height: 62vw;
  max-width: 900px; max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 212, 247, 0.26) 0%, rgba(79, 212, 247, 0.07) 45%, transparent 68%);
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -38%; left: -14%;
  width: 52vw; height: 52vw;
  max-width: 760px; max-height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 115, 224, 0.22) 0%, rgba(17, 115, 224, 0.06) 45%, transparent 68%);
  z-index: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: aurora-drift 16s ease-in-out infinite alternate; }
  .hero::after { animation: aurora-drift 20s ease-in-out infinite alternate-reverse; }
  @keyframes aurora-drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(-4%, 5%, 0) scale(1.12); }
  }
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.85;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(80px, 11vw, 130px) 0 clamp(90px, 12vw, 150px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  background: linear-gradient(180deg, #FFFFFF 55%, #A9D6F0 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead { font-size: 1.18rem; color: #C2DDF0; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.hero-stats {
  display: flex;
  gap: 44px;
  margin-top: 52px;
  flex-wrap: wrap;
}
.hero-stats div { position: relative; padding-left: 18px; }
.hero-stats div::before {
  content: "";
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 3px;
  border-radius: 3px;
  background: var(--gradient-accent);
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-white);
}
.hero-stats div span { color: #8FB8D4; font-size: 0.85rem; }

.hero-card {
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 32px 64px rgba(3, 16, 34, 0.45);
}
.hero-card h3 { color: var(--color-white); font-size: 1.25rem; }
.hero-card p { color: #BCD9EE; font-size: 0.92rem; }
.hero-card .check-list li { color: #DCEEF8; }

/* ---------- Interactive comfort hero ----------
   --heat runs 1 (sweltering) -> 0 (cool); main.js sets it from the
   thermostat slider on the home page. Everything below derives its
   opacity/colour from that one variable, so the scene, the readout and
   the whole hero background respond together. */
.hero { --heat: 1; }
.hero-clime {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.hero-clime-warm {
  background:
    radial-gradient(90% 75% at 20% 90%, rgba(255, 122, 61, 0.30), transparent 62%),
    radial-gradient(70% 55% at 85% 10%, rgba(255, 155, 98, 0.16), transparent 65%);
  opacity: calc(var(--heat) * 0.9);
}
.hero-clime-cool {
  background:
    radial-gradient(90% 70% at 80% 20%, rgba(51, 193, 240, 0.34), transparent 62%),
    radial-gradient(70% 60% at 15% 80%, rgba(51, 193, 240, 0.18), transparent 65%);
  opacity: calc((1 - var(--heat)) * 0.9);
}

.comfort-panel { --heat: 1; padding: 26px 28px 24px; }
.comfort-head h3 { margin-bottom: 4px; }
.comfort-head p { margin-bottom: 16px; font-size: 0.9rem; }

.comfort-scene svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 28px rgba(3, 16, 34, 0.35);
}
.scene-fade, .scene-warm-tint, .scene-cool-tint { transition: opacity 0.45s ease; }
.scene-sky-cool { opacity: calc(1 - var(--heat)); }
.scene-sun-rays { opacity: calc(0.15 + var(--heat) * 0.85); }
.scene-shimmer { opacity: calc(var(--heat) * var(--heat)); }
.scene-led-standby { opacity: var(--heat); }
.scene-led-on { opacity: calc(1 - var(--heat)); }
.scene-led-halo { opacity: calc((1 - var(--heat)) * 0.4); }
.scene-breeze, .scene-flakes { opacity: calc((1 - var(--heat)) * (1 - var(--heat))); }
.scene-warm-tint { opacity: calc(var(--heat) * 0.17); }
.scene-cool-tint { opacity: calc((1 - var(--heat)) * 0.14); }
.scene-cat {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease 0.15s, transform 0.5s ease 0.15s;
}
.comfort-panel.is-comfy .scene-cat { opacity: 1; transform: none; }

.comfort-readout {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin: 16px 2px 4px;
}
.comfort-readout strong {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #FFB48C;
  color: color-mix(in oklab, #FF9B62 calc(var(--heat) * 100%), #4FC3EF);
  transition: color 0.4s ease;
}
.comfort-readout span { font-size: 0.86rem; color: #BCD9EE; text-align: right; line-height: 1.35; }
.comfort-panel.is-comfy .comfort-readout span { color: #8BE8DC; }

.comfort-control { display: flex; align-items: center; gap: 12px; margin: 8px 0 20px; }
.comfort-icon-cold { color: #7FD0F2; flex-shrink: 0; }
.comfort-icon-hot { color: #FFB48C; flex-shrink: 0; }
.comfort-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 34px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.comfort-slider::-webkit-slider-runnable-track {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #38A6EC, #A8DCF5 45%, #FFC08F 72%, #FF7A3D);
  box-shadow: inset 0 1px 4px rgba(3, 16, 34, 0.55);
}
.comfort-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  margin-top: -11px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-white);
  border: 3px solid #1FA8E6;
  box-shadow: 0 4px 12px rgba(3, 16, 34, 0.5);
  cursor: grab;
}
.comfort-slider:active::-webkit-slider-thumb { cursor: grabbing; }
.comfort-slider::-moz-range-track {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #38A6EC, #A8DCF5 45%, #FFC08F 72%, #FF7A3D);
  box-shadow: inset 0 1px 4px rgba(3, 16, 34, 0.55);
}
.comfort-slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-white);
  border: 3px solid #1FA8E6;
  box-shadow: 0 4px 12px rgba(3, 16, 34, 0.5);
  cursor: grab;
}
.comfort-slider:focus-visible { outline: 3px solid rgba(51, 193, 240, 0.75); outline-offset: 4px; border-radius: 999px; }

.comfort-panel .comfort-note {
  font-size: 0.8rem;
  color: #8FB8D4;
  margin: 10px 0 0;
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .scene-breeze path { stroke-dasharray: 10 16; animation: breeze-flow 1.5s linear infinite; }
  @keyframes breeze-flow { to { stroke-dashoffset: -52; } }
  .scene-shimmer path { animation: shimmer-rise 2.4s ease-in-out infinite; }
  .scene-shimmer path:nth-child(2) { animation-delay: 0.5s; }
  .scene-shimmer path:nth-child(3) { animation-delay: 1s; }
  @keyframes shimmer-rise { 50% { transform: translateY(-7px); } }
  .scene-flakes circle { animation: flake-float 3s ease-in-out infinite; }
  .scene-flakes circle:nth-child(2) { animation-delay: 0.5s; }
  .scene-flakes circle:nth-child(3) { animation-delay: 1.1s; }
  .scene-flakes circle:nth-child(4) { animation-delay: 1.6s; }
  .scene-flakes circle:nth-child(5) { animation-delay: 2.2s; }
  @keyframes flake-float { 50% { transform: translateY(-8px); } }
  /* Nudge the untouched thumb so visitors spot the interaction. */
  .comfort-panel:not(.touched) .comfort-slider::-webkit-slider-thumb { animation: thumb-nudge 2s ease-in-out infinite; }
  .comfort-panel:not(.touched) .comfort-slider::-moz-range-thumb { animation: thumb-nudge 2s ease-in-out infinite; }
  @keyframes thumb-nudge {
    0%, 100% { box-shadow: 0 4px 12px rgba(3, 16, 34, 0.5), 0 0 0 0 rgba(51, 193, 240, 0.55); }
    50% { box-shadow: 0 4px 12px rgba(3, 16, 34, 0.5), 0 0 0 12px rgba(51, 193, 240, 0); }
  }
  .comfort-panel.is-comfy .comfort-cta { animation: cta-pulse 1.9s ease-in-out infinite; }
  @keyframes cta-pulse {
    50% { box-shadow: 0 10px 34px rgba(17, 115, 224, 0.55), 0 0 0 8px rgba(51, 193, 240, 0.12); }
  }
}

@media (max-width: 980px) {
  .comfort-panel { max-width: 520px; margin: 0 auto; }
}

.page-hero {
  background: var(--gradient-ink);
  color: var(--color-white);
  text-align: center;
  padding: clamp(64px, 9vw, 96px) 0 clamp(52px, 7vw, 76px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -240px; right: -120px;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 212, 247, 0.22), transparent 66%);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: -260px; left: -140px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 115, 224, 0.16), transparent 66%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  background: linear-gradient(180deg, #FFFFFF 55%, #A9D6F0 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero p { color: #C2DDF0; max-width: 640px; margin: 0 auto; font-size: 1.08rem; }
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #9CC5E0;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 20px;
}
.breadcrumb a { color: #E4F3FB; transition: color 0.15s ease; }
.breadcrumb a:hover { color: var(--color-cyan); }

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

.card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card:hover::after { transform: scaleX(1); }
.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(11, 100, 173, 0.10), rgba(79, 212, 247, 0.18));
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.card ul.check-list { margin-top: 14px; }

.service-card img {
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover img { transform: scale(1.03); }
.service-card > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-primary);
  transition: color 0.15s ease, gap 0.15s ease;
}
.service-card > a:hover { color: var(--color-accent-dark); gap: 8px; }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 11px;
  font-size: 0.95rem;
}
.check-list svg { flex-shrink: 0; margin-top: 3px; color: var(--color-accent); }

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(11, 100, 173, 0.10), rgba(79, 212, 247, 0.18));
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- Feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media {
  position: relative;
  isolation: isolate;
}
.split-media::before {
  content: "";
  position: absolute;
  inset: 10% -5% -5% 10%;
  background: linear-gradient(135deg, rgba(11, 100, 173, 0.16), rgba(51, 193, 240, 0.14));
  border-radius: var(--radius-lg);
  transform: rotate(-2.5deg);
  z-index: -1;
}
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step {
  position: relative;
  padding: 30px 24px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--gradient-accent);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(17, 115, 224, 0.35);
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 52px;
  left: 100%;
  width: 26px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--color-border) 0 5px, transparent 5px 10px);
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 22px;
  font-family: var(--font-heading);
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(11, 100, 173, 0.10);
  pointer-events: none;
}
.stars { color: var(--color-star); letter-spacing: 3px; margin-bottom: 14px; font-size: 0.95rem; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(145deg, var(--color-primary-light), var(--color-primary-dark));
  color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 600;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
.testimonial-author strong { display: block; font-size: 0.92rem; }
.testimonial-author span { font-size: 0.82rem; color: var(--color-text-muted); }

/* ---------- Coverage / areas ---------- */
.area-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.area-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}
.area-pill:hover { transform: translateY(-2px); border-color: rgba(31, 168, 230, 0.5); box-shadow: var(--shadow-md); }
.area-pill svg { color: var(--color-accent); flex-shrink: 0; }

.map-embed {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  background: var(--gradient-ink);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 68px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-lg);
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: -180px; right: -100px;
  width: 440px; height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 212, 247, 0.28), transparent 66%);
  pointer-events: none;
  z-index: -1;
}
.cta-banner::after {
  content: "";
  position: absolute;
  bottom: -200px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 115, 224, 0.22), transparent 66%);
  pointer-events: none;
  z-index: -1;
}
.cta-banner h2 { color: var(--color-white); margin-bottom: 8px; }
.cta-banner p { color: #C2DDF0; margin: 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 0.88rem; font-weight: 600; color: var(--color-ink); }
input, select, textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 13px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 4px rgba(11, 100, 173, 0.14);
}
textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--color-text-muted); margin-top: 8px; }
.form-status { margin-top: 16px; font-weight: 600; }
.form-status.success { color: #1E8E5A; }
.form-status.error { color: #C0392B; }

/* ---------- FAQ accordion ---------- */
.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item[open] { border-color: rgba(11, 100, 173, 0.4); box-shadow: var(--shadow-md); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-ink);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0;
}
.faq-question .icon-plus { flex-shrink: 0; transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1); color: var(--color-accent); }
.faq-item[open] .icon-plus { transform: rotate(45deg); }
.faq-answer { padding-top: 14px; color: var(--color-text-muted); }
details.faq-item summary { list-style: none; }
details.faq-item summary::-webkit-details-marker { display: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-ink-deep);
  color: #9BBBD3;
  padding: 72px 0 28px;
  border-top: 1px solid rgba(79, 212, 247, 0.16);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer-grid img { height: 40px; margin-bottom: 18px; }
.footer-grid p { color: #82A6BF; font-size: 0.92rem; }
.footer-heading { color: var(--color-white); font-family: var(--font-heading); font-weight: 600; margin-bottom: 18px; font-size: 0.95rem; letter-spacing: 0.5px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 0.92rem; color: #9BBBD3; transition: color 0.15s ease; }
.footer-links a:hover { color: var(--color-cyan); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-size: 0.92rem; }
.footer-contact svg { flex-shrink: 0; margin-top: 3px; color: var(--color-accent); }
.social-row { display: flex; gap: 12px; margin-top: 20px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.social-row a:hover { background: var(--color-accent); border-color: var(--color-accent); transform: translateY(-2px); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 0.82rem;
  color: #6C8EA6;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: #9BBBD3; transition: color 0.15s ease; }
.footer-bottom a:hover { color: var(--color-cyan); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(92deg, #4FD4F7 0%, #9BE4FB 55%, #E8F9FF 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.badge-item { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; color: var(--color-ink); }
.badge-item svg { color: var(--color-accent); }

.trust-strip { padding: 0 24px; position: relative; z-index: 5; }
.trust-strip .container {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 24px 40px;
  margin-top: -36px;
}

.divider { height: 1px; background: var(--color-border); margin: 48px 0; }

/* ---------- Price estimator ---------- */
.estimator-layout { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 32px; align-items: start; }
.estimator-layout > * { min-width: 0; }
.room-grid .form-group { min-width: 0; }
.form-group input, .form-group select, .form-group textarea { width: 100%; min-width: 0; }
.estimator-panel {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.estimator-panel fieldset { border: 0; padding: 0; margin: 0 0 34px; min-width: 0; }
.estimator-panel fieldset.mb-0 { margin-bottom: 0; }
.est-legend {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-heading); font-weight: 600; font-size: 1.08rem;
  color: var(--color-ink); padding: 0; margin-bottom: 16px;
}
.legend-num {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 10px; flex-shrink: 0;
  background: var(--gradient-accent); color: var(--color-white);
  font-size: 0.85rem; font-weight: 700;
  box-shadow: 0 4px 10px rgba(17, 115, 224, 0.3);
}
.field-status { font-size: 0.85rem; color: var(--color-text-muted); margin: 8px 0 0; min-height: 1.2em; }
.field-status.warn { color: #B45309; }

.segmented { display: flex; gap: 12px; flex-wrap: wrap; }
.segment { position: relative; display: block; cursor: pointer; }
.segment input { position: absolute; opacity: 0; pointer-events: none; }
.segment span {
  display: block; padding: 13px 20px; border-radius: 999px;
  border: 1.5px solid var(--color-border); background: var(--color-white);
  font-weight: 500; font-size: 0.92rem;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.segment input:checked + span {
  border-color: var(--color-primary-light);
  background: rgba(11, 100, 173, 0.10);
  color: var(--color-primary-dark);
  font-weight: 600;
  box-shadow: 0 0 0 3px rgba(11, 100, 173, 0.12);
}
.segment input:focus-visible + span { outline: 3px solid rgba(11, 100, 173, 0.55); outline-offset: 2px; }

.room-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 14px;
}
.room-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.room-card-head strong { font-family: var(--font-heading); color: var(--color-ink); }
.room-remove {
  background: none; border: none; cursor: pointer; padding: 4px 8px;
  color: var(--color-text-muted); font-size: 0.82rem; font-weight: 600;
  border-radius: 6px; transition: color 0.15s ease, background 0.15s ease;
}
.room-remove:hover { color: #C0392B; background: rgba(192, 57, 43, 0.08); }
.room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.room-grid .form-group { margin-bottom: 0; }
.room-grid label { font-size: 0.8rem; display: flex; flex-direction: column; gap: 7px; }
.room-grid select { width: 100%; font-size: 0.88rem; padding: 11px 12px; }

.btn-add-room {
  width: 100%; padding: 14px; cursor: pointer;
  border: 1.5px dashed var(--color-primary-light); border-radius: var(--radius-sm);
  background: rgba(11, 100, 173, 0.05); color: var(--color-primary-dark);
  font-family: var(--font-heading); font-weight: 600; font-size: 0.92rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-add-room:hover:not(:disabled) { background: rgba(11, 100, 173, 0.11); }
.btn-add-room:disabled { cursor: default; opacity: 0.75; border-style: solid; }

.estimator-summary { position: sticky; top: 96px; }
.summary-card {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--gradient-ink); color: #C2DDF0;
  border-radius: var(--radius-lg); padding: 34px;
  box-shadow: var(--shadow-lg);
}
.summary-card::before {
  content: ""; position: absolute; top: -160px; right: -120px; width: 380px; height: 380px;
  border-radius: 50%; background: radial-gradient(circle, rgba(79, 212, 247, 0.25), transparent 66%);
  pointer-events: none; z-index: -1;
}
.summary-card h3 { color: var(--color-white); margin-bottom: 20px; }
.summary-lines li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 0; font-size: 0.9rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
}
.summary-lines li span:last-child { white-space: nowrap; font-weight: 600; color: var(--color-white); }
.summary-lines li.discount span { color: #7BE3D2; }
.summary-total { display: flex; flex-direction: column; gap: 2px; margin: 20px 0 6px; }
.summary-total span { font-size: 0.82rem; letter-spacing: 0.4px; text-transform: uppercase; color: #8FB8D4; }
.summary-total strong {
  font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.02em; color: var(--color-white);
}
.summary-note { font-size: 0.85rem; color: #FFCE8A; min-height: 1.2em; margin: 0 0 8px; }
.summary-small { font-size: 0.8rem; color: #8FB8D4; margin: 14px 0 0; }
.summary-card .btn-block { margin-top: 6px; }

@media (max-width: 980px) {
  .estimator-layout { grid-template-columns: 1fr; }
  .estimator-summary { position: static; }
  .room-grid { grid-template-columns: 1fr; }
}

/* ---------- Scroll reveal (classes applied by main.js) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 120px 0; }
.error-page .code {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 14vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 500px; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .area-list { grid-template-columns: repeat(2, 1fr); }
  .top-bar { display: none; }
  .trust-strip .container { justify-content: flex-start; gap: 20px 32px; }
}

@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .area-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
  .hero-stats { gap: 24px; }
  .header-inner { gap: 12px; padding: 10px 16px; }
  .logo-link img { height: 34px; }
  .header-cta { gap: 8px; }
  .header-cta .btn.btn-primary.btn-sm { display: none; }
  .trust-strip { padding: 0 16px; }
  .trust-strip .container { padding: 20px 24px; margin-top: -28px; }
}
