/*
 * hero.css — Hero Fluhio Design System v1 · polish
 *
 * Arquitectura:
 *   #hero-root          → fixed, viewport completo, z-index 0
 *   .fw-hero            → relative, 100dvh, contiene todo
 *   .fw-photo           → absolute inset:0 — foto protagonista absoluta
 *   .fw-nav             → fixed, flota sobre la foto
 *   .fw-content         → absolute inset:0, flex justify-end
 *   .fw-content-inner   → el bloque real de texto y CTAs
 *
 * Regla: CERO colores hardcoded. Todo vía tokens --fw-*.
 */

/* ══════════════════════════════════════════════════════════════════════
   KEYFRAMES
══════════════════════════════════════════════════════════════════════ */

/* La foto respira al entrar — sutil, permanente */
@keyframes fw-ken-burns {
  from { transform: scale(1.055); }
  to   { transform: scale(1.000); }
}

/* Cada bloque de contenido sube y aparece */
@keyframes fw-enter {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* La barra de acento se dibuja de izquierda a derecha */
@keyframes fw-rule-draw {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Pulso del dot de estado "abierto" */
@keyframes fw-dot-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}

/* ══════════════════════════════════════════════════════════════════════
   CONTENEDOR RAÍZ
══════════════════════════════════════════════════════════════════════ */

#hero-root {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  background-color: var(--fw-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ══════════════════════════════════════════════════════════════════════
   HERO WRAPPER
══════════════════════════════════════════════════════════════════════ */

.fw-hero {
  position: relative;
  height: 100dvh;
  height: 100vh;
  overflow: hidden;
}

/* Reveal del hero completo — opacity 0→1 en la carga */
#hero-root:not(.fw-ready) .fw-hero { opacity: 0; }

#hero-root.fw-ready .fw-hero {
  opacity: 1;
  transition: opacity var(--fw-transition-slow) ease;
}

/* ══════════════════════════════════════════════════════════════════════
   FOTO — protagonista absoluto
══════════════════════════════════════════════════════════════════════ */

.fw-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.fw-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  will-change: transform;
  animation: fw-ken-burns 9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.fw-photo-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Overlay cinematográfico — oscuro translúcido, la foto es la protagonista */
.fw-photo-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.72) 28%,
    rgba(0, 0, 0, 0.42) 54%,
    rgba(0, 0, 0, 0.14) 78%,
    rgba(0, 0, 0, 0.04) 100%
  );
}

/* Fondo generativo cuando no hay foto — usa el accent del negocio */
.fw-photo--generated {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--fw-accent) 85%, #000) 0%,
    var(--fw-accent) 45%,
    color-mix(in srgb, var(--fw-accent) 68%, #fff) 100%
  );
}

/* ══════════════════════════════════════════════════════════════════════
   NAVEGACIÓN — fixed, flota sobre la foto
══════════════════════════════════════════════════════════════════════ */

.fw-nav {
  position: fixed;
  top: var(--fw-ann-h, 0);
  left: 0; right: 0;
  z-index: 100;
  background: var(--fw-nav-bg);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid var(--fw-border);
  transition: background var(--fw-transition) ease,
              top var(--fw-transition) ease;
}

.fw-nav-inner {
  max-width: var(--fw-max-width);
  margin: 0 auto;
  padding: 0 calc(var(--fw-space-md) * var(--fw-density));
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--fw-space-md);
}

.fw-nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
}

.fw-nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.fw-nav-logo-text {
  font-size: var(--fw-text-sm);
  font-weight: 800;
  letter-spacing: -0.2px;
  color: var(--fw-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fw-nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fw-text-sm);
  font-weight: 700;
  color: var(--fw-accent);
  min-height: 44px;
  padding: 0 12px 0 10px;
  border-radius: var(--fw-radius-full);
  border: 1.5px solid color-mix(in srgb, var(--fw-accent) 30%, transparent);
  transition: background var(--fw-transition) ease,
              border-color var(--fw-transition) ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.fw-nav-phone:hover,
.fw-nav-phone:focus-visible {
  background: color-mix(in srgb, var(--fw-accent) 9%, transparent);
  border-color: color-mix(in srgb, var(--fw-accent) 50%, transparent);
}

.fw-nav-phone-text { display: none; }

/* ══════════════════════════════════════════════════════════════════════
   CONTENIDO — overlay absoluto, anclado al bottom
══════════════════════════════════════════════════════════════════════ */

.fw-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Bloque interior: el contenido real */
.fw-content-inner {
  width: 100%;
  max-width: var(--fw-max-width);
  margin: 0 auto;
  padding:
    calc(var(--fw-space-lg) * var(--fw-density))
    calc(var(--fw-space-md) * var(--fw-density))
    calc(var(--fw-space-xl) * var(--fw-density));

  /* Sin gap global — cada sección define su propio espaciado */
  display: flex;
  flex-direction: column;
}

/* ── Stagger de entrada: cada bloque entra con retraso creciente ── */
/* Variables por sección */
.fw-identity      { --_d: 0; }
.fw-trust         { --_d: 1; }
.fw-actions       { --_d: 2; }
.fw-contact-strip { --_d: 3; }

/* Estado inicial: invisible antes del reveal */
.fw-content-inner > * {
  opacity: 0;
}

/* Cuando el hero está listo, cada bloque entra en cascada */
#hero-root.fw-ready .fw-content-inner > * {
  animation: fw-enter 560ms calc(160ms + var(--_d, 0) * 75ms)
             cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ══════════════════════════════════════════════════════════════════════
   IDENTIDAD DEL NEGOCIO
══════════════════════════════════════════════════════════════════════ */

.fw-identity {
  display: flex;
  flex-direction: column;
  margin-bottom: calc(var(--fw-space-md) * var(--fw-density));
}

/* Logo del negocio en el content area — jerarquía de marca */
.fw-identity-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: calc(var(--fw-space-sm) * var(--fw-density));
  flex-shrink: 0;
  /* Sombra sutil para flotar sobre el overlay oscuro */
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

/* Eyebrow: categoría y ciudad */
.fw-eyebrow {
  font-size: var(--fw-text-xs);
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--fw-text-muted);
  margin-bottom: calc(var(--fw-space-sm) * var(--fw-density));
  line-height: 1.4;
  white-space: normal;
  overflow: visible;
  max-width: 36ch;
}

/* Barra de acento — se dibuja de izquierda a derecha */
.fw-rule {
  width: 32px;
  height: 2px;
  background: var(--fw-accent);
  border-radius: 2px;
  margin-bottom: calc(var(--fw-space-sm) * var(--fw-density));
  flex-shrink: 0;
  transform-origin: left center;
}

#hero-root.fw-ready .fw-rule {
  animation: fw-rule-draw 380ms 280ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Nombre del negocio — serif del sistema */
.fw-name {
  font-family: var(--fw-font-display);
  font-weight: 400;
  font-size: clamp(34px, 9.5vw, 62px);
  letter-spacing: -1.5px;
  line-height: 0.93;
  color: var(--fw-text);
  text-wrap: balance;
  margin-bottom: calc(var(--fw-space-sm) * var(--fw-density));
}

/* Slogan */
.fw-slogan {
  font-size: var(--fw-text-sm);
  font-style: italic;
  color: var(--fw-text-muted);
  line-height: 1.5;
  text-wrap: balance;
  max-width: 38ch;
  margin-bottom: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   ESTADO ABIERTO / CERRADO
══════════════════════════════════════════════════════════════════════ */

.fw-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: calc(var(--fw-space-sm) * var(--fw-density));
}

.fw-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.fw-status--open .fw-status-dot {
  background: var(--fw-available);
  animation: fw-dot-pulse 2.6s ease-in-out infinite;
}

.fw-status--closed .fw-status-dot { background: var(--fw-text-muted); }

.fw-status-text {
  font-size: var(--fw-text-xs);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.fw-status--open  .fw-status-text { color: var(--fw-available); }
.fw-status--closed .fw-status-text { color: var(--fw-text-muted); }

/* ══════════════════════════════════════════════════════════════════════
   TRUST — rating y métricas en fila compacta
══════════════════════════════════════════════════════════════════════ */

.fw-trust {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: calc(var(--fw-space-lg) * var(--fw-density));
}

.fw-trust-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-right: calc(var(--fw-space-md) * var(--fw-density));
  flex-shrink: 0;
  max-width: 120px;
}

.fw-trust-item + .fw-trust-item {
  padding-left: calc(var(--fw-space-md) * var(--fw-density));
  border-left: 1px solid var(--fw-border);
}

.fw-trust-item-val {
  font-size: var(--fw-text-sm);
  font-weight: 800;
  letter-spacing: -0.2px;
  color: var(--fw-text);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Labels: peso ligero, sin uppercase — solo complementan el valor */
.fw-trust-item-lbl {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fw-text-muted);
  line-height: 1.3;
  opacity: 0.75;
}

/* ══════════════════════════════════════════════════════════════════════
   ACCIONES PRINCIPALES
══════════════════════════════════════════════════════════════════════ */

.fw-actions {
  display: flex;
  gap: calc(var(--fw-space-sm) * var(--fw-density));
  flex-wrap: wrap;
  margin-bottom: calc(var(--fw-space-sm) * var(--fw-density));
}

/* CTA primario — el punto de mayor conversión */
.fw-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 calc(var(--fw-space-xl) * var(--fw-density));
  background: var(--fw-text);
  color: var(--fw-bg);
  font-family: var(--fw-font-body);
  font-size: var(--fw-text-sm);
  font-weight: 800;
  letter-spacing: 0.4px;
  border-radius: var(--fw-radius-full);
  border: none;
  /* Sombra sutil — profundidad premium */
  box-shadow:
    0 2px 8px  rgba(0,0,0,0.12),
    0 1px 2px  rgba(0,0,0,0.08);
  transition:
    opacity var(--fw-transition) ease,
    transform var(--fw-transition) ease,
    box-shadow var(--fw-transition) ease;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.fw-cta-primary:hover,
.fw-cta-primary:focus-visible {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow:
    0 6px 20px rgba(0,0,0,0.15),
    0 2px 4px  rgba(0,0,0,0.10);
}

.fw-cta-primary:active {
  opacity: 1;
  transform: translateY(0);
  box-shadow:
    0 2px 8px  rgba(0,0,0,0.12),
    0 1px 2px  rgba(0,0,0,0.08);
}

/* Flecha del CTA */
.fw-cta-primary-arrow {
  font-size: 15px;
  font-weight: 300;
  opacity: 0.65;
  transition: transform var(--fw-transition) ease, opacity var(--fw-transition) ease;
}

.fw-cta-primary:hover .fw-cta-primary-arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* CTA WhatsApp — #25D366 siempre, sin excepciones */
.fw-cta-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 52px;
  padding: 0 calc(var(--fw-space-lg) * var(--fw-density));
  background: var(--fw-wa);
  color: #fff;
  font-family: var(--fw-font-body);
  font-size: var(--fw-text-sm);
  font-weight: 700;
  border-radius: var(--fw-radius-full);
  border: none;
  box-shadow:
    0 2px 8px  rgba(37,211,102,0.25),
    0 1px 2px  rgba(0,0,0,0.06);
  transition:
    opacity var(--fw-transition) ease,
    transform var(--fw-transition) ease,
    box-shadow var(--fw-transition) ease;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.fw-cta-wa:hover,
.fw-cta-wa:focus-visible {
  opacity: 0.90;
  transform: translateY(-2px);
  box-shadow:
    0 6px 18px rgba(37,211,102,0.30),
    0 2px 4px  rgba(0,0,0,0.08);
}

.fw-cta-wa:active {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════════════════
   CONTACTO SECUNDARIO
══════════════════════════════════════════════════════════════════════ */

.fw-contact-strip {
  display: flex;
  align-items: center;
  gap: 0;
}

.fw-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  font-size: var(--fw-text-sm);
  font-weight: 600;
  color: var(--fw-text-muted);
  text-decoration: none;
  padding-right: calc(var(--fw-space-md) * var(--fw-density));
  /* Underline sutil — solo visible en hover */
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: left bottom 4px;
  transition:
    color var(--fw-transition) ease,
    background-size var(--fw-transition) ease;
}

.fw-contact-link:hover,
.fw-contact-link:focus-visible {
  color: var(--fw-text);
  background-size: 100% 1px;
}

.fw-contact-link + .fw-contact-link {
  padding-left: calc(var(--fw-space-md) * var(--fw-density));
  border-left: 1px solid var(--fw-border);
}

.fw-contact-icon {
  opacity: 0.50;
  flex-shrink: 0;
  transition: opacity var(--fw-transition) ease;
}

.fw-contact-link:hover .fw-contact-icon { opacity: 0.8; }

/* ══════════════════════════════════════════════════════════════════════
   CINEMATOGRÁFICO — texto blanco sobre overlay oscuro
   Estos overrides son independientes del tema del negocio.
══════════════════════════════════════════════════════════════════════ */

/* Eyebrow: blanco al 65% — legible sin competir con el nombre */
.fw-hero .fw-eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

/* Nombre: blanco puro, con sombra de profundidad */
.fw-hero .fw-name {
  color: #FFFFFF;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.30);
}

/* Slogan: blanco al 78% */
.fw-hero .fw-slogan {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  font-weight: 500;
  font-size: var(--fw-text-base);
}

/* Status: abierto mantiene verde, cerrado usa blanco tenue */
.fw-hero .fw-status--open  .fw-status-text { color: var(--fw-available); }
.fw-hero .fw-status--closed .fw-status-text { color: rgba(255, 255, 255, 0.50); }
.fw-hero .fw-status--closed .fw-status-dot  { background: rgba(255, 255, 255, 0.35); }

/* Trust: valores en blanco, labels en blanco al 55% */
.fw-hero .fw-trust-item-val { color: #FFFFFF; }
.fw-hero .fw-trust-item-lbl { color: rgba(255, 255, 255, 0.55); }
.fw-hero .fw-trust-item + .fw-trust-item {
  border-left-color: rgba(255, 255, 255, 0.18);
}

/* CTA primario: píldora blanca sobre fondo oscuro — máximo contraste */
.fw-hero .fw-cta-primary {
  background: rgba(255, 255, 255, 0.96);
  color: #0D0D0D;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.30),
    0 1px 4px  rgba(0, 0, 0, 0.18);
}

.fw-hero .fw-cta-primary:hover,
.fw-hero .fw-cta-primary:focus-visible {
  background: #FFFFFF;
  opacity: 1;
  transform: translateY(-2px);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.35),
    0 2px 6px  rgba(0, 0, 0, 0.20);
}

.fw-hero .fw-cta-primary:active {
  transform: translateY(0);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.30),
    0 1px 4px  rgba(0, 0, 0, 0.18);
}

/* WhatsApp: verde fijo — hardcoded porque siempre es #25D366 */
.fw-cta-wa {
  background: #25D366;
  background-color: #25D366;
}

/* Contacto secundario: blanco al 60%, hover blanco puro */
.fw-hero .fw-contact-link {
  color: rgba(255, 255, 255, 0.60);
}

.fw-hero .fw-contact-link:hover,
.fw-hero .fw-contact-link:focus-visible {
  color: #FFFFFF;
}

.fw-hero .fw-contact-link + .fw-contact-link {
  border-left-color: rgba(255, 255, 255, 0.18);
}

/* Barra de acento: más visible sobre oscuro */
.fw-hero .fw-rule {
  background: var(--fw-accent);
  opacity: 0.90;
}

/* ══════════════════════════════════════════════════════════════════════
   MOBILE — layout apilado: foto banda superior, contenido sobre fondo sólido
   Resuelve el problema de adaptación de foto portrait vs landscape.
══════════════════════════════════════════════════════════════════════ */

@media (max-width: 767px) {

  /* Foto: banda superior fija — respeta proporciones landscape naturales */
  .fw-photo {
    bottom: auto;
    height: 36vh;
    min-height: 160px;
  }

  /* Gradient en la banda de foto: sutil, solo el borde inferior */
  .fw-photo-gradient {
    background: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.06) 60%,
      rgba(0, 0, 0, 0.22) 100%
    );
  }

  /* Zona de contenido: empieza donde termina la foto, fondo sólido, scrollable */
  .fw-content {
    top: 36vh;
    min-top: 160px;
    justify-content: flex-start;
    background: var(--fw-bg);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Contenido: left-aligned, padding compacto */
  .fw-content-inner {
    align-items: flex-start;
    text-align: left;
    padding:
      calc(var(--fw-space-sm) * var(--fw-density))
      calc(var(--fw-space-md) * var(--fw-density))
      calc(var(--fw-space-lg) * var(--fw-density));
  }

  /* Rule: left-anchored */
  .fw-rule { margin-left: 0; margin-right: 0; }

  /* Logo en mobile: ligeramente más pequeño */
  .fw-identity-logo {
    width: 56px;
    height: 56px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    background: transparent;
  }

  .fw-eyebrow { max-width: 90vw; white-space: normal; }
  .fw-slogan  { max-width: 34ch; }

  /* Trust: scrollable horizontal si no caben todos */
  .fw-trust {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: flex-start;
    padding-bottom: 2px;
  }

  .fw-trust::-webkit-scrollbar { display: none; }

  .fw-trust-item {
    flex-shrink: 0;
    max-width: 100px;
    padding-right: 12px;
  }

  .fw-trust-item + .fw-trust-item { padding-left: 12px; }

  .fw-actions { width: 100%; }

  .fw-contact-strip { justify-content: flex-start; }

  /* ── REVERT cinematic text overrides ─────────────────────────────
     En mobile el contenido está sobre --fw-bg (fondo sólido claro),
     no sobre el overlay oscuro cinematográfico. Texto = tokens del tema.
  ────────────────────────────────────────────────────────────────── */

  .fw-hero .fw-eyebrow { color: var(--fw-text-muted); }

  .fw-hero .fw-name {
    color: var(--fw-text);
    text-shadow: none;
  }

  .fw-hero .fw-slogan {
    color: var(--fw-text-muted);
    font-style: italic;
    font-weight: 400;
    font-size: var(--fw-text-sm);
  }

  .fw-hero .fw-status--closed .fw-status-text { color: var(--fw-text-muted); }
  .fw-hero .fw-status--closed .fw-status-dot  { background: var(--fw-text-muted); }

  .fw-hero .fw-trust-item-val { color: var(--fw-text); }
  .fw-hero .fw-trust-item-lbl { color: var(--fw-text-muted); }
  .fw-hero .fw-trust-item + .fw-trust-item { border-left-color: var(--fw-border); }

  .fw-hero .fw-contact-link { color: var(--fw-text-muted); }

  .fw-hero .fw-contact-link:hover,
  .fw-hero .fw-contact-link:focus-visible { color: var(--fw-text); }

  .fw-hero .fw-contact-link + .fw-contact-link { border-left-color: var(--fw-border); }

  .fw-hero .fw-rule { opacity: 1; }

  /* CTA primario: dark on light (override del cinematográfico blanco) */
  .fw-hero .fw-cta-primary {
    background: var(--fw-text);
    color: var(--fw-bg);
    box-shadow:
      0 2px 8px  rgba(0, 0, 0, 0.10),
      0 1px 2px  rgba(0, 0, 0, 0.06);
  }

  .fw-hero .fw-cta-primary:hover,
  .fw-hero .fw-cta-primary:focus-visible {
    background: var(--fw-text);
    opacity: 0.88;
    transform: translateY(-2px);
    box-shadow:
      0 6px 20px rgba(0, 0, 0, 0.12),
      0 2px 4px  rgba(0, 0, 0, 0.08);
  }

  .fw-hero .fw-cta-primary:active {
    opacity: 1;
    transform: translateY(0);
    box-shadow:
      0 2px 8px  rgba(0, 0, 0, 0.10),
      0 1px 2px  rgba(0, 0, 0, 0.06);
  }
}

/* ══════════════════════════════════════════════════════════════════════
   MOTION: respetar prefers-reduced-motion
══════════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  .fw-photo-img                    { animation: none; }
  .fw-status-dot                   { animation: none; }
  #hero-root.fw-ready .fw-rule     { animation: none; }
  #hero-root.fw-ready .fw-content-inner > * {
    animation: none;
    opacity: 1;
  }
  #hero-root.fw-ready .fw-hero     { transition-duration: 0.01ms; }
  .fw-cta-primary, .fw-cta-wa      { transition: none; }
}

/* ══════════════════════════════════════════════════════════════════════
   DESKTOP — 768px+
══════════════════════════════════════════════════════════════════════ */

@media (min-width: 768px) {

  .fw-nav-inner {
    height: 64px;
    padding: 0 calc(var(--fw-space-xl) * var(--fw-density));
  }

  .fw-nav-logo-img { height: 44px; }

  .fw-nav-phone-text { display: inline; }

  /* Desktop: overlay doble — bottom para texto + izquierda para zona de identidad */
  .fw-photo-gradient {
    background:
      linear-gradient(
        to top,
        rgba(0, 0, 0, 0.84) 0%,
        rgba(0, 0, 0, 0.62) 28%,
        rgba(0, 0, 0, 0.28) 56%,
        rgba(0, 0, 0, 0.06) 80%,
        transparent 100%
      ),
      linear-gradient(
        to right,
        rgba(0, 0, 0, 0.58) 0%,
        rgba(0, 0, 0, 0.32) 32%,
        rgba(0, 0, 0, 0.08) 58%,
        transparent 75%
      );
  }

  /* Contenido: anclado a bottom-LEFT — foto protagoniza la derecha */
  .fw-content-inner {
    max-width: 560px;
    margin-left: 0;
    margin-right: auto;
    padding-left: calc(var(--fw-space-xl) * var(--fw-density));
    padding-right: calc(var(--fw-space-xl) * var(--fw-density));
    padding-bottom: calc(var(--fw-space-xl) * var(--fw-density) + 8px);
    align-items: flex-start;
    text-align: left;
  }

  /* Nombre escala arriba en desktop */
  .fw-name {
    font-size: clamp(44px, 4.8vw, 68px);
    letter-spacing: -2px;
  }

  /* Trust: métricas con más espacio */
  .fw-trust-item { max-width: 140px; }

  /* CTAs: ancho mínimo */
  .fw-cta-primary,
  .fw-cta-wa {
    min-width: 150px;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   DESKTOP GRANDE — 1100px+
══════════════════════════════════════════════════════════════════════ */

@media (min-width: 1100px) {

  .fw-content-inner {
    max-width: 600px;
    padding-left: calc(var(--fw-space-2xl) * var(--fw-density));
  }

  .fw-name {
    font-size: clamp(52px, 4.2vw, 76px);
    letter-spacing: -2.5px;
  }
}
