/* ═══════════════════════════════════════════
   HERO — Seccion principal de la pagina de inicio
   ═══════════════════════════════════════════ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #0B1222 0%, #111D33 20%, #162C4A 45%, #1B3A5E 65%, #1E4570 85%, #1A3A5C 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 20% 80%, rgba(74,122,184,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(59,96,152,0.10) 0%, transparent 65%);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  opacity: 0.025; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Orbes decorativos — mas grandes y luminosos */
.hero-orb {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.hero-orb-1 {
  width: 550px; height: 550px; top: 5%; left: -8%;
  background: radial-gradient(circle, rgba(74,122,184,0.18) 0%, rgba(59,96,152,0.06) 40%, transparent 70%);
  animation: drift 28s ease-in-out infinite;
  filter: blur(80px);
}
.hero-orb-2 {
  width: 450px; height: 450px; bottom: 0%; right: -5%;
  background: radial-gradient(circle, rgba(44,182,125,0.10) 0%, rgba(59,96,152,0.05) 40%, transparent 70%);
  animation: drift 22s ease-in-out infinite; animation-delay: -10s;
  filter: blur(70px);
}

/* Contenido principal */
.hero-inner {
  position: relative; z-index: 1; max-width: 1100px; margin: 0 auto;
  padding: 150px 32px 100px; display: flex; align-items: center; gap: 64px;
}
.hero-content { flex: 1; animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.15s both; }
.hero-eyebrow {
  font-family: 'DM Sans'; font-size: 16px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy-200);
}
.hero h1 {
  margin-top: 20px; font-size: clamp(36px, 5vw, 56px);
  color: #fff; line-height: 1.08;
}
.hero h1 em { font-style: italic; color: var(--navy-200); }
.hero-line {
  margin-top: 24px; width: 48px; height: 1px;
  background: var(--navy-400); opacity: 0.4;
  position: relative; overflow: hidden;
}
.hero-line::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: shimmer 3s ease-in-out infinite;
}
.hero-desc {
  margin-top: 24px; font-size: 15px; color: rgba(255,255,255,0.55);
  max-width: 440px; line-height: 1.7;
}
.hero-desc a { color: var(--navy-300); border-bottom: 1px solid rgba(127,160,212,0.3); }
.hero-desc a:hover { color: var(--navy-200); }
.hero-buttons { margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; }

/* Foto */
.hero-photo-wrap {
  flex-shrink: 0;
  animation: fadeUp 1s cubic-bezier(0.22,1,0.36,1) 0.4s both;
}
.hero-photo {
  width: 300px; height: 370px; border-radius: 14px; overflow: hidden;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.06);
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 20%;
  transform: scale(1);
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1), filter 0.7s ease;
}
.hero-photo:hover img {
  transform: scale(1.08) translate(-1%, -1%);
  filter: brightness(1.08);
}
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(11,18,34,0.5) 100%);
  pointer-events: none;
}

/* ═══════════════════════════════════════════
   BLEEDING CONTENT — Reducir altura del hero
   para que se vea el inicio de la siguiente seccion
   ═══════════════════════════════════════════ */
.hero {
  min-height: calc(100vh - 80px);
}

/* ═══════════════════════════════════════════
   SCROLL INDICATOR — Flecha animada
   ═══════════════════════════════════════════ */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  z-index: 2;
  opacity: 0.9;
  transition: opacity 0.4s ease;
}
.hero-scroll-indicator:hover {
  opacity: 1;
}
.hero-scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}
.hero-scroll-label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  user-select: none;
  text-shadow: 0 0 8px rgba(255,255,255,0.3);
  animation: labelGlow 1.4s ease-in-out infinite;
}
@keyframes labelGlow {
  0%, 100% { opacity: 0.65; text-shadow: 0 0 6px rgba(255,255,255,0.15); }
  50%      { opacity: 1;    text-shadow: 0 0 12px rgba(255,255,255,0.4); }
}
.hero-scroll-chevron {
  animation: scrollBounce 1.4s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.25));
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%      { transform: translateY(12px); opacity: 1; }
}

/* Accesibilidad: prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-chevron {
    animation: scrollPulse 2s ease-in-out infinite;
    filter: none;
  }
  @keyframes scrollPulse {
    0%, 100% { opacity: 0.5; }
    50%      { opacity: 0.9; }
  }
}
