/* Google Fonts cargadas via <link> en el <head> para no bloquear render */

:root {
  --terracota: #C4603A;
  --terracota-dark: #9C4A28;
  --arena: #E8D5B0;
  --arena-claro: #F5EDD8;
  --tierra: #6B4226;
  --cielo: #87AABB;
  --blanco: #FDFAF5;
  --negro: #1A1209;
  --sombra: rgba(26,18,9,0.15);
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Raleway', sans-serif;
}

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

html {
  /* scroll-behavior se aplica solo si el usuario no prefiere movimiento reducido */
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  font-family: 'Raleway', sans-serif;
  background-color: var(--blanco);
  color: var(--negro);
  overflow-x: hidden;
}

/* ─── NAVBAR ─── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 18px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(253,250,245,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196,96,58,0.15);
  transition: all 0.3s ease;
}

nav.scrolled {
  padding: 12px 48px;
  box-shadow: 0 2px 20px var(--sombra);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo-color  { display: block; }
.logo-blanco { display: none; }

nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
}

nav ul a {
  text-decoration: none;
  color: var(--tierra);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.2s;
}

nav ul a:hover {
  color: var(--terracota);
}

.nav-cta {
  background: var(--terracota);
  color: var(--blanco) !important;
  padding: 10px 24px;
  border-radius: 2px;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--terracota-dark) !important;
  color: var(--blanco) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  /* focus ring accesible */
}

.hamburger:focus-visible {
  outline: 2px solid var(--terracota);
  outline-offset: 4px;
  border-radius: 2px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--tierra);
  transition: all 0.3s;
}

/* ─── HERO ─── */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26,18,9,0.75) 0%,
    rgba(26,18,9,0.2) 50%,
    transparent 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 72px 80px;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  background: var(--terracota);
  color: var(--blanco);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 6px 16px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  color: var(--blanco);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--arena);
}

.hero-desc {
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
  font-weight: 300;
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-primary {
  background: var(--terracota);
  color: var(--blanco);
  padding: 16px 40px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: var(--terracota-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,96,58,0.4);
}

.btn-ghost {
  color: var(--blanco);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  transition: all 0.2s;
}

.btn-ghost:hover {
  border-bottom-color: var(--arena);
  color: var(--arena);
}

.hero-dots {
  position: absolute;
  bottom: 32px;
  right: 72px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  padding: 0;
}

.dot:focus-visible {
  outline: 2px solid var(--arena);
  outline-offset: 3px;
}

.dot.active {
  background: var(--terracota);
  width: 24px;
  border-radius: 3px;
}

/* ─── STRIP ─── */
.strip {
  background: var(--negro);
  color: var(--blanco);
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 0;
  flex-wrap: wrap;
  border-top: 3px solid var(--terracota);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 2;
}

.strip-item {
  text-align: center;
  padding: 28px 48px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: default;
  transition: background 0.3s ease, transform 0.25s ease;
  flex: 1;
  min-width: 140px;
}

.strip-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.12);
  transition: background 0.3s ease;
}

.strip-item:last-child::after {
  display: none;
}

.strip-item:hover {
  background: rgba(196, 96, 58, 0.15);
}

.strip-item:hover .num {
  color: var(--terracota);
}

.strip-item:hover::after {
  background: rgba(196, 96, 58, 0.3);
}

.strip-item .num {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  display: block;
  white-space: nowrap;
  color: var(--blanco);
  transition: color 0.3s ease;
  line-height: 1;
}

.strip-item .label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: color 0.3s ease;
}

.strip-item:hover .label {
  color: rgba(255,255,255,0.75);
}

/* ─── SECTIONS COMUNES ─── */
section {
  padding: 72px 60px;
}

.section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--terracota);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
  color: var(--negro);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1rem;
  font-weight: 300;
  color: #555;
  line-height: 1.8;
  max-width: 580px;
}

/* ─── FEATURES ─── */
.features {
  background: var(--arena-claro);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-top: 64px;
}

.features-image {
  position: relative;
}

.features-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.features-image::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 80%;
  height: 80%;
  border: 2px solid var(--terracota);
  z-index: -1;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--blanco);
  border-left: 3px solid transparent;
  transition: all 0.3s;
}

.feature-item:hover {
  border-left-color: var(--terracota);
  box-shadow: 0 4px 20px var(--sombra);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--terracota);
  color: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.feature-item p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.6;
}

/* ─── GALERÍA ─── */
.gallery {
  background: var(--negro);
  color: var(--blanco);
  padding: 64px 48px;
}

.gallery-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 28px;
  gap: 8px;
}

.gallery-header .section-title {
  color: var(--blanco);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.gallery-item {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(196,96,58,0);
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .overlay {
  background: rgba(196,96,58,0.25);
}

.gallery-count {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.75);
}


/* ─── BOTÓN VISITA GALERÍA ─── */
.gallery-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  padding: 20px 0 4px;
  border-top: 0.5px solid rgba(255,255,255,0.10);
}
/* ─── LIGHTBOX ─── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: var(--blanco);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  font-family: 'Raleway', sans-serif;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  color: var(--blanco);
  border: none;
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox-nav:hover { background: var(--terracota); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ─── UBICACIÓN ─── */
.ubicacion {
  background: var(--blanco);
}

.ubicacion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-top: 64px;
}

.map-placeholder {
  background: var(--arena);
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.location-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.location-point .icon {
  width: 40px;
  height: 40px;
  background: var(--arena);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--terracota);
}

.location-point h4 {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.location-point p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.5;
}

/* ─── CONTACTO ─── */
.contacto {
  background: var(--tierra);
  color: var(--blanco);
  text-align: center;
}

.contacto .section-title {
  color: var(--blanco);
}

.contacto .section-sub {
  color: rgba(255,255,255,0.7);
  margin: 0 auto 48px;
}

.contact-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.contact-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 32px 40px;
  text-align: center;
  transition: all 0.3s;
  text-decoration: none;
  color: var(--blanco);
  display: block;
  min-width: 200px;
}

.contact-card:hover {
  background: var(--terracota);
  border-color: var(--terracota);
  transform: translateY(-4px);
}

.contact-card .icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.contact-card h4 {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  /* contraste corregido: de 4.25:1 a >4.5:1 */
  margin-bottom: 6px;
}

.contact-card p {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
}

.vastil-brand {
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 48px;
  margin-top: 16px;
}

.brand-logo-img {
  height: 56px;
  width: auto;
  opacity: 0.9;
}

/* ─── FOOTER ─── */
.footer-logo-img {
  height: 28px;
  width: auto;
  opacity: 0.4;
  margin-bottom: 10px;
}

footer {
  background: var(--negro);
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding: 24px 48px 20px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

footer span {
  color: var(--terracota);
}

.footer-credit {
  margin-top: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.22);
}

.footer-credit a {
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-credit a:hover {
  color: var(--terracota);
}


/* ─── FOCUS VISIBLE GLOBAL (accesibilidad teclado) ─── */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--terracota);
  outline-offset: 3px;
  border-radius: 2px;
}

.btn-primary:focus-visible {
  outline: 2px solid var(--arena);
  outline-offset: 3px;
}

.btn-ghost:focus-visible {
  outline: 2px solid var(--arena);
  outline-offset: 3px;
  border-radius: 2px;
}

.nav-cta:focus-visible {
  outline: 2px solid var(--tierra);
  outline-offset: 3px;
}

.gallery-item:focus-visible {
  outline: 3px solid var(--terracota);
  outline-offset: 2px;
}

.contact-card:focus-visible {
  outline: 2px solid var(--arena);
  outline-offset: 3px;
}

.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  outline: 2px solid var(--arena);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ─── ACTIVE STATES (feedback táctil móvil) ─── */
.btn-primary:active {
  transform: translateY(0);
  background: var(--terracota-dark);
}

.contact-card:active {
  transform: translateY(-2px);
  background: var(--terracota);
}

.gallery-item:active img {
  transform: scale(1.03);
}

/* ─── ANIMACIONES ─── */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.15s; }
.fade-in-delay-2 { transition-delay: 0.3s; }
.fade-in-delay-3 { transition-delay: 0.45s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  section { padding: 56px 40px; }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  nav.scrolled { padding: 12px 24px; }

  nav ul {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--blanco);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    z-index: 99;
  }

  nav ul.open { display: flex; }
  nav ul a { font-size: 1rem; }

  .hamburger { display: flex; z-index: 101; }

  .hero-content { padding: 0 24px 72px; }
  .hero-dots { right: 24px; }

  section { padding: 72px 24px; }

  .features-grid,
  .ubicacion-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features-image::after { display: none; }

  .gallery { padding: 48px 24px; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .strip { gap: 0; padding: 0; }
  .strip-item { padding: 20px 24px; flex: 0 0 calc(33.333% - 1px); }
  .strip-item::after { top: 15%; height: 70%; }

  .contact-cards { flex-direction: column; align-items: center; }
  .contact-card { width: 100%; max-width: 300px; }
}

/* ─── ACCESIBILIDAD: REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-slide {
    transition: none !important;
  }
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ─── SKIP LINK (accesibilidad teclado) ─── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--terracota);
  color: var(--blanco);
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  z-index: 9999;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* ─── PRINT STYLES ─── */
/* ─── WHATSAPP FLOTANTE ─── */
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  animation: wa-pulse 2.5s ease-out infinite;
  transition: transform 0.25s ease, background 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  background: #1ebe5a;
  animation: none;
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: var(--negro);
  color: var(--blanco);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
  padding: 7px 14px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--negro);
  border-right: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float svg { width: 26px; height: 26px; }
  .whatsapp-tooltip { display: none; }
}

@media print {
  nav,
  .hero-dots,
  .hero-actions,
  .gallery,
  #lightbox,
  .contacto .contact-cards,
  .whatsapp-float,
  footer { display: none !important; }

  .hero {
    height: auto;
    page-break-after: always;
  }

  .hero-content {
    position: static;
    color: #000;
    padding: 24px;
  }

  .hero h1, .hero-desc { color: #000 !important; }

  .strip {
    background: #f0f0f0;
    color: #000;
    border-top: 2px solid #c4603a;
  }

  .strip-item .num { color: #000 !important; }
  .strip-item .label { color: #333 !important; }
  .strip-item::after { background: #ccc !important; }

  section { padding: 24px; }

  a[href^="tel:"]::after { content: " (" attr(href) ")"; }
  a[href^="mailto:"]::after { content: " (" attr(href) ")"; }
}

/* ─── BEFORE / AFTER SLIDER ─── */
.transformacion {
  background: var(--negro);
  padding: 64px 60px;
  text-align: center;
}

.transformacion .section-label { color: var(--arena); }
.transformacion .section-title { color: var(--blanco); }
.transformacion .section-sub {
  color: rgba(255,255,255,0.60);
  max-width: 520px;
  margin: 0 auto 32px;
}

.ba-header { margin-bottom: 32px; }

.ba-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55);
  user-select: none;
}

.ba-container {
  position: relative;
  width: 100%;
  cursor: ew-resize;
  display: block;
  line-height: 0; /* evita espacio bajo img */
}

/* Imagen DESPUÉS: base, ancho completo */
.ba-img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

/* Imagen ANTES: recortada mediante clip-path del wrapper */
.ba-before-wrap {
  position: absolute;
  inset: 0;
  width: 50%; /* posición inicial */
  overflow: hidden;
}

.ba-before-wrap .ba-img {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--ba-img-width, 100vw); /* fallback 100vw si JS no carga */
  height: auto;
  max-width: none;
}

/* Línea divisora */
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--blanco);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 10;
}

/* Handle circular */
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blanco);
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.ba-arrow {
  font-size: 20px;
  font-weight: 700;
  color: var(--terracota);
  line-height: 1;
}

/* Labels Antes / Después */
.ba-label {
  position: absolute;
  top: 16px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blanco);
  background: rgba(0,0,0,0.45);
  padding: 5px 12px;
  border-radius: 20px;
  pointer-events: none;
  z-index: 9;
  backdrop-filter: blur(4px);
}

.ba-label-before { left: 16px; }
.ba-label-after  { right: 16px; }

/* Responsive */
@media (max-width: 768px) {
  .transformacion { padding: 72px 24px; }
  .ba-handle { width: 40px; height: 40px; }
  .ba-arrow { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .ba-divider,
  .ba-before-wrap { transition: none !important; }
}

/* ─── SECCIÓN PRECIO ─── */
.precio-section {
  background: var(--tierra);
  padding: 64px 60px;
  text-align: center;
}

.precio-inner { max-width: 700px; margin: 0 auto; }

.precio-valor {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--blanco);
  letter-spacing: -0.02em;
  margin: 8px 0 12px;
  line-height: 1.1;
}

.precio-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}

.precio-desglose {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(0,0,0,0.18);
  border-radius: 12px;
  padding: 28px 32px;
}

.precio-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 120px;
  padding: 0 24px;
}

.pd-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--arena);
}

.pd-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.60);
}

.precio-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

/* Precio en strip */
.price-strip {
  font-size: 1.1rem !important;
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .precio-section { padding: 72px 24px; }
  .precio-desglose { gap: 16px; padding: 20px; }
  .precio-sep { display: none; }
  .precio-item { padding: 0 12px; }
}

@media (max-width: 480px) {
  .precio-valor { font-size: 2rem; }
}

/* ── ATENCIÓN EMPRESAS ── */
.atencion-empresas {
  background: var(--crema, #FDFAF5);
  padding: 80px 48px;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.ae-inner {
  max-width: 860px;
  margin: 0 auto;
}

.atencion-empresas .section-title {
  color: var(--carbon, #1A1A1A);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.atencion-empresas .section-title em {
  color: var(--terracota, #C4603A);
  font-style: italic;
}

.atencion-empresas .section-sub {
  color: var(--carbon, #1A1A1A);
  opacity: 0.72;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
  font-size: 1.05rem;
}

.ae-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.ae-pill {
  background: var(--terracota, #C4603A);
  color: #fff;
  padding: 8px 20px;
  border-radius: 40px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .atencion-empresas { padding: 56px 24px; }
}
