/* ============================================================
   COMPONENTS — Hero arquitectónico, botones premium, sistema
   ============================================================ */

/* ════════════════════════════════════════════════════════
   BOTONES — Sistema premium con micro-interacciones
   ════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-base);
  letter-spacing: var(--ls-snug);
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
  min-height: 48px;
  position: relative;
  overflow: hidden;
  transition: transform var(--duration-base) var(--ease-out-expo),
              background-color var(--duration-base) var(--ease-out-cubic),
              color var(--duration-base) var(--ease-out-cubic),
              box-shadow var(--duration-slow) var(--ease-out-cubic),
              border-color var(--duration-base) var(--ease-out-cubic);
}

.btn:active { transform: translateY(1px) scale(0.99); }
.btn:disabled { opacity: 0.5; pointer-events: none; }

/* Efecto shine al hover (sutil) */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 800ms var(--ease-out-expo);
  pointer-events: none;
}

.btn:hover::before { transform: translateX(100%); }

/* PRIMARY — gradiente brand */
.btn--primary {
  background: var(--brand-gradient);
  color: var(--bg-pure);
  border-color: transparent;
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand-lg);
}

/* WHATSAPP — verde */
.btn--whatsapp {
  background-color: var(--whatsapp);
  color: var(--bg-pure);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
}
.btn--whatsapp:hover {
  background-color: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.40);
}

/* OUTLINE */
.btn--outline {
  background-color: transparent;
  color: var(--ink-900);
  border-color: var(--ink-300);
}
.btn--outline:hover {
  background-color: var(--ink-900);
  color: var(--bg-pure);
  border-color: var(--ink-900);
}

/* GHOST */
.btn--ghost {
  background-color: transparent;
  color: var(--ink-900);
  border-color: transparent;
}
.btn--ghost:hover { background-color: var(--bg-cool); }

/* Tamaños */
.btn--sm { padding: 0.5rem 1rem; font-size: var(--fs-sm); min-height: 38px; }
.btn--lg { padding: 1.125rem 2rem; font-size: var(--fs-lg); min-height: 56px; }
.btn--xl { padding: 1.375rem 2.5rem; font-size: var(--fs-xl); min-height: 64px; }
.btn--full { width: 100%; }

/* Arrow indicator */
.btn__arrow {
  display: inline-flex;
  margin-left: var(--space-1);
  transition: transform var(--duration-base) var(--ease-out-expo);
}
.btn:hover .btn__arrow { transform: translateX(4px); }


/* ════════════════════════════════════════════════════════
   BADGE / CHIP
   ════════════════════════════════════════════════════════ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background-color: var(--bg-cool);
  color: var(--ink-700);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  font-family: var(--font-mono);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  border: 1px solid var(--ink-100);
}

.badge--brand { background-color: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }
.badge--solid { background-color: var(--ink-900); color: var(--bg-pure); border-color: var(--ink-900); }


/* ════════════════════════════════════════════════════════
   CARD
   ════════════════════════════════════════════════════════ */

.card {
  background-color: var(--bg-pure);
  border: var(--border-thin);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: transform var(--duration-base) var(--ease-out-expo),
              box-shadow var(--duration-base) var(--ease-out-cubic),
              border-color var(--duration-base) var(--ease-out-cubic);
}
.card--hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-200);
}
.card--brand {
  background: var(--brand-gradient);
  color: var(--bg-pure);
  border-color: transparent;
}


/* ════════════════════════════════════════════════════════
   WHATSAPP FLOTANTE — con tooltip al hover
   ════════════════════════════════════════════════════════ */

.whatsapp-float {
  position: fixed;
  right: var(--space-5);
  bottom: var(--space-5);
  z-index: var(--z-whatsapp);
  width: 60px; height: 60px;
  border-radius: var(--radius-full);
  background-color: var(--whatsapp);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  animation: whatsapp-pulse 2.4s var(--ease-out-cubic) infinite;
  transition: transform var(--duration-base) var(--ease-spring);
}

.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 30px; height: 30px; fill: var(--bg-pure); }

.whatsapp-float::before {
  content: 'Cotiza ahora';
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--ink-900);
  color: var(--bg-pure);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-out-cubic),
              transform var(--duration-base) var(--ease-out-expo);
}

.whatsapp-float:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.6); }
  50%      { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 18px rgba(37, 211, 102, 0); }
}


/* ════════════════════════════════════════════════════════
   LOGO MARK con hover animado
   ════════════════════════════════════════════════════════ */

.logo-mark {
  flex-shrink: 0;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.site-header__logo:hover .logo-mark {
  transform: rotate(180deg);
}


/* ════════════════════════════════════════════════════════
   HERO — Composición arquitectónica de nivel awwwards
   ════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 3.5vw, 3rem);
  overflow: hidden;
  isolation: isolate;
  background-color: var(--bg-soft);
}

/* Grid arquitectónico sutil de fondo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(45, 78, 204, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(45, 78, 204, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 100% 80% at center, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at center, black 0%, transparent 80%);
  pointer-events: none;
}

/* Triángulo gigante decorativo (eco del logo) */
.hero::after {
  content: '';
  position: absolute;
  top: -15%;
  right: -10%;
  width: 60vw;
  max-width: 800px;
  height: 60vw;
  max-height: 800px;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%232D4ECC' stop-opacity='0.08'/%3E%3Cstop offset='100%25' stop-color='%23142555' stop-opacity='0.02'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M10 18 L90 18 L50 88 Z' fill='url(%23g)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  animation: hero-float 20s var(--ease-in-out-expo) infinite alternate;
}

@keyframes hero-float {
  0%   { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-3%, 2%) rotate(2deg); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: var(--container-mega);
  margin-inline: auto;
  padding-inline: var(--content-px);
  position: relative;
  z-index: 1;
}

@media (min-width: 920px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
    align-items: stretch;
    gap: clamp(2rem, 4vw, 4rem);
    max-width: none;
    padding-right: 0;
    min-height: clamp(480px, 65vh, 640px);
    padding-left: max(var(--content-px), calc((100vw - var(--container-mega)) / 2 + var(--content-px)));
  }
}


/* Marcas técnicas en bordes del hero (estilo blueprint) */
.hero__corner {
  position: absolute;
  width: 32px;
  height: 32px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

.hero__corner svg {
  width: 100%;
  height: 100%;
  stroke: var(--ink-300);
  stroke-width: 1;
  fill: none;
}

.hero__corner--tl { top: var(--space-6); left: var(--space-6); }
.hero__corner--tr { top: var(--space-6); right: var(--space-6); transform: scaleX(-1); }
.hero__corner--bl { bottom: var(--space-6); left: var(--space-6); transform: scaleY(-1); }
.hero__corner--br { bottom: var(--space-6); right: var(--space-6); transform: scale(-1, -1); }

@media (max-width: 720px) {
  .hero__corner { display: none; }
}


/* ════════════════════════════════════════════════════════
   HERO CONTENT — animación coreografiada de entrada
   ════════════════════════════════════════════════════════ */

/* Hero content — siempre visible. Sin animaciones que dependan de opacity. */


.hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 640px;
  padding-block: var(--space-3);
}

@media (max-width: 1024px) {
  .hero__content {
    max-width: none;
    padding-block: 0;
  }
}

.hero__content > * {
  opacity: 1;
  transform: none;
}

@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  to { opacity: 1; }
}


.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: var(--space-6);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-full);
  background-color: var(--bg-pure);
  font-weight: var(--fw-medium);
}

.hero__eyebrow::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 7px solid var(--brand-500);
  display: inline-block;
}

.hero__eyebrow__pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-500);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.5); opacity: 0.6; }
}


.hero h1 {
  font-size: clamp(1.5rem, 1.4vw + 0.95rem, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}

.hero h1 strong {
  font-weight: var(--fw-medium);
  font-style: normal;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  position: relative;
  display: inline-block;
}

/* Subrayado del énfasis — siempre visible */
.hero h1 strong::after {
  content: '';
  position: absolute;
  bottom: 0.05em;
  left: 0; right: 0;
  height: 0.08em;
  background: var(--brand-gradient);
}


.hero__lead {
  font-size: clamp(0.95rem, 0.4vw + 0.85rem, 1.05rem);
  line-height: 1.5;
  color: var(--ink-500);
  max-width: 52ch;
  margin-bottom: var(--space-4);
}


.hero__bullets {
  list-style: none;
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.hero__bullets li {
  display: flex;
  align-items: center;  /* center vertical, no flex-start */
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--ink-700);
  line-height: 1.3;
  font-weight: var(--fw-regular);
  white-space: nowrap;  /* fuerza una línea por bullet */
  overflow: visible;
}

@media (max-width: 480px) {
  .hero__bullets li {
    white-space: normal;  /* en mobile ultra-chico permite wrap si hace falta */
  }
}

.hero__bullets li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(96, 165, 250, 0.18);
  color: #60A5FA;
  font-weight: 700;
  font-size: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(96, 165, 250, 0.4);
  margin-top: 0;
}


.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

/* Glow sutil en el CTA primario del hero — atrae la mirada sin ser invasivo */
.hero__ctas > a:first-child,
.hero__ctas > .btn--primary,
.hero__ctas > .btn--whatsapp {
  box-shadow: 0 8px 24px -8px rgba(34, 197, 94, 0.5);
  transition: all 0.25s var(--ease-out-expo, ease-out);
}

.hero__ctas > a:first-child:hover,
.hero__ctas > .btn--primary:hover,
.hero__ctas > .btn--whatsapp:hover {
  box-shadow: 0 12px 32px -6px rgba(34, 197, 94, 0.65);
  transform: translateY(-2px);
}


.hero__microcopy {
  font-size: var(--fs-sm);
  color: var(--ink-400);
  font-family: var(--font-mono);
  letter-spacing: var(--ls-snug);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--fw-medium);
}

.hero__microcopy::before {
  content: '';
  width: 8px; height: 8px;  /* +33% — más visible */
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.7);  /* glow para reforzar liveness */
  animation: pulse-dot 2s ease-in-out infinite;
}


/* ════════════════════════════════════════════════════════
   HERO VISUAL — blueprint técnico SVG complejo
   ════════════════════════════════════════════════════════ */

.hero__visual {
  position: relative;
  height: 100%;          /* llena la altura del grid row */
  min-height: 380px;     /* fallback razonable */
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  overflow: hidden;
  background: var(--brand-gradient);
  box-shadow: var(--shadow-xl);
}

@media (max-width: 1024px) {
  .hero__visual {
    aspect-ratio: 16 / 10;
    height: auto;
    min-height: 0;
    border-radius: var(--radius-lg);
  }
}

@keyframes visual-enter {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero__visual svg.blueprint {
  width: 100%;
  height: 100%;
  display: block;
}

/* Sticker tipo etiqueta industrial */
.hero__sticker {
  position: absolute;
  top: var(--space-5);
  left: var(--space-5);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: var(--space-2) var(--space-3) var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--brand-700);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.hero__sticker::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-500);
}

.hero__sticker--bottom {
  top: auto; left: auto;
  bottom: var(--space-5); right: var(--space-5);
  background: var(--ink-900);
  color: var(--bg-pure);
}

.hero__sticker--bottom::before { background: var(--bg-pure); }


/* ════════════════════════════════════════════════════════
   TRUST BAND — minimal con líneas finas y números gigantes
   ════════════════════════════════════════════════════════ */

.trust-band {
  background: var(--bg-pure);
  color: var(--ink-900);
  padding-block: var(--space-8);
  border-block: 1px solid var(--ink-100);
  position: relative;
}

.trust-band__grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 720px) {
  .trust-band__grid { grid-template-columns: repeat(4, 1fr); }
}

.trust-band__item {
  text-align: center;
  position: relative;
  padding-inline: var(--space-3);
  padding-block: var(--space-3);
  transition: transform var(--duration-base) var(--ease-out-expo);
}

.trust-band__item:hover { transform: translateY(-3px); }

@media (min-width: 720px) {
  .trust-band__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: var(--ink-100);
  }
}

.trust-band__number {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1;
  margin-bottom: var(--space-2);
  letter-spacing: var(--ls-tightest);
  color: var(--ink-900);
}

.trust-band__number--gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.trust-band__label {
  display: block;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--ink-400);
  font-family: var(--font-mono);
  font-weight: var(--fw-medium);
}

.trust-band__rating-stars {
  color: var(--brand-500);
  margin-right: 4px;
}


/* ════════════════════════════════════════════════════════
   ZONES MARQUEE — banda con zonas servidas (después del trust)
   ════════════════════════════════════════════════════════ */

.zones-marquee {
  background: var(--ink-900);
  color: var(--bg-pure);
  padding-block: var(--space-6);
  overflow: hidden;
  position: relative;
}

.zones-marquee__inner {
  display: flex;
  align-items: center;
  gap: var(--space-7);
}

.zones-marquee__label {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--brand-300);
  padding-inline: var(--content-px);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.zones-marquee__label::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--brand-400);
}

.zones-marquee__track {
  display: flex;
  gap: var(--space-7);
  align-items: center;
  flex: 1;
  animation: marquee 60s linear infinite;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-tight);
}

.zones-marquee__track:hover { animation-play-state: paused; }

.zones-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-5);
  color: var(--ink-100);
}

.zones-marquee__item::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid var(--brand-500);
  flex-shrink: 0;
}


/* ════════════════════════════════════════════════════════
   ANIMATIONS — reveal scroll con stagger
   ════════════════════════════════════════════════════════ */

/* Reveal — siempre visible. Sin dependencia de animaciones. */
.reveal {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }


/* ════════════════════════════════════════════════════════
   INSTRUMENT TICKER (para datos técnicos en tiempo real)
   ════════════════════════════════════════════════════════ */

.instrument {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--ink-400);
}

.instrument__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
}


/* ════════════════════════════════════════════════════════
   PRODUCT CAROUSEL — Catálogo scroll-snap horizontal
   ════════════════════════════════════════════════════════ */

.product-carousel {
  position: relative;
  margin-top: var(--space-8);
}

.product-carousel__track {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: var(--space-2) var(--content-px) var(--space-7);
  margin-inline: calc(var(--content-px) * -1);
  scrollbar-width: thin;
  scrollbar-color: var(--ink-300) transparent;
}

.product-carousel__track::-webkit-scrollbar { height: 6px; }
.product-carousel__track::-webkit-scrollbar-track { background: var(--ink-100); border-radius: var(--radius-full); margin-inline: var(--content-px); }
.product-carousel__track::-webkit-scrollbar-thumb { background: var(--ink-400); border-radius: var(--radius-full); }

.product-card {
  flex: 0 0 auto;
  width: 320px;
  scroll-snap-align: start;
  background: var(--bg-pure);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--duration-base) var(--ease-out-expo),
              box-shadow var(--duration-base) var(--ease-out-cubic),
              border-color var(--duration-base) var(--ease-out-cubic);
  position: relative;
}

@media (min-width: 720px) {
  .product-card { width: 360px; }
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-300);
}

.product-card__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--brand-gradient);
  overflow: hidden;
}

.product-card__visual svg {
  width: 100%;
  height: 100%;
  display: block;
}

.product-card__number {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  color: rgba(255, 255, 255, 0.65);
  z-index: 2;
}

.product-card__visual-tag {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--brand-700);
  z-index: 2;
}

.product-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-3);
}

.product-card__name {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-xl);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--ink-900);
}

.product-card__pitch {
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  color: var(--ink-500);
}

.product-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: auto;
}

.product-card__chip {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--brand-50);
  color: var(--brand-700);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.product-card__footer {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--ink-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.product-card__price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-card__price-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--ink-400);
}

.product-card__price-value {
  font-family: var(--font-mono);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-lg);
  color: var(--ink-900);
  letter-spacing: var(--ls-tight);
}

.product-card__cta {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--ink-900);
  color: var(--bg-pure);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--duration-base) var(--ease-out-cubic),
              transform var(--duration-base) var(--ease-out-expo);
}

.product-card__cta svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration-base) var(--ease-out-expo);
}

.product-card:hover .product-card__cta {
  background: var(--brand-500);
  transform: rotate(-45deg);
}


/* Indicadores del carrusel */
.product-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 0 var(--space-2);
  margin-top: var(--space-4);
}

.product-carousel__hint {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--ink-400);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.product-carousel__hint::before,
.product-carousel__hint::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--ink-200);
}


/* ════════════════════════════════════════════════════════
   SERVICES CARDS — 3 cards grandes con número magazine
   ════════════════════════════════════════════════════════ */

.services-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
  margin-top: var(--space-8);
}

@media (min-width: 880px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  position: relative;
  background: var(--bg-pure);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-xl);
  padding: var(--space-7) var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  overflow: hidden;
  transition: transform var(--duration-base) var(--ease-out-expo),
              box-shadow var(--duration-slow) var(--ease-out-cubic),
              border-color var(--duration-base) var(--ease-out-cubic);
  isolation: isolate;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-200);
}

/* Card destacada (mayoreo) — fondo brand */
.service-card--featured {
  background: var(--brand-gradient);
  color: var(--bg-pure);
  border-color: transparent;
  box-shadow: var(--shadow-brand);
}

.service-card--featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath d='M14 22 L106 22 L60 110 Z' fill='none' stroke='%23ffffff' stroke-width='0.5' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: -1;
}

.service-card--featured:hover {
  box-shadow: var(--shadow-brand-lg);
}

.service-card__number {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: clamp(3rem, 5vw, 4rem);
  line-height: 1;
  color: var(--brand-100);
  letter-spacing: var(--ls-tightest);
}

.service-card--featured .service-card__number {
  color: rgba(255, 255, 255, 0.35);
}

.service-card__title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-2xl);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--ink-900);
}

.service-card--featured .service-card__title { color: var(--bg-pure); }

.service-card__lead {
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--ink-500);
}

.service-card--featured .service-card__lead { color: rgba(255, 255, 255, 0.85); }

.service-card__list {
  list-style: none;
  display: grid;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--ink-700);
}

.service-card--featured .service-card__list { color: rgba(255, 255, 255, 0.9); }

.service-card__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  line-height: var(--lh-snugger);
}

.service-card__list li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 7px;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 7px solid var(--brand-500);
}

.service-card--featured .service-card__list li::before {
  border-top-color: rgba(255, 255, 255, 0.9);
}

.service-card__cta {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--ink-100);
}

.service-card--featured .service-card__cta {
  border-top-color: rgba(255, 255, 255, 0.15);
}


/* ════════════════════════════════════════════════════════
   COMPARISON TABLE — tabla comparativa con scroll horizontal
   ════════════════════════════════════════════════════════ */

.comparison-wrap {
  margin-top: var(--space-7);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-xl);
  background: var(--bg-pure);
  overflow: hidden;
  position: relative;
}

.comparison-scroll {
  overflow-x: auto;
  scrollbar-width: thin;
}

.comparison-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.comparison-table thead th {
  background: var(--ink-900);
  color: var(--bg-pure);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  text-align: left;
  padding: var(--space-4) var(--space-5);
  white-space: nowrap;
}

.comparison-table thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
}

.comparison-table tbody td {
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--ink-100);
  font-size: var(--fs-sm);
  color: var(--ink-700);
  white-space: nowrap;
  background: var(--bg-pure);
  transition: background-color var(--duration-fast) var(--ease-out-cubic);
}

.comparison-table tbody td:first-child {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  color: var(--ink-900);
  font-size: var(--fs-base);
  position: sticky;
  left: 0;
  z-index: 1;
  border-right: 1px solid var(--ink-100);
}

.comparison-table tbody tr:hover td {
  background-color: var(--brand-50);
}

.comparison-table .price-cell {
  font-family: var(--font-mono);
  font-weight: var(--fw-semibold);
  color: var(--brand-700);
}

.comparison-table .badge-cell {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  background: var(--brand-50);
  color: var(--brand-700);
}

.badge-cell--int {
  background: var(--brand-50);
  color: var(--brand-700);
}
.badge-cell--ext {
  background: #FFF4E6;
  color: #B45309;
}


/* ════════════════════════════════════════════════════════
   PRODUCT FICHA — Ficha detallada estilo magazine
   ════════════════════════════════════════════════════════ */

.ficha {
  position: relative;
}

.ficha__inner {
  display: grid;
  gap: var(--space-7);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 980px) {
  .ficha__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-9);
  }
}

.ficha__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.ficha__number {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--ink-400);
}

.ficha__number-big {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: clamp(3.5rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: var(--ls-tightest);
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.ficha__title {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: var(--fs-3xl);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--ink-900);
  margin-block: var(--space-2) var(--space-4);
}

.ficha__lead {
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
  color: var(--ink-500);
  max-width: 56ch;
  margin-bottom: var(--space-6);
}

.ficha__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  background: var(--brand-gradient);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  order: -1;
}

@media (min-width: 980px) {
  .ficha__visual { order: 0; position: sticky; top: calc(var(--header-h) + var(--topbar-h) + 32px); }
}

/* En laptops 15" (1440x900, 1366x768), reducir aspect-ratio para que la tarjeta quepa en viewport */
@media (min-width: 980px) and (max-height: 900px) {
  .ficha__visual { aspect-ratio: 1 / 1; }
}

/* En laptops chicas (alto 800px o menos), tarjeta horizontal */
@media (min-width: 980px) and (max-height: 800px) {
  .ficha__visual { aspect-ratio: 5 / 4; }
}

.ficha__visual svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ficha__visual-tag {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: rgba(255, 255, 255, 0.96);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--brand-700);
  z-index: 2;
}

/* Inversión de orden en fichas alternas */
.ficha--reverse .ficha__inner {
  direction: rtl;
}
.ficha--reverse .ficha__inner > * {
  direction: ltr;
}

/* Bloques de info dentro de ficha */
.ficha__sections {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.ficha__block h4 {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.ficha__block h4::before {
  content: '';
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid var(--brand-500);
}

.ficha__block ul {
  list-style: none;
  display: grid;
  gap: var(--space-2);
  font-size: var(--fs-base);
  color: var(--ink-700);
}

.ficha__block ul li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  line-height: var(--lh-snugger);
}

.ficha__block ul li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 9px;
  width: 6px;
  height: 1.5px;
  background: var(--brand-500);
}

/* Bloque de pros/cons en columnas */
.ficha__pros-cons {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-6);
  padding: var(--space-5);
  background: var(--bg-cool);
  border-radius: var(--radius-lg);
}

@media (min-width: 600px) {
  .ficha__pros-cons { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
}

.ficha__pros h4 { color: var(--success); }
.ficha__pros h4::before { border-top-color: var(--success); }
.ficha__pros ul li::before { background: var(--success); }

.ficha__cons h4 { color: var(--error); }
.ficha__cons h4::before { border-top-color: var(--error); }
.ficha__cons ul li::before { background: var(--error); }


/* Tabla de specs */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-pure);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-6);
}

.spec-table tr + tr td {
  border-top: 1px solid var(--ink-100);
}

.spec-table td {
  padding: var(--space-3) var(--space-4);
  font-size: var(--fs-sm);
  vertical-align: top;
}

.spec-table td:first-child {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--ink-500);
  width: 40%;
  background: var(--bg-cool);
}

.spec-table td:last-child {
  color: var(--ink-800);
  font-weight: var(--fw-medium);
}


/* Bloque precio destacado */
.ficha__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-6);
  background: linear-gradient(135deg, var(--brand-50) 0%, var(--bg-cool) 100%);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-5);
}

.ficha__price-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--ink-500);
}

.ficha__price-value {
  font-family: var(--font-mono);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-2xl);
  color: var(--brand-700);
  letter-spacing: var(--ls-tight);
}

.ficha__price-currency {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--ink-500);
}


/* Section break — visualmente sutil, casi invisible */
.section-break {
  display: none;  /* eliminado — el contraste de bg-cool ya separa fichas */
}


/* ════════════════════════════════════════════════════════
   MATERIALS GUIDE — Tarjetas de materiales con muestras visuales
   ════════════════════════════════════════════════════════ */

.materials-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
  margin-top: var(--space-8);
}

@media (min-width: 720px) {
  .materials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .materials-grid { grid-template-columns: repeat(3, 1fr); }
}

.material-card {
  background: var(--bg-pure);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--duration-base) var(--ease-out-expo),
              box-shadow var(--duration-base) var(--ease-out-cubic);
}

.material-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.material-card__sample {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
}

.material-card__sample svg {
  width: 100%;
  height: 100%;
  display: block;
}

.material-card__body {
  padding: var(--space-5) var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-3);
}

.material-card__type {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--brand-700);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.material-card__type::before {
  content: '';
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid var(--brand-500);
}

.material-card__name {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-xl);
  line-height: var(--lh-snug);
  color: var(--ink-900);
}

.material-card__lead {
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  color: var(--ink-500);
}

.material-card__props {
  display: grid;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--ink-100);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
}

.material-card__props div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
}

.material-card__props span:first-child {
  color: var(--ink-400);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}

.material-card__props span:last-child {
  color: var(--ink-900);
  font-weight: var(--fw-medium);
}


/* ════════════════════════════════════════════════════════
   PRICING TABLE — Tabla de precios completa
   ════════════════════════════════════════════════════════ */

.pricing-wrap {
  margin-top: var(--space-7);
  display: grid;
  gap: var(--space-7);
}

.pricing-table-card {
  background: var(--bg-pure);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.pricing-table-card__header {
  padding: var(--space-5) var(--space-6);
  background: var(--bg-cool);
  border-bottom: 1px solid var(--ink-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.pricing-table-card__title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-xl);
  letter-spacing: var(--ls-tight);
}

.pricing-table-card__scroll {
  overflow-x: auto;
}

.pricing-table-card table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.pricing-table-card td,
.pricing-table-card th {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  font-size: var(--fs-sm);
}

.pricing-table-card thead th {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--ink-500);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--ink-100);
}

.pricing-table-card tbody tr + tr td {
  border-top: 1px solid var(--ink-100);
}

.pricing-table-card tbody tr:hover {
  background: var(--brand-50);
}

.pricing-table-card td:last-child {
  font-family: var(--font-mono);
  font-weight: var(--fw-semibold);
  color: var(--brand-700);
  white-space: nowrap;
}


/* Bloque de factores que afectan el precio */
.pricing-factors {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
  margin-top: var(--space-7);
}

@media (min-width: 720px) {
  .pricing-factors { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .pricing-factors { grid-template-columns: repeat(4, 1fr); }
}

.pricing-factor {
  padding: var(--space-5);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  background: var(--bg-pure);
}

.pricing-factor__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--brand-50);
  color: var(--brand-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
}

.pricing-factor__name {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-base);
  line-height: var(--lh-snug);
  margin-bottom: var(--space-2);
}

.pricing-factor__desc {
  font-size: var(--fs-sm);
  color: var(--ink-500);
  line-height: var(--lh-normal);
}


/* ════════════════════════════════════════════════════════
   PACKAGES — Cards de paquetes pre-armados
   ════════════════════════════════════════════════════════ */

.packages-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
  margin-top: var(--space-8);
}

@media (min-width: 720px) {
  .packages-grid { grid-template-columns: repeat(2, 1fr); }
}

.package-card {
  position: relative;
  background: var(--bg-pure);
  border: 1.5px solid var(--ink-100);
  border-radius: var(--radius-xl);
  padding: var(--space-7) var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: transform var(--duration-base) var(--ease-out-expo),
              box-shadow var(--duration-slow) var(--ease-out-cubic),
              border-color var(--duration-base) var(--ease-out-cubic);
}

.package-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-300);
}

.package-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.package-card__tag {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--brand-700);
  padding: 4px 10px;
  background: var(--brand-50);
  border-radius: var(--radius-full);
}

.package-card__price {
  font-family: var(--font-mono);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-2xl);
  color: var(--ink-900);
  letter-spacing: var(--ls-tight);
}

.package-card__price small {
  font-size: var(--fs-xs);
  color: var(--ink-400);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-snug);
}

.package-card__title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-2xl);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--ink-900);
}

.package-card__lead {
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--ink-500);
}

.package-card__includes {
  list-style: none;
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4);
  background: var(--bg-cool);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
}

.package-card__includes li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: var(--ink-700);
  line-height: var(--lh-snugger);
}

.package-card__includes li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 7px;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 7px solid var(--brand-500);
}

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


/* ════════════════════════════════════════════════════════
   PROJECTS GALLERY — Galería de proyectos realizados
   ════════════════════════════════════════════════════════ */

.projects-filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-6);
  margin-bottom: var(--space-6);
}

.projects-filter button {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: var(--bg-pure);
  border: 1px solid var(--ink-200);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--ink-700);
  transition: all var(--duration-base) var(--ease-out-cubic);
  cursor: pointer;
}

.projects-filter button:hover {
  border-color: var(--brand-500);
  color: var(--brand-700);
}

.projects-filter button.is-active {
  background: var(--ink-900);
  color: var(--bg-pure);
  border-color: var(--ink-900);
}

.projects-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
}

.project-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-cool);
  cursor: pointer;
  transition: transform var(--duration-base) var(--ease-out-expo),
              box-shadow var(--duration-base) var(--ease-out-cubic);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.project-card__image {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  background: var(--brand-gradient);
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.project-card:hover .project-card__image {
  transform: scale(1.04);
}

.project-card__image svg {
  width: 100%;
  height: 100%;
  display: block;
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-5);
  background: linear-gradient(to top, rgba(14,15,26,0.9) 0%, rgba(14,15,26,0.5) 40%, transparent 80%);
  color: var(--bg-pure);
}

.project-card__category {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--brand-300);
  margin-bottom: var(--space-2);
}

.project-card__title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-lg);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
}

.project-card__meta {
  margin-top: var(--space-2);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono);
  letter-spacing: var(--ls-wide);
}


/* ════════════════════════════════════════════════════════
   ACCORDION — Para instrucciones y FAQs
   ════════════════════════════════════════════════════════ */

.accordion {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-7) auto 0;
  max-width: 880px;   /* legibilidad óptima en preguntas largas */
  width: 100%;
}

.accordion__item {
  background: var(--bg-pure);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--duration-base) var(--ease-out-cubic),
              box-shadow var(--duration-base) var(--ease-out-cubic);
}

.accordion__item[open] {
  border-color: var(--brand-300);
  box-shadow: var(--shadow-sm);
}

.accordion__summary {
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-lg);
  letter-spacing: var(--ls-tight);
  color: var(--ink-900);
  line-height: var(--lh-snugger);
  transition: background-color var(--duration-fast) var(--ease-out-cubic);
}

.accordion__summary::-webkit-details-marker { display: none; }

.accordion__summary:hover {
  background-color: var(--bg-soft);
}

.accordion__summary-num {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  color: var(--brand-700);
  flex-shrink: 0;
  min-width: 32px;
}

.accordion__summary-text {
  flex: 1;
}

.accordion__summary-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--bg-cool);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--duration-fast) var(--ease-out-cubic),
              transform var(--duration-base) var(--ease-out-expo);
}

.accordion__summary-icon::before,
.accordion__summary-icon::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 1.5px;
  background: var(--ink-700);
  transition: transform var(--duration-base) var(--ease-out-expo);
}

.accordion__summary-icon::after {
  transform: rotate(90deg);
}

.accordion__item[open] .accordion__summary-icon {
  background: var(--brand-500);
}

.accordion__item[open] .accordion__summary-icon::before,
.accordion__item[open] .accordion__summary-icon::after {
  background: var(--bg-pure);
}

.accordion__item[open] .accordion__summary-icon::after {
  transform: rotate(180deg);
}

.accordion__body {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--ink-600);
  line-height: var(--lh-relaxed);
  font-size: var(--fs-base);
}

.accordion__body > * + * { margin-top: var(--space-3); }

.accordion__steps {
  display: grid;
  gap: var(--space-3);
  list-style: none;
  counter-reset: step;
}

.accordion__steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px dashed var(--ink-100);
}

.accordion__steps li:last-child {
  border-bottom: none;
}

.accordion__steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  color: var(--brand-700);
  background: var(--brand-50);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
}

.accordion__warning {
  padding: var(--space-3) var(--space-4);
  background: #FFF4E6;
  border-left: 3px solid var(--warn);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  color: #8B5A12;
}


/* ════════════════════════════════════════════════════════
   INDUSTRIES — Cards de sectores (6 cards)
   ════════════════════════════════════════════════════════ */

.industries-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
  margin-top: var(--space-8);
}

@media (min-width: 600px) {
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
}

.industry-card {
  padding: var(--space-6);
  background: var(--bg-pure);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  transition: transform var(--duration-base) var(--ease-out-expo),
              border-color var(--duration-base) var(--ease-out-cubic),
              box-shadow var(--duration-base) var(--ease-out-cubic);
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--duration-base) var(--ease-out-expo);
}

.industry-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
}

.industry-card:hover::before {
  transform: scaleX(1);
}

.industry-card__num {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  color: var(--ink-400);
  margin-bottom: var(--space-4);
}

.industry-card__title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-xl);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--ink-900);
  margin-bottom: var(--space-3);
}

.industry-card__lead {
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  color: var(--ink-500);
  margin-bottom: var(--space-4);
}

.industry-card__products {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.industry-card__product {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-cool);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--ink-600);
}


/* ════════════════════════════════════════════════════════
   PILLARS — Layout asimétrico con números magazine
   ════════════════════════════════════════════════════════ */

.pillars {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
  margin-top: var(--space-8);
}

@media (min-width: 880px) {
  .pillars { grid-template-columns: repeat(2, 1fr); gap: var(--space-7); }
}

.pillar {
  position: relative;
  padding: var(--space-7) var(--space-6);
  background: var(--bg-pure);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  overflow: hidden;
  isolation: isolate;
}

.pillar::after {
  content: attr(data-num);
  position: absolute;
  top: -20px;
  right: -10px;
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: clamp(7rem, 14vw, 11rem);
  line-height: 1;
  color: var(--brand-50);
  letter-spacing: var(--ls-tightest);
  z-index: -1;
}

.pillar__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--brand-700);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.pillar__eyebrow::before {
  content: '';
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 7px solid var(--brand-500);
}

.pillar__title {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: var(--fs-2xl);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--ink-900);
}

.pillar__lead {
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--ink-600);
}

.pillar__metric {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--ink-100);
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
}

.pillar__metric-num {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: var(--fs-2xl);
  letter-spacing: var(--ls-tightest);
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.pillar__metric-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--ink-500);
}


/* ════════════════════════════════════════════════════════
   PROCESS — 4 pasos en línea de tiempo
   ════════════════════════════════════════════════════════ */

.process-steps {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
  margin-top: var(--space-8);
  position: relative;
}

@media (min-width: 880px) {
  .process-steps { grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
}

.process-step {
  position: relative;
  padding: var(--space-6);
  background: var(--bg-pure);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
}

@media (min-width: 880px) {
  .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -22px;
    transform: translateY(-50%);
    width: 0; height: 0;
    border-left: 8px solid var(--brand-500);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    z-index: 1;
  }
}

.process-step__num {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: var(--space-3);
}

.process-step__title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-lg);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  margin-bottom: var(--space-2);
}

.process-step__lead {
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  color: var(--ink-500);
}


/* ════════════════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════════════════ */

.testimonials-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
  margin-top: var(--space-8);
}

@media (min-width: 880px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial {
  padding: var(--space-6);
  background: var(--bg-pure);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
}

.testimonial__rating {
  display: flex;
  gap: 2px;
  color: var(--brand-500);
  font-size: var(--fs-base);
}

.testimonial__quote {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: var(--fs-lg);
  line-height: var(--lh-snugger);
  letter-spacing: var(--ls-tight);
  color: var(--ink-900);
}

.testimonial__quote::before {
  content: '"';
  font-size: 2em;
  line-height: 0;
  color: var(--brand-300);
  margin-right: 4px;
  vertical-align: -0.3em;
}

.testimonial__author {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--ink-100);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial__name {
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  color: var(--ink-900);
}

.testimonial__role {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  color: var(--ink-500);
}


/* ════════════════════════════════════════════════════════
   LOCATION / MAP block
   ════════════════════════════════════════════════════════ */

.location-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
  margin-top: var(--space-8);
}

@media (min-width: 880px) {
  .location-grid { grid-template-columns: 1fr 1.4fr; }
}

.location-info {
  padding: var(--space-6);
  background: var(--bg-pure);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.location-info__block h6 {
  margin-bottom: var(--space-2);
}

.location-info__block p {
  font-size: var(--fs-base);
  line-height: var(--lh-snugger);
  color: var(--ink-700);
  font-weight: var(--fw-medium);
}

.location-info__zones {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.location-info__zone {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--brand-50);
  color: var(--brand-700);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.map-embed {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--ink-100);
  background: var(--brand-gradient);
  aspect-ratio: 4 / 3;
  position: relative;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-embed__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--bg-pure);
  text-align: center;
  padding: var(--space-6);
}


/* ════════════════════════════════════════════════════════
   CTA SECTION final
   ════════════════════════════════════════════════════════ */

.cta-final {
  background: var(--ink-900);
  color: var(--bg-pure);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60vw;
  max-width: 700px;
  height: 60vw;
  max-height: 700px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%232D4ECC' stop-opacity='0.2'/%3E%3Cstop offset='100%25' stop-color='%23142555' stop-opacity='0.05'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M10 18 L90 18 L50 88 Z' fill='url(%23g)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  z-index: -1;
}

.cta-final__inner {
  display: grid;
  gap: var(--space-7);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 880px) {
  .cta-final__inner { grid-template-columns: 1.3fr 1fr; }
}

.cta-final h2 {
  color: var(--bg-pure);
  margin-bottom: var(--space-5);
}

.cta-final__text p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-6);
}

.cta-final__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.cta-final__contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--bg-pure);
  transition: background-color var(--duration-fast) var(--ease-out-cubic);
}

.cta-final__contact-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cta-final__contact-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--brand-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-pure);
  flex-shrink: 0;
}


/* ════════════════════════════════════════════════════════
   GUARANTEE / WARRANTY block
   ════════════════════════════════════════════════════════ */

.guarantee {
  padding: var(--space-8) var(--space-6);
  background: var(--brand-gradient);
  color: var(--bg-pure);
  border-radius: var(--radius-2xl);
  margin-top: var(--space-8);
  position: relative;
  overflow: hidden;
}

.guarantee::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath d='M14 22 L106 22 L60 110 Z' fill='none' stroke='%23ffffff' stroke-width='0.5' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
}

.guarantee__inner {
  position: relative;
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 880px) {
  .guarantee__inner { grid-template-columns: 1fr 1.3fr; }
}

.guarantee__seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  position: relative;
  margin-inline: auto;
}

.guarantee__seal-num {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: 4rem;
  line-height: 1;
  letter-spacing: var(--ls-tightest);
  color: var(--bg-pure);
}

.guarantee__seal-circle {
  position: absolute;
  inset: -10px;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: guarantee-rotate 30s linear infinite;
}

@keyframes guarantee-rotate {
  to { transform: rotate(360deg); }
}

.guarantee__title {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: var(--fs-3xl);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--bg-pure);
  margin-bottom: var(--space-4);
}

.guarantee__lead {
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-5);
}

.guarantee__list {
  list-style: none;
  display: grid;
  gap: var(--space-2);
}

.guarantee__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: rgba(255, 255, 255, 0.95);
  line-height: var(--lh-snugger);
  font-weight: var(--fw-medium);
}

.guarantee__list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: var(--bg-pure);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: var(--fw-bold);
  margin-top: 2px;
}

/* ════════════════════════════════════════════════════════
   MOBILE MENU DRAWER — funcional, accesible
   ════════════════════════════════════════════════════════ */

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 420px);
  background: var(--bg-pure);
  z-index: calc(var(--z-header) + 5);
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-out-expo);
  display: flex;
  flex-direction: column;
  padding: var(--space-7) var(--space-6);
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}

.mobile-menu[data-open="true"] {
  transform: translateX(0);
}

@media (min-width: 980px) {
  .mobile-menu { display: none; }
}

.mobile-menu__close {
  align-self: flex-end;
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: var(--bg-cool);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  transition: background var(--duration-base);
}
.mobile-menu__close:hover { background: var(--ink-100); }
.mobile-menu__close svg { width: 18px; height: 18px; }

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-7);
}

.mobile-menu__nav a {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: var(--fs-2xl);
  line-height: 1.2;
  letter-spacing: var(--ls-tight);
  color: var(--ink-900);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--ink-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--duration-fast);
}
.mobile-menu__nav a:hover { color: var(--brand-700); }
.mobile-menu__nav a::after {
  content: '→';
  font-family: var(--font-mono);
  color: var(--ink-300);
  font-size: var(--fs-base);
  transition: transform var(--duration-base) var(--ease-out-expo), color var(--duration-base);
}
.mobile-menu__nav a:hover::after {
  transform: translateX(4px);
  color: var(--brand-500);
}

.mobile-menu__contact {
  margin-top: auto;
  padding-top: var(--space-5);
  border-top: 1px solid var(--ink-100);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.mobile-menu__contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--ink-700);
}

.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 15, 26, 0.4);
  backdrop-filter: blur(4px);
  z-index: calc(var(--z-header) + 4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-out-cubic);
}

.mobile-menu__overlay[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

/* Bloquear scroll del body cuando menu abierto */
body[data-menu-open="true"] {
  overflow: hidden;
}


/* ════════════════════════════════════════════════════════
   QUOTE CALCULATOR — Cotizador interactivo
   ════════════════════════════════════════════════════════ */

.quote-calc {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
  margin-top: var(--space-8);
  background: var(--bg-pure);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

@media (min-width: 980px) {
  .quote-calc { grid-template-columns: 1.4fr 1fr; gap: 0; }
}

.quote-calc__form {
  padding: var(--space-7) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.quote-calc__group label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: var(--space-3);
}

.quote-calc__options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.quote-calc__option {
  position: relative;
}

.quote-calc__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quote-calc__option label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.625rem 1.125rem;
  border-radius: var(--radius-full);
  background: var(--bg-pure);
  border: 1.5px solid var(--ink-200);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--ink-700);
  margin: 0;
  cursor: pointer;
  text-transform: none;
  letter-spacing: var(--ls-snug);
  transition: all var(--duration-base) var(--ease-out-cubic);
  white-space: nowrap;
}

.quote-calc__option:hover label {
  border-color: var(--brand-400);
  color: var(--brand-700);
}

.quote-calc__option input:checked + label {
  background: var(--ink-900);
  color: var(--bg-pure);
  border-color: var(--ink-900);
}

.quote-calc__option input:focus-visible + label {
  outline: 2px solid var(--accent-electric);
  outline-offset: 2px;
}

/* Input de cantidad */
.quote-calc__quantity {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--ink-200);
  border-radius: var(--radius-full);
  overflow: hidden;
  width: fit-content;
}

.quote-calc__qty-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--ink-700);
  transition: background var(--duration-fast);
}

.quote-calc__qty-btn:hover { background: var(--bg-cool); }

.quote-calc__qty-btn:disabled {
  color: var(--ink-300);
  cursor: not-allowed;
}

.quote-calc__qty-input {
  width: 60px;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-base);
  color: var(--ink-900);
  border: none;
  background: transparent;
  -moz-appearance: textfield;
}

.quote-calc__qty-input::-webkit-outer-spin-button,
.quote-calc__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Resultado del cotizador */
.quote-calc__result {
  background: var(--brand-gradient);
  color: var(--bg-pure);
  padding: var(--space-7) var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-5);
  position: relative;
  overflow: hidden;
}

.quote-calc__result::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath d='M14 22 L106 22 L60 110 Z' fill='none' stroke='%23ffffff' stroke-width='0.5' opacity='0.1'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  pointer-events: none;
}

.quote-calc__result > * { position: relative; }

.quote-calc__result-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.quote-calc__result-price {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: clamp(2.75rem, 5vw, 4rem);
  line-height: 1;
  color: var(--bg-pure);
  letter-spacing: var(--ls-tightest);
  transition: opacity var(--duration-base) var(--ease-out-cubic),
              transform var(--duration-slow) var(--ease-out-expo);
}

.quote-calc__result-price.is-updating {
  opacity: 0;
  transform: translateY(8px);
}

.quote-calc__result-currency {
  font-family: var(--font-mono);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
}

.quote-calc__result-detail {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.85);
  line-height: var(--lh-snugger);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}


/* ════════════════════════════════════════════════════════
   STICKY MOBILE CTA — barra inferior fija
   ════════════════════════════════════════════════════════ */

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: calc(var(--z-whatsapp) - 1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--ink-100);
  box-shadow: 0 -8px 32px rgba(14, 15, 26, 0.08);
  display: flex;
  gap: var(--space-2);
  padding: var(--space-3);
  transform: translateY(100%);
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.sticky-cta[data-visible="true"] {
  transform: translateY(0);
}

@media (min-width: 720px) {
  .sticky-cta { display: none; }
}

.sticky-cta__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  min-height: 48px;
  transition: transform var(--duration-base) var(--ease-out-expo);
}

.sticky-cta__btn:active { transform: scale(0.97); }

.sticky-cta__btn--call {
  background: var(--ink-900);
  color: var(--bg-pure);
}

.sticky-cta__btn--whatsapp {
  background: var(--whatsapp);
  color: var(--bg-pure);
  flex: 1.5;
}

.sticky-cta__btn svg {
  width: 18px;
  height: 18px;
}

/* Cuando el sticky-cta está visible en mobile, ajustar position del whatsapp-float */
@media (max-width: 720px) {
  .sticky-cta[data-visible="true"] ~ .whatsapp-float {
    bottom: 84px;
  }
}


/* ════════════════════════════════════════════════════════
   TRUST BADGES — Pagos, certificaciones, garantías
   ════════════════════════════════════════════════════════ */

.trust-badges {
  background: var(--bg-pure);
  border-block: 1px solid var(--ink-100);
  padding-block: var(--space-8);
}

.trust-badges__inner {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 880px) {
  .trust-badges__inner {
    grid-template-columns: auto 1fr;
    gap: var(--space-8);
  }
}

.trust-badges__heading {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--ink-500);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  white-space: nowrap;
}

.trust-badges__heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ink-200);
  display: block;
  width: 40px;
}

.trust-badges__items {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5) var(--space-7);
  align-items: center;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--ink-600);
  white-space: nowrap;
  transition: color var(--duration-fast);
}

.trust-badge:hover { color: var(--brand-700); }

.trust-badge svg {
  flex-shrink: 0;
  color: var(--brand-500);
}


/* ════════════════════════════════════════════════════════
   AGGREGATE RATING WIDGET — Reviews destacadas
   ════════════════════════════════════════════════════════ */

.rating-widget {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--bg-pure);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.rating-widget__stars {
  display: flex;
  gap: 1px;
  font-size: var(--fs-base);
  color: #FBA02C;
}

.rating-widget__score {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  color: var(--ink-900);
  font-size: var(--fs-base);
  letter-spacing: var(--ls-tight);
}

.rating-widget__count {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--ink-500);
  letter-spacing: var(--ls-snug);
}

.rating-widget__google {
  font-size: var(--fs-xs);
  color: var(--ink-400);
  font-family: var(--font-mono);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  padding-left: var(--space-3);
  border-left: 1px solid var(--ink-100);
}


/* ════════════════════════════════════════════════════════
   BREADCRUMBS visuales (en fichas)
   ════════════════════════════════════════════════════════ */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.breadcrumbs a {
  color: var(--ink-500);
  transition: color var(--duration-fast);
}

.breadcrumbs a:hover { color: var(--brand-700); }

.breadcrumbs__separator {
  color: var(--ink-300);
}

.breadcrumbs__current {
  color: var(--ink-900);
  font-weight: var(--fw-medium);
}


/* ════════════════════════════════════════════════════════
   QUICK ANSWER / TL;DR — Bloque citable por IA
   ════════════════════════════════════════════════════════ */

.quick-answer {
  position: relative;
  padding: var(--space-6) var(--space-6) var(--space-6) var(--space-7);
  background: var(--bg-pure);
  border: 1px solid var(--ink-100);
  border-left: 4px solid var(--brand-500);
  border-radius: var(--radius-md);
  margin: var(--space-6) auto;
  max-width: var(--reading-width);  /* limitar ancho interno para legibilidad */
}

.quick-answer__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: var(--space-3);
}

.quick-answer__label::before {
  content: '';
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 7px solid var(--brand-500);
}

.quick-answer__text {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--ink-800);
  font-weight: var(--fw-regular);
}

.quick-answer__text strong {
  color: var(--ink-900);
  font-weight: var(--fw-semibold);
}


/* ════════════════════════════════════════════════════════
   GLOSSARY — Términos definidos para IA citation
   ════════════════════════════════════════════════════════ */

.glossary-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
  margin-top: var(--space-8);
}

@media (min-width: 720px) {
  .glossary-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
}

.glossary-term {
  padding: var(--space-5) var(--space-6);
  background: var(--bg-pure);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-base);
}

.glossary-term:hover { border-color: var(--brand-200); }

.glossary-term dt {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-lg);
  letter-spacing: var(--ls-tight);
  color: var(--ink-900);
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.glossary-term dt::before {
  content: '';
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid var(--brand-500);
  flex-shrink: 0;
}

.glossary-term dd {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--ink-600);
}


/* ════════════════════════════════════════════════════════
   NEWSLETTER FORM — Lead magnet capture
   ════════════════════════════════════════════════════════ */

.newsletter {
  background: var(--ink-900);
  color: var(--bg-pure);
  padding-block: var(--section-py);
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 50vw;
  max-width: 600px;
  height: 50vw;
  max-height: 600px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%232D4ECC' stop-opacity='0.15'/%3E%3Cstop offset='100%25' stop-color='%23142555' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M10 18 L90 18 L50 88 Z' fill='url(%23g)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.newsletter__inner {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
  align-items: center;
  position: relative;
}

@media (min-width: 880px) {
  .newsletter__inner { grid-template-columns: 1.2fr 1fr; gap: var(--space-9); }
}

.newsletter h2 {
  color: var(--bg-pure);
  margin-bottom: var(--space-4);
}

.newsletter__lead {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-5);
}

.newsletter__benefits {
  list-style: none;
  display: grid;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.85);
}

.newsletter__benefits li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.newsletter__benefits li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  color: var(--bg-pure);
  margin-top: 2px;
}

.newsletter__form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.newsletter__form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.newsletter__form-group label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.newsletter__form input[type="email"],
.newsletter__form input[type="text"] {
  width: 100%;
  padding: 0.875rem 1.125rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  color: var(--bg-pure);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  transition: border-color var(--duration-base) var(--ease-out-cubic),
              background var(--duration-base);
}

.newsletter__form input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.newsletter__form input:focus {
  outline: none;
  border-color: var(--brand-400);
  background: rgba(255, 255, 255, 0.12);
}

.newsletter__form-microcopy {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: var(--ls-snug);
  margin-top: var(--space-3);
}

.newsletter__success {
  padding: var(--space-5);
  background: rgba(22, 163, 74, 0.15);
  border: 1px solid rgba(22, 163, 74, 0.3);
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.95);
  font-size: var(--fs-sm);
  display: none;
}

.newsletter__form[data-state="success"] .newsletter__form-content { display: none; }
.newsletter__form[data-state="success"] .newsletter__success { display: block; }


/* ════════════════════════════════════════════════════════
   LAST UPDATED + AUTHORITY SIGNAL (E-E-A-T)
   ════════════════════════════════════════════════════════ */

.authority-signal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5) var(--space-7);
  align-items: center;
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--ink-100);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--ink-400);
}

.authority-signal__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.authority-signal__item strong {
  color: var(--ink-700);
  font-weight: var(--fw-medium);
}

.authority-signal__icon {
  width: 14px;
  height: 14px;
  color: var(--brand-500);
  flex-shrink: 0;
}


/* ════════════════════════════════════════════════════════
   PRODUCT CARD — variante con FOTO REAL del producto
   ════════════════════════════════════════════════════════ */

.product-card__visual--photo {
  background: #F8F9FB;  /* fondo claro casi blanco — combina con las fotos */
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__visual--photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;          /* mostrar imagen completa */
  object-position: center;
  display: block;
  padding: 8px;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.product-card:hover .product-card__visual--photo img {
  transform: scale(1.03);
}

/* Tag superior en cards con foto — más visible sobre fondo claro */
.product-card__visual--photo .product-card__visual-tag {
  background: var(--brand-700);
  color: var(--bg-pure);
}

.product-card__visual--photo .product-card__number {
  color: var(--ink-700);
  background: rgba(255, 255, 255, 0.85);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}


/* ════════════════════════════════════════════════════════
   FICHA VISUAL — variante con FOTO REAL del producto
   ════════════════════════════════════════════════════════ */

.ficha__visual--photo {
  background: #F8F9FB;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ficha__visual--photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 16px;
}

.ficha__visual--photo .ficha__visual-tag {
  background: var(--brand-700);
  color: var(--bg-pure);
}


/* ════════════════════════════════════════════════════════
   CAROUSEL CONTROLS — auto-play + pausa inteligente
   ════════════════════════════════════════════════════════ */

.product-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding-inline: var(--space-2);
}

.product-carousel__status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--ink-500);
  transition: color var(--duration-base);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-300);
  display: inline-block;
  transition: background-color var(--duration-base);
  flex-shrink: 0;
}

.status-dot--active {
  background: #16A34A;  /* verde = activo */
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6);
  animation: pulse-green 2s ease-out infinite;
}

@keyframes pulse-green {
  0%   { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

[data-carousel-status][data-state="paused"] .status-dot--active {
  background: var(--ink-400);
  animation: none;
}

/* Controles */
.product-carousel__controls {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-pure);
  border: 1.5px solid var(--ink-200);
  color: var(--ink-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out-expo);
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--bg-pure);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.carousel-btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.carousel-btn:focus-visible {
  outline: 2px solid var(--accent-electric);
  outline-offset: 2px;
}

.carousel-btn--toggle {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--bg-pure);
}

.carousel-btn--toggle:hover {
  background: var(--brand-700);
  border-color: var(--brand-700);
}

.carousel-btn--toggle[aria-pressed="true"] .icon-pause { display: none; }
.carousel-btn--toggle[aria-pressed="true"] .icon-play  { display: block !important; }


/* Track del carrusel — quitar scrollbar visible cuando auto-play */
.product-carousel__track {
  scroll-snap-type: x proximity;  /* proximity = más suave que mandatory */
  scrollbar-width: none;
}
.product-carousel__track::-webkit-scrollbar { display: none; }

.product-carousel[data-playing="true"] .product-carousel__track {
  scroll-snap-type: none;  /* auto-play no necesita snap */
}

/* En mobile, mantener snap fuerte (touch nativo) */
@media (pointer: coarse) {
  .product-carousel__track {
    scroll-snap-type: x mandatory;
  }
  .product-carousel__track::-webkit-scrollbar { display: block; height: 4px; }
  .product-carousel__track::-webkit-scrollbar-thumb { background: var(--ink-300); border-radius: 2px; }
}



/* ════════════════════════════════════════════════════════
   PHOTO CARDS — Posicionar número/badge ABAJO (no encima del logo)
   Las imágenes ya tienen texto + logo en la parte superior
   ════════════════════════════════════════════════════════ */

/* En cards con foto: número va abajo izquierda */
.product-card__visual--photo .product-card__number {
  top: auto;
  bottom: var(--space-3);
  left: var(--space-3);
  background: rgba(14, 15, 26, 0.85);
  color: var(--bg-pure);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
  font-weight: var(--fw-semibold);
}

/* En cards con foto: badge va abajo derecha */
.product-card__visual--photo .product-card__visual-tag {
  top: auto;
  bottom: var(--space-3);
  right: var(--space-3);
  background: var(--brand-700);
  color: var(--bg-pure);
  box-shadow: var(--shadow-md);
}


/* En FICHAS con foto: badge tag va abajo izquierda */
.ficha__visual--photo .ficha__visual-tag {
  top: auto;
  bottom: var(--space-4);
  left: var(--space-4);
  background: var(--brand-700);
  color: var(--bg-pure);
  box-shadow: var(--shadow-md);
}



/* ════════════════════════════════════════════════════════
   PHOTO CARDS — Reposicionar número/badge a la parte INFERIOR
   Las imágenes ya tienen el nombre del producto y el logo
   triangular arriba; el badge va abajo para no empalmar.
   ════════════════════════════════════════════════════════ */

.product-card__visual--photo .product-card__number {
  top: auto;
  bottom: var(--space-3);
  left: var(--space-3);
  background: rgba(14, 15, 26, 0.88);
  color: var(--bg-pure);
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-snug);
  backdrop-filter: blur(6px);
}

.product-card__visual--photo .product-card__visual-tag {
  top: auto;
  bottom: var(--space-3);
  right: var(--space-3);
  background: var(--brand-700);
  color: var(--bg-pure);
  box-shadow: var(--shadow-md);
}

/* Lo mismo para fichas detalladas con foto */
.ficha__visual--photo .ficha__visual-tag {
  top: auto;
  bottom: var(--space-4);
  left: var(--space-4);
  background: var(--brand-700);
  color: var(--bg-pure);
  box-shadow: var(--shadow-md);
}


/* ════════════════════════════════════════════════════════
   HERO PHOTO — variante con foto real del taller
   Best practices: NN/g hero, context-driven, safe zone para overlays
   ════════════════════════════════════════════════════════ */

.hero__visual--photo {
  position: relative;
  overflow: hidden;
  background: var(--ink-900);  /* fallback durante carga */
  /* Override del gradiente del SVG */
}

.hero__photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;  /* foto completa, sin zoom; bg dark del hero rellena los lados */
  display: block;
}

@media (max-width: 1024px) {
  .hero__photo img {
    object-position: center center;
    object-fit: contain;  /* mobile también muestra foto completa */
  }
}

/* Overlay sutil para dar profundidad y mejorar contraste con stickers */
.hero__photo-overlay {
  position: absolute;
  inset: 0;
  background:
    /* Gradiente sutil para dar profundidad sin oscurecer al técnico */
    linear-gradient(
      90deg,
      rgba(14, 15, 26, 0.18) 0%,
      transparent 30%,
      transparent 70%,
      rgba(20, 37, 85, 0.12) 100%
    ),
    /* Vignette muy sutil */
    radial-gradient(
      ellipse at 65% 50%,
      transparent 50%,
      rgba(14, 15, 26, 0.15) 100%
    );
  pointer-events: none;
  z-index: 1;
}

/* Stickers ya existen, solo ajustamos z-index para que estén sobre el overlay */
.hero__visual--photo .hero__sticker {
  z-index: 2;
}

/* Badge de trust en esquina inferior izquierda */
.hero__photo-badge {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 12px;
  background: rgba(14, 15, 26, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  color: var(--bg-pure);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-snug);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero__photo-badge svg {
  color: #22D3EE;
  flex-shrink: 0;
}

/* Coordenadas técnicas — mantener look blueprint editorial */
.hero__photo-meta {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 2;
  pointer-events: none;
}

.hero__photo-coord {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(14, 15, 26, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

/* En mobile, reducir intensidad del overlay */
@media (max-width: 720px) {
  .hero__photo img {
    object-position: center 35%;
  }
  
  .hero__photo-badge {
    bottom: var(--space-3);
    left: var(--space-3);
    padding: 6px 10px;
    font-size: 10px;
  }
  
  .hero__photo-badge span {
    /* En pantallas muy pequeñas, ocultar el texto, dejar solo el icono */
  }
  
  .hero__photo-meta {
    display: none;  /* coordenadas son detalle premium, no críticas en mobile */
  }
}

/* Subtle hover effect en desktop — sensación de "vida" */
@media (hover: hover) and (min-width: 768px) {
  .hero__visual--photo {
    transition: transform var(--duration-slow) var(--ease-out-expo);
  }
  
  .hero__photo img {
    transition: transform 12s ease-out;
  }
  
  .hero__visual--photo:hover .hero__photo img {
    transform: scale(1.04);  /* zoom muy lento, cinematográfico */
  }
}


/* ════════════════════════════════════════════════════════
   PORTFOLIO WALL — 3 filas auto-scroll en direcciones alternadas
   Estilo: Apple, Spotify, estudios creativos top
   Performance: CSS animation (GPU), no JS rAF
   ════════════════════════════════════════════════════════ */

.portfolio-wall {
  background: var(--bg-soft);
  overflow: hidden;
  padding-block: clamp(2.5rem, 4vw, 4rem);
}

.portfolio-wall__inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-block: var(--space-5);
  mask-image: linear-gradient(to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%);
  -webkit-mask-image: linear-gradient(to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%);
}

.portfolio-row {
  overflow: hidden;
  width: 100%;
}

.portfolio-track {
  display: flex;
  gap: 10px;                /* gap más compacto entre cards */
  width: max-content;
  will-change: transform;
}

/* ─── Direcciones alternadas ─── */
.portfolio-row--rtl .portfolio-track {
  animation: portfolio-scroll-rtl 55s linear infinite;
}

.portfolio-row--ltr .portfolio-track {
  animation: portfolio-scroll-ltr 65s linear infinite;
}

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

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

/* ─── Pausa por hover (sobre TODO el wall, no solo la fila) ─── */
.portfolio-wall__inner:hover .portfolio-track,
.portfolio-wall__inner:focus-within .portfolio-track {
  animation-play-state: paused;
}

/* ─── Reduced motion: detiene todo, deja el wall estático ─── */
@media (prefers-reduced-motion: reduce) {
  .portfolio-track {
    animation: none !important;
    /* Mostrar solo los primeros items, sin scroll */
    transform: translateX(0);
  }
}


/* ════════════════════════════════════════════════════════
   PORTFOLIO ITEM — card individual
   ════════════════════════════════════════════════════════ */

.portfolio-item {
  flex: 0 0 auto;
  width: clamp(160px, 16vw, 220px);    /* mucho más compactas */
  aspect-ratio: 5 / 4;                  /* ligeramente más anchas que altas */
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: var(--ink-100);
  cursor: pointer;
  transition: transform var(--duration-base) var(--ease-out-expo),
              box-shadow var(--duration-base) var(--ease-out-expo);
  box-shadow: 0 4px 12px rgba(14, 15, 26, 0.06);
}

.portfolio-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(14, 15, 26, 0.18);
  z-index: 2;
}

/* Visual del item: el gradiente + patrón decorativo */
.portfolio-item__visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.portfolio-item__pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Cuando el usuario suba fotos reales, esto reemplaza el visual con la imagen */
.portfolio-item__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Badge de categoría — esquina superior izquierda */
.portfolio-item__category {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  background: rgba(14, 15, 26, 0.92);   /* casi sólido */
  color: #fff;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);   /* sombra extra para destacar */
}

/* Info inferior — overlay con gradiente */
.portfolio-item__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 10px 10px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.85) 30%,
    rgba(0, 0, 0, 0.55) 60%,
    rgba(0, 0, 0, 0.15) 85%,
    transparent 100%
  );
  color: #fff;
  z-index: 2;
}

.portfolio-item__title {
  font-size: 12px;                      /* más chico para cards compactas */
  font-weight: 700;                     /* más bold para legibilidad */
  line-height: 1.2;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);   /* sombra para legibilidad */
}

.portfolio-item__subtitle {
  font-size: 10px;
  opacity: 0.92;
  line-height: 1.3;
  margin: 0;
  color: #f3f4f6;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  /* Truncar si excede una línea — limpia visual */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* ════════════════════════════════════════════════════════
   PORTFOLIO CTA — al final del wall
   ════════════════════════════════════════════════════════ */

.portfolio-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-5);
  padding: var(--space-6);
  margin-top: var(--space-7);
  background: var(--bg-pure);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.portfolio-cta__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--ink-900);
  margin-bottom: 4px;
  line-height: 1.3;
}

.portfolio-cta__sub {
  font-size: var(--fs-sm);
  color: var(--ink-500);
  margin: 0;
}

@media (max-width: 720px) {
  .portfolio-cta {
    flex-direction: column;
    text-align: center;
    align-items: stretch;
  }
}


/* ════════════════════════════════════════════════════════
   MOBILE — Reducir altura de las cards
   ════════════════════════════════════════════════════════ */

@media (max-width: 720px) {
  .portfolio-item {
    width: 150px;
  }
  
  .portfolio-item__title {
    font-size: 11px;
  }
  
  .portfolio-item__subtitle {
    font-size: 9px;
  }
  
  .portfolio-item__category {
    font-size: 8px;
    padding: 2px 6px;
  }
  
  .portfolio-row--rtl .portfolio-track {
    animation-duration: 50s;
  }
  
  .portfolio-row--ltr .portfolio-track {
    animation-duration: 60s;
  }
}


/* ════════════════════════════════════════════════════════
   PORTFOLIO WALL — Optimización para fotos reales
   Las fotos del taller varían en composición. Estas reglas
   normalizan visualmente para presentación profesional.
   ════════════════════════════════════════════════════════ */

/* Override: las fotos reemplazan al visual SVG placeholder */
.portfolio-item--photo {
  background: var(--ink-900);   /* fallback durante carga */
}

.portfolio-item__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Posición optimizada: muestra parte alta del roll-up (logo)
     y centro de paredes horizontales — funciona para 90% de los casos */
  object-position: center 35%;
  display: block;
  transition: transform 800ms var(--ease-out-expo),
              filter 400ms var(--ease-out);
  /* Filtros sutiles para uniformidad visual entre fotos del taller */
  filter: brightness(1.02) saturate(1.05) contrast(1.03);
}

/* Vignette sutil para dar uniformidad y peso visual */
.portfolio-item--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* Sombra arriba para que badge categoría se lea sobre cualquier foto */
    linear-gradient(to bottom,
      rgba(14, 15, 26, 0.35) 0%,
      transparent 25%,
      transparent 60%,
      rgba(14, 15, 26, 0.25) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Hover: zoom suave + brillo realzado */
.portfolio-item--photo:hover .portfolio-item__photo {
  transform: scale(1.06);
  filter: brightness(1.08) saturate(1.12) contrast(1.05);
}

/* La info y el badge deben quedar SOBRE la vignette */
.portfolio-item--photo .portfolio-item__category,
.portfolio-item--photo .portfolio-item__info {
  z-index: 2;
}

/* Mejorar el gradient del info para fotos */
.portfolio-item--photo .portfolio-item__info {
  background: linear-gradient(
    to top,
    rgba(14, 15, 26, 0.95) 0%,
    rgba(14, 15, 26, 0.7) 40%,
    rgba(14, 15, 26, 0.3) 75%,
    transparent 100%
  );
  padding: var(--space-6) var(--space-3) var(--space-3);
}

/* Mobile: ajuste de object-position para roll-ups muy verticales */
@media (max-width: 720px) {
  .portfolio-item__photo {
    object-position: center 40%;
  }
}

/* ─── Object-position específico para fotos puntuales ──── */
/* Fotos donde el banner está en una posición distinta a "center 35%" */

/* Sotheby's caballete: el cartel está abajo */
.portfolio-item--photo img[src*="sothebys"] { object-position: center 55%; }

/* Bandera contratando: foto vertical alta, el texto está al centro */
.portfolio-item--photo img[src*="bandera-contratando"] { object-position: center 45%; }

/* Padexel banderas fly: el texto está en la parte media-alta */
.portfolio-item--photo img[src*="padexel-bandera-1"] { object-position: center 30%; }
.portfolio-item--photo img[src*="padexel-bandera-2"] { object-position: center 30%; }

/* SC Johnson detalle (close-up del logo): muestra centrado */
.portfolio-item--photo img[src*="scjohnson-detalle"] { object-position: center 45%; }

/* Vector logistics: las fotos son escenas amplias */
.portfolio-item--photo img[src*="vector-logistics-aereo"] { object-position: center 30%; }
.portfolio-item--photo img[src*="vector-logistics-contenedores"] { object-position: center 30%; }
.portfolio-item--photo img[src*="vector-logistics-barco"] { object-position: center 45%; }

/* Top2Top vista (sala de juntas amplia): hay que enfocar al banner */
.portfolio-item--photo img[src*="top2top-vista"] { object-position: center 25%; }

/* UAVVI: el banner del cliente está a la derecha */
.portfolio-item--photo img[src*="uavvi"] { object-position: 65% 50%; }

/* Mersen solar: tiene mucha foto, enfocar arriba donde está el logo */
.portfolio-item--photo img[src*="mersen-solar"] { object-position: center 20%; }
.portfolio-item--photo img[src*="mersen-industrial"] { object-position: center 25%; }

/* Bandera contratando ladeada por el sol */
.portfolio-item--photo img[src*="bandera-contratando"] { object-position: 30% 40%; }



/* ════════════════════════════════════════════════════════
   PRICING CALLOUT — Banner destacado tras tabla de precios
   3 puntos clave: IVA + Mayoreo + Convenios con agencias
   ════════════════════════════════════════════════════════ */

.pricing-callout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-7);
  padding: var(--space-6);
  background: linear-gradient(135deg, 
    rgba(45, 78, 204, 0.04) 0%,
    rgba(20, 37, 85, 0.06) 100%);
  border: 1px solid rgba(45, 78, 204, 0.12);
  border-radius: var(--radius-lg);
  position: relative;
}

.pricing-callout::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--space-6);
  right: var(--space-6);
  height: 3px;
  background: var(--brand-gradient);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.pricing-callout__item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.pricing-callout__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-gradient);
  color: var(--bg-pure);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(45, 78, 204, 0.25);
}

.pricing-callout__content {
  flex: 1;
}

.pricing-callout__content h4 {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--ink-900);
  margin-bottom: 4px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.pricing-callout__content p {
  font-size: var(--fs-sm);
  color: var(--ink-500);
  line-height: 1.5;
  margin: 0;
}

.pricing-callout__content strong {
  color: var(--ink-900);
  font-weight: var(--fw-semibold);
}

.pricing-callout__cta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px dashed rgba(45, 78, 204, 0.18);
}

.pricing-callout__cta .btn {
  background: #25D366;
  color: white;
}

.pricing-callout__cta .btn:hover {
  background: #20BA58;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

/* Mobile */
@media (max-width: 900px) {
  .pricing-callout {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    padding: var(--space-5);
  }
  
  .pricing-callout__cta {
    margin-top: var(--space-3);
    padding-top: var(--space-4);
  }
}


/* ════════════════════════════════════════════════════════
   CONTACTO — Formulario premium + Ubicación con mapa
   Best practices: 
   - UX claro y agrupado (fieldsets numerados)
   - Validación en vivo sin asustar
   - CTA dominante con loader
   - Mapa con info clickeable (tel:, maps, wa.me)
   ════════════════════════════════════════════════════════ */

.section--contact {
  background: linear-gradient(180deg,
    var(--bg-soft) 0%,
    var(--bg-pure) 50%,
    var(--bg-soft) 100%);
  padding-block: clamp(4rem, 7vw, 7rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(2rem, 3vw, 3rem);
  margin-top: var(--space-8);
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }
}

/* ─────────────────────────────────────────────────
   FORMULARIO PREMIUM
   ───────────────────────────────────────────────── */

.contact-form-wrap {
  position: relative;
}

.contact-form {
  background: var(--bg-pure);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow:
    0 4px 12px rgba(14, 15, 26, 0.04),
    0 24px 60px rgba(14, 15, 26, 0.06);
  position: relative;
  transition: box-shadow var(--duration-base) var(--ease-out);
}

.contact-form:focus-within {
  box-shadow:
    0 8px 24px rgba(45, 78, 204, 0.08),
    0 32px 80px rgba(45, 78, 204, 0.12);
}

.contact-form__group {
  border: none;
  padding: 0;
  margin: 0 0 var(--space-6) 0;
}

.contact-form__group + .contact-form__group {
  padding-top: var(--space-5);
  border-top: 1px dashed var(--ink-100);
}

.contact-form__legend {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--ink-900);
  margin-bottom: var(--space-5);
  letter-spacing: -0.01em;
  width: 100%;
}

.contact-form__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--brand-gradient);
  color: var(--bg-pure);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: var(--fw-bold);
  letter-spacing: 0;
  flex-shrink: 0;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

@media (max-width: 600px) {
  .contact-form__row {
    grid-template-columns: 1fr;
  }
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.contact-form__field:last-child {
  margin-bottom: 0;
}

.contact-form__field label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--ink-700);
  letter-spacing: -0.005em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-form__field label span[aria-hidden="true"] {
  color: #DC2626;
}

.contact-form__optional {
  font-weight: var(--fw-regular);
  color: var(--ink-400);
  font-size: 11px;
  padding: 2px 6px;
  background: var(--ink-50);
  border-radius: var(--radius-sm);
  letter-spacing: 0;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  color: var(--ink-900);
  background: var(--bg-pure);
  border: 1.5px solid var(--ink-100);
  border-radius: var(--radius-md);
  transition: border-color 150ms ease, box-shadow 150ms ease;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: var(--ink-300);
}

.contact-form__field input:hover,
.contact-form__field select:hover,
.contact-form__field textarea:hover {
  border-color: var(--ink-300);
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: #2D4ECC;
  box-shadow: 0 0 0 4px rgba(45, 78, 204, 0.10);
}

/* Estado de error */
.contact-form__field.has-error input,
.contact-form__field.has-error select,
.contact-form__field.has-error textarea {
  border-color: #DC2626;
  background: rgba(220, 38, 38, 0.02);
}

.contact-form__field.has-error input:focus,
.contact-form__field.has-error select:focus,
.contact-form__field.has-error textarea:focus {
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.10);
}

.contact-form__error {
  font-size: 12px;
  color: #DC2626;
  font-weight: var(--fw-medium);
  min-height: 0;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 150ms, transform 150ms;
}

.contact-form__field.has-error .contact-form__error {
  opacity: 1;
  transform: translateY(0);
  min-height: 1.2em;
}

/* Select arrow custom */
.contact-form__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 100px;
  font-family: var(--font-sans);
  line-height: 1.5;
}

/* Checkboxes */
.contact-form__checks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.contact-form__check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-soft);
  border: 1.5px solid var(--ink-100);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 150ms ease;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--ink-700);
  user-select: none;
}

.contact-form__check:hover {
  border-color: var(--ink-300);
  background: var(--bg-pure);
}

.contact-form__check input {
  margin: 0;
  cursor: pointer;
  accent-color: #2D4ECC;
}

.contact-form__check:has(input:checked) {
  background: rgba(45, 78, 204, 0.06);
  border-color: #2D4ECC;
  color: #2D4ECC;
}

/* Footer del form */
.contact-form__footer {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px dashed var(--ink-100);
}

.contact-form__privacy {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-500);
  line-height: 1.5;
  margin-bottom: var(--space-4);
}

.contact-form__privacy svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #16A34A;
}

.contact-form__privacy strong {
  color: var(--ink-700);
  font-weight: var(--fw-semibold);
}

/* Submit button */
.contact-form__submit {
  width: 100%;
  padding: 16px 24px;
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  position: relative;
  letter-spacing: -0.005em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-form__submit-loader {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.contact-form__submit.is-loading .contact-form__submit-text,
.contact-form__submit.is-loading .contact-form__submit-arrow {
  opacity: 0;
}

.contact-form__submit.is-loading .contact-form__submit-loader {
  display: block;
}

.contact-form__submit.is-loading {
  pointer-events: none;
}

.contact-form__submit-arrow {
  transition: transform 200ms ease;
}

.contact-form__submit:hover:not(.is-loading) .contact-form__submit-arrow {
  transform: translateX(3px);
}

.contact-form__alt {
  text-align: center;
  font-size: 13px;
  color: var(--ink-500);
  margin-top: var(--space-4);
  margin-bottom: 0;
}

.contact-form__alt a {
  color: #2D4ECC;
  font-weight: var(--fw-semibold);
  text-decoration: none;
}

.contact-form__alt a:hover {
  text-decoration: underline;
}

/* Estado de éxito (oculto por default, se muestra solo al enviar) */
.contact-form__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--bg-pure);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(14, 15, 26, 0.06);
  animation: contact-success-in 400ms var(--ease-out-expo);
}

/* CRÍTICO: respetar el atributo hidden del HTML */
.contact-form__success[hidden] {
  display: none !important;
}

@keyframes contact-success-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.contact-form__success-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 163, 74, 0.10);
  border-radius: 50%;
  margin-bottom: var(--space-4);
  color: #16A34A;
}

.contact-form__success h3 {
  font-size: clamp(1.25rem, 1.5vw, 1.5rem);
  font-weight: var(--fw-bold);
  color: var(--ink-900);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.contact-form__success p {
  font-size: var(--fs-sm);
  color: var(--ink-500);
  line-height: 1.6;
  max-width: 42ch;
}

.contact-form__success a {
  color: #2D4ECC;
  font-weight: var(--fw-semibold);
}


/* ─────────────────────────────────────────────────
   UBICACIÓN: Mapa + datos
   ───────────────────────────────────────────────── */

.contact-location {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-location__header h3 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--ink-900);
  margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.contact-location__header p {
  font-size: var(--fs-sm);
  color: var(--ink-500);
  line-height: 1.5;
  margin: 0;
}

/* Mapa: aspect ratio responsive */
.contact-location__map {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-100);
  box-shadow: 0 8px 24px rgba(14, 15, 26, 0.08);
}

.contact-location__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Detalles clickeables */
.contact-location__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.contact-location__detail {
  display: flex;
  gap: var(--space-3);
  padding: 14px 16px;
  background: var(--bg-pure);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: all 150ms ease;
}

.contact-location__detail:hover {
  border-color: #2D4ECC;
  background: rgba(45, 78, 204, 0.02);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45, 78, 204, 0.08);
}

.contact-location__detail--static {
  cursor: default;
}

.contact-location__detail--static:hover {
  border-color: var(--ink-100);
  background: var(--bg-pure);
  transform: none;
  box-shadow: none;
}

/* Caso especial: WhatsApp con color verde */
.contact-location__detail--wa:hover {
  border-color: #25D366;
  background: rgba(37, 211, 102, 0.04);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.12);
}

.contact-location__detail--wa .contact-location__icon {
  background: rgba(37, 211, 102, 0.10);
  color: #25D366;
}

.contact-location__detail--wa .contact-location__detail-action {
  color: #25D366;
}

.contact-location__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 78, 204, 0.08);
  color: #2D4ECC;
  border-radius: var(--radius-md);
}

.contact-location__detail-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-location__detail-label {
  font-size: 11px;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-400);
}

.contact-location__detail-value {
  font-size: 14px;
  color: var(--ink-900);
  font-weight: var(--fw-medium);
  line-height: 1.4;
}

.contact-location__detail-action {
  font-size: 12px;
  color: #2D4ECC;
  font-weight: var(--fw-semibold);
  margin-top: 2px;
  opacity: 0;
  transition: opacity 150ms ease;
}

.contact-location__detail:hover .contact-location__detail-action {
  opacity: 1;
}

/* Zonas de entrega */
.contact-location__zones {
  padding: var(--space-4);
  background: var(--bg-pure);
  border: 1px dashed var(--ink-200);
  border-radius: var(--radius-md);
}

.contact-location__zones-label {
  display: block;
  font-size: 11px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
  margin-bottom: 10px;
}

.contact-location__zones-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.contact-location__zone {
  display: inline-block;
  padding: 4px 10px;
  background: var(--brand-gradient);
  color: var(--bg-pure);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: -0.005em;
}


/* ════════════════════════════════════════════════════════
   PAYMENT METHODS — Métodos de pago profesional
   ════════════════════════════════════════════════════════ */

.payment-methods {
  padding-block: clamp(2.5rem, 4vw, 4rem);
}

.payment-methods__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-7) auto;
}

.payment-methods__title {
  font-size: clamp(1.5rem, 2vw + 1rem, 2.2rem);
  font-weight: var(--fw-bold);
  color: var(--ink-900);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.payment-methods__subtitle {
  font-size: var(--fs-base);
  color: var(--ink-500);
  line-height: 1.5;
  margin: 0;
}

.payment-methods__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-3);
}

.payment-method {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  background: var(--bg-pure);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  transition: all 200ms ease;
  position: relative;
}

.payment-method:hover {
  border-color: var(--ink-300);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 15, 26, 0.06);
}

.payment-method--featured {
  background: linear-gradient(135deg, 
    rgba(45, 78, 204, 0.04) 0%,
    rgba(20, 37, 85, 0.06) 100%);
  border: 1px solid rgba(45, 78, 204, 0.18);
}

.payment-method--featured::before {
  content: 'Incluye AMEX';
  position: absolute;
  top: -10px;
  right: 14px;
  padding: 2px 10px;
  background: var(--brand-gradient);
  color: white;
  font-size: 10px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(45, 78, 204, 0.25);
}

.payment-method__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 78, 204, 0.08);
  color: #2D4ECC;
  border-radius: var(--radius-md);
}

.payment-method__body {
  flex: 1;
  min-width: 0;
}

.payment-method__name {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--ink-900);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.payment-method__desc {
  font-size: 12px;
  color: var(--ink-500);
  line-height: 1.4;
  margin: 0;
}

.payment-method__desc strong {
  color: var(--ink-900);
  font-weight: var(--fw-semibold);
}

.payment-method__desc a {
  text-decoration: none;
  word-break: break-all;
}

.payment-method__desc a:hover {
  text-decoration: underline;
}

/* Footer con garantía + CTA */
.payment-methods__footer {
  margin-top: var(--space-7);
  padding: var(--space-5) var(--space-6);
  background: var(--bg-pure);
  border: 1px dashed var(--ink-200);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.payment-methods__guarantee {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-700);
  line-height: 1.5;
  flex: 1;
  min-width: 280px;
}

.payment-methods__guarantee svg {
  color: #16A34A;
  flex-shrink: 0;
}

.payment-methods__guarantee strong {
  color: var(--ink-900);
  font-weight: var(--fw-bold);
}

.payment-methods__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: #2D4ECC;
  text-decoration: none;
  white-space: nowrap;
  transition: gap 150ms ease;
}

.payment-methods__cta:hover {
  gap: 10px;
}

@media (max-width: 720px) {
  .payment-methods__footer {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ════════════════════════════════════════════════════════
   GOOGLE REVIEWS — Reseñas estilo Google real
   ════════════════════════════════════════════════════════ */

/* Header con logo Google y rating global */
.reviews-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding: var(--space-5) var(--space-6);
  background: var(--bg-pure);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
  box-shadow: 0 4px 12px rgba(14, 15, 26, 0.04);
}

.reviews-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviews-header__brand-text {
  display: flex;
  flex-direction: column;
}

.reviews-header__brand-name {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--ink-900);
  letter-spacing: -0.01em;
  /* Replica los colores típicos de Google logo */
}

.reviews-header__brand-label {
  font-size: 11px;
  color: var(--ink-500);
  font-weight: var(--fw-medium);
}

.reviews-header__score {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: center;
}

.reviews-header__score-number {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: var(--fw-bold);
  color: #FBBC04;  /* color de estrella de Google */
  line-height: 1;
  letter-spacing: -0.02em;
}

.reviews-header__stars {
  display: flex;
  gap: 1px;
  align-items: center;
}

.reviews-header__count {
  display: block;
  font-size: 12px;
  color: var(--ink-500);
  margin-top: 2px;
}

.reviews-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: #1A73E8;  /* azul Google */
  background: rgba(26, 115, 232, 0.06);
  border: 1px solid rgba(26, 115, 232, 0.18);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 150ms ease;
  white-space: nowrap;
}

.reviews-header__cta:hover {
  background: rgba(26, 115, 232, 0.12);
  border-color: rgba(26, 115, 232, 0.30);
}

@media (max-width: 720px) {
  .reviews-header {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .reviews-header__brand,
  .reviews-header__score {
    justify-self: center;
  }
  
  .reviews-header__cta {
    justify-self: center;
  }
}

/* ─── Estrellas de Google ─── */
.g-star {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FBBC04'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.g-star--full {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FBBC04'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");
}

.g-star--partial {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g'%3E%3Cstop offset='80%25' stop-color='%23FBBC04'/%3E%3Cstop offset='80%25' stop-color='%23E5E7EB'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");
}

.g-star--empty {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E5E7EB'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");
}

/* ─── Grid de reseñas ─── */
.google-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-4);
}

.g-review {
  background: var(--bg-pure);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.g-review:hover {
  box-shadow: 0 8px 24px rgba(14, 15, 26, 0.06);
  transform: translateY(-2px);
}

.g-review__header {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Avatar redondo con inicial */
.g-review__avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
}

.g-review__user {
  flex: 1;
  min-width: 0;
}

.g-review__name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.g-review__name {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--ink-900);
  letter-spacing: -0.005em;
  line-height: 1.2;
}

.g-review__guide {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: var(--fw-semibold);
  color: #1A73E8;
  letter-spacing: 0;
  white-space: nowrap;
}

.g-review__meta {
  display: block;
  font-size: 11px;
  color: var(--ink-500);
  margin-top: 2px;
  font-weight: var(--fw-regular);
}

/* Estrellas + fecha en la misma línea */
.g-review__rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.g-review__stars {
  display: flex;
  gap: 1px;
}

.g-review__date {
  font-size: 12px;
  color: var(--ink-500);
  font-weight: var(--fw-regular);
}

/* Texto de la reseña */
.g-review__text {
  font-size: 13px;
  color: var(--ink-700);
  line-height: 1.6;
  margin: 0;
  /* Mostrar máx 8 líneas, luego ellipsis */
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer con botón Útil */
.g-review__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--ink-100);
}

.g-review__helpful {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: var(--fw-medium);
  color: var(--ink-500);
  cursor: pointer;
  transition: all 150ms ease;
  font-family: inherit;
}

.g-review__helpful:hover {
  background: rgba(26, 115, 232, 0.06);
  border-color: #1A73E8;
  color: #1A73E8;
}

.g-review__owner-reply {
  font-size: 11px;
  color: var(--ink-400);
  font-style: italic;
}

/* Reviews footer CTA */
.reviews-footer {
  text-align: center;
  margin-top: var(--space-6);
}

.reviews-footer__text {
  font-size: var(--fs-sm);
  color: var(--ink-500);
  margin-bottom: var(--space-3);
}


/* ════════════════════════════════════════════════════════
   GARANTÍA — Disclaimer notice
   ════════════════════════════════════════════════════════ */

.guarantee__notice {
  display: flex;
  gap: 10px;
  margin-top: var(--space-4);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
}

.guarantee__notice svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.7);
}

.guarantee__notice p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.guarantee__notice strong {
  color: white;
  font-weight: var(--fw-bold);
}

/* Ícono escudo en el sello del seal — reemplaza el "12" */
.guarantee__seal-num svg {
  color: white;
  width: 38px;
  height: 38px;
}


/* ════════════════════════════════════════════════════════
   FORMULARIO — Radio cards para método de entrega
   Recoger taller / Envío domicilio
   ════════════════════════════════════════════════════════ */

.contact-form__group-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--ink-700);
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}

.contact-form__radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

@media (max-width: 480px) {
  .contact-form__radio-group {
    grid-template-columns: 1fr;
  }
}

/* Radio card: oculta input nativo y usa el label como card */
.contact-form__radio-card {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.contact-form__radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-form__radio-content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-pure);
  border: 1.5px solid var(--ink-100);
  border-radius: var(--radius-md);
  transition: all 150ms ease;
}

.contact-form__radio-card:hover .contact-form__radio-content {
  border-color: var(--ink-300);
  background: var(--bg-soft);
}

/* Estado seleccionado */
.contact-form__radio-card input[type="radio"]:checked + .contact-form__radio-content {
  background: rgba(45, 78, 204, 0.04);
  border-color: #2D4ECC;
  box-shadow: 0 0 0 3px rgba(45, 78, 204, 0.10);
}

.contact-form__radio-card input[type="radio"]:checked + .contact-form__radio-content svg {
  color: #2D4ECC;
}

/* Focus por accesibilidad */
.contact-form__radio-card input[type="radio"]:focus-visible + .contact-form__radio-content {
  outline: 2px solid #2D4ECC;
  outline-offset: 2px;
}

.contact-form__radio-content svg {
  flex-shrink: 0;
  color: var(--ink-500);
  transition: color 150ms ease;
}

.contact-form__radio-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-form__radio-title {
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: var(--ink-900);
  letter-spacing: -0.005em;
  line-height: 1.2;
}

.contact-form__radio-sub {
  font-size: 11px;
  color: var(--ink-500);
  line-height: 1.3;
}

/* Campo condicional: aparece al seleccionar "domicilio" */
.contact-form__field--conditional {
  margin-top: var(--space-3);
  animation: slide-down 250ms var(--ease-out);
}

@keyframes slide-down {
  from { opacity: 0; transform: translateY(-8px); max-height: 0; }
  to   { opacity: 1; transform: translateY(0); max-height: 200px; }
}

.contact-form__field--conditional[hidden] {
  display: none !important;
}


/* ════════════════════════════════════════════════════════
   FAQ — Sistema mostrar más
   ════════════════════════════════════════════════════════ */

.accordion__item.faq-hidden {
  display: none;
}

.accordion__item.faq-hidden.is-revealed {
  display: block;
  animation: fade-slide-in 350ms var(--ease-out);
}

@keyframes fade-slide-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.faq-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: var(--space-5);
}

.faq-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--bg-pure);
  border: 1.5px solid var(--ink-200);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--ink-700);
  cursor: pointer;
  transition: all 200ms ease;
  letter-spacing: -0.005em;
}

.faq-toggle:hover {
  background: rgba(45, 78, 204, 0.04);
  border-color: #2D4ECC;
  color: #2D4ECC;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(45, 78, 204, 0.12);
}

.faq-toggle svg {
  transition: transform 200ms ease;
}

.faq-toggle:hover svg {
  transform: scale(1.1);
}

.faq-toggle strong {
  color: #2D4ECC;
  font-weight: var(--fw-bold);
}

.faq-toggle[aria-expanded="true"] {
  background: rgba(45, 78, 204, 0.06);
  border-color: rgba(45, 78, 204, 0.3);
  color: #2D4ECC;
}

[data-faq-toggle] .faq-toggle__text-more,
[data-faq-toggle] .faq-toggle__text-less {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

[data-faq-toggle] .faq-toggle__text-less[hidden] {
  display: none !important;
}


/* ════════════════════════════════════════════════════════
   BACK TO TOP BUTTON
   ════════════════════════════════════════════════════════ */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 100px; /* arriba del float-wa */
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-900);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(14, 15, 26, 0.25);
  z-index: 997;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 250ms ease;
}

.back-to-top[hidden] {
  display: none;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--brand-gradient);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(45, 78, 204, 0.35);
}

@media (max-width: 600px) {
  .back-to-top {
    right: 16px;
    bottom: 160px; /* arriba del float-wa que está en 88px + altura */
    width: 40px;
    height: 40px;
  }
}


/* ════════════════════════════════════════════════════════
   EXIT INTENT MODAL — best practice CRO
   ════════════════════════════════════════════════════════ */

.exit-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.exit-modal[hidden] {
  display: none !important;
}

.exit-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.exit-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 15, 26, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.exit-modal__content {
  position: relative;
  background: var(--bg-pure);
  border-radius: var(--radius-xl, 20px);
  padding: clamp(2rem, 4vw, 3rem);
  max-width: 480px;
  width: 100%;
  box-shadow: 0 32px 80px rgba(14, 15, 26, 0.30);
  text-align: center;
  transform: scale(0.92) translateY(20px);
  opacity: 0;
  transition: transform 350ms var(--ease-out-expo), opacity 350ms ease;
}

.exit-modal.is-open .exit-modal__content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.exit-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-50);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--ink-500);
  transition: all 150ms ease;
}

.exit-modal__close:hover {
  background: var(--ink-100);
  color: var(--ink-900);
  transform: rotate(90deg);
}

.exit-modal__visual {
  width: 84px;
  height: 84px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 78, 204, 0.08);
  border-radius: 50%;
  color: #2D4ECC;
}

.exit-modal__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
  font-weight: var(--fw-bold);
  color: var(--ink-900);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.exit-modal__desc {
  font-size: var(--fs-base);
  color: var(--ink-500);
  line-height: 1.5;
  margin-bottom: var(--space-4);
}

.exit-modal__desc strong {
  color: var(--ink-900);
  font-weight: var(--fw-semibold);
}

.exit-modal__benefits {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--space-5);
}

.exit-modal__benefit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: rgba(22, 163, 74, 0.08);
  color: #15803D;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: var(--fw-semibold);
}

.exit-modal__cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exit-modal__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 200ms ease;
  letter-spacing: -0.005em;
}

.exit-modal__cta--primary {
  background: #25D366;
  color: white;
}

.exit-modal__cta--primary:hover {
  background: #20BA58;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  color: white;
}

.exit-modal__cta--secondary {
  background: transparent;
  color: var(--ink-700);
  border: 1.5px solid var(--ink-200);
}

.exit-modal__cta--secondary:hover {
  background: var(--ink-50);
  border-color: var(--ink-300);
  color: var(--ink-900);
}

.exit-modal__footer {
  margin-top: var(--space-4);
  font-size: 11px;
  color: var(--ink-400);
  font-weight: var(--fw-medium);
}

.exit-modal__footer strong {
  color: var(--ink-700);
}


/* ════════════════════════════════════════════════════════
   SVG FIX — Override del reset para componentes flotantes
   El reset aplica max-width:100% + height:auto a TODOS los SVG,
   lo que puede romper SVGs en containers flex sin ancho fijo.
   ════════════════════════════════════════════════════════ */

.back-to-top svg,
.exit-modal svg,
.faq-toggle svg,
.whatsapp-float svg,
.sticky-cta__btn svg {
  max-width: none;
  flex-shrink: 0;
}

/* Tamaños fijos para cada componente */
.back-to-top svg {
  width: 20px;
  height: 20px;
}

.exit-modal__visual svg {
  width: 56px;
  height: 56px;
}

.exit-modal__close svg {
  width: 18px;
  height: 18px;
}

.exit-modal__cta svg {
  width: 18px;
  height: 18px;
}

.exit-modal__benefit svg {
  width: 14px;
  height: 14px;
}

.faq-toggle svg {
  width: 16px;
  height: 16px;
}



/* ════════════════════════════════════════════════════════
   NUCLEAR SVG FIX — última línea de defensa
   Garantiza que ningún SVG se haga gigante por accidente.
   Cualquier SVG sin tamaño explícito en CSS o atributos
   se limita a 64px máximo.
   ════════════════════════════════════════════════════════ */

svg:not([width]):not([height]) {
  max-width: 100%;
  max-height: 100px;
}

/* Forzar tamaños específicos en los componentes flotantes */
.whatsapp-float {
  width: 60px !important;
  height: 60px !important;
}

.whatsapp-float > svg {
  width: 30px !important;
  height: 30px !important;
}

.sticky-cta__btn > svg {
  width: 18px !important;
  height: 18px !important;
}

.back-to-top > svg {
  width: 20px !important;
  height: 20px !important;
}

.exit-modal__visual > svg {
  width: 56px !important;
  height: 56px !important;
}

.exit-modal__close > svg {
  width: 18px !important;
  height: 18px !important;
}

.exit-modal__cta > svg {
  width: 18px !important;
  height: 18px !important;
}

.exit-modal__benefit > svg {
  width: 14px !important;
  height: 14px !important;
}

.faq-toggle > svg,
.faq-toggle__text-more > svg,
.faq-toggle__text-less > svg {
  width: 16px !important;
  height: 16px !important;
}



/* ════════════════════════════════════════════════════════════════════
   HERO FULL-BLEED REDESIGN — imagen envolvente con texto encima
   Override de las reglas anteriores para layout full-bleed inmersivo.
   ════════════════════════════════════════════════════════════════════ */

/* 1. Hero: fondo oscuro fallback (mientras carga imagen) + altura más grande */
.hero {
  background-color: var(--ink-900);
  min-height: clamp(440px, 56vh, 580px);
  isolation: isolate;
}

/* 2. Ocultar decoraciones que interfieren con la imagen full-bleed */
.hero::before,
.hero::after {
  display: none;
}

/* 3. Hero inner: ya NO grid de 2 columnas — texto en columna única, container */
@media (min-width: 920px) {
  .hero__inner {
    grid-template-columns: 1fr;
    min-height: clamp(440px, 56vh, 580px);
    padding-block: clamp(1.5rem, 3.5vw, 2.5rem);
    align-items: center;
    /* Mantener padding original a ambos lados (no cero a la derecha) */
    padding-right: var(--content-px);
  }
}

/* 4. Hero content: encima de la imagen, max-width para no estirar */
.hero__content {
  position: relative;
  z-index: 3;
  max-width: 64ch;
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

/* 5. Hero visual photo: ABSOLUTE como background del hero completo */
.hero__visual--photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 0;
  margin: 0;
  height: 100%;
  min-height: 0;
  box-shadow: none;
  background: var(--ink-900);
}

/* En mobile/tablet también full-bleed (no aspect-ratio fijo) */
@media (max-width: 1024px) {
  .hero__visual--photo {
    aspect-ratio: auto;
    height: 100%;
  }
}

.hero__visual--photo .hero__photo,
.hero__visual--photo .hero__photo img {
  border-radius: 0;
}

/* 6. Overlay gradient para legibilidad del texto */
.hero__photo-overlay {
  background:
    /* Capa principal: oscuro fuerte a la izquierda (oculta ghost text), transparente a la derecha */
    linear-gradient(
      90deg,
      rgba(8, 10, 22, 0.98) 0%,
      rgba(8, 10, 22, 0.94) 30%,
      rgba(8, 10, 22, 0.70) 50%,
      rgba(8, 10, 22, 0.35) 75%,
      rgba(8, 10, 22, 0.15) 100%
    ),
    /* Vignette bottom-up para mejor profundidad */
    linear-gradient(
      180deg,
      transparent 40%,
      rgba(8, 10, 22, 0.45) 100%
    );
}

@media (max-width: 920px) {
  .hero__photo-overlay {
    /* En mobile, overlay generalizado más fuerte y desde arriba */
    background:
      linear-gradient(
        180deg,
        rgba(8, 10, 22, 0.75) 0%,
        rgba(8, 10, 22, 0.55) 40%,
        rgba(8, 10, 22, 0.78) 100%
      );
  }
}

/* 7. Z-index: contenedor de texto sobre overlay */
.hero__inner {
  position: relative;
  z-index: 2;
}

/* 8. INVERSIÓN DE COLORES — texto claro sobre overlay oscuro */

.hero h1 {
  color: #FFFFFF;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero h1 strong {
  background: linear-gradient(135deg, #93C5FD 0%, #60A5FA 50%, #3B82F6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 4px 24px rgba(59, 130, 246, 0.3);
}

.hero h1 strong::after {
  background: linear-gradient(135deg, #93C5FD 0%, #60A5FA 100%);
  opacity: 0.85;
}

.hero__eyebrow {
  background-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero__eyebrow::before {
  border-top-color: #93C5FD;
}

.hero__eyebrow__pulse {
  background: #60A5FA;
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.8);
}

.hero__lead {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

.hero__lead strong {
  color: #FFFFFF;
}

.hero__bullets li {
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.hero__bullets li::before {
  border-top-color: #60A5FA;
}

.hero__bullets strong {
  color: #FFFFFF;
}

.hero__microcopy {
  color: rgba(255, 255, 255, 0.8);
}

.hero__microcopy::before {
  box-shadow: 0 0 10px var(--success);
}

/* 9. Hero corners: tonos claros sutiles */
.hero__corner {
  opacity: 0.35;
}

.hero__corner svg {
  stroke: rgba(255, 255, 255, 0.9);
}

/* 10. Ocultar elementos auxiliares que saturan en full-bleed */
.hero__photo-badge,
.hero__photo-meta {
  display: none;
}

/* 11. Stickers: ocultar el top-left (compite con eyebrow); mantener bottom-right */
.hero__visual--photo .hero__sticker:not(.hero__sticker--bottom) {
  display: none;
}

/* Sticker bottom-right: ajustar para que se vea bien sobre la imagen sin overlay */
.hero__visual--photo .hero__sticker--bottom {
  z-index: 2;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* 12. Botón CTA secundario "Ver catálogo": mejor contraste sobre imagen */
.hero__ctas .btn--secondary,
.hero__ctas .btn--outline {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__ctas .btn--secondary:hover,
.hero__ctas .btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

/* 13. Mobile: ajustes específicos */
@media (max-width: 919px) {
  .hero {
    min-height: clamp(480px, 62vh, 580px);
  }
  .hero__inner {
    min-height: clamp(480px, 62vh, 580px);
    padding-block: clamp(2rem, 5vw, 3rem);
  }
  .hero__content {
    max-width: none;
    text-align: left;
  }
  /* En mobile el sticker bottom puede saturar, ocultarlo */
  .hero__visual--photo .hero__sticker--bottom {
    display: none;
  }
}

/* 14. Trust band debajo del hero: separar visualmente */
.trust-band {
  position: relative;
  z-index: 1;
}


/* 15. Fix: evitar que la coma quede al inicio de línea (post-Monterrey) */
.hero h1 strong {
  /* Mantiene la palabra + coma juntas sin romper */
  white-space: nowrap;
}

@media (max-width: 480px) {
  /* En mobile ultra-chico, permitir wrap para no salirse */
  .hero h1 strong {
    white-space: normal;
  }
}


/* Mobile: simplificación adicional para reducir saturación */
@media (max-width: 919px) {
  .hero__microcopy {
    display: none;  /* en mobile, los bullets ya comunican; el microcopy satura */
  }
  .hero__eyebrow {
    font-size: 11px;  /* eyebrow más compacto en mobile */
    padding: var(--space-2) var(--space-3);
  }
  .hero__lead {
    font-size: 0.95rem;
    line-height: 1.4;
  }
  .hero__bullets {
    gap: var(--space-2);  /* gap más chico para que entre todo */
  }
  .hero__bullets li {
    font-size: 0.92rem;
  }
}


/* ════════════════════════════════════════════════════════════════════
   FOOTER — Dual CTA (WhatsApp + Formulario)
   ════════════════════════════════════════════════════════════════════ */

.site-footer__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

@media (max-width: 640px) {
  .site-footer__ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .site-footer__ctas .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Variante outline para fondo oscuro del footer — colores claros para contraste AAA */
.btn--footer-outline {
  background-color: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #FFFFFF;
  transition: all 0.2s var(--ease-out-expo, ease-out);
}

.btn--footer-outline:hover,
.btn--footer-outline:focus-visible {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.85);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn--footer-outline:active {
  transform: translateY(0);
}
