/*HomeV2*/

:root {
  --navy: #2f4b88;
  --cream: #f1e3d3;
  --orange: #f28c3c;
  --teal: rgb(15, 174, 156);
  --yellow: #FED517;
  --ink: #1f2840;
  --background: #fbf7f1;
  --foreground: #221f1b;
  --muted: #6e665f;
  --primary: var(--navy);
  --primary-dark: #23396b;
  --secondary: var(--teal);
  --accent: #f8efe5;
  --border: #e7dfd4;
  --shadow-soft: 0 16px 40px rgba(25, 32, 54, 0.12);
  --shadow-card: 0 18px 48px rgba(25, 32, 54, 0.18);
  --radius: 20px;
  --radius-lg: 28px;
  --font-display: "Chunk Five", "ChunkFive", "Chunk Five Roman", sans-serif;
  --font-sans: "HK Grotesk", "HKGrotesk", "Aileron", "Segoe UI", sans-serif;
  --font-body: "Aileron", "HK Grotesk", "HKGrotesk", "Segoe UI", sans-serif;
}

:root :where(.is-layout-constrained){
  display: flow-root;
}

:root :where(.is-layout-constrained) > *{
  margin-block-end: revert !important;
  margin-block-start: revert !important;
}

main#wp--skip-link--target{
  margin-top: 0 !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.lp-home {
  margin: 0;
  font-family: var(--font-body);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.65;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  background: radial-gradient(circle at top, #ffffff 0%, #f6efe5 45%, var(--background) 100%);
}

.container-wide {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.container-narrow {
  width: min(820px, 92%);
  margin: 0 auto;
}

.section {
  padding: 96px 0;
  position: relative;
  z-index: 1;
}

.section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 60px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(47, 75, 136, 0.06));
  pointer-events: none;
}

.section-light::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(15, 174, 156, 0.06));
}

.section-dark::after {
  background: none;
}

.section:last-of-type::after {
  display: none;
}

.section-light {
  background: var(--background);
}

.section-warm {
  background: linear-gradient(180deg, #fdf9f5 0%, #f1e7da 100%);
  margin-top: 0px;
}

.section-dark {
  background: #1f4b99;
  color: #f7efe6;
}

.section-dark .eyebrow {
  color: var(--yellow);
}

.section-dark h2,
.section-dark h3 {
  color: #fdf6ed;
}

.section-dark .muted,
.section-dark p,
.section-dark .lead {
  color: rgba(247, 239, 230, 0.8);
}

.section-dark .card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 40px rgba(10, 15, 32, 0.35);
}

.section-dark .card p {
  color: rgba(247, 239, 230, 0.82);
}

.section-dark .card .tag {
  color: var(--yellow);
}

.section-dark .card .icon {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(15, 174, 156, 0.2));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  color: #fff;
}

.section-dark .card.featured {
  background: linear-gradient(135deg, #2a4586, #1f366c);
}

.section-dark .button.ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.section-dark .button.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.section-dark .button.light {
  background: #fdf6ed;
  color: var(--primary-dark);
}

.section-dark .contact p {
  color: rgba(247, 239, 230, 0.82);
}

.section-dark .helper {
  color: rgba(247, 239, 230, 0.7);
}

.section-header {
  margin-bottom: 48px;
}

.section-header.centered {
  text-align: center;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.1vw, 3.1rem);
  font-weight: 500;
  margin: 12px 0 16px;
}

.section-header .lead {
  font-size: 1.1rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--orange);
  font-weight: 600;
}

.lead {
  font-size: 1.2rem;
  margin: 0 0 28px;
}

.muted {
  color: var(--muted);
}

.section-header .eyebrow,
.section-header .lead {
  display: block;
}

.footer-tagline {
  display: block;
  font-size: 0.85rem;
  color: var(--orange);
  margin-top: 6px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(25, 32, 54, 0.08);
  border-bottom-color: rgba(47, 75, 136, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 0px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
}

.brand-logo {
  height: 45px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  gap: 26px;
  font-size: 0.92rem;
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--foreground);
}

.footer-nav a:hover {
  color: var(--orange);
}

.site-nav a {
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #1f3a78);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(25, 32, 54, 0.2);
}

.menu-toggle {
  border: 0;
  background: transparent;
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle::before{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transform: translate(-50%, -50%);
  box-shadow: 0 -6px 0 var(--primary), 0 6px 0 var(--primary);
}

.menu-toggle[aria-expanded="true"]::before{
  box-shadow: none;
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.menu-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(254, 213, 23, 0.35);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 18px 0 26px;
  width: min(1120px, 92%);
  margin: 0 auto;
}

.mobile-menu a {
  color: var(--muted);
  font-size: 0.95rem;
}

.mobile-menu .cta-button {
  width: fit-content;
  color: var(--cream);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  text-align: left;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr);
  gap: 56px;
  align-items: center;
  padding: 40px 0 60px;
  animation: fadeUp 0.8s ease-out forwards;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--font-sans);
  font-size: clamp(2.4rem, 3.8vw, 3.9rem);
  margin: 20px 0;
  line-height: 1.2;
}

.hero h1 .title-accent {
  display: block;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  color: var(--primary);
  margin-top: 12px;
}

.hero .lead {
  max-width: 640px;
  margin: 0 0 32px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
}

.button.primary {
  background: linear-gradient(135deg, var(--primary), #1f3a78);
  color: #fff;
  box-shadow: 0 16px 36px rgba(25, 32, 54, 0.2);
}

.button.primary:hover {
  background: linear-gradient(135deg, #24407d, #1b3268);
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(25, 32, 54, 0.24);
}

.button.ghost {
  background: transparent;
  border-color: rgba(47, 75, 136, 0.35);
  color: var(--primary);
}

.button.ghost:hover {
  background: rgba(47, 75, 136, 0.08);
}

.button.light {
  background: #fff7ee;
  color: var(--primary-dark);
}

.button.whatsapp {
  background: #25d366;
  color: #fff;
}

.cta-button::before,
.button.primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.5) 45%, rgba(255, 255, 255, 0) 70%);
  opacity: 0.6;
  transform: translateX(-120%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.cta-button:hover::before,
.button.primary:hover::before {
  transform: translateX(120%);
}

.button:focus-visible,
.cta-button:focus-visible,
.site-nav a:focus-visible,
.footer-nav a:focus-visible {
  outline: 2px solid rgba(47, 75, 136, 0.4);
  outline-offset: 3px;
}

.scroll-down {
  margin-top: 48px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.scroll-label{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding-top: 10px;
  font-size: .78rem;
}

.scroll-label span{
  font-size: inherit;
}

.scroll-label svg{
  display: block;
}

.scroll-down svg {
  width: 22px;
  height: 22px;
  animation: bounce 1.4s infinite;
}

.long-text{
  display: block;
  font-size: 1.2rem;
  color: var(--muted);
  text-align: center;
  margin: 0 auto;
  line-height: 1.65;
}

.long-text strong{
  color: var(--foreground);
  font-weight: 600;
  display: inline;
}

.long-text > span{
  display: block;
  margin-top: 12px;
  margin-bottom: 12px;
  font-size: 1.15rem;
  color: #f28c3c;
  font-weight: 600;
}

.section-title-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Contexto: recuperar apariencia original de esta sección */
#contexto .container-narrow {
  width: min(1120px, 92%);
}

#contexto {
  padding-top: 82px;
  padding-bottom: 82px;
}

#contexto .section-header {
  margin-bottom: 20px;
}

#contexto .context-title {
  font-family: var(--font-sans);
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1f2f5f;
  margin: 8px 0 10px;
}

#contexto .section-title-with-icon {
  display: inline-block;
  white-space: nowrap;
}

#contexto .section-title-with-icon .lp-home-icon {
  margin-left: 12px;
  vertical-align: 0.12em;
}

#contexto .context-image {
  margin-top: 30px;
  margin-bottom: 30px;
}

#contexto .image-placeholder.wide.has-image {
  border-radius: 34px !important;
  overflow: hidden !important;
}

#contexto .image-placeholder.wide.has-image {
  min-height: clamp(280px, 30vw, 390px);
}

#contexto .image-placeholder.wide.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0 !important;
}

.lp-home .section-header h2::before,
.lp-home .section-header h2::after {
  content: none !important;
  display: none !important;
}

.lp-home-icon {
  display: inline-block;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  background-color: #fed517;
}

.lp-home-icon--sparkle {
  -webkit-mask: url("brillos-lola.svg") center / contain no-repeat;
  mask: url("brillos-lola.svg") center / contain no-repeat;
}

.quote {
  position: relative;
  margin: 40px auto 0;
  padding: 40px 56px;
  background: #273883;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 26px 50px -28px rgba(22, 34, 88, 0.45);
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.55;
  text-align: center;
  color: #f5f0e7 !important;
}

#contexto .quote {
  margin: 0;
  width: 100%;
  max-width: none;
  border-radius: 34px;
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 1.62vw, 1.45rem);
  font-weight: 500;
  line-height: 1.5;
  padding: 30px 44px;
  color: #f4f1e8 !important;
}

#contexto .long-text {
  margin-bottom: 0;
  max-width: 980px;
}

#contexto blockquote.quote {
  margin: 0;
}

.lp-home .quote::before,
.lp-home .quote::after,
.lp-home blockquote::before,
.lp-home blockquote::after {
  content: none !important;
  display: none !important;
}

.lp-home .quote .quote__author {
  display: block;
  margin-top: 14px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-sans);
  color: #05c2cc !important;
}

#contexto .quote .quote__author {
  display: inline;
  margin-top: 0;
  margin-left: 0.3em;
  font-size: inherit;
  font-weight: 600;
  font-family: var(--font-sans);
  white-space: nowrap;
  color: #f4f1e8 !important;
}

@media (max-width: 980px) {
  #contexto .container-narrow {
    width: min(820px, 92%);
  }

  #contexto {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  #contexto .section-title-with-icon {
    white-space: normal;
  }

  #contexto .section-title-with-icon .lp-home-icon {
    margin-left: 8px;
  }

  #contexto .quote {
    padding: 30px 28px;
  }
}

/* Enfoque: restaurar aspecto de referencia */
#enfoque.section-warm {
  background: #f8f9fb;
  position: relative;
  overflow: hidden;
}

#enfoque.section-warm::before {
  content: "";
  position: absolute;
  left: -130px;
  top: 58px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(5, 194, 204, 0.12), rgba(5, 194, 204, 0.02) 72%);
  pointer-events: none;
}

#enfoque.section-warm::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, rgba(39, 56, 131, 0.14) 0 8px, rgba(39, 56, 131, 0.01) 8px 18px);
  pointer-events: none;
}

#enfoque .container-wide {
  width: min(1120px, 92%);
  position: relative;
  z-index: 1;
}

#enfoque .section-header {
  margin-bottom: 24px;
}

#enfoque .eyebrow {
  margin-bottom: 6px;
}

#enfoque .enfoque-title {
  font-family: var(--font-sans) !important;
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.08;
  font-weight: 700;
  color: #1f2f5f;
  margin: 8px auto 10px;
  max-width: 930px;
}

#enfoque .enfoque-title.section-title-with-icon {
  display: block;
  white-space: normal;
}

#enfoque .enfoque-title.section-title-with-icon .lp-home-icon {
  margin-left: 10px;
  vertical-align: 0.12em;
}

#enfoque .lead {
  margin: 24px auto 24px;
  max-width: 980px;
  font-size: 1.2rem;
  line-height: 1.5;
}

#enfoque .card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 100%;
  margin: 0 auto;
}

#enfoque .card {
  border-radius: 24px;
  border: 1px solid rgba(47, 75, 136, 0.14);
  box-shadow: 0 16px 28px -22px rgba(31, 75, 153, 0.45);
  padding: 22px 20px 20px;
  gap: 11px;
}

#enfoque .card h3 {
  font-family: var(--font-sans);
  font-size: clamp(1.55rem, 2vw, 2.1rem);
  line-height: 1.06;
  font-weight: 700;
  color: #1f2f5f;
}

#enfoque .card p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #273883;
  opacity: 0.95;
  max-width: 33ch;
  margin: 0 auto;
}

#enfoque .card .icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  font-size: 2em;
}

#enfoque .image-row {
  margin-top: 25px;
}

#enfoque .image-placeholder.wide.has-image {
  min-height: clamp(280px, 29vw, 370px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 30px -24px rgba(31, 75, 153, 0.35);
}

#enfoque .image-placeholder.wide.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

@media (max-width: 1100px) {
  #enfoque .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #enfoque .enfoque-title {
    max-width: 860px;
  }
}

@media (max-width: 768px) {
  #enfoque .card-grid {
    grid-template-columns: 1fr;
  }

  #enfoque .enfoque-title {
    max-width: 100%;
  }
}

/* Acompanamiento: estilo objetivo (cards claras sobre fondo azul) */
#acompanamiento.section-dark {
  background: linear-gradient(180deg, #1d458f 0%, #173f8a 100%);
  position: relative;
  overflow: hidden;
}

#acompanamiento.section-dark::before {
  content: "";
  position: absolute;
  right: -160px;
  top: -30px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 66px, rgba(111, 143, 209, 0.58) 66px 78px, transparent 78px 100%),
    radial-gradient(circle, transparent 0 120px, rgba(111, 143, 209, 0.58) 120px 126px, transparent 126px 100%),
    radial-gradient(circle, transparent 0 170px, rgba(111, 143, 209, 0.58) 170px 184px, transparent 184px 100%),
    radial-gradient(circle, transparent 0 224px, rgba(111, 143, 209, 0.58) 224px 232px, transparent 232px 100%);
  pointer-events: none;
}

#acompanamiento .container-wide {
  width: min(1280px, 94%);
  position: relative;
  z-index: 1;
}

#acompanamiento .section-header {
  margin-bottom: 26px;
}

#acompanamiento .eyebrow {
  color: #f28c3c !important;
  margin-bottom: 8px;
}

#acompanamiento .section-title-with-icon {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--font-sans) !important;
  font-size: clamp(2.3rem, 4.4vw, 4rem);
  line-height: 1.08;
  font-weight: 700;
  color: #f7f2ea;
  margin: 10px auto 12px;
}

#acompanamiento .section-title-with-icon .lp-home-icon {
  margin-left: 10px;
  vertical-align: 0.1em;
}

#acompanamiento .lead {
  margin: 0 auto 30px;
  max-width: 980px;
  font-size: 1.2rem;
  line-height: 1.5;
  color: rgba(247, 239, 230, 0.92) !important;
}

#acompanamiento .card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

#acompanamiento .card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

#acompanamiento .card {
  background: #f8f9fc;
  border: 1px solid rgba(168, 187, 220, 0.55);
  border-radius: 30px;
  box-shadow: 0 20px 34px -26px rgba(8, 18, 45, 0.6);
  padding: 24px 24px 26px;
  min-height: 400px;
  gap: 14px;
  color: #1f2f5f;
  justify-content: flex-start;
  align-content: normal;
}

#acompanamiento .card .icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #d8e4eb;
  box-shadow: inset 0 0 0 1px rgba(126, 156, 205, 0.35);
  color: #6d87b8;
  font-size: 2em;
  line-height: 1;
}

#acompanamiento .card h3 {
  font-family: var(--font-sans);
  font-size: clamp(1.55rem, 2vw, 2.2rem);
  line-height: 1.06;
  font-weight: 700;
  color: #6f8fd1;
}

#acompanamiento .card .tag {
  color: #f28c3c !important;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 4px;
}

#acompanamiento .card p {
  color: #1f2f5f !important;
  opacity: 0.98;
  font-size: 0.9rem;
  line-height: 1.55;
}

#acompanamiento .card .button {
  margin-top: auto;
  width: min(100%, 320px);
  min-height: 56px;
  border-radius: 16px;
  font-weight: 700;
  box-shadow: none;
  white-space: nowrap;
  padding-inline: 22px;
}

#acompanamiento .card .button.ghost {
  border: 1px solid rgba(0, 169, 157, 0.34);
  color: #00a99d !important;
  background: transparent;
}

#acompanamiento .card .button.ghost:hover {
  background: rgba(0, 169, 157, 0.08);
}

#acompanamiento .card.featured {
  background: #fff8e9;
  border: 1px solid rgba(246, 194, 26, 0.35);
  color: #1f2f5f;
}

#acompanamiento .card.featured p,
#acompanamiento .card.featured .tag {
  color: inherit;
}

#acompanamiento .card.featured .icon {
  background: #d8e4eb;
  color: #6d87b8;
}

#acompanamiento .card.featured .button.light {
  background: #f6c21a;
  color: #1f2f5f;
  border: none;
  box-shadow: 0 14px 26px -18px rgba(246, 194, 26, 0.72);
}

#acompanamiento .badge {
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #f6c21a;
  color: #2a2418;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

@media (max-width: 1200px) {
  #acompanamiento .card-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  #acompanamiento .card-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  #acompanamiento .section-title-with-icon {
    white-space: normal;
  }

  #acompanamiento .card-grid.three,
  #acompanamiento .card-grid.four {
    grid-template-columns: 1fr;
  }

  #acompanamiento .card {
    min-height: auto;
  }
}

/* Beneficios: foto con card sobrepuesta (como referencia) */
#beneficios.section-light {
  background: #f7f2ea;
}

#beneficios .container-wide {
  width: min(1120px, 92%);
}

#beneficios .section-header {
  margin-bottom: 24px;
}

#beneficios .benefits {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 54px;
  align-items: start;
}

#beneficios .benefits > div:first-child {
  max-width: none;
}

#beneficios h2 {
  font-family: var(--font-sans);
  font-size: clamp(2.15rem, 3.2vw, 3.25rem);
  line-height: 1.08;
  font-weight: 700;
  color: #726b63;
  margin: 0 0 26px;
}

#beneficios .checklist {
  margin-top: 0;
  gap: 28px;
}

#beneficios .checklist div {
  padding-left: 24px;
}

#beneficios .checklist div::before {
  width: 14px;
  height: 14px;
  top: 0.33em;
  background: transparent;
  border: 2px solid rgba(128, 190, 196, 0.95);
}

#beneficios .checklist h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  line-height: 1.35;
  font-weight: 700;
  color: #2c2b29;
  margin: 0 0 4px;
}

#beneficios .checklist p {
  font-size: 1.03rem;
  line-height: 1.6;
  color: #5f5a53;
  max-width: 58ch;
}

#beneficios .stats {
  display: block;
}

#beneficios .benefits-photo {
  position: relative;
  width: min(100%, 460px);
  margin-inline: auto;
  padding-bottom: 34px;
  overflow: visible;
}

#beneficios .benefits-photo-frame {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(192, 199, 219, 0.45);
  box-shadow: 0 28px 48px -34px rgba(17, 36, 86, 0.5);
  background: transparent;
}

#beneficios .benefits-photo-frame img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center 24%;
  display: block;
}

#beneficios .benefits-photo-frame::after {
  content: none;
}

#beneficios .stats-card {
  position: absolute;
  right: -20px;
  bottom: -22px;
  width: 242px;
  max-width: none;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(214, 205, 193, 0.55);
  box-shadow: 0 22px 40px -30px rgba(17, 36, 86, 0.58);
  backdrop-filter: blur(4px);
  padding: 24px 22px;
  text-align: center;
  line-height: 1.25;
}

#beneficios .stats-card::after {
  content: none;
}

#beneficios .stat-number {
  font-family: var(--font-sans);
  font-size: clamp(3.4rem, 5vw, 5.1rem);
  font-weight: 800;
  line-height: 1;
  color: #1f4b99;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

#beneficios .stat-label {
  margin: 0 0 14px;
  color: #4f4a43;
  font-size: 0.98rem;
  font-weight: 700;
}

#beneficios .stat-divider {
  width: 72%;
  margin: 14px auto;
  background: rgba(143, 136, 126, 0.35);
}

#beneficios .stat-title {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.16rem;
  line-height: 1.25;
  font-weight: 700;
  color: #22201d;
  margin: 0 0 8px;
}

#beneficios .stat-subtitle {
  display: block;
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.35;
  color: #5e5852;
}

@media (max-width: 1200px) {
  #beneficios .benefits {
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 42px;
  }

  #beneficios .stats-card {
    right: -44px;
  }
}

@media (max-width: 980px) {
  #beneficios .benefits {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  #beneficios .benefits-photo {
    max-width: 460px;
  }

  #beneficios .stats-card {
    right: -16px;
    bottom: -22px;
  }
}

@media (max-width: 768px) {
  #beneficios .benefits-photo {
    padding-bottom: 0;
  }

  #beneficios .benefits-photo-frame img {
    height: 470px;
  }

  #beneficios .stats-card {
    position: static;
    width: min(100%, 340px);
    margin: 16px auto 0;
  }
}

.quote__icon {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 18px 28px -20px rgba(22, 34, 88, 0.6);
  backdrop-filter: blur(4px);
  font-size: 0;
  line-height: 0;
}

.quote__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 24px;
  height: 24px;
  background-color: #fed517;
}

.quote__icon--sparkle {
  top: -18px;
  left: -18px;
}

.quote__icon--sparkle::before {
  -webkit-mask: url("brillos-lola.svg") center / contain no-repeat;
  mask: url("brillos-lola.svg") center / contain no-repeat;
}

.quote__icon--heart {
  right: -18px;
  bottom: -18px;
}

.quote__icon--heart::before {
  -webkit-mask: url("corazonlola.svg") center / contain no-repeat;
  mask: url("corazonlola.svg") center / contain no-repeat;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card-grid.three {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid rgba(47, 75, 136, 0.08);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(25, 32, 54, 0.16);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
  color: var(--muted);
}

.card .tag {
  color: var(--orange);
  font-size: 0.9rem;
  font-weight: 600;
}

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(47, 75, 136, 0.12), rgba(15, 174, 156, 0.14));
  box-shadow: inset 0 0 0 1px rgba(47, 75, 136, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.card.featured {
  background: linear-gradient(135deg, var(--primary), #1b3268);
  color: #fff;
  border: none;
  position: relative;
}

.card.featured p,
.card.featured .tag {
  color: rgba(255, 255, 255, 0.85);
}

.card.featured .icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--yellow), #f7d24b);
  color: #2b2520;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.benefits {
  display: grid;
  gap: 32px;
  align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.benefits > div:first-child{
  max-width: 620px;
}

.checklist {
  display: grid;
  gap: 26px;
  margin-top: 24px;
}

.checklist div {
  position: relative;
  padding-left: 38px;
}

.checklist div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--secondary);
  border: 2px solid rgba(137, 198, 186, 0.6);
}

.checklist h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--foreground);
}

.checklist p {
  margin: 0;
  color: rgba(34, 31, 27, 0.7);
}

.stats-card {
  background: linear-gradient(160deg, #fff4e8, #f3e5d5);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  border: 1px solid rgba(47, 75, 136, 0.12);
  box-shadow: 0 18px 36px -24px rgba(25, 32, 54, 0.25);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--primary-dark);
  margin: 0;
}

.stat-label {
  margin: 8px 0 22px;
  color: rgba(34, 31, 27, 0.7);
}

.stat-divider {
  height: 1px;
  background: var(--border);
  margin: 5px auto;
  width: 70%;
}

.stat-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.stat-subtitle {
  margin: 0;
  color: rgba(34, 31, 27, 0.68);
}

#faq .section-header h2 {
  font-family: var(--font-sans);
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  color: #1f2f5f;
}

.faq{
  display:grid;
  gap:14px;
}

.faq details,
.faq summary{
  list-style: none !important;
}

.faq summary::-webkit-details-marker{
  display:none !important;
}

.faq summary::marker{
  content:"" !important;
  display:none !important;
}

.faq summary::before{
  content:none !important;
  display:none !important;
}

.faq details::marker{
  content:"" !important;
  display:none !important;
}

.faq details{
  border: 1px solid rgba(47, 75, 136, 0.10);
  background: rgba(255, 246, 230, 0.55);
  border-radius: calc(var(--radius-lg) - 8px);
  box-shadow: 0 16px 40px rgba(25, 32, 54, 0.08);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.faq details:hover{
  transform: translateY(-2px);
  box-shadow: 0 20px 52px rgba(25, 32, 54, 0.10);
}

.faq summary{
  cursor:pointer;
  position:relative;
  padding: 18px 60px 18px 20px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  background-image: none !important;
}

.faq details[open]{
  background: rgba(255, 246, 230, 0.75);
  border-color: rgba(246, 194, 26, 0.35);
}

.faq summary::after{
  content:"+";
  position:absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  background: rgba(246, 194, 26, 0.22);
  border: 1px solid rgba(246, 194, 26, 0.45);
  color: #1b3268;
  font-weight: 800;
  line-height: 1;
  transition: transform .2s ease, background .2s ease;
}

.faq details[open] summary::after{
  content:"+";
  transform: translateY(-50%) rotate(45deg);
  background: rgba(246, 194, 26, 0.28);
}

.faq p{
  margin: 0;
  padding: 0 20px 18px 20px;
  color: rgba(34, 31, 27, 0.70);
  line-height: 1.6;
}

.contact {
  text-align: center;
}

.contact h2 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  margin: 0 0 16px;
}

.contact p {
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 28px 0 16px;
}

.helper {
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-fallback {
  display: block;
  margin-top: 10px;
  font-size: 0.92rem;
  color: rgba(247, 239, 230, 0.78);
}

.contact-fallback .contact-email {
  font-weight: 600;
  color: #fff;
}

.contact-fallback .contact-whatsapp {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  padding: 40px 0 0;
  border-top: 1px solid var(--teal);
  background: var(--primary-dark);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 20px;
}

.footer-brand{
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand .brand-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.footer-brand .brand-logo {
  filter: brightness(0) invert(1);
  height: 60px;
  width: auto;
  display: inline-block;
}

.footer-nav {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--cream);
}

.footer-bottom {
  text-align: center;
  padding: 16px 0 28px;
  color: var(--cream);
  font-size: 0.85rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hero-media {
  display: grid;
  gap: 16px;
  justify-items: end;
}

.hero-grid {
  gap: 18px;
}

.hero-grid .image-placeholder {
  min-height: 180px;
}

.hero-grid .image-placeholder.wide {
  min-height: 260px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 18px 40px rgba(25, 32, 54, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.7);
  display: grid;
  gap: 12px;
  max-width: 360px;
}

.hero-visual {
  min-height: 520px;
}

.hero-panel {
  width: min(460px, 94%);
  height: min(560px, 86vw);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(31,75,153,.12), rgba(31,75,153,.12)),
    url("https://lolahernandez.org/wp-content/uploads/2026/01/hero-lola-scaled.webp");
  background-size: cover;
  background-position: center 20%;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
}

.hero-float{
  position: absolute;
  border-radius: 18px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 20px 40px -26px rgba(0,0,0,.5);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px 12px;
  color: #1b2a4f;
  border: 1px solid rgba(255,255,255,.65);
  backdrop-filter: blur(4px);
}

.hero.hero--grid{
  position: relative;
  isolation: isolate;
  padding-top: 96px;
  padding-bottom: 0px;
  color: #fff;
  background: #273883;
}

.hero.hero--grid .hero-inner{
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(320px, 1.05fr) minmax(320px, .95fr);
  gap: 64px;
  align-items: start;
}

.hero.hero--grid .eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff !important;
  letter-spacing: .12em;
  font-weight: 600;
}

.hero.hero--grid .eyebrow::before{
  content: "";
  width: 15px;
  height: 15px;
  display: inline-block;
  flex: 0 0 15px;
  background-color: #fed517;
  -webkit-mask: url("brillos-lola.svg") center / contain no-repeat;
  mask: url("brillos-lola.svg") center / contain no-repeat;
}

.hero.hero--grid h1,
.hero.hero--grid .lead,
.hero.hero--grid .metric-label,
.hero.hero--grid .scroll-down{
  color: #fff !important;
}

.hero.hero--grid h1{
  text-shadow: 0 12px 40px rgba(0,0,0,.22);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero.hero--grid .title-accent{
  color: var(--yellow) !important;
}

.hero.hero--grid .lead{
  max-width: 54ch;
  margin-bottom: 48px;
  color: rgba(255,255,255,.9) !important;
}

.hero.hero--grid .hero-actions {
  margin-top: 25px;
}

.hero.hero--grid .button.primary{
  background: linear-gradient(135deg, var(--yellow), #ffd75a) !important;
  color: #1b2a4f !important;
  box-shadow: 0 20px 44px -18px rgba(245,191,20,.7) !important;
}

.hero.hero--grid .button.ghost{
  border-color: rgba(255,255,255,.6) !important;
  color: #fff !important;
  background: rgba(255,255,255,.08);
}

.hero.hero--grid .button.ghost:hover{
  background: rgba(255,255,255,.18) !important;
}

.hero.hero--grid .hero-visual{
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  align-self: start;
  margin-top: 85px;
}

.hero.hero--grid .hero-float-top{
  width: 76px;
  height: 76px;
  top: -10px;
  right: 1px;
  background: linear-gradient(135deg, var(--yellow), #ffd75a);
  transform: rotate(8deg);
  padding: 0;
}

.hero.hero--grid .hero-float-top .emoji{
  width: 42px;
  height: 42px;
  display: block;
  background-color: #05c2cc;
  -webkit-mask: url("corazonlola.svg") center / contain no-repeat;
  mask: url("corazonlola.svg") center / contain no-repeat;
}

.hero.hero--grid .hero-float-mid{
  width: 140px;
  min-height: 96px;
  right: 1px;
  top: 52%;
  transform: translateY(-50%);
  gap: 0;
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: rgba(255, 255, 255, 0.7);
  line-height: .2;
}

.hero.hero--grid .hero-float-mid strong{
  font-size: 2rem;
  color: var(--navy);
  margin: 0 0 2px;
  line-height: 1.05;
}

.hero.hero--grid .hero-float-mid span{
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #3f4e78;
  line-height: 1.15;
}

.hero.hero--grid .hero-float-bottom{
  width: 168px;
  min-height: 92px;
  left: 2px;
  bottom: -10px;
  gap: 0;
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: rgba(255, 255, 255, 0.7);
  line-height: .2;
}

.hero.hero--grid .hero-float-bottom strong{
  font-size: 2.1rem;
  color: var(--teal);
  margin: 0 0 2px;
  line-height: 1.05;
}

.hero.hero--grid .hero-float-bottom span{
  font-size: .78rem;
  color: #3f4e78;
  line-height: 1.15;
}

.site-footer,
.section-dark,
.section-dark .helper,
.footer-nav {
  color: #f7efe6;
}

@media (max-width: 1024px) {
  .container-wide,
  .container-narrow {
    width: min(960px, 92%);
  }

  .hero-inner {
    gap: 32px;
  }

  .card-grid.three {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 900px) {
  .site-nav,
  .cta-button {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu.is-open {
    display: flex;
    margin: 12px auto 0;
  }

  .hero.hero--grid {
    padding-top: 110px;
  }

  .hero.hero--grid .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero.hero--grid .hero-visual {
    min-height: 320px;
    width: 100% !important;
    max-width: 520px;
    margin: 12px auto 0 !important;
  }

  .hero-panel {
    width: 100% !important;
    margin: 0 auto !important;
    height: 360px;
  }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 100px;
  }

  .hero-inner,
  .benefits,
  .card-grid,
  .card-grid.three,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .button,
  .contact-actions .button,
  .button {
    width: 100%;
    max-width: 360px;
  }

  .hero-visual {
    min-height: 320px;
  }

  .hero-float {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .hero.hero--grid{
    padding-top: 120px;
    padding-bottom: 72px;
    background: #273883;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(2rem, 7vw, 2.6rem);
    line-height: 1.15;
  }

  .section-header h2,
  #beneficios h2 {
    font-size: clamp(1.7rem, 6vw, 2.2rem);
  }

  .card,
  .stats-card {
    padding: 26px 22px;
  }

  .section-title-with-icon { gap: 8px; }

  .lp-home-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .quote {
    padding: 34px 24px;
  }

  .quote__icon {
    width: 46px;
    height: 46px;
  }

  .quote__icon::before {
    width: 20px;
    height: 20px;
  }

  .quote__icon--sparkle {
    left: -10px;
    top: -10px;
  }

  .quote__icon--heart {
    right: -10px;
    bottom: -10px;
  }
}

@keyframes lp-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

@keyframes lp-cta-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 140, 60, 0); }
  50%       { box-shadow: 0 0 18px 6px rgba(242, 140, 60, 0.28); }
}

#acompanamiento .card.featured {
  animation: lp-float 4s ease-in-out infinite;
}

#acompanamiento .card.featured:hover {
  animation-play-state: paused;
}

.hero-actions .button.primary {
  animation: lp-cta-glow 2.8s ease-in-out infinite;
}

.hero-actions .button.primary:hover {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  #acompanamiento .card.featured,
  .hero-actions .button.primary {
    animation: none;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-js {
  --reveal-delay: 0ms;
  transform: translateY(12px);
  transition: transform 650ms cubic-bezier(.2,.8,.2,1) var(--reveal-delay);
  will-change: transform;
}

.reveal-js.is-visible {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-js {
    transform: none;
    transition: none;
  }
}

/* ===================================================
   #eventos — Showcase estilo Apple TV
   =================================================== */

#eventos {
  position: relative;
  overflow: hidden;
  min-height: clamp(480px, 78vh, 720px);
  display: flex;
  align-items: stretch;
}

/* Fondo blureado */
.eventos-bg {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  filter: blur(52px);
  transition: opacity 0.45s ease;
  will-change: opacity;
}

/* Overlay azul oscuro */
.eventos-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8, 18, 52, 0.82) 0%,
    rgba(12, 26, 68, 0.72) 100%
  );
}

/* Contenido sobre el fondo */
.eventos-content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 6vh, 80px) 24px clamp(32px, 5vh, 60px);
  gap: 28px;
}

/* Título */
.eventos-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin: 0;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

/* Stage: flechas + imagen */
.eventos-stage {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Imagen principal */
.eventos-featured {
  display: block;
  max-height: clamp(260px, 52vh, 520px);
  max-width: min(86vw, 400px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.60), 0 0 0 1px rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.22s ease;
}

.eventos-featured.no-transition {
  transition: none !important;
}

.eventos-featured:hover {
  transform: scale(1.025);
}

/* Botones prev/next */
.eventos-nav {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.eventos-nav:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.08);
}

.eventos-nav:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 3px;
}

.eventos-nav[hidden] {
  display: none;
}

/* Dots */
.eventos-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.eventos-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.eventos-dot.is-active {
  background: #fff;
  transform: scale(1.5);
}

.eventos-dot:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
}

/* Estado vacío */
.eventos-empty {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  text-align: center;
  margin: 0;
}

/* Lightbox */
.eventos-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 18, 36, 0.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: eventos-lb-in 0.2s ease forwards;
}

.eventos-lightbox[hidden] {
  display: none;
}

@keyframes eventos-lb-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.eventos-lightbox-img {
  max-width: min(90vw, 860px);
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
  object-fit: contain;
  display: block;
}

.eventos-lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  line-height: 1;
}

.eventos-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.24);
}

.eventos-lightbox-close:focus-visible {
  outline: 2px solid rgba(47, 75, 136, 0.6);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .eventos-nav {
    width: 38px;
    height: 38px;
    font-size: 1.6rem;
  }

  .eventos-stage {
    gap: 12px;
  }

  .eventos-lightbox {
    padding: 16px;
  }

  .eventos-lightbox-img {
    max-width: 100%;
    border-radius: var(--radius);
  }

  .eventos-lightbox-close {
    top: 12px;
    right: 12px;
  }
}
