/* ============================================
   HERO FULL SCREEN — foto de fondo
   ============================================ */
.hero-full {
  position: relative;
  min-height: 100svh;          /* svh: evita el salto por la barra del navegador móvil */
  display: flex;
  align-items: center;
  grid-template-columns: none; /* anula el grid de 2 columnas de .hero */
  padding: calc(68px + var(--sp-lg)) 0 var(--sp-lg);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img,
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;  /* el surfista queda a la derecha, libre para el texto */
  display: block;
}

/* Velo: la foto es de alto contraste y el texto va encima */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg,
      rgba(8, 15, 26, 0.92) 0%,
      rgba(8, 15, 26, 0.78) 32%,
      rgba(8, 15, 26, 0.42) 58%,
      rgba(8, 15, 26, 0.22) 80%,
      rgba(8, 15, 26, 0.14) 100%),
    linear-gradient(to bottom,
      rgba(8, 15, 26, 0.55) 0%,
      rgba(8, 15, 26, 0.10) 30%,
      rgba(8, 15, 26, 0.10) 68%,
      rgba(8, 15, 26, 0.58) 100%);
}

.hero-full .hero-content {
  position: relative;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero-full .hero-title,
.hero-full .hero-desc,
.hero-full .hero-stat-value,
.hero-full .hero-stat-label {
  color: var(--white);
}

.hero-full .hero-title {
  max-width: 15ch;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

.hero-full .hero-title em {
  color: var(--ocean-light);
}

.hero-full .hero-desc {
  color: rgba(255, 255, 255, 0.82);
  max-width: 46ch;
}

.hero-full .hero-eyebrow .label-ocean {
  color: var(--ocean-light);
}

.hero-full .hero-eyebrow-dot {
  background: var(--ocean-light);
  box-shadow: 0 0 0 4px rgba(75, 181, 212, 0.25);
}

.hero-full .hero-stats {
  border-top-color: rgba(255, 255, 255, 0.22);
}

.hero-full .hero-stat-label {
  color: rgba(255, 255, 255, 0.62);
}

/* Botón secundario sobre foto: el gris original no contrasta */
.btn-hero-ghost {
  background: rgba(255, 255, 255, 0.10);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* La barra superior arranca transparente sobre la foto */
.nav:not(.scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav:not(.scrolled) .nav-links a { color: rgba(255, 255, 255, 0.85); }
.nav:not(.scrolled) .nav-links a:hover { color: var(--white); }
/* Dos versiones del logo: la blanca sobre la foto, la oscura al hacer scroll */
.nav-logo-white { display: none; }
.nav:not(.scrolled) .nav-logo-deep  { display: none; }
.nav:not(.scrolled) .nav-logo-white { display: block; }
.nav:not(.scrolled) .nav-toggle span { background: var(--white); }

.nav:not(.scrolled) .nav-pedido {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.nav:not(.scrolled) .nav-pedido:hover {
  border-color: var(--white);
  color: var(--white);
}

@media (max-width: 900px) {
  .hero-bg img { object-position: 70% center; }

  /* Más velo: en pantalla estrecha el texto cubre casi todo el ancho */
  .hero-scrim {
    background:
      linear-gradient(to bottom,
        rgba(10, 18, 30, 0.82) 0%,
        rgba(10, 18, 30, 0.72) 45%,
        rgba(10, 18, 30, 0.86) 100%);
  }
}

@media (max-width: 768px) {
  /* El contenido debe caber en pantalla: si no, las stats quedan cortadas */
  .hero-full {
    min-height: 100svh;
    padding: calc(68px + var(--sp-md)) 0 var(--sp-md);
  }

  .hero-full .hero-title { max-width: 100%; }

  .hero-full .hero-desc {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }

  .hero-full .hero-actions {
    margin-bottom: 1.75rem;
  }

  .hero-full .hero-stats {
    padding-top: 1.25rem;
    gap: var(--sp-sm);
  }

  /* El botón flotante tapa la última columna de stats */
  .hero-full .hero-stats > :last-child {
    padding-right: 3.5rem;
  }

  .hero-full .hero-stat-value { font-size: 1.4rem; }
  .hero-full .hero-stat-label { font-size: 0.7rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-bg { animation: hero-in 1.2s cubic-bezier(0.2, 0, 0.2, 1) both; }
}

/* Quien pide menos movimiento ve el póster fijo, no el video */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }

  .hero-bg {
    background-image: url('../../img/hero-poster.webp');
    background-size: cover;
    background-position: 62% center;
  }
}

@keyframes hero-in {
  from { transform: scale(1.06); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

/* ---- Estilos específicos del Home ---- */


/* Proceso steps */
.proceso-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.proceso-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: var(--border-mid);
  z-index: 0;
}

.proceso-step {
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.proceso-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--deep);
  color: white;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 2;
}

.proceso-step:first-child .proceso-num { background: var(--ocean); }
.proceso-step:last-child  .proceso-num { background: var(--coral); }

.proceso-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 0.4rem;
}

.proceso-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Pilares */
.pilar {
  padding: 2rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}

.pilar:hover {
  border-color: var(--ocean);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.pilar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--ocean-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.pilar-icon svg {
  width: 24px;
  height: 24px;
  color: var(--ocean);
}

.pilar-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 0.5rem;
}

.pilar-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Destinos placeholder images */
.destino-placeholder-mancora {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #0F7EA8 0%, #1A5276 40%, #0A3D52 100%);
}

.destino-placeholder-paracas {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #D4A373 0%, #8B6343 40%, #5C3D1E 100%);
}

/* CTA band */
.cta-band {
  background: var(--deep);
  border-radius: var(--r-xl);
  padding: var(--sp-lg) var(--sp-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
}

.cta-band-text .display-sm {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta-band-text p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.cta-band-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

/* Testimonial / Confianza strip */
.confianza-strip {
  background: var(--sand);
  border-radius: var(--r-lg);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.confianza-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.confianza-items {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.confianza-item {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--deep);
  display: flex;
  align-items: center;
  gap: 6px;
}

.confianza-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ocean);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .proceso-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-md);
  }

  .proceso-grid::before { display: none; }

  .cta-band {
    flex-direction: column;
    text-align: center;
    padding: var(--sp-md);
    border-radius: var(--r-lg);
  }

  .cta-band-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-band-actions .btn {
    justify-content: center;
  }

  .confianza-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

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

/* El CTA del nav es azul oscuro: sobre la foto no destaca */
.nav:not(.scrolled) .nav-cta {
  background: var(--ocean);
  color: var(--white) !important;
}

.nav:not(.scrolled) .nav-cta:hover {
  background: var(--ocean-light);
  color: var(--deep) !important;
}
