/* Ajustes aprobados para la segunda versión de Liderezas. */
:root { --lila-liderezas: #a58ddb; --turquesa-liderezas: #04afae; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 8;
  padding: 16px clamp(24px, 5vw, 76px);
  background: rgba(238, 244, 239, .96);
  border-bottom: 1px solid rgba(12, 36, 48, .13);
  backdrop-filter: blur(12px);
  transition: background-color .32s ease, color .32s ease, border-color .32s ease, padding .32s ease;
}
.hgc-link { display: inline-flex; transition: transform .32s cubic-bezier(.16, 1, .3, 1); }
.site-header.is-scrolled {
  background: var(--turquesa-liderezas);
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, .35);
}
.site-header.is-scrolled .hgc-link { transform: scale(1.18); }
.site-header.is-scrolled .hgc-link img { filter: brightness(0) invert(1); }
.site-header.is-scrolled .header-cta {
  background: #fff;
  border-color: #fff;
  color: var(--turquesa-liderezas);
}
.hero {
  min-height: auto;
  padding: 0;
  background: #f4ebe4;
}
.hero-banner-art {
  display: block;
  width: 100%;
  height: 100svh;
  min-height: 620px;
  max-height: none;
  margin: 0;
  object-fit: cover;
  object-position: center;
  animation: banner-arrival 1.1s cubic-bezier(.16, 1, .3, 1) both;
}
.hero-grid {
  min-height: 0;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 142px) clamp(24px, 8vw, 120px);
}
.hgc-link img {
  transform-origin: left center;
  animation: menu-logo-breathe 4.8s ease-in-out infinite;
}
.header-cta, .button {
  min-height: 44px;
  border-radius: 10px;
  padding: 12px 20px;
  transition: background-color .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}
.header-cta { display: inline-flex; align-items: center; justify-content: center; }
.button { background: var(--lila-liderezas); }
.button:hover { background: #8069be; }
.button-light { background: var(--paper); color: var(--ink); }
.statement h2 { color: var(--turquesa-liderezas); }

@keyframes banner-arrival {
  from { opacity: 0; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes menu-logo-breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.025); }
}

@media (max-width: 640px) {
  .site-header { align-items: center; flex-wrap: wrap; padding: 13px 20px; }
  .site-header nav { display: flex; order: 3; width: 100%; justify-content: space-between; gap: 10px; }
  .site-header nav a { font-size: .69rem; }
  .hero-banner-art {
    height: 100svh;
    min-height: 580px;
    object-fit: cover;
    object-position: 54% center;
  }
  .hero-grid { padding: 72px 24px 88px; }
  .site-header.is-scrolled .hgc-link { transform: scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner-art, .hgc-link img { animation: none; }
}

/* Ponentes: retratos originales con transparencia, sin alterar su identidad. */
.speaker-grid { grid-template-columns: 1fr 1fr; }
.portrait {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.portrait-maribel { background: linear-gradient(135deg, #b9d8cc, #f0e6d5); }
.speaker-body em { font-family: var(--serif); }

@media (max-width: 640px) {
  .speaker-grid { grid-template-columns: 1fr; }
  .portrait { aspect-ratio: 1 / 1; }
}
