/* ============================================================
   KELVARA — Air Conditioning & Heat Pumps
   Shared stylesheet
   ============================================================ */

:root {
  --navy-900: #060d1a;
  --navy-800: #0a1424;
  --navy-700: #101f38;
  --navy-600: #172b4c;
  --teal-400: #1fd8c4;
  --teal-500: #14c6b4;
  --teal-600: #0da696;
  --blue-500: #2e7cf6;
  --blue-600: #1f5fd0;
  --white: #ffffff;
  --off-white: #f5f8fc;
  --grey-100: #e8eef6;
  --grey-400: #9fb0c7;
  --grey-600: #5b6b82;
  --text-dark: #14202f;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-1: 0 4px 18px rgba(6, 13, 26, 0.08);
  --shadow-2: 0 14px 40px rgba(6, 13, 26, 0.16);
  --max-w: 1180px;
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Syne', 'DM Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }

a { color: var(--blue-500); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; font-family: var(--font-heading); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.45rem); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 14px;
}

.section-sub {
  font-size: 1.08rem;
  color: var(--grey-600);
  max-width: 640px;
  margin-top: 14px;
}

.on-dark .section-sub { color: var(--grey-400); }
.on-dark .eyebrow { color: var(--teal-400); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none !important;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(120deg, var(--teal-500), var(--blue-500));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(20, 198, 180, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(20, 198, 180, 0.45); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn-secondary:hover { border-color: var(--teal-400); color: var(--teal-400); }

.btn-secondary.dark-text { color: var(--text-dark); border-color: rgba(20, 32, 47, 0.25); }
.btn-secondary.dark-text:hover { color: var(--teal-600); border-color: var(--teal-600); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(6, 13, 26, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
  padding: 12px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.35rem; font-weight: 800; color: var(--white);
  letter-spacing: -0.01em; text-decoration: none !important;
}
.logo-mark {
  width: 38px; height: 38px; border-radius: 9px;
  background: #ffffff;
  display: grid; place-items: center;
  padding: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
  object-fit: contain;
}
.logo-full {
  height: 60px; width: auto; max-width: 260px;
  object-fit: contain; display: block; flex-shrink: 0;
}
.logo span.tag { font-size: 0.62rem; font-weight: 500; color: var(--grey-400); display: block; letter-spacing: 0.08em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  color: var(--grey-100); font-weight: 500; font-size: 0.95rem;
  text-decoration: none !important; transition: color 0.2s;
}
.main-nav a:hover { color: var(--teal-400); }
.main-nav .btn { min-height: 42px; padding: 9px 22px; font-size: 0.92rem; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 48px; height: 48px; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 24px; height: 2px;
  background: var(--white); position: relative; transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* Light header variant (blog & quote pages) */
.site-header.solid {
  background: rgba(6, 13, 26, 0.96);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  padding: 140px 0 90px;
  isolation: isolate;
}

/* Full-bleed background video: the AAC unit airflow animation, scrubbed
   between its cold (blue) and warm (red) frames as the visitor scrolls. */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--navy-900);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform: scale(1.02);
}
/* Darkening / colour-mood scrim so hero text stays legible and the room can
   read "cool" (blue) or "warm" (amber) depending on scroll direction */
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(6, 13, 26, 0.92) 0%, rgba(6, 13, 26, 0.72) 32%, rgba(6, 13, 26, 0.3) 58%, rgba(6, 13, 26, 0.15) 100%),
    linear-gradient(0deg, rgba(6, 13, 26, 0.55) 0%, rgba(6, 13, 26, 0) 40%);
  transition: background-color 1.1s ease;
}
.hero-scrim::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--hero-mood-color, transparent);
  opacity: var(--hero-mood-opacity, 0);
  transition: opacity 0.9s ease, background-color 0.9s ease;
  mix-blend-mode: soft-light;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin-right: auto;
}

.hero h1 { margin-bottom: 20px; }
.hero .hero-sub {
  font-size: 1.2rem; color: var(--grey-400); max-width: 520px; margin-bottom: 34px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-badges {
  display: flex; gap: 22px; margin-top: 44px; flex-wrap: wrap;
}
.hero-badges .badge {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--grey-400); font-weight: 500;
}
.hero-badges .badge svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Small live indicator showing which airflow mode is currently playing */
.hero-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 38px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  background: rgba(6, 13, 26, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  font-size: 0.8rem;
  color: var(--grey-400);
}
.hero-mode-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 0 4px rgba(31, 216, 196, 0.18);
  transition: background-color 0.6s ease, box-shadow 0.6s ease;
  flex-shrink: 0;
}
.hero-mode-dot.warm {
  background: #ff9d4d;
  box-shadow: 0 0 0 4px rgba(255, 157, 77, 0.2);
}

/* Entrance animation for hero text */
.hero-animate {
  opacity: 0;
  transform: translateY(28px);
  animation: heroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-animate.d1 { animation-delay: 0.1s; }
.hero-animate.d2 { animation-delay: 0.25s; }
.hero-animate.d3 { animation-delay: 0.4s; }
.hero-animate.d4 { animation-delay: 0.55s; }
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Sections ---------- */
section { padding: 96px 0; }
section.tight { padding: 72px 0; }

.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

.on-dark { background: var(--navy-900); color: var(--white); }
.on-light-alt { background: var(--off-white); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.from-left  { transform: translateX(-48px); }
.reveal.from-right { transform: translateX(48px); }
.reveal.visible { opacity: 1; transform: translate(0, 0); }

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center;
}
.about-points { list-style: none; margin-top: 30px; display: grid; gap: 14px; }
.about-points li {
  display: flex; align-items: center; gap: 12px; font-weight: 500;
}
.check-icon {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--teal-500), var(--blue-500));
  display: grid; place-items: center; color: var(--white);
}
.check-icon svg { width: 14px; height: 14px; }

.about-visual {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
}
.about-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  box-shadow: 0 24px 60px rgba(6, 13, 26, 0.22);
}
.network-visual {
  position: absolute;
  right: -8%;
  bottom: -12%;
  width: 58%;
  aspect-ratio: 1;
  background: var(--navy-900);
  border-radius: 18px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(6, 13, 26, 0.4);
}
.network-visual svg { width: 100%; height: 100%; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-tile {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column;
}
.service-tile:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2);
}
.service-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--grey-100);
}
.service-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.service-tile:hover .service-media img { transform: scale(1.07); }
.service-icon {
  position: absolute;
  left: 20px; bottom: -22px;
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--teal-500), var(--blue-500));
  display: grid; place-items: center;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(6, 13, 26, 0.28);
  transition: transform 0.35s ease;
}
.service-tile:hover .service-icon { transform: rotate(-6deg) scale(1.12); }
.service-icon svg { width: 28px; height: 28px; }
.service-body {
  padding: 36px 28px 30px;
  display: flex; flex-direction: column; gap: 14px; flex-grow: 1;
}
.service-tile p { color: var(--grey-600); font-size: 0.95rem; flex-grow: 1; }
.service-tile .tile-link {
  font-weight: 600; font-size: 0.92rem; color: var(--teal-600);
  display: inline-flex; align-items: center; gap: 6px;
}
.service-tile .tile-link::after { content: '→'; transition: transform 0.2s; }
.service-tile:hover .tile-link::after { transform: translateX(4px); }

/* ---------- Why Choose Us ---------- */
.why-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 44px 0;
}
.why-row .why-visual {
  background: var(--navy-800);
  border-radius: var(--radius);
  min-height: 300px;
  display: grid; place-items: center;
  padding: 32px;
  overflow: hidden;
  position: relative;
}
.why-row .why-visual svg { max-height: 260px; }
.why-row .why-visual.photo { padding: 0; background: transparent; }
.why-video-wrap { padding: 0 !important; background: var(--navy-900) !important; cursor: default; }
.why-vid {
  width: 100%; height: 100%; min-height: 300px;
  object-fit: cover; display: block;
  border-radius: var(--radius);
  /* smooth scrub — GPU-accelerated decode */
  will-change: contents;
}
.why-photo {
  width: 100%; height: 100%; min-height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.why-row h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 14px; }
.why-row p { color: var(--grey-600); font-size: 1.05rem; }
.why-num {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--teal-600); text-transform: uppercase; display: block; margin-bottom: 10px;
}

/* process flow svg animation */
.flow-node { opacity: 0; }
.flow-node.animated { animation: nodeIn 0.5s ease forwards; }
.flow-line { stroke-dasharray: 60; stroke-dashoffset: 60; }
.flow-line.animated { animation: lineDraw 0.6s ease forwards; }
@keyframes nodeIn { to { opacity: 1; } }
@keyframes lineDraw { to { stroke-dashoffset: 0; } }

/* ---------- Brands ---------- */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.brand-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-sm);
  padding: 26px 14px;
  display: grid; place-items: center;
  font-weight: 700; font-size: 1.05rem; color: var(--grey-600);
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
  text-align: center;
}
.brand-card:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 28px rgba(20, 198, 180, 0.18);
  color: var(--text-dark);
}

/* ---------- How It Works ---------- */
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.step-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 38px 30px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.step-card:hover { transform: translateY(-6px); border-color: rgba(20, 198, 180, 0.4); }
.step-num {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-500), var(--blue-500));
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.15rem; color: var(--white);
  margin-bottom: 22px;
}
.step-card h3 { margin-bottom: 12px; color: var(--white); }
.step-card p { color: var(--grey-400); font-size: 0.98rem; }
.step-icon { margin-bottom: 18px; color: var(--teal-400); }
.step-icon svg { width: 44px; height: 44px; animation: floaty 5s ease-in-out infinite; }
.step-card:nth-child(2) .step-icon svg { animation-delay: 1.2s; }
.step-card:nth-child(3) .step-icon svg { animation-delay: 2.4s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--teal-600), var(--blue-600));
  color: var(--white);
  border-radius: var(--radius);
  padding: 64px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { opacity: 0.9; }
.cta-band .btn-primary {
  background: var(--white); color: var(--navy-800);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: var(--grey-400);
  padding: 72px 0 32px;
  font-size: 0.93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--grey-400); text-decoration: none; }
.site-footer a:hover { color: var(--teal-400); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 26px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.85rem;
}

/* ============================================================
   QUOTE JOURNEY
   ============================================================ */
.quote-page {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 100%);
  padding: 130px 0 80px;
  color: var(--white);
}

.quote-shell {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.progress-track {
  display: flex; align-items: center; gap: 0; margin-bottom: 44px;
}
.progress-seg {
  flex: 1; height: 5px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 4px;
  overflow: hidden; position: relative;
}
.progress-seg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--teal-500), var(--blue-500));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.progress-seg.done::after, .progress-seg.active::after { transform: scaleX(1); }
.progress-label {
  text-align: center; font-size: 0.85rem; color: var(--grey-400);
  margin-bottom: 34px; letter-spacing: 0.04em;
}

.quote-step {
  display: none;
  animation: stepIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.quote-step.active { display: block; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.quote-step h2 { margin-bottom: 8px; }
.quote-step .step-sub { color: var(--grey-400); margin-bottom: 32px; }

.field-group { margin-bottom: 22px; }
.field-group label {
  display: block; font-size: 0.88rem; font-weight: 600;
  margin-bottom: 8px; color: var(--grey-100);
}
.field-group input[type="text"],
.field-group input[type="tel"],
.field-group input[type="email"],
.field-group input[type="number"],
.field-group select,
.field-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field-group input:focus, .field-group select:focus, .field-group textarea:focus {
  outline: none;
  border-color: var(--teal-400);
  box-shadow: 0 0 0 4px rgba(20, 198, 180, 0.15);
  background: rgba(255, 255, 255, 0.09);
}
.field-group input::placeholder, .field-group textarea::placeholder { color: var(--grey-600); }
.field-group select option { color: var(--text-dark); }
.field-error { color: #ff8f8f; font-size: 0.83rem; margin-top: 6px; display: none; }
.field-group.has-error input { border-color: #ff8f8f; }
.field-group.has-error .field-error { display: block; }

.option-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.option-card {
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 22px 20px;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  display: flex; gap: 16px; align-items: flex-start;
}
.option-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 198, 180, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.option-card.selected {
  border-color: var(--teal-400);
  background: rgba(20, 198, 180, 0.1);
  box-shadow: 0 0 0 3px rgba(20, 198, 180, 0.18);
}
.option-card .oc-icon {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(20, 198, 180, 0.2), rgba(46, 124, 246, 0.2));
  display: grid; place-items: center; color: var(--teal-400);
}
.option-card .oc-icon svg { width: 24px; height: 24px; }
.option-card h4 { font-size: 1rem; margin-bottom: 3px; color: var(--white); }
.option-card p { font-size: 0.85rem; color: var(--grey-400); }

.quote-nav {
  display: flex; justify-content: space-between; margin-top: 38px; gap: 14px;
}
.btn-back {
  background: transparent; color: var(--grey-400);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}
.btn-back:hover { color: var(--white); border-color: var(--white); }

#coverage-map {
  height: 320px;
  border-radius: var(--radius);
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 1;
}

.postcode-result {
  margin-top: 18px; padding: 16px 20px; border-radius: var(--radius-sm);
  font-weight: 500; display: none; animation: stepIn 0.4s ease;
}
.postcode-result.ok { display: block; background: rgba(20, 198, 180, 0.14); border: 1px solid rgba(20, 198, 180, 0.4); color: var(--teal-400); }
.postcode-result.no { display: block; background: rgba(255, 143, 143, 0.1); border: 1px solid rgba(255, 143, 143, 0.35); color: #ff9f9f; }

.summary-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 28px;
  margin: 26px 0;
  display: grid; gap: 12px;
}
.summary-box .row { display: flex; justify-content: space-between; gap: 20px; font-size: 0.95rem; }
.summary-box .row span:first-child { color: var(--grey-400); }
.summary-box .row span:last-child { font-weight: 600; text-align: right; }

.success-check {
  width: 90px; height: 90px; margin: 0 auto 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-500), var(--blue-500));
  display: grid; place-items: center;
  animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.success-check svg { width: 44px; height: 44px; color: var(--white); }
@keyframes popIn {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

.wa-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }

.checkbox-row {
  display: flex; align-items: center; gap: 10px; margin: 18px 0;
  font-size: 0.93rem; color: var(--grey-100);
}
.checkbox-row input { width: 20px; height: 20px; accent-color: var(--teal-500); }

/* ============================================================
   BLOG
   ============================================================ */
.blog-hero {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 150px 0 70px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 64px 0 90px;
}
.blog-card {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.blog-card-visual {
  height: 200px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  display: grid; place-items: center;
  color: var(--teal-400);
  overflow: hidden;
}
.blog-card-visual svg { width: 54px; height: 54px; }
.blog-card-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; text-align: center; }
.blog-card .cat {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal-400);
}
.blog-card h3 { font-size: 1.1rem; }
.blog-card h3 a { color: var(--white); }
.blog-card h3 a:hover { color: var(--teal-400); text-decoration: none; }
.blog-card p { color: var(--grey-400); font-size: 0.9rem; flex-grow: 1; }
.blog-card .read-more { font-weight: 600; font-size: 0.9rem; color: var(--teal-400); }

/* Article */
.article-hero {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 150px 0 70px;
}
.article-hero .meta { color: var(--grey-400); font-size: 0.9rem; margin-top: 18px; }
.article-hero h1 { max-width: 840px; }

.article-hero-img {
  margin: 0;
  line-height: 0;
}
.article-hero-img img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 40px;
  font-size: 1.08rem;
  color: #2b3a4d;
}
.article-body h2 { margin: 48px 0 18px; color: var(--text-dark); }
.article-body h3 { margin: 34px 0 14px; color: var(--text-dark); }
.article-body p { margin-bottom: 20px; }
.article-body ul, .article-body ol { margin: 0 0 20px 26px; }
.article-body li { margin-bottom: 10px; }
.article-body table {
  width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 0.95rem;
}
.article-body th, .article-body td {
  border: 1px solid var(--grey-100); padding: 12px 14px; text-align: left;
}
.article-body th { background: var(--off-white); font-weight: 600; }
.article-body blockquote {
  border-left: 4px solid var(--teal-500);
  padding: 14px 22px; margin: 26px 0;
  background: var(--off-white); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic; color: var(--grey-600);
}
/* Internal CTA boxes inside blog posts */
.blog-internal-cta {
  background: rgba(20,198,180,0.08);
  border-left: 4px solid var(--teal-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 28px 0;
  font-size: 0.97rem;
  color: var(--text-dark);
}
.blog-internal-cta strong { color: var(--navy-900); }
.blog-internal-cta a {
  color: var(--teal-600); font-weight: 600;
  text-decoration: none; white-space: nowrap;
}
.blog-internal-cta a:hover { text-decoration: underline; }

.article-cta {
  background: linear-gradient(120deg, var(--teal-600), var(--blue-600));
  color: var(--white); border-radius: var(--radius);
  padding: 40px; text-align: center; margin: 48px 0;
}
.article-cta h3 { color: var(--white); margin-bottom: 10px; }
.article-cta p { color: rgba(255,255,255,0.85); margin-bottom: 22px; }
.article-cta .btn-primary { background: var(--white); color: var(--navy-800); }

.related-posts {
  max-width: 760px; margin: 0 auto; padding: 0 24px 80px;
}
.related-posts h3 { margin-bottom: 18px; }
.related-posts ul { list-style: none; display: grid; gap: 12px; }
.related-posts a { font-weight: 500; }

/* ---------- Interactive 3D tilt (service tiles, about & why-us photos) ----------
   Cursor-reactive card tilt + soft glare, inspired by the depth/motion feel
   of cula.tech. JS applies rotateX/rotateY inline on mousemove; these rules
   give the containers a 3D viewing context and style the glare + fallback
   transition. Inert on touch devices (no hover = no listener attached). */
.services-grid, .about-grid, .why-row {
  perspective: 1400px;
}
.tilt-3d {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.tilt-3d::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.24), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.tilt-3d.tilting {
  transition: transform 0.08s linear;
}
.tilt-3d.tilting::before { opacity: 1; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  section { padding: 64px 0; }
  .main-nav {
    position: fixed; inset: 0; top: 0;
    background: rgba(6, 13, 26, 0.98);
    flex-direction: column; justify-content: center;
    gap: 26px; font-size: 1.2rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 150;
  }
  .nav-open .main-nav { transform: translateX(0); }
  .nav-toggle { display: flex; z-index: 300; }
  .steps-grid, .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 340px; margin: 0 auto 60px; }
  .network-visual { right: 0; bottom: -10%; width: 52%; }
  .steps-grid, .why-row, .about-grid { grid-template-columns: 1fr; }
  .why-row { gap: 20px; padding: 28px 0; }
  /* Text (number + heading + copy) always reads first on mobile,
     visual follows — consistent rhythm for 01/02/03/04 */
  .why-row .why-visual { order: 2; }
  .why-row .why-visual,
  .why-vid,
  .why-photo {
    min-height: 0;
    aspect-ratio: 16 / 10;
    width: 100%;
  }
  .why-row h3 { margin-bottom: 10px; }
  .why-row p { font-size: 0.98rem; }
  .why-num { margin-bottom: 8px; }
  /* Horizontal slide-in reveals become vertical on small screens —
     no risk of sideways jank or overflow */
  .reveal.from-left,
  .reveal.from-right { transform: translateY(28px); }
  .services-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .option-cards { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 28px; }
  .hero { padding: 120px 0 60px; min-height: 92vh; }
  .hero-content { max-width: 100%; }
  .hero-video { object-position: 58% 50%; }
  .hero-scroll-hint { font-size: 0.74rem; }
  .quote-nav { flex-direction: column-reverse; }
  .quote-nav .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero-animate { opacity: 1; transform: none; }
}

/* ---------- Urgent breakdowns banner strip ---------- */
.urgent-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, var(--navy-800), var(--navy-700));
  border: 1px solid rgba(20,198,180,0.3);
  border-radius: var(--radius);
  padding: 18px 26px;
  margin: 40px 0 0;
  color: var(--white);
  font-weight: 600;
  text-align: center;
}
.urgent-strip svg {
  width: 22px; height: 22px;
  fill: var(--teal-400);
  flex-shrink: 0;
}
.urgent-strip a {
  color: var(--teal-400);
  white-space: nowrap;
}
.urgent-strip a:hover { text-decoration: underline; }

/* Hero same-day availability note */
.hero-availability {
  margin-top: 18px;
  font-size: 0.92rem;
  color: var(--grey-400);
}
.hero-availability::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal-400);
  margin-right: 8px;
  vertical-align: 1px;
}

/* ---------- Floating contact buttons (Call + WhatsApp) ---------- */
.contact-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.float-btn {
  position: relative;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.3s ease;
  will-change: transform;
}
.float-btn svg {
  fill: #ffffff;
  display: block;
  flex-shrink: 0;
}
.float-btn:focus-visible,
.float-btn:active {
  transform: scale(1.08);
}
.float-btn:hover { text-decoration: none !important; }
@media (hover: none) {
  .float-btn:active { transform: scale(1.08); }
}
/* WhatsApp — secondary, stacked above */
.float-wa {
  width: 52px;
  height: 52px;
  background: #25d366;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4), 0 2px 8px rgba(0,0,0,0.18);
}
.float-wa svg { width: 27px; height: 27px; }
.float-wa:hover { box-shadow: 0 10px 30px rgba(37,211,102,0.5), 0 4px 12px rgba(0,0,0,0.22); }
/* Call — primary, slightly larger, site accent, pulsing */
.float-call {
  width: 58px;
  height: 58px;
  background: var(--teal-600);
  box-shadow: 0 6px 24px rgba(13,166,150,0.45), 0 2px 8px rgba(0,0,0,0.18);
}
.float-call svg { width: 28px; height: 28px; }
.float-call:hover { box-shadow: 0 12px 36px rgba(13,166,150,0.55), 0 4px 14px rgba(0,0,0,0.22); }
.float-call::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(20,198,180,0.55);
  animation: callPulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes callPulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  70%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .float-call::before { animation: none; opacity: 0; }
}
@media (max-width: 600px) {
  .contact-float { bottom: 20px; right: 18px; gap: 10px; }
  .float-call { width: 54px; height: 54px; }
  .float-call svg { width: 26px; height: 26px; }
  .float-wa { width: 48px; height: 48px; }
  .float-wa svg { width: 25px; height: 25px; }
}
