/* ═══════════════════════════════════════════════════════
   VIA Dental Clinic — Light Modern Redesign
   ═══════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --blue:        #2563eb;
  --blue-hover:  #1d4ed8;
  --blue-glow:   rgba(37,99,235,.35);
  --blue-dim:    rgba(37,99,235,.12);
  --dark:        #f8fafc;
  --dark-2:      #f1f5f9;
  --card:        #ffffff;
  --card-border: #e5e7eb;
  --card-hover:  #f9fafb;
  --white:       #ffffff;
  --off-white:   #f9fafb;
  --muted:       #6b7280;
  --muted-2:     #9ca3af;
  --green:       #25D366;
  --green-dark:  #1da851;
  --text:        #111827;
  --text-soft:   #374151;
  --light-text:  #111827;
  --radius:      14px;
  --radius-lg:   22px;
  --radius-xl:   32px;
  --shadow:      0 4px 24px rgba(15,23,42,.08);
  --shadow-blue: 0 8px 32px rgba(37,99,235,.22);
  --font:        'Inter', system-ui, -apple-system, sans-serif;
  --max-w:       1200px;
  --transition:  .22s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); background: var(--dark); color: var(--text); line-height: 1.7; overflow-x: hidden; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ── Sections ── */
.section { padding: 100px 0; }

/* ── Section Headers ── */
.section-head { text-align: center; margin-bottom: 60px; }
.section-head--light { /* on light bg — keep dark text */ }

.section-tag {
  display: inline-block;
  background: rgba(37,99,235,.15);
  border: 1px solid rgba(37,99,235,.3);
  color: #2563eb;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-tag--blue { /* already styled */ }

/* On white bg */
.section-tag:not(.section-tag--blue) {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: var(--blue);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -.5px;
}
.section-title--light { color: var(--text); }

.section-sub { font-size: 1rem; color: var(--muted); max-width: 540px; margin: 0 auto; }
.section-sub--muted { color: var(--muted-2); }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--blue);
  color: #fff;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--transition);
  box-shadow: var(--shadow-blue);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37,99,235,.35);
  color: #fff;
}
.btn-primary--xl { padding: 20px 48px; font-size: 1.1rem; }

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: rgba(15,23,42,.04);
  color: rgba(15,23,42,.85);
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-ghost-light:hover {
  background: rgba(15,23,42,.08);
  border-color: rgba(15,23,42,.25);
  color: var(--text);
}

/* ══════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(15,23,42,.06), 0 4px 20px rgba(15,23,42,.04);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-heart { font-size: 1.6rem; color: var(--blue); line-height: 1; }
.logo-main  { display: block; font-size: 1.15rem; font-weight: 800; color: var(--text); letter-spacing: -.3px; }
.logo-sub   { display: block; font-size: .58rem; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); }

/* Nav */
.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header__nav > a {
  font-size: .88rem;
  font-weight: 600;
  color: rgba(15,23,42,.7);
  transition: color var(--transition);
  letter-spacing: .1px;
}
.header__nav > a:hover { color: var(--text); }

.btn-wa-header {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  background: var(--green);
  color: #fff;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 700;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(37,211,102,.3);
}
.btn-wa-header:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  color: #fff;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
}
.burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(12px);
  padding: 20px 24px 28px;
  border-top: 1px solid rgba(15,23,42,.08);
}
.mobile-nav a {
  font-size: .95rem;
  font-weight: 600;
  color: rgba(15,23,42,.75);
  padding: 12px 0;
  border-bottom: 1px solid rgba(15,23,42,.06);
  display: block;
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--text); }
.mobile-nav.open { display: flex; }

.btn-wa-mob {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 14px 24px;
  background: var(--green);
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  text-align: center;
  transition: all var(--transition);
}
.btn-wa-mob:hover { background: var(--green-dark); color: #fff; }

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
}

/* Subtle grid pattern */
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Noise texture overlay */
.hero__noise {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 40%, rgba(37,99,235,.10) 0%, transparent 60%),
              radial-gradient(ellipse 40% 40% at 10% 80%, rgba(37,99,235,.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 80px;
  width: 100%;
}

/* Eyebrow */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue);
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.4} }

/* Title */
.hero__title {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.0;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.hero__title-accent {
  background: linear-gradient(90deg, var(--blue) 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Stats */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-stat { text-align: left; }
.hero-stat__n { display: block; font-size: 1.4rem; font-weight: 800; color: var(--text); line-height: 1; }
.hero-stat__l { font-size: .72rem; color: var(--muted); font-weight: 500; letter-spacing: .5px; margin-top: 2px; }
.hero-stat__sep { width: 1px; height: 36px; background: rgba(15,23,42,.12); }

/* Right visual */
.hero__visual {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__blob {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.22) 0%, transparent 70%);
  filter: blur(40px);
}
.hero__card-float {
  position: absolute;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(15,23,42,.08);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .82rem;
  box-shadow: 0 8px 32px rgba(15,23,42,.08);
  min-width: 190px;
  animation: floatCard 4s ease-in-out infinite;
}
.hero__card-float i { font-size: 1.2rem; color: var(--blue); flex-shrink: 0; }
.hero__card-float strong { display: block; font-size: .88rem; font-weight: 700; color: var(--text); }
.hero__card-float span  { font-size: .75rem; color: var(--muted); }
.hero__card-float--1 { top: 20px; left: 10px; animation-delay: 0s; }
.hero__card-float--2 { top: 50%; right: 0; transform: translateY(-50%); animation-delay: 1.3s; }
.hero__card-float--3 { bottom: 20px; left: 20px; animation-delay: 2.6s; }

@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.hero__card-float--2 {
  animation: floatCard2 4s ease-in-out infinite;
  animation-delay: 1.3s;
}
@keyframes floatCard2 {
  0%,100% { transform: translateY(-50%); }
  50%      { transform: translateY(calc(-50% - 10px)); }
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
  animation: floatCard 2.5s ease-in-out infinite;
}
.hero__scroll-hint i { color: var(--blue); }

/* ══════════════════════════════════════════════════════
   VIDEO SECTION
══════════════════════════════════════════════════════ */
.videos-section {
  background: var(--dark-2);
  border-top: 1px solid rgba(15,23,42,.06);
  border-bottom: 1px solid rgba(15,23,42,.06);
}

.phones-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform: scale(.9);
  transition: transform .3s ease;
}
.phone-wrap--center { transform: scale(1); }
.phone-wrap:hover { transform: scale(.93); }
.phone-wrap--center:hover { transform: scale(1.02); }

.phone-frame {
  position: relative;
  width: 200px;
  aspect-ratio: 9/19.5;
  background: #e2e8f0;
  border-radius: 36px;
  border: 3px solid #cbd5e1;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(15,23,42,.04), 0 24px 60px rgba(15,23,42,.15),
              inset 0 0 0 1px rgba(255,255,255,.6);
}
.phone-island {
  position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  width: 68px; height: 18px;
  background: #94a3b8;
  border-radius: 20px;
  z-index: 10;
  border: 1px solid #64748b;
}
.phone-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Play button overlay ── */
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity .25s;
}
.video-play-btn i {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 2px solid rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  padding-left: 4px; /* optical center for play triangle */
}
.video-item.playing .video-play-btn { opacity: 0; }

.phone-caption {
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .3px;
  text-align: center;
}

/* ── VIDEO SECTION WRAP + SCROLL TRACK ── */
.video-section-wrap {
  position: relative;
}
.video-scroll-track {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* Arrows + dots: desktop hidden */
.video-nav__btn { display: none; }
.video-dots     { display: none; }

/* ── VIDEO FULLSCREEN MODAL ── */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}
.video-modal.open { display: flex; }
.video-modal__inner {
  position: relative;
  width: min(76vw, 300px);
  aspect-ratio: 9/19.5;
}
.video-modal__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  border: 2px solid #cbd5e1;
  background: #e2e8f0;
}
.video-modal__close {
  position: absolute;
  top: -52px; right: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(15,23,42,.12);
  color: var(--text);
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
  font-family: inherit;
}
.video-modal__close:hover { background: #fff; }

/* ══════════════════════════════════════════════════════
   WHY US
══════════════════════════════════════════════════════ */
.why-section { background: var(--off-white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 12px rgba(15,23,42,.05);
  transition: all .3s ease;
  text-align: center;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(37,99,235,.12);
  border-color: rgba(37,99,235,.2);
}
.why-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: var(--blue-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--blue);
  transition: all .3s;
}
.why-card:hover .why-icon {
  background: var(--blue);
  color: #fff;
  border-radius: 20px;
}
.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}
.why-card p {
  font-size: .875rem;
  color: #6b7280;
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════
   BANNER
══════════════════════════════════════════════════════ */
.banner-section {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 50%, #93c5fd 100%);
}
.banner-section__bg {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%230f172a' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.banner-section__inner {
  position: relative; z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.banner-section__text h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #111827;
  margin-bottom: 8px;
}
.banner-section__text p {
  font-size: .95rem;
  color: rgba(15,23,42,.7);
}
.btn-wa-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--green);
  color: #fff;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all var(--transition);
  box-shadow: 0 8px 28px rgba(37,211,102,.4);
  flex-shrink: 0;
}
.btn-wa-banner:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(37,211,102,.5);
  color: #fff;
}
.btn-wa-banner i { font-size: 1.2rem; }

/* ══════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════ */
.services-section {
  background: var(--dark);
  border-top: 1px solid rgba(15,23,42,.06);
}

.services-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--blue) transparent;
  padding: 4px 4px 18px;
  margin: 0 -4px;
}
.services-grid::-webkit-scrollbar { height: 8px; }
.services-grid::-webkit-scrollbar-track { background: transparent; }
.services-grid::-webkit-scrollbar-thumb {
  background: rgba(37,99,235,.4);
  border-radius: 4px;
}
.services-grid::-webkit-scrollbar-thumb:hover { background: var(--blue); }

.service-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .3s ease;
  position: relative;
  box-shadow: 0 2px 12px rgba(15,23,42,.04);
  flex: 0 0 320px;
  scroll-snap-align: start;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: border-color .3s;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  background: var(--card-hover);
  box-shadow: 0 20px 60px rgba(15,23,42,.1), 0 0 0 1px rgba(37,99,235,.3);
}
.service-card:hover::after { border-color: rgba(37,99,235,.4); }

.service-card__img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #e2e8f0;
}
.service-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.service-card:hover .service-card__img { transform: scale(1.06); }
.service-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--card) 100%);
}

.service-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.service-card__desc {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}
.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--blue);
  transition: gap .2s;
  margin-top: 8px;
}
.service-card__cta:hover { gap: 11px; }
.service-card__cta i { font-size: .75rem; }

/* ══════════════════════════════════════════════════════
   BEFORE / AFTER
══════════════════════════════════════════════════════ */
.ba-section {
  background: var(--dark-2);
  padding-bottom: 80px;
}

/* 2x2 grid */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ba-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
  box-shadow: 0 2px 12px rgba(15,23,42,.04);
}
.ba-card:hover {
  box-shadow: 0 16px 48px rgba(15,23,42,.12);
  transform: translateY(-4px);
}

.ba-card__imgs {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
}
.ba-card__side {
  flex: 1;
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #e2e8f0;
}
.ba-card__side img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.ba-card:hover .ba-card__side img { transform: scale(1.03); }

.ba-label {
  position: absolute;
  top: 10px; left: 10px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  z-index: 2;
  backdrop-filter: blur(8px);
}
.ba-label--before { background: rgba(255,255,255,.85); color: #374151; border: 1px solid rgba(15,23,42,.12); }
.ba-label--after  { background: rgba(37,99,235,.85); color: #fff; border: 1px solid rgba(37,99,235,.5); }

.ba-card__arrow {
  width: 36px; height: 36px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .8rem;
  flex-shrink: 0;
  z-index: 2;
  margin: 0 -18px;
  box-shadow: 0 4px 16px rgba(37,99,235,.5);
}

.ba-card__foot {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--card-border);
}
.ba-card__foot strong { font-size: .9rem; font-weight: 700; color: var(--text); }
.ba-card__foot span  { font-size: .8rem; color: var(--muted); }


/* ══════════════════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════════════════ */
.steps-section { background: var(--off-white); }

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 38px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), #60a5fa, var(--blue));
  z-index: 0;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.step-connector { display: none; }

.step-item__icon {
  position: relative;
  width: 76px; height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  color: #fff;
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-blue);
  border: 4px solid var(--off-white);
  z-index: 2;
}
.step-item__num {
  position: absolute;
  top: -6px; right: -6px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font-size: .65rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--blue);
}
.step-item__title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}
.step-item__desc {
  font-size: .85rem;
  color: #6b7280;
  line-height: 1.7;
}
.steps-cta { text-align: center; margin-top: 56px; }

/* ══════════════════════════════════════════════════════
   COMFORT SECTION
══════════════════════════════════════════════════════ */
.comfort-section {
  background: #f1f5f9;
  border-top: 1px solid rgba(15,23,42,.06);
  border-bottom: 1px solid rgba(15,23,42,.06);
}

.comfort-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.comfort-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15,23,42,.04);
}
.comfort-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #60a5fa);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.comfort-card:hover { transform: translateY(-5px); border-color: rgba(37,99,235,.25); box-shadow: 0 16px 40px rgba(15,23,42,.08); }
.comfort-card:hover::before { transform: scaleX(1); }

.comfort-card__icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--blue-dim);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
  color: var(--blue);
  transition: all .3s;
}
.comfort-card:hover .comfort-card__icon {
  background: var(--blue);
  color: #fff;
}
.comfort-card h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.comfort-card p {
  font-size: .83rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════
   REVIEWS
══════════════════════════════════════════════════════ */
.reviews-section { background: var(--off-white); }

.reviews-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--blue) transparent;
  padding: 4px 4px 18px;
  margin: 0 -4px;
}
.reviews-grid::-webkit-scrollbar { height: 8px; }
.reviews-grid::-webkit-scrollbar-track { background: transparent; }
.reviews-grid::-webkit-scrollbar-thumb {
  background: rgba(37,99,235,.4);
  border-radius: 4px;
}
.reviews-grid::-webkit-scrollbar-thumb:hover { background: var(--blue); }

.review-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all .3s ease;
  position: relative;
  flex: 0 0 360px;
  scroll-snap-align: start;
}
.review-card::before {
  content: '\201C';
  position: absolute;
  top: 16px; right: 24px;
  font-size: 5rem;
  color: var(--blue);
  opacity: .07;
  font-family: Georgia, serif;
  line-height: 1;
}
.review-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,23,42,.08); }

.review-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.review-card__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.review-card__name {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: #111827;
}
.review-card__loc {
  font-size: .78rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}
.review-card__loc i { font-size: .7rem; color: var(--blue); }
.review-card__stars {
  margin-left: auto;
  display: flex;
  gap: 2px;
}
.review-card__stars i { color: #f59e0b; font-size: .85rem; }

.review-card__text {
  font-size: .9rem;
  color: #374151;
  line-height: 1.8;
  font-style: italic;
  flex: 1;
}
.review-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 600;
  color: #059669;
  background: #d1fae5;
  padding: 4px 10px;
  border-radius: 50px;
  align-self: flex-start;
}
.review-card__badge i { font-size: .7rem; }

/* ══════════════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════════════ */
.faq-section { background: var(--off-white); border-top: 1px solid #e5e7eb; }

.faq-inner { max-width: var(--max-w); }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item:hover,
.faq-item.open { box-shadow: 0 6px 24px rgba(37,99,235,.1); }
.faq-item.open  { border-color: rgba(37,99,235,.25); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: .93rem;
  font-weight: 700;
  color: #111827;
  cursor: pointer;
  transition: color .2s;
}
.faq-q:hover, .faq-item.open .faq-q { color: var(--blue); }

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem;
  color: #6b7280;
  flex-shrink: 0;
  transition: all .25s;
}
.faq-item.open .faq-icon {
  background: var(--blue);
  color: #fff;
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 24px 20px;
  font-size: .875rem;
  color: #6b7280;
  line-height: 1.8;
}
.faq-a[hidden] { display: none; }

/* ══════════════════════════════════════════════════════
   FREE CONSULTATION
══════════════════════════════════════════════════════ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.consult-section {
  position: relative;
  background: #0b1220;
  color: #fff;
  padding: 96px 0;
  overflow: hidden;
  isolation: isolate;
}
.consult-section__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 15% 10%, rgba(37,99,235,.45), transparent 60%),
    radial-gradient(600px 360px at 100% 100%, rgba(37,99,235,.32), transparent 60%),
    linear-gradient(135deg, #0b1220 0%, #111c33 100%);
  z-index: -1;
}
.consult-section__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 75%);
}
.consult-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.consult-section__head {
  text-align: left;
}
.consult-section__head .section-tag {
  background: rgba(37,99,235,.18);
  color: #93c5fd;
  border: 1px solid rgba(37,99,235,.4);
}
.consult-section__head .section-title--light {
  color: #fff;
  margin-top: 14px;
}
.consult-section__head .section-sub--muted {
  color: rgba(226,232,240,.72);
  margin-top: 12px;
  margin-bottom: 28px;
}
.consult-section__wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(37,211,102,.35);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.consult-section__wa:hover {
  transform: translateY(-2px);
  background: var(--green-dark);
  box-shadow: 0 14px 36px rgba(37,211,102,.5);
  color: #fff;
}
.consult-section__wa i { font-size: 1.15rem; }

.consult-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.consult-form__field input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  color: #fff;
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .2s, background .2s;
}
.consult-form__field input::placeholder { color: rgba(226,232,240,.55); }
.consult-form__field input:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(255,255,255,.1);
}
.consult-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  border-radius: 12px;
  margin-top: 4px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 8px 24px rgba(37,99,235,.35);
}
.consult-form__submit:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37,99,235,.5);
}
.consult-form__submit:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}
.consult-form__status {
  font-size: .85rem;
  text-align: center;
  min-height: 1.2em;
  color: #93c5fd;
}
.consult-form__status.is-error { color: #fca5a5; }
.consult-form__status.is-success { color: #6ee7b7; }

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.footer { background: #f1f5f9; border-top: 1px solid rgba(15,23,42,.08); padding-top: 72px; }

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer__logo { margin-bottom: 16px; }
.footer__desc {
  font-size: .85rem;
  color: rgba(15,23,42,.6);
  line-height: 1.8;
  margin-bottom: 24px;
}
.footer__social {
  display: flex;
  gap: 10px;
}
.footer__social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(15,23,42,.05);
  border: 1px solid rgba(15,23,42,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(15,23,42,.6);
  font-size: .95rem;
  transition: all var(--transition);
}
.footer__social a:hover { background: var(--green); border-color: var(--green); color: #fff; }

.footer__nav h4 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(15,23,42,.55);
  margin-bottom: 18px;
}
.footer__nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer__nav li a {
  font-size: .85rem;
  color: rgba(15,23,42,.6);
  transition: color var(--transition);
}
.footer__nav li a:hover { color: var(--text); }

.footer__contact h4 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(15,23,42,.55);
  margin-bottom: 18px;
}
.footer__contact ul { display: flex; flex-direction: column; gap: 14px; }
.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: rgba(15,23,42,.6);
}
.footer__contact li i { color: var(--blue); margin-top: 3px; flex-shrink: 0; }
.footer__contact li a { color: rgba(15,23,42,.65); transition: color var(--transition); }
.footer__contact li a:hover { color: var(--text); }

.footer__bottom {
  border-top: 1px solid rgba(15,23,42,.08);
  padding: 22px 0;
  text-align: center;
}
.footer__bottom p { font-size: .8rem; color: rgba(15,23,42,.45); }

/* ══════════════════════════════════════════════════════
   FLOATING WHATSAPP
══════════════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 999;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 6px 24px rgba(37,211,102,.5);
  transition: all .3s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(37,211,102,.65); color: #fff; }
.wa-float__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--green);
  animation: waPulse 2.5s infinite;
  opacity: 0;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* Back to top */
.back-top {
  position: fixed;
  bottom: 104px; right: 36px;
  z-index: 998;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(37,99,235,.15);
  border: 1px solid rgba(37,99,235,.3);
  color: var(--blue);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  transition: all .3s;
}
.back-top:hover { background: var(--blue); color: #fff; }
.back-top.visible { display: flex; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .why-grid      { grid-template-columns: repeat(2, 1fr); }
  .comfort-grid  { grid-template-columns: repeat(2, 1fr); }
  .steps-row     { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .steps-row::before { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero__inner   { grid-template-columns: 1fr; }
  .hero__visual  { display: none; }
}

@media (max-width: 768px) {
  /* ── Layout ── */
  .section      { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .container    { padding: 0 20px; }

  /* ── Header / Nav ── */
  .header__nav { display: none; }
  .burger      { display: flex; }
  .mobile-nav a { font-size: .9rem; }

  /* ── Hero ── */
  .hero__inner   { padding-top: 100px; padding-bottom: 60px; }
  .hero__content { text-align: center; }
  .hero__eyebrow { justify-content: center; }
  .hero__title   { font-size: clamp(2rem, 8vw, 2.8rem); letter-spacing: -1px; }
  .hero__desc    { font-size: .95rem; margin: 0 auto 32px; max-width: 100%; }
  .hero__cta     { justify-content: center; flex-direction: column; align-items: center; gap: 12px; }
  .hero__cta .btn-primary,
  .hero__cta .btn-ghost-light { width: 100%; max-width: 340px; justify-content: center; }
  .hero__stats   { justify-content: center; gap: 20px; }
  .hero__scroll-hint { display: none; }

  /* ── Videos: scroll-snap on mobile ── */
  .video-scroll-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    gap: 0;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 0 24px;
  }
  .video-scroll-track::-webkit-scrollbar { display: none; }

  .video-item {
    scroll-snap-align: center;
    flex: 0 0 90vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    transform: none !important;
    cursor: pointer;
    padding: 0 2vw;
    box-sizing: border-box;
  }
  /* Mobile: phone mockup ~45% larger than before so the video is readable */
  .video-item .phone-frame  { width: 260px; }
  .video-item .phone-caption { font-size: .8rem; }

  /* Arrows */
  .video-nav__btn {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(15,23,42,.08);
    border: 1px solid rgba(15,23,42,.15);
    color: var(--text);
    font-size: .85rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background .2s;
    font-family: inherit;
  }
  .video-nav__btn:hover { background: rgba(15,23,42,.15); }
  .video-nav__btn--prev { left: 6px; }
  .video-nav__btn--next { right: 6px; }

  /* Dot indicators */
  .video-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
  }
  .video-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(15,23,42,.22);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all .25s ease;
  }
  .video-dot.active {
    width: 22px;
    border-radius: 4px;
    background: var(--blue);
  }

  /* ── Grids → single column ── */
  .services-grid { gap: 16px; }
  .service-card  { flex: 0 0 78vw; max-width: 320px; }
  .why-grid      { grid-template-columns: 1fr; gap: 16px; }
  .comfort-grid  { grid-template-columns: 1fr; gap: 16px; }
  .reviews-grid  { gap: 16px; }
  .review-card   { flex: 0 0 82vw; max-width: 360px; }
  .steps-row     { grid-template-columns: 1fr; gap: 32px; }
  .ba-grid       { grid-template-columns: 1fr; gap: 20px; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }

  /* ── Why cards ── */
  .why-card { padding: 24px 20px; }

  /* ── Banner ── */
  .banner-section__inner { flex-direction: column; text-align: center; gap: 24px; }
  .banner-section__text h2 { font-size: 1.4rem; }
  .btn-wa-banner { width: 100%; max-width: 320px; justify-content: center; }

  /* ── Steps ── */
  .step-connector { display: none; }
  .step-item { text-align: center; }

  /* ── Reviews ── */
  .review-card { padding: 20px; }

  /* ── Before/After ── */
  .ba-card__imgs { gap: 8px; }
  .ba-card__side img { max-height: 160px; object-fit: cover; }

  /* ── Consult Section ── */
  .consult-section { padding: 64px 0; }
  .consult-section__inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .consult-section__head { text-align: center; }
  .consult-section__wa { justify-content: center; }
  .consult-form { padding: 22px; }

  /* ── Footer ── */
  .footer__inner { padding: 0; }
  .footer__brand { text-align: center; }
  .footer__social { justify-content: center; }
  .footer__nav { display: none; }
  .footer__contact { text-align: center; }
  .footer__contact ul { align-items: center; }
  .footer__contact li { justify-content: center; }

  /* ── Floating buttons ── */
  .wa-float { bottom: 20px; right: 20px; width: 52px; height: 52px; font-size: 1.4rem; }
  .back-top { bottom: 84px; right: 20px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* ── Hero ── */
  .hero__title  { font-size: 2rem; }
  .hero__cta    { gap: 10px; }
  .hero__stats  { gap: 14px; flex-wrap: nowrap; }
  .hero-stat__n { font-size: 1.15rem; }
  .hero-stat__sep { height: 24px; }

  /* ── Buttons ── */
  .btn-primary      { padding: 14px 24px; font-size: .92rem; }
  .btn-primary--xl  { padding: 14px 28px; font-size: .95rem; }
  .btn-ghost-light  { padding: 14px 24px; font-size: .92rem; }

  /* ── Video items (480px) — also scaled ~45% larger ── */
  .video-item .phone-frame { width: 215px; }

  /* ── Section titles ── */
  .section-title { font-size: 1.55rem; }
  .section-sub   { font-size: .88rem; }

  /* ── Banner ── */
  .banner-section__text h2 { font-size: 1.2rem; }
  .banner-section__text p  { font-size: .88rem; }

  /* ── Service card ── */
  .service-card__img-wrap { height: 180px; }

  /* ── FAQ ── */
  .faq-q { font-size: .9rem; padding: 16px 14px; }

  /* ── Footer ── */
  .footer__bottom p { font-size: .78rem; text-align: center; }
}
