/* ==========================================================================
   DESTINOS AMÉRICA — inicio.css
   Estilos EXCLUSIVOS de la portada.
   ========================================================================== */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--alto-header) + 70px) 0 150px;
  color: var(--blanco);
  overflow: hidden;
  background: var(--petroleo);   /* respaldo si aún no hay foto */
}

.hero__fondo { position: absolute; inset: 0; z-index: 0; }

.hero__fondo img {
  width: 100%; height: 100%; object-fit: cover;
  /* Acercamiento lentísimo: la portada "respira" sin distraer */
  animation: hero-zoom 26s ease-out forwards;
}

@keyframes hero-zoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}

/* Velo azul petróleo corporativo */
.hero__fondo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 40, 47, 0.72) 0%, rgba(30, 58, 71, 0.62) 45%, rgba(20, 40, 47, 0.90) 100%);
}

.hero__contenido {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.hero .etiqueta { color: var(--dorado-claro); }

.hero h1 {
  color: var(--blanco);
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  line-height: 1.3;
  margin-bottom: 6px;
}

.hero__destacado {
  font-family: var(--fuente-serif);
  font-style: italic;
  color: var(--dorado-claro);
}

.hero .separador::before { background: linear-gradient(90deg, transparent, var(--dorado-claro)); }
.hero .separador::after  { background: linear-gradient(90deg, var(--dorado-claro), transparent); }
.hero .separador span    { background: var(--dorado-claro); }

.hero__texto {
  font-size: clamp(1rem, 2vw, 1.14rem);
  color: rgba(255, 255, 255, 0.86);
  max-width: 680px;
  margin: 0 auto 46px;
}

.hero__botones {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Indicador de scroll: línea dorada que desciende en bucle */
.hero__bajar {
  position: absolute;
  bottom: 46px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 1px;
  height: 64px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.hero__linea {
  display: block;
  width: 100%;
  height: 26px;
  background: var(--dorado-claro);
  animation: bajar-linea 2.4s ease-in-out infinite;
}

@keyframes bajar-linea {
  0%   { transform: translateY(-28px); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: translateY(64px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__fondo img { animation: none; }
  .hero__linea { animation: none; }
}

/* ---------- Quiénes somos ---------- */
.quienes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.quienes__imagenes {
  position: relative;
  padding-bottom: 90px;
  padding-right: 60px;
}

.quienes__img--1 { aspect-ratio: 4 / 5; box-shadow: var(--sombra); }

.quienes__img--2 {
  position: absolute;
  right: 0; bottom: 0;
  width: 60%;
  aspect-ratio: 4 / 3;
  border: 10px solid var(--blanco);
  box-shadow: var(--sombra);
}

.quienes__texto p { margin-bottom: 22px; }
.quienes__texto strong { color: var(--petroleo); font-weight: 700; }
.quienes__texto .enlace-sutil { margin-top: 12px; }

/* ---------- Cifras ---------- */
.cifras {
  background: var(--marfil);
  border-block: 1px solid var(--borde);
}

.cifras__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.cifra {
  padding: 62px 26px;
  text-align: center;
  border-right: 1px solid var(--borde);
}

.cifra:last-child { border-right: none; }

.cifra__valor {
  display: block;
  font-family: var(--fuente-titulos);
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--dorado-texto);
  line-height: 1;
  margin-bottom: 14px;
}

.cifra__nombre {
  font-family: var(--fuente-detalle);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--petroleo);
}

/* ---------- Ecosistema de servicios ---------- */
.ecosistema__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--borde);
  border: 1px solid var(--borde);
}

.pilar {
  background: var(--blanco);
  padding: 54px 48px;
  transition: var(--transicion);
  position: relative;
}

.pilar::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--dorado);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s ease;
}

.pilar:hover { background: var(--marfil); }
.pilar:hover::before { transform: scaleY(1); }

.pilar__num {
  display: block;
  font-family: var(--fuente-detalle);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--dorado-texto);
  margin-bottom: 20px;
}

.pilar h3 {
  font-size: 1.32rem;
  margin-bottom: 24px;
  max-width: 420px;
}

.pilar__lista li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 18px;
  font-size: 1rem;
}

.pilar__lista li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 6px; height: 6px;
  background: var(--dorado);
  transform: rotate(45deg);
}

.pilar__lista strong { color: var(--petroleo); font-weight: 700; }

.ecosistema__accion { text-align: center; margin-top: 62px; }

/* ---------- Propuesta de valor ---------- */
.propuesta {
  position: relative;
  padding: 150px 0;
  overflow: hidden;
  background: var(--petroleo);
}

.propuesta__fondo { position: absolute; inset: 0; z-index: 0; }

.propuesta__fondo img { width: 100%; height: 100%; object-fit: cover; }

.propuesta__fondo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20, 40, 47, 0.94), rgba(30, 58, 71, 0.88));
}

.propuesta__contenido {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 940px;
}

.propuesta .etiqueta { color: var(--dorado-claro); }

.propuesta__cita {
  font-family: var(--fuente-serif);
  font-style: italic;
  font-size: clamp(1.14rem, 2.5vw, 1.7rem);
  line-height: 1.7;
  color: var(--blanco);
  position: relative;
  padding-top: 50px;
}

.propuesta__cita::before {
  content: "\201C";
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
  line-height: 1;
  color: var(--dorado);
}

.propuesta__cita strong { color: var(--dorado-claro); font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .quienes__grid { grid-template-columns: 1fr; gap: 70px; }
  .quienes__imagenes { max-width: 540px; }
  .cifras__grid { grid-template-columns: repeat(2, 1fr); }
  .cifra:nth-child(2) { border-right: none; }
  .cifra:nth-child(1), .cifra:nth-child(2) { border-bottom: 1px solid var(--borde); }
}

@media (max-width: 900px) {
  .ecosistema__grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-bottom: 120px; }
  .propuesta { padding: 100px 0; }
}

@media (max-width: 560px) {
  .cifras__grid { grid-template-columns: 1fr; }
  .cifra { border-right: none; border-bottom: 1px solid var(--borde); padding: 40px 20px; }
  .pilar { padding: 40px 28px; }
  .quienes__imagenes { padding-right: 30px; padding-bottom: 60px; }
}
