/* ═══════════════════════════════════════════════════════════════════════════
   RadioDent Pachuca — Premium Dental Radiology Landing Page
   Version: 20260516
   Archetype: Dark Corporate (custom, B2B medical grade)
   Palette: #000000 · #E9E8E8 · #7E7E7E
═══════════════════════════════════════════════════════════════════════════ */

/* ─── Custom Properties ─────────────────────────────────────────────────── */
:root {
  /* Brand palette */
  --black:       #000000;
  --white:       #ffffff;
  --gray-light:  #E9E8E8;
  --gray-mid:    #7E7E7E;

  /* Derived tokens */
  --bg:          #000000;
  --bg-2:        #080808;
  --bg-3:        #101010;
  --bg-card:     #111111;
  --bg-light:    #f0efef;
  --bg-light-2:  #e6e5e5;

  --text:        #E9E8E8;
  --text-soft:   #c8c7c7;
  --text-muted:  #7E7E7E;
  --text-dim:    rgba(233, 232, 232, 0.35);

  --line:        rgba(233, 232, 232, 0.1);
  --line-light:  rgba(0, 0, 0, 0.1);

  --wa-green:    #25D366;
  --wa-green-d:  #1ebe59;

  /* Spacing */
  --section-py:  clamp(5rem, 10vw, 9rem);
  --container:   1240px;
  --gutter:      clamp(1.25rem, 5vw, 2.5rem);

  /* Typography scale */
  --text-xs:     0.75rem;
  --text-sm:     0.875rem;
  --text-base:   1rem;
  --text-lg:     1.125rem;
  --text-xl:     1.25rem;
  --text-2xl:    1.5rem;
  --text-3xl:    clamp(1.75rem, 3vw, 2.25rem);
  --text-4xl:    clamp(2rem, 4vw, 3rem);
  --text-5xl:    clamp(2.5rem, 6vw, 4.5rem);
  --text-6xl:    clamp(3rem, 8vw, 6rem);
  --text-hero:   clamp(3.5rem, 9vw, 7.5rem);

  /* Easing */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  /* Nav height */
  --nav-h: 72px;
}

/* ─── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
svg { flex-shrink: 0; }

/* ─── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-5xl); }
h3 { font-size: var(--text-2xl); }

em { font-style: italic; font-weight: inherit; }

.br-desk { display: none; }
@media (min-width: 768px) { .br-desk { display: block; } }

/* ─── Container ──────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ─── Section shared ─────────────────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-title {
  font-size: var(--text-5xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.section-sub {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 52ch;
  margin-inline: auto;
  line-height: 1.65;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: 4px;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: opacity 0.2s var(--ease-out),
              transform 0.2s var(--ease-out),
              box-shadow 0.2s var(--ease-out),
              background 0.2s;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn:active { transform: scale(0.97); }

/* WhatsApp button */
.btn-wa {
  background: var(--wa-green);
  color: #fff;
}
@media (hover: hover) {
  .btn-wa:hover {
    background: var(--wa-green-d);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  }
}

/* Outline button (on dark bg) */
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
@media (hover: hover) {
  .btn-outline:hover {
    border-color: var(--text-muted);
    transform: translateY(-2px);
  }
}

/* Dark button (on light bg) */
.btn-dark {
  background: var(--black);
  color: var(--white);
}
@media (hover: hover) {
  .btn-dark:hover {
    opacity: 0.85;
    transform: translateY(-2px);
  }
}

/* Full-width button */
.btn-full { width: 100%; justify-content: center; }

/* ─── Reveal animations ──────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* data-delay attribute support */
.reveal[data-delay="0"] { transition-delay: 0s; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.35s; }
.reveal[data-delay="4"] { transition-delay: 0.5s; }
.reveal[data-delay="5"] { transition-delay: 0.65s; }

/* ─── Defensive: split-text parent never invisible ─────────────────────── */
.reveal[data-split] { opacity: 1; transform: none; }

.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-up.is-visible {
  opacity: 1;
  transform: none;
}

/* ─── Photo placeholder ──────────────────────────────────────────────────── */
.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: var(--bg-card);
  border: 1px dashed rgba(233, 232, 232, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

/* On light sections, use light placeholder */
.about-photo-inner.photo-placeholder {
  background: rgba(233, 232, 232, 0.06);
}

.placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  padding: 2rem;
}

.placeholder-content svg { opacity: 0.3; }

.placeholder-content p {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.placeholder-content span {
  font-size: var(--text-xs);
  color: var(--text-dim);
}

/* ════════════════════════════════════════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s var(--ease-out),
              border-color 0.4s var(--ease-out),
              backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-img {
  width: auto;
  max-width: 160px;
  max-height: 44px;
  display: block;
  object-fit: contain;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--white);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-name {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
}

.nav-logo-city {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* Nav links */
.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
  list-style: none;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  text-decoration: none;
}
@media (hover: hover) {
  .nav-links a:hover { color: var(--white); }
}

/* Nav CTA */
.nav-cta {
  display: none;
  padding: 0.55rem 1.25rem;
  border-radius: 4px;
  background: var(--white);
  color: var(--black);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: opacity 0.2s;
  flex-shrink: 0;
  text-decoration: none;
}
@media (min-width: 900px) { .nav-cta { display: inline-flex; } }
@media (hover: hover) { .nav-cta:hover { opacity: 0.85; } }

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}
@media (min-width: 900px) { .nav-hamburger { display: none; } }

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: absolute;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  padding: 1.5rem var(--gutter) 2rem;
  flex-direction: column;
  gap: 1.5rem;
}

.nav-mobile.is-open { display: flex; }

.nav-mobile ul { list-style: none; display: flex; flex-direction: column; gap: 0; }
.nav-mobile ul li a {
  display: block;
  padding: 0.85rem 0;
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.nav-mobile-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem;
  background: var(--wa-green);
  color: #fff;
  font-weight: 600;
  border-radius: 4px;
  margin-top: 0.5rem;
  text-decoration: none;
}

/* ════════════════════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

/* Background gradient mesh */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% -5%,
      rgba(60, 60, 60, 0.5) 0%,
      transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 80%,
      rgba(40, 40, 40, 0.3) 0%,
      transparent 60%),
    var(--black);
  z-index: 0;
}

/* Subtle grid overlay */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(233, 232, 232, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 232, 232, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

/* Mouse-reactive glow */
.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 180, 180, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: left 0.6s var(--ease-out), top 0.6s var(--ease-out);
  left: 50%;
  top: 50%;
}

/* Hero content */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-block: clamp(4rem, 10vh, 7rem) clamp(5rem, 8vh, 7rem);
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 8vh, 5rem);
}

.hero-content {
  max-width: 820px;
}

/* Eyebrow */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wa-green);
  animation: pulseDot 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

/* Hero title */
.hero-title {
  font-size: var(--text-hero);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 1.75rem;
}

.hero-title em {
  font-style: italic;
  font-weight: 900;
  color: var(--gray-light);
  position: relative;
  display: inline-block;
}

.hero-title em::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gray-mid);
  opacity: 0.4;
}

/* Hero subtitle */
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 55ch;
  margin-bottom: 2.5rem;
}

/* Hero CTAs */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Hero note */
.hero-note {
  font-size: var(--text-sm);
  color: var(--text-dim);
  line-height: 1.6;
}

.hero-note strong {
  color: var(--text-soft);
  font-weight: 600;
}

/* Hero stats bar */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  width: fit-content;
  max-width: 100%;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-inline: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
}

.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child  { padding-right: 0; }

.hero-stat-sep {
  width: 1px;
  height: 40px;
  background: var(--line);
  flex-shrink: 0;
}

.hero-stat-num {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--white);
}

.hero-stat-unit {
  font-size: 0.55em;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0;
}

.hero-stat-label {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(233, 232, 232, 0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}

@media (max-width: 599px) {
  .hero-stats { gap: 1rem; padding: 1.25rem; }
  .hero-stat { padding-inline: 0; }
  .hero-stat-sep { display: none; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-stats .hero-stat:last-child { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid var(--line); }
}

/* ════════════════════════════════════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════════════════════════════════════ */
.about {
  padding-block: var(--section-py);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: clamp(3rem, 6vw, 6rem);
  }
}

.about-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--white);
}

.about-text {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 54ch;
  margin-bottom: 1.25rem;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.about-badge-num {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
}

.about-badge-num span {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 700;
}

.about-badge-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

.about-photo {
  height: clamp(260px, 35vw, 440px);
}

/* Promo card — replaces about photo */
.about-promo {
  display: flex;
  align-items: stretch;
  min-height: clamp(300px, 40vw, 480px);
}

.promo-card {
  flex: 1;
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius-md);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  gap: 0;
  position: relative;
  overflow: hidden;
}

/* Bold diagonal accent top-right */
.promo-card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: var(--black);
  border-radius: 50%;
  opacity: 0.05;
  pointer-events: none;
}

.promo-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--black);
  padding: 0.4em 1em;
  border-radius: 2rem;
  width: fit-content;
}

.promo-service {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.0;
  color: var(--black);
  margin: 0;
  letter-spacing: -0.02em;
}

.promo-middle {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.6rem;
  padding-block: clamp(1rem, 3vw, 2rem);
  border-bottom: 2px solid var(--black);
  width: 100%;
}

.promo-price-row {
  display: flex;
  align-items: flex-start;
  line-height: 1;
  gap: 0.05em;
  color: var(--black);
}

.promo-currency {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  margin-top: 0.25em;
}

.promo-amount {
  font-size: clamp(5.5rem, 14vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.promo-unit-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  padding-bottom: 0.6rem;
  line-height: 1.4;
}

.promo-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-top: clamp(1rem, 2.5vw, 1.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
}

.promo-perks li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  font-weight: 600;
  color: var(--black);
}

.promo-perks li svg {
  flex-shrink: 0;
  color: var(--black);
}

/* ════════════════════════════════════════════════════════════════════════════
   SERVICES
════════════════════════════════════════════════════════════════════════════ */
.services {
  padding-block: var(--section-py);
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 3rem;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.25s var(--ease-out);
  cursor: default;
}

@media (hover: hover) {
  .service-card:hover {
    background: var(--bg-3);
  }
  .service-card:hover .service-num {
    color: var(--white);
  }
}

.service-num {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  transition: color 0.2s;
}

.service-name {
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  line-height: 1.3;
}

.service-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.services-cta {
  text-align: center;
}

/* ════════════════════════════════════════════════════════════════════════════
   PACKAGES
════════════════════════════════════════════════════════════════════════════ */
.packages {
  padding-block: var(--section-py);
  background: var(--bg-light);
  border-top: 1px solid var(--line-light);
}

/* Invert text colors for light section */
.packages .section-label { color: #888; }
.packages .section-title { color: #0a0a0a; }
.packages .section-sub   { color: #666; }

.packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .packages-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
  }
}

.package-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

@media (hover: hover) {
  .package-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
  }
}

.package-card--featured {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.package-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--black);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.package-card--featured .package-badge {
  background: var(--white);
  color: var(--black);
}

.package-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.package-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
}

.package-card--featured .package-label { color: var(--text-muted); }

.package-name {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--black);
}

.package-card--featured .package-name { color: var(--white); }

.package-desc {
  font-size: var(--text-sm);
  color: #666;
  line-height: 1.6;
  margin-top: 0.25rem;
}

.package-card--featured .package-desc { color: var(--text-muted); }

.package-items {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
  list-style: none;
}

.package-items li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--text-base);
  font-weight: 500;
  color: #222;
  line-height: 1.4;
}

.package-card--featured .package-items li { color: var(--text); }

.package-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  color: #222;
}

.package-card--featured .package-check {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.package-footer { margin-top: auto; }

.packages-note {
  text-align: center;
  font-size: var(--text-sm);
  color: #666;
}

.packages-note a {
  color: var(--black);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(0,0,0,0.3);
}

/* ════════════════════════════════════════════════════════════════════════════
   WHY CHOOSE US
════════════════════════════════════════════════════════════════════════════ */
.why {
  padding-block: var(--section-py);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.why-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(1.75rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line);
  align-items: start;
  position: relative;
  transition: background 0.25s;
}

@media (min-width: 640px) {
  .why-item {
    grid-template-columns: 4rem 1fr auto;
  }
}

@media (hover: hover) {
  .why-item:hover { background: rgba(255, 255, 255, 0.02); }
}

.why-num {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
}

.why-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.why-title {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--white);
  line-height: 1.3;
}

.why-desc {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 65ch;
}

.why-tag {
  display: none;
  align-self: flex-start;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-soft);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

@media (min-width: 640px) {
  .why-tag { display: block; }
}

/* 24H vs Competencia callout */
.why-callout {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.why-callout-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: rgba(255, 255, 255, 0.02);
}

@media (min-width: 640px) {
  .why-callout-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.why-callout-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.why-callout-big {
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
}

.why-callout-big span {
  font-size: 0.45em;
  color: var(--text-muted);
}

.why-callout-vs {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.why-callout-comp {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.why-callout-comp small {
  display: block;
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-dim);
}

.why-callout-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 400px;
}

.why-callout-right p {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.65;
}

/* ════════════════════════════════════════════════════════════════════════════
   GALLERY
════════════════════════════════════════════════════════════════════════════ */
.gallery {
  padding-block: var(--section-py);
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 280px 280px;
  }
  .gallery-item--large {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
  }
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 180px;
  transition: opacity 0.3s;
}

@media (hover: hover) {
  .gallery-item:hover { opacity: 0.85; }
}

.gallery-item .photo-placeholder {
  min-height: 100%;
  border-radius: 0;
  border: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ════════════════════════════════════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════════════════════════════════════ */
.contact {
  padding-block: var(--section-py);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 380px 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding: 2.25rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-info-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

@media (hover: hover) {
  .contact-link:hover { opacity: 0.75; }
}

.contact-link--wa { color: var(--wa-green); }
@media (hover: hover) {
  .contact-link--wa:hover { color: var(--wa-green-d); opacity: 1; }
}

.contact-address,
.contact-hours {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: clamp(300px, 40vw, 480px);
  border: 1px solid var(--line);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: grayscale(100%) invert(90%) contrast(85%) brightness(0.85) sepia(10%);
}

/* ════════════════════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--black);
  border-top: 1px solid var(--line);
  padding-block: 3.5rem 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .footer-inner {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
  }
}

.footer-logo { margin-bottom: 1rem; }

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-nav-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.footer-nav ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  list-style: none;
}

.footer-nav a,
.footer-contact a,
.footer-contact li {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

@media (hover: hover) {
  .footer-nav a:hover,
  .footer-contact a:hover { color: var(--white); }
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--text-dim);
}

.footer-delivery {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-delivery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wa-green);
  display: inline-block;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════════════════════
   FLOATING WHATSAPP BUTTON
════════════════════════════════════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  background: var(--wa-green);
  color: #fff;
  border-radius: 100px;
  font-size: var(--text-sm);
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  transition: transform 0.3s var(--ease-out),
              box-shadow 0.3s var(--ease-out),
              background 0.2s;
}

.wa-float-label {
  white-space: nowrap;
  overflow: hidden;
  max-width: 80px;
  transition: max-width 0.4s var(--ease-out), opacity 0.3s;
}

@media (max-width: 479px) {
  .wa-float { padding: 0.9rem; border-radius: 50%; }
  .wa-float-label { display: none; }
}

@media (hover: hover) {
  .wa-float:hover {
    background: var(--wa-green-d);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.45);
  }
}

/* ════════════════════════════════════════════════════════════════════════════
   GSAP ScrollTrigger animation classes
════════════════════════════════════════════════════════════════════════════ */
.gsap-fade-up {
  opacity: 0;
  transform: translateY(30px);
}
