/* =====================================================================
   PILI CAR DETAILING — style.css
   Premium landing page. HTML5 + CSS3 (no frameworks).
   ---------------------------------------------------------------------
   1.  Design tokens (colors, type, spacing)
   2.  Base / reset
   3.  Layout helpers (container, section)
   4.  Buttons & shared UI
   5.  Header / navigation
   6.  Hero
   7.  About
   8.  Services
   9.  Before / After gallery
   10. Benefits (dark)
   11. Testimonials
   12. CTA
   13. Footer
   14. Floating WhatsApp
   15. Scroll animations
   16. Responsive
   ===================================================================== */

/* ============================ 1. TOKENS ============================ */
:root {
  --navy:        #08152E;   /* azul oscuro principal */
  --navy-800:    #0d1f3f;
  --navy-700:    #12294f;
  --blue:        #245BFF;   /* azul eléctrico */
  --blue-dark:   #1848d6;
  --white:       #ffffff;
  --gray-50:     #f5f7fb;   /* gris muy claro */
  --gray-100:    #eef1f7;
  --gray-200:    #e2e7f0;
  --gray-400:    #9aa4b8;
  --ink:         #0b1220;   /* texto negro */
  --ink-soft:    #4a5468;   /* texto gris */

  --radius:      22px;
  --radius-lg:   30px;
  --radius-sm:   14px;

  --shadow-sm:   0 6px 20px rgba(8, 21, 46, 0.06);
  --shadow-md:   0 18px 45px rgba(8, 21, 46, 0.10);
  --shadow-lg:   0 30px 70px rgba(8, 21, 46, 0.16);
  --shadow-blue: 0 18px 40px rgba(36, 91, 255, 0.35);

  --maxw:        1400px;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);

  --font-head:   'Montserrat', system-ui, sans-serif;
  --font-body:   'Poppins', system-ui, sans-serif;
}

/* ============================ 2. BASE ============================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; line-height: 1.1; }

::selection { background: var(--blue); color: #fff; }

/* ============================ 3. LAYOUT ============================ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 40px;
}

/* Generous vertical rhythm between sections */
.section { padding-block: 130px; }

.section-head { margin-bottom: 70px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  color: var(--blue);
  margin-bottom: 18px;
  position: relative;
}
.eyebrow.center { display: block; text-align: center; }
.eyebrow.light { color: #7fa0ff; }

.section-title {
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.section-title.center { text-align: center; }
.section-title.light { color: #fff; }

.section-text {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-top: 22px;
  max-width: 560px;
}
.section-text.center { margin-inline: auto; text-align: center; }
.section-text.narrow { max-width: 620px; }

/* ============================ 4. BUTTONS ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-lg { padding: 17px 34px; font-size: 1rem; }

.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-3px); box-shadow: 0 24px 50px rgba(36,91,255,.45); }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.10); border-color: #fff; transform: translateY(-3px); }

.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue);
  letter-spacing: .02em;
}
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

/* ============================ 5. HEADER ============================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 22px;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

/* Sticky scrolled state (toggled via JS) */
.site-header.scrolled {
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  padding-block: 14px;
  box-shadow: 0 8px 30px rgba(8,21,46,.08);
}

/* Brand */
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 46px; width: auto; display: block; }
.brand-logo-dark { display: none; }
.site-header.scrolled .brand-logo-light { display: none; }
.site-header.scrolled .brand-logo-dark { display: block; }
.brand-footer .brand-logo { height: 54px; }

/* Nav */
.main-nav { display: flex; gap: 38px; }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: rgba(255,255,255,.88);
  position: relative;
  padding-block: 6px;
  transition: color .3s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width .3s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.site-header.scrolled .main-nav a { color: var(--ink-soft); }
.site-header.scrolled .main-nav a:hover,
.site-header.scrolled .main-nav a.active { color: var(--navy); }

.btn-header { padding: 12px 24px; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: .3s var(--ease); }
.site-header.scrolled .nav-toggle span { background: var(--navy); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================ 6. HERO ============================ */
.hero {
  position: relative;
  min-height: 780px;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding-top: 90px;
}
/* Fixed full-bleed background photo (parallax) */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("images/hero.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
/* Gradient scrim: text sits on the left, so darken the left; keep the car visible on the right */
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,21,46,.94) 0%, rgba(8,21,46,.74) 34%, rgba(8,21,46,.10) 72%, rgba(8,21,46,.26) 100%),
    linear-gradient(180deg, rgba(8,21,46,.50) 0%, rgba(8,21,46,0) 32%, rgba(8,21,46,.55) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
}
.hero-content { width: 100%; max-width: 750px; }

.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: #cdd9ff;
  padding: 9px 18px;
  border: 1px solid rgba(127,160,255,.4);
  border-radius: 999px;
  background: rgba(36,91,255,.10);
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(2.8rem, 5.6vw, 5rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.hero-title .accent { color: var(--blue); }

.hero-sub {
  color: #b9c4dc;
  font-size: 1.1rem;
  max-width: 480px;
  margin: 30px 0 40px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 46px;
}
.hero-features li {
  display: flex; align-items: center; gap: 10px;
  color: #cdd6e8;
  font-size: 0.92rem;
  font-weight: 500;
}
.hero-features .check {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(36,91,255,.2);
  color: #7fa0ff;
  font-size: 0.7rem;
}

/* Hero media */
.hero-media { position: relative; }
.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.08);
}
.hero-image-wrap img { width: 100%; height: 560px; object-fit: cover; }
.hero-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,21,46,.15), rgba(8,21,46,.55));
}
.hero-floating-card {
  position: absolute;
  left: -28px; bottom: 42px;
  background: #fff;
  border-radius: 18px;
  padding: 18px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}
.stat-number { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: var(--blue); line-height: 1; }
.stat-label { font-size: 0.8rem; color: var(--ink-soft); margin-top: 4px; }

/* ============================ 7. ABOUT ============================ */
.about { background: var(--white); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 44px;
}
.about-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.about-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.about-icon {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(36,91,255,.1);
  color: var(--blue);
}
.about-icon svg { width: 22px; height: 22px; }
.about-item h3 { font-size: 0.95rem; font-weight: 700; color: var(--navy); }

.about-media { position: relative; }
.about-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image-wrap img { width: 100%; height: 540px; object-fit: cover; }
.about-badge {
  position: absolute;
  right: -24px; top: 40px;
  background: var(--navy);
  color: #fff;
  padding: 20px 26px;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about-badge .stat-number { color: #fff; }
.about-badge .stat-label { color: #9fb0d4; }

/* ============================ 8. SERVICES ============================ */
.services { background: var(--gray-50); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.service-img { overflow: hidden; height: 210px; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-card:hover .service-img img { transform: scale(1.08); }
.service-body { padding: 30px 30px 34px; }
.service-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  margin: -56px 0 20px;
  position: relative;
  box-shadow: var(--shadow-md);
}
.service-icon svg { width: 26px; height: 26px; }
.service-body h3 { font-size: 1.22rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.service-body p { color: var(--ink-soft); font-size: 0.96rem; margin: 0 0 22px; }

/* ============================ 9. BEFORE / AFTER ============================ */
.gallery { background: var(--white); }
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.ba { margin: 0; }

/* Interactive before/after comparison slider */
.ba-viewport {
  --pos: 50%;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 3 / 4;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;           /* let the page scroll vertically; we drive horizontal */
  background: var(--navy);
}
.ba-viewport:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* both images fill the viewport at identical size so they overlap exactly */
.ba-viewport img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}
/* base layer = AFTER (clean); overlay = BEFORE (dirty), revealed from the left up to --pos */
.ba-img-after  { z-index: 1; }
.ba-img-before { z-index: 2; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0,0,0,.45);
  z-index: 3;
  pointer-events: none;
}
.ba-handle {
  position: absolute;
  top: 50%; left: var(--pos);
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-md);
  display: grid; place-items: center;
  z-index: 4;
  pointer-events: none;
}
.ba-handle::before, .ba-handle::after {
  content: "";
  position: absolute;
  width: 0; height: 0;
  border-block: 6px solid transparent;
}
.ba-handle::before { border-right: 8px solid var(--blue); left: 11px; }
.ba-handle::after  { border-left: 8px solid var(--blue); right: 11px; }

.ba-tag {
  position: absolute;
  bottom: 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  padding: 7px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(8,21,46,.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  z-index: 3;
  pointer-events: none;
}
.ba-tag-before { left: 16px; }
.ba-tag-after  { right: 16px; background: rgba(36,91,255,.85); }

.ba-caption {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.02rem;
  text-align: center;
  margin-top: 16px;
  letter-spacing: 0.01em;
}

/* ============================ 9b. GALLERY MARQUEE ============================ */
.showcase {
  background: var(--navy);
  padding-block: 120px;
  overflow: hidden;
}
.showcase .eyebrow.center,
.showcase .section-title.center { color: #fff; }
.showcase .eyebrow.center { color: #8fa6d6; }
.showcase .section-text.center { color: #b9c4dc; }
.showcase .section-head { margin-bottom: 56px; }

.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  will-change: transform;
  animation: marquee-scroll var(--marquee-duration, 60s) linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
  flex: 0 0 auto;
  width: 380px;
  height: 285px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.06);
  background: var(--navy-800);
}
.marquee-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
}


.values { background: var(--gray-50); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1050px;
  margin-inline: auto;
}
.values-grid .value-card:nth-child(7) {
  grid-column: 2 / 3;
}
.value-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-check {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid; place-items: center;
  font-size: 0.85rem;
  box-shadow: var(--shadow-blue);
}

/* English subtitle under each service title */
.service-en {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 2px 0 10px;
}

/* ============================ 10. BENEFITS ============================ */
.benefits {
  background: var(--navy);
  padding-block: 120px;
  position: relative;
  overflow: hidden;
}
.benefits::before {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  top: -350px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(36,91,255,.16), transparent 65%);
  pointer-events: none;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}
.benefit {
  text-align: center;
  padding: 34px 20px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  background: rgba(255,255,255,.02);
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
.benefit:hover { transform: translateY(-8px); background: rgba(36,91,255,.10); border-color: rgba(127,160,255,.4); }
.benefit-icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: rgba(36,91,255,.14);
  color: #7fa0ff;
}
.benefit-icon svg { width: 28px; height: 28px; }
.benefit h3 { color: #fff; font-size: 1.02rem; font-weight: 700; margin-bottom: 10px; }
.benefit p { color: #9fb0d4; font-size: 0.88rem; margin: 0; }

/* ============================ 11. TESTIMONIALS ============================ */
.testimonials { background: var(--gray-50); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.testi-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 38px 34px;
  margin: 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.testi-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.stars { color: #ffb020; font-size: 1.05rem; letter-spacing: 3px; margin-bottom: 18px; }
.testi-card blockquote {
  margin: 0 0 26px;
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.6;
}
.testi-author { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 46px; height: 46px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
}
.testi-author strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 0.98rem; }
.testi-author em { font-style: normal; font-size: 0.82rem; color: var(--ink-soft); }

/* ============================ 12. CTA ============================ */
.cta { padding-block: 40px 130px; background: var(--white); }
.cta-box {
  position: relative;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 70px 70px;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 300px;
}
.cta-box::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  top: -220px; left: -120px;
  background: radial-gradient(circle, rgba(36,91,255,.28), transparent 65%);
}
.cta-content { position: relative; z-index: 2; max-width: 560px; }
.cta-content h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.9rem); font-weight: 800; letter-spacing: -.02em; }
.cta-content p { color: #b9c4dc; font-size: 1.08rem; margin: 18px 0 34px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.cta-car {
  position: absolute;
  right: -40px; bottom: -10px;
  width: 620px;
  z-index: 1;
  opacity: .95;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%);
  mask-image: linear-gradient(90deg, transparent, #000 30%);
}
.cta-car img { width: 100%; }

/* ============================ 13. FOOTER ============================ */
.site-footer { background: var(--navy); color: #b9c4dc; padding-top: 90px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 60px;
}
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text em { color: var(--blue); }
.footer-brand p { margin: 22px 0 24px; font-size: 0.95rem; max-width: 320px; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: #cdd6e8;
  transition: background .3s var(--ease), transform .3s var(--ease), color .3s var(--ease);
}
.socials a svg { width: 18px; height: 18px; }
.socials a:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }

.footer-col h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 22px; }
.footer-col h4.mt { margin-top: 26px; }
.footer-col ul li { margin-bottom: 12px; font-size: 0.93rem; }
.footer-col ul a { transition: color .3s var(--ease); }
.footer-col ul a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 26px; }
.footer-bottom p { margin: 0; text-align: center; font-size: 0.85rem; color: #7f8db0; }

/* ============================ 14. WHATSAPP FLOAT ============================ */
.whatsapp-float {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 90;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px rgba(37,211,102,.45);
  animation: pulse 2.4s infinite;
  transition: transform .3s var(--ease);
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ============================ 15. SCROLL ANIMATIONS ============================ */
[data-animate] {
  opacity: 0;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
[data-animate="fade-up"]    { transform: translateY(40px); }
[data-animate="fade-left"]  { transform: translateX(50px); }
[data-animate="fade-right"] { transform: translateX(-50px); }
[data-animate].in-view {
  opacity: 1;
  transform: translate(0, 0);
}
@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
  .whatsapp-float { animation: none; }
}

/* ============================ 16. RESPONSIVE ============================ */

/* Large laptops */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-car { width: 480px; opacity: .55; }
}

/* Use vertical-only fades on smaller screens to avoid horizontal offset */
@media (max-width: 992px) {
  [data-animate="fade-left"],
  [data-animate="fade-right"] { transform: translateY(40px); }
}

/* Tablet */
@media (max-width: 992px) {
  .container { padding-inline: 30px; }
  .section { padding-block: 90px; }
  .section-head { margin-bottom: 50px; }

  .main-nav, .btn-header { display: none; }
  .nav-toggle { display: flex; }

  /* Mobile menu panel */
  .main-nav.open {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    top: 100%; left: 20px; right: 20px;
    background: #fff;
    padding: 18px;
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open a { color: var(--navy); padding: 12px 14px; border-radius: 10px; }
  .main-nav.open a:hover { background: var(--gray-50); }
  .main-nav.open a::after { display: none; }

  .hero { min-height: auto; padding-block: 130px 90px; }
  .hero-bg { background-attachment: scroll; background-position: 68% center; }
  .hero-inner { justify-content: flex-start; }
  .hero-content { max-width: 640px; }
  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(8,21,46,.92) 0%, rgba(8,21,46,.70) 55%, rgba(8,21,46,.45) 100%),
      linear-gradient(180deg, rgba(8,21,46,.45) 0%, rgba(8,21,46,0) 30%, rgba(8,21,46,.55) 100%);
  }

  .about-inner { grid-template-columns: 1fr; gap: 50px; }
  .about-media { order: -1; }
  .about-image-wrap img { height: 400px; }
  .about-badge { right: 20px; }

  .ba-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid .value-card:nth-child(7) { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

  .cta-box { padding: 50px 40px; }
  .cta-car { display: none; }
}

/* Mobile */
@media (max-width: 620px) {
  .container { padding-inline: 20px; }
  .section { padding-block: 70px; }

  .hero-title { font-size: clamp(2.4rem, 12vw, 3.2rem); }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero-features { gap: 16px; }

  .services-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .ba-caption { font-size: 0.92rem; }

  .section-title { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .brand-logo { height: 38px; }
  .brand-footer .brand-logo { height: 46px; }
  .showcase { padding-block: 80px; }
  .marquee-item { width: 280px; height: 210px; }
  .marquee-track { gap: 16px; }
  .cta-box { padding: 40px 26px; }
  .about-badge, .hero-floating-card { padding: 14px 18px; }
  .stat-number { font-size: 1.4rem; }
}

/* ============================ SERVICE CARD LINKS + META ============================ */
.service-img { display: block; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card h3 a:hover { color: var(--blue); }
.service-meta {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  margin: 2px 0 10px;
  letter-spacing: .01em;
}

/* ============================ SERVICE DETAIL PAGES ============================ */
body.subpage { background: var(--white); }
body.subpage .site-header {
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding-block: 14px;
}
body.subpage .main-nav a { color: var(--navy); }
body.subpage .main-nav a:hover,
body.subpage .main-nav a.active { color: var(--blue); }
body.subpage .brand-logo-light { display: none; }
body.subpage .brand-logo-dark { display: block; }
body.subpage .nav-toggle span { background: var(--navy); }

.svc-hero {
  background: var(--navy);
  color: #fff;
  padding: 150px 0 70px;
  position: relative;
  overflow: hidden;
}
.svc-hero::after {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  top: -240px; right: -160px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(36,91,255,.30), transparent 65%);
}
.svc-hero .container { position: relative; z-index: 2; }
.breadcrumb {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  color: #9fb2d8;
  margin-bottom: 18px;
}
.breadcrumb a { color: #9fb2d8; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 8px; opacity: .6; }
.svc-hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.05;
  margin: 0 0 16px;
}
.svc-hero .svc-tagline { color: #c3cfe6; max-width: 640px; font-size: 1.05rem; }
.svc-hero .svc-price-pill {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 22px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow-blue);
}

.svc-main { padding: 80px 0 90px; }
.svc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.svc-media { position: sticky; top: 110px; }
.svc-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: block;
}
.svc-content h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy);
  margin: 0 0 16px;
}
.svc-content h2:not(:first-child) { margin-top: 38px; }
.svc-content p { color: var(--ink-soft); margin-bottom: 16px; line-height: 1.75; }
.svc-note {
  background: var(--gray-50);
  border-left: 3px solid var(--blue);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: .95rem;
  color: var(--ink);
}
.svc-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 12px; }
.svc-list li {
  position: relative;
  padding-left: 34px;
  color: var(--ink);
  line-height: 1.55;
}
.svc-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: var(--shadow-blue);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6L9 17l-5-5'/></svg>") center / 13px no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6L9 17l-5-5'/></svg>") center / 13px no-repeat;
}
.svc-pricebox {
  margin-top: 34px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.svc-pricebox h3 { font-family: var(--font-head); color: var(--navy); margin: 0 0 10px; font-size: 1.05rem; }
.svc-pricebox ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.svc-pricebox li { display: flex; justify-content: space-between; gap: 16px; color: var(--ink); font-size: .95rem; }
.svc-pricebox li strong { color: var(--navy); font-family: var(--font-head); }
.svc-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

/* Related services */
.svc-related { background: var(--gray-50); padding: 70px 0; }
.svc-related h2 { font-family: var(--font-head); color: var(--navy); text-align: center; margin: 0 0 34px; font-size: 1.6rem; }
.svc-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-chip {
  display: flex; align-items: center; gap: 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  text-decoration: none;
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.svc-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--blue); }
.svc-chip svg { width: 22px; height: 22px; flex: none; color: var(--blue); }

@media (max-width: 860px) {
  .svc-layout { grid-template-columns: 1fr; gap: 34px; }
  .svc-media { position: static; }
  .svc-related-grid { grid-template-columns: 1fr; }
  .svc-hero { padding-top: 120px; }
  .svc-main { padding: 50px 0 60px; }
}

/* ============================ SERVICE PAGE — BEFORE/AFTER ============================ */
.svc-ba { padding: 0 0 90px; background: var(--white); }
.svc-ba-head { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.svc-ba-head .eyebrow { display: block; margin-bottom: 10px; }
.svc-ba-head h2 {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--navy);
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 12px;
}
.svc-ba-head p { color: var(--ink-soft); }
.ba-single { max-width: 540px; margin: 0 auto; }
.ba-single.ba-wide { max-width: 880px; }
.ba-single.ba-wide .ba-viewport { aspect-ratio: 16 / 10; }
@media (max-width: 860px) {
  .svc-ba { padding-bottom: 60px; }
  .ba-single, .ba-single.ba-wide { max-width: 100%; }
}
