@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

body.body-loading main,
body.body-loading header,
body.body-loading footer {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* =================== VARIABLES =================== */
:root {
  --gris-oscuro: #22262b;
  --gris-transparente: rgba(34,38,43,0.7);
  --gris-header: rgba(180,180,180,0.73);
  --gris-header-solid: rgba(180,180,180,0.95);
  --blanco: #fff;
  --azul-btn: #7991b7;
  --azul-btn-hover: #647497;
}

/* =================== RESET Y BASE =================== */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #111;
}
a { color: inherit; text-decoration: none; }

/* ========== LOADER ANIRIVERA FINAL ========== */
#ani-loader {
  position: fixed;
  z-index: 3000;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #f7f7f8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s cubic-bezier(.5,1.7,.7,.5);
}

#ani-loader.hide {
  opacity: 0;
  pointer-events: none;
}

.ani-loader-logo {
  width: 230px;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ani-loader-logo img {
  width: 150px;
  height: auto;
  z-index: 2;
  position: relative;
  user-select: none;
  pointer-events: none;
  filter: drop-shadow(0 2px 14px #22262b10);
}

.ani-loader-ring {
  position: absolute;
  width: 220px;
  height: 220px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  border: 4px solid #b4b9be;
  border-right: 4px solid #53575C;
  border-bottom: 4px solid transparent;
  animation: ani-spin 1.4s linear infinite;
  box-shadow: 0 0 34px #b4b9be35;
}

@keyframes ani-spin {
  0% { transform: translate(-50%,-50%) rotate(0deg);}
  100% { transform: translate(-50%,-50%) rotate(360deg);}
}

/* Evita scroll y parpadeos durante el loader */
body.ani-loader-active {
  overflow: hidden !important;
  height: 100vh;
}

/* Oculta todo el contenido durante el loader si usas el método de display:none en el main, no necesitas nada aquí */


/* =================== HEADER Y NAV =================== */
header {
  width: 100%;
  position: fixed;
  top: 0; left: 0;
  z-index: 1000;
  background: linear-gradient(to bottom, var(--gris-header) 60%, transparent 100%);
  box-shadow: none !important;
  transition: background 0.3s;
  min-height: 80px;  /* ← agrega esta línea */
}
header.scrolled {
  background: var(--gris-header-solid) !important;
  transition: background 0.28s;
}
header *:not(header) {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
.navbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  min-height: 80px;
}
.logo-ar {
  height: 60px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

/* =================== MENÚ =================== */
.nav-links a.active {
  position: relative;
}

.nav-links a.active::after {
  content: "";
  display: block;
  position: absolute;
  left: 20px;             /* Desde el inicio */
  right: 20px;            /* Hasta el final */
  bottom: -7px;        /* Separado del texto */
  height: 2px;         /* Grosor de la línea */
  background: #181818; /* Color de la línea */
  border-radius: 2px;
  opacity: 1;
  transition: none;
  filter: none;
}
.nav-links {
  display: flex;
  gap: 1.65vw;                  /* Más separados que antes, pero menos que el inicial 2vw */
  align-items: center;
  justify-content: center;
  flex: 1;
}
.nav-links a {
  position: relative;
  font-weight: 500 !important;            /* Semi-bold: intermedio entre normal y muy bold */
  font-size: 1.1rem;
  color: #181818;
  border-bottom: none !important;
  transition: color 0.22s, transform 0.22s;
  z-index: 1;
  letter-spacing: 0.02em;
}
.nav-links a::after {
  content: "";
  display: block;
  position: absolute;
  left: 45%; right: 45%; bottom: 3px; height: 13px;
  border-radius: 20px;
  background: rgba(255,255,255,0.62);
  filter: blur(8px); opacity: 0; pointer-events: none;
  transition: opacity 0.23s, left 0.26s, right 0.26s, filter 0.28s;
  z-index: -1;
}
.nav-links a:hover,
.nav-links a:focus {
  color: #181818;
  transform: scale(1.09);
}
.nav-links a:hover::after,
.nav-links a:focus::after {
  opacity: 1;
  left: 16%;
  right: 16%;
  filter: blur(16px);
}

/* =================== SOCIAL LINKS =================== */
.social-links {
  display: flex;
  gap: 0.65vw;                 /* MÁS JUNTO */
  margin-left: 1vw;
}
.social-links a {
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  width: 38px; height: 38px;   /* Ligeramente más pequeños si quieres */
  background: rgba(0,0,0,0.06);
  margin-left: 0;              /* JUNTOS, sin margen */
  transition: background 0.18s, box-shadow 0.18s, transform 0.22s;
  position: relative; overflow: visible;
}
.social-links a .bi {
  font-size: 1.5rem;
  color: #111 !important;
  transition: color 0.22s, text-shadow 0.22s, transform 0.22s;
  text-shadow: none;
}
.social-links a::after {
  content: "";
  display: block; position: absolute;
  left: 8px; right: 8px; bottom: 8px; height: 15px;
  border-radius: 50%;
  background: rgba(255,255,255,0.49);
  filter: blur(8px); opacity: 0; pointer-events: none;
  transition: opacity 0.23s, filter 0.22s; z-index: 0;
}
.social-links a:hover {
  background: rgba(200,200,200,0.22);
  box-shadow: 0 0 18px rgba(255,255,255,0.16);
  transform: scale(1.11);
}
.social-links a:hover::after { opacity: 1; filter: blur(19px);}
.social-links a:hover .bi { color: #111 !important; transform: scale(1.13); }

/* ========== HEADER RESPONSIVE (DESPLIEGUE HACIA ABAJO + FONDO) ========== */
.navbar {
  width: 100%;
  display: flex;
  align-items: center;    
  justify-content: space-between;
  padding: 1rem 4vw;
  position: relative;
}
#mainHeader {
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.hamburger-btn {
  background: none;
  border: none;
  font-size: 1.9rem;
  color: #111;
  display: none;       
  cursor: pointer;
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  z-index: 1101;
  margin: 0;
}
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--gris-header-solid) !important; 
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  padding: 2rem 1rem;
  z-index: 999;
}
.mobile-menu.open {
  transform: scaleY(1);
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  width: 100%;
}
.mobile-nav-links a {
  font-size: 1.2rem;
  color: #111;
  text-decoration: none;
  font-weight: 600;
}
.mobile-nav-links a:hover {
  color: var(--naranja, #b35324);
}
.mobile-social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.mobile-social-links a {
  background: rgba(0,0,0,0.06);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 991px) {
  .nav-links,
  .social-links {
    display: none !important;
  }
  .hamburger-btn {
    display: block;
  }
  #mainHeader.menu-open {
    background: var(--gris-header-solid) !important;
    backdrop-filter: blur(6px);
  }
  .home-section,
  .hero-content,
  .escuela-section,
  .qs-section,
  main > section {
    padding-top: 8rem !important;
  }
}

/* ---------- MODAL (oculto por defecto) ---------- */
.test-modal {
  position: fixed; inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
  z-index: 1000;
}
.test-modal.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease;
}

/* ---------- OVERLAY ---------- */
.test-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(3px);
}

/* ---------- CONTENEDOR (slide+scale) ---------- */
.test-container {
  position: relative;
  max-width: 520px;
  margin: 8vh auto;
  padding: 2rem;
  background: rgba(255,255,255,0.95);
  border-radius: 0.8rem;
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
  transform: translateY(-20px) scale(0.95);
  transition: transform 0.35s ease;
}
.test-modal.active .test-container {
  transform: translateY(0) scale(1);
}

/* ---------- BOTÓN CERRAR ---------- */
.test-close {
  position: absolute;
  top: 0.8rem; right: 0.8rem;
  width: 2rem; height: 2rem;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #5078a7;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: background 0.2s, transform 0.2s;
}
.test-close:hover {
  background: #f0f4fb;
  transform: rotate(90deg);
}

/* ---------- PROGRESO ---------- */
.test-progress {
  display: flex;
  justify-content: center;    /* centra horizontalmente */
  gap: 0.8rem;                /* espacio equitativo entre puntos */
  margin: 2.5rem 0 1.5rem;    /* sube el top a 2.5rem y mantiene bottom */
}
.test-progress .step {
  width: 10px; height: 10px;
  background: #ddd; border-radius: 50%;
  transition: background 0.3s, transform 0.3s;
}
.test-progress .step.active {
  background: #5078a7;
  transform: scale(1.2);
}

/* ---------- PREGUNTA ---------- */
.test-question {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #334666;
  margin-bottom: 1rem;
  text-align: center;
}

/* ---------- OPCIONES ---------- */
.test-options {
  display: grid;
  gap: 0.8rem;
}
.test-option-btn {
  padding: 0.85rem 1.2rem;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 0.6rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #334666;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.test-option-btn:hover {
  background: #f0f4fb;
  border-color: #5078a7;
  transform: translateX(6px);
}

/* ---------- RESULTADO ---------- */
.test-result {
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #5078a7;
  margin-top: 1.5rem;
}

@media screen and (max-width: 768px) {
  .test-container {
    width: 92%;
    max-width: 92%;
    margin: 5vh auto;
    padding: 1.6rem 1rem;
    border-radius: 0.6rem;
  }

  .test-question {
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .test-option-btn {
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }

  .test-close {
    top: 0.6rem;
    right: 0.6rem;
    width: 1.8rem;
    height: 1.8rem;
    font-size: 1rem;
  }

  .test-progress {
    margin: 2rem 0 1.2rem;
    gap: 0.6rem;
  }

  .test-progress .step {
    width: 8px;
    height: 8px;
  }

  .test-result {
    font-size: 1.1rem;
  }
}

/* =================== HOME SECTIONS =================== */
.home-section {
  min-height: 100vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  padding-top: 80px;
  padding-left: 5vw;
  padding-right: 5vw;
}

/* --------- HERO CONTENEDOR GENERAL --------- */
.hero-content {
  position: relative; z-index: 2; width: 60%;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-centered {
  align-items: center; text-align: center; justify-content: center;
}
.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 0;
  margin-top: 1.5vw;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  background: none !important;
}

/* =================== SECCIÓN 1: HERO (PRINCIPAL) =================== */
.home-hero .hero-title {
  color: #111 !important;              
  text-shadow: none !important;
  font-size: 3.3rem;
  font-weight: 900;
  line-height: 1.07;
  margin-bottom: 2vw;
  letter-spacing: -0.01em;
  margin-top: -1vw;  /* Ajusta este valor según cuánto quieras que suba */
}
.home-hero .hero-desc {
  color: #fff;
  text-align: center;
  font-size: 1.55rem;         /* Más grande */
  font-weight: 700;           /* Más negrita */
  margin-bottom: 0.8rem;
  margin-top: -2.4rem;
  line-height: 1.35;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
  letter-spacing: -0.01em;
}
.home-hero .cta-btn {
  background: var(--azul-btn);
  color: #fff;
  border: none;
  border-radius: 0.8em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;           /* Más grande */
  padding: 0.7em 1.4em;      /* Menos padding horizontal y vertical */
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(122,151,201,0.12);
  transition: transform 0.18s cubic-bezier(.4,2,.6,1), box-shadow 0.25s cubic-bezier(.4,2,.6,1), background 0.24s cubic-bezier(.4,2,.6,1);
  position: relative;
  overflow: hidden;
  outline: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.home-hero .cta-btn .cta-arrow { margin-right: 0.4em; font-size: 1.1em; }
.home-hero .cta-btn:hover, .home-hero .cta-btn:focus {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 4px 24px 0 #7a97c9cc, 0 2px 8px rgba(122,151,201,0.12);
  background: linear-gradient(90deg, #7a97c9 85%, #b3c8ea 100%);
}

/* === Agregado: degradado inferior en sección 1 === */
.home-hero {
  position: relative;
  z-index: 0;
}
.home-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
  background: linear-gradient(to top, #393939 0%, transparent 100%);
  z-index: 0; /* por debajo del contenido */
  pointer-events: none;
}
@media screen and (max-width: 768px) {
  .home-hero {
    background-image: url('/public/assets/img/home/mobile-seccionh.jpeg') !important; /* ← CAMBIA AQUÍ LA IMAGEN DE FONDO */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-direction: column;
    padding: 0;
    position: relative;
    z-index: 0;
  }

  .home-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(to top, #393939 0%, transparent 100%);
    z-index: 0;
    pointer-events: none;
  }

  .home-hero .hero-content {
    width: 100%;
    padding: 9rem 1.2rem 1.5rem 1.2rem !important;
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 6rem;
  }

  .home-hero .hero-title {
    background: rgba(246, 241, 233, 0.4) !important;
    padding: 1.2rem 1.2rem;
    border-radius: 1.2rem;
    font-size: 1.75rem;
    line-height: 1.35;
    color: #111 !important;
    margin: 0;
  }

  .home-hero .hr-sep {
    display: none;
  }

  .hero-cta-group {
    background: rgba(0, 0, 0, 0.5) !important; 
    padding: 1.2rem 1.2rem;
    border-radius: 1.2rem;
    margin: 0;
    width: 100%;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 3;
    position: relative;
  }

  .home-hero .hero-desc {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
    text-shadow: none;
    line-height: 1.4;
    z-index: 3;
  }

  .home-hero .cta-btn {
    font-size: 1.2rem;
    margin-top: 0.6rem;
    padding: 0.65em 1.4em;
    z-index: 3;
  }
}
/* =================== SECCIÓN 2: =================== */
.home-section.home-2 .hero-title {
  color: #111 !important;
  font-size: 1.9rem;
  font-weight: 900;
  margin-bottom: 0.4em;
  line-height: 1.01;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-shadow: none;
  max-width: 600px;
  margin-left: -60px;
}
.home-section.home-2 .hero-desc {
  color: #111 !important;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1.3em;
  line-height: 1.13;
  letter-spacing: -0.01em;
  max-width: 600px;
  text-transform: uppercase;
  text-shadow: none;
  margin-left: -60px;
}
.home-section.home-2 .hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 60%;
  margin-left: 4vw;
  padding: 0;
  text-align: left;
}
.home-section.home-2 .cta-btn {
  background: var(--azul-btn);
  color: #fff;
  border-radius: 0.8em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;           /* Más grande */
  padding: 0.7em 1.4em;      /* Menos padding horizontal y vertical */
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(122,151,201,0.12);
  transition:
    transform 0.18s cubic-bezier(.4,2,.6,1),
    box-shadow 0.25s cubic-bezier(.4,2,.6,1),
    background 0.24s cubic-bezier(.4,2,.6,1);
  position: relative;
  overflow: hidden;
  outline: none;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.home-section.home-2 .cta-btn .cta-arrow {
  margin-right: 0.4em;
  font-size: 1.3em;
  transform: none;
}
.home-section.home-2 .cta-btn:hover,
.home-section.home-2 .cta-btn:focus {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 4px 24px 0 #7a97c9cc, 0 2px 8px rgba(122,151,201,0.12);
  background: linear-gradient(90deg, #7a97c9 85%, #b3c8ea 100%);
}
.home-section.home-2 {
  display: flex;
  align-items: center;    /* Centra verticalmente */
  justify-content: flex-start;
  min-height: 100vh;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  position: relative;
  z-index: 0;
}

/* === Agregado: degradado superior en sección 2 === */
.home-section.home-2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 160px;
  background: linear-gradient(to bottom, #393939 0%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}
.home-section.home-2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
  background: linear-gradient(to top, #393939 0%, transparent 100%);
  z-index: 0; /* por debajo del contenido */
  pointer-events: none;
}
@media screen and (max-width: 768px) {
  .home-section.home-2 {
    background-image: url('/public/assets/img/home/mobile-seccion1.jpg') !important; /* ← CAMBIA AQUÍ LA IMAGEN DE FONDO */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 160vh !important; /* SE MANTIENE COMO PEDISTE */
    display: flex;
    justify-content: center; /* centra verticalmente */
    align-items: center;     /* centra horizontalmente */
    padding: 0 1.2rem;
    position: relative;
    z-index: 0;
  }

  .home-section.home-2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 160px;
    background: linear-gradient(to bottom, #393939 0%, transparent 100%);
    z-index: 0;
    pointer-events: none;
  }

  .home-section.home-2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 160px;
    background: linear-gradient(to top, #393939 0%, transparent 100%);
    z-index: 0;
    pointer-events: none;
  }

  .home-section.home-2 .hero-content {
    background: rgba(0, 0, 0, 0.3) !important;
    color: #fff;
    z-index: 2;
    position: relative;
    border-radius: 1.2rem;
    padding: 1rem 1.4rem 1.5rem 1.4rem !important; /* ⬅️ padding-top reducido */
    width: calc(100% - 2rem);
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }
  .home-section.home-2 .hero-title {
    color: #fff !important;
    font-size: 1.5rem;
    line-height: 1.3;
    text-transform: none;
    margin: 0;
  }

  .home-section.home-2 .hero-desc {
    color: #eee !important;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 800;
    text-transform: none;
    margin: 0;
  }

  .home-section.home-2 .cta-btn {
    font-size: 1.1rem;
    padding: 0.65em 1.2em;
    border-radius: 0.7rem;
    margin-top: 1rem;
  }
}

/* =================== SECCIÓN 3 =================== */
.home-section.home-3 {
  display: flex;
  align-items: flex-start; /* Para subir el contenido arriba */
  justify-content: flex-start;
  min-height: 100vh;
  padding-top: 95px;       /* ¡Sube todo el bloque! Ajusta aquí si quieres más arriba */
  padding-left: 1vw;       /* Espaciado izquierdo */
  padding-right: 5vw;
  box-sizing: border-box;
  position: relative;
  z-index: 0;
}

.home-section.home-3 .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;     /* Centra todo el contenido en su contenedor */
  text-align: center;
  width: 70%;
  margin-top: 0;
  margin-left: -6vw;       /* Mueve todo el bloque ligeramente a la izquierda (ajusta según tu gusto visual, -6vw es ideal para pantallas grandes) */
}

.home-section.home-3 .hero-title {
  color: #ffffff !important;              
  text-shadow: none !important;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 2vw;
  letter-spacing: -0.01em;
  margin-top: 0;
  text-align: center;
}

.home-section.home-3 .hero-desc {
  color: #d3cfcf;          /* Un gris oscuro, más visible pero no negro */
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-shadow: none;
  text-align: center;
  max-width: 630px;     /* ajusta el valor según lo que necesites */
  margin-left: auto;
  margin-right: auto;
}

.home-section.home-3 .cta-btn {
  background: var(--azul-btn);
  color: #fff;
  border: none;
  border-radius: 0.8em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;           /* Más grande */
  padding: 0.7em 1.4em;      /* Menos padding horizontal y vertical */
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(122,151,201,0.12);
  transition: transform 0.18s cubic-bezier(.4,2,.6,1), box-shadow 0.25s cubic-bezier(.4,2,.6,1), background 0.24s cubic-bezier(.4,2,.6,1);
  position: relative;
  overflow: hidden;
  outline: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 0.1rem;;
}

.home-section.home-3 .cta-btn .cta-arrow { margin-right: 0.4em; font-size: 1.1em; }

.home-section.home-3 .cta-btn:hover, .home-section.home-3 .cta-btn:focus {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 4px 24px 0 #7a97c9cc, 0 2px 8px rgba(122,151,201,0.12);
  background: linear-gradient(90deg, #7a97c9 85%, #b3c8ea 100%);
}
/* === Agregado: degradado superior en sección 2 === */
.home-section.home-3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 160px;
  background: linear-gradient(to bottom, #393939 0%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}
.home-section.home-3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
  background: linear-gradient(to top, #393939 0%, transparent 100%);
  z-index: 0; /* por debajo del contenido */
  pointer-events: none;
}
@media screen and (max-width: 768px) {
  .home-section.home-3 {
    background-image: url('/public/assets/img/home/mobile-seccion3.jpeg') !important; /* ← CAMBIA AQUÍ LA IMAGEN DE FONDO */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 160vh !important;
    position: relative;
    z-index: 0;
    padding-top: 45rem !important; /* 🔹 agrega espacio arriba */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    text-align: center;
  }

  .home-section.home-3::before,
  .home-section.home-3::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 160px;
    pointer-events: none;
    z-index: 0;
  }

  .home-section.home-3::before {
    top: 0;
    background: linear-gradient(to bottom, #393939 0%, transparent 100%);
  }

  .home-section.home-3::after {
    bottom: 0;
    background: linear-gradient(to top, #393939 0%, transparent 100%);
  }

  /* Centrado real */
  .home-section.home-3 .hero-content {
    margin-bottom: 7rem !important;
    background: rgba(0, 0, 0, 0.3) !important;
    color: #fff;
    border-radius: 1.2rem;
    padding: 1rem 1.4rem 1.5rem 1.4rem !important;
    max-width: 83%;
    width: auto;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    margin: 0 auto;
  }

  .home-section.home-3 .hero-title {
    font-size: 1.3rem !important;
    color: #fff !important;
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
  }

  .home-section.home-3 .hero-desc {
    font-size: 1rem !important;
    font-weight: 700;
    color: #eee;
    margin: 0;
    line-height: 1.35;
  }

  .home-section.home-3 .cta-btn {
    font-size: 1.1rem;
    padding: 0.65em 1.4em;
    margin-top: 0.8rem;
    border-radius: 0.8rem;
  }
}

@media screen and (max-width: 768px) {
  .home-section.home-2 br,
  .home-section.home-3 br {
    display: none !important;
  }
}
/* =================== SECCIÓN 5  =================== */
.home-section.home-5 {
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Todo el contenido se va abajo */
  align-items: center;
  min-height: 100vh;
  padding: 0 5vw 6vw 5vw;   /* 6vw de padding abajo, ajusta según tu gusto */
  box-sizing: border-box;
  position: relative;
  z-index: 0;
}

.home-section.home-5 .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;      /* Centrado horizontal */
  text-align: center;
  width: 100%;
  margin: 0;
  /* Si quieres separar aún más, puedes agregar margin-bottom, pero normalmente con el padding abajo del section basta */
}

.home-section.home-5 .hero-title {
  color: #ffffff !important;              
  text-shadow: none !important;
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 2vw;
  letter-spacing: -0.01em;
  margin-top: 0;
  text-align: center;
}

.home-section.home-5 .cta-btn {
  background: var(--azul-btn);
  color: #fff;
  border: none;
  border-radius: 0.8em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  padding: 0.7em 1.4em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(122,151,201,0.12);
  transition: transform 0.18s cubic-bezier(.4,2,.6,1), box-shadow 0.25s cubic-bezier(.4,2,.6,1), background 0.24s cubic-bezier(.4,2,.6,1);
  position: relative;
  overflow: hidden;
  outline: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 1.7vw;
}

.home-section.home-5 .cta-btn .cta-arrow { margin-right: 0.4em; font-size: 1.1em; }

.home-section.home-5 .cta-btn:hover, .home-section.home-5 .cta-btn:focus {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 4px 24px 0 #7a97c9cc, 0 2px 8px rgba(122,151,201,0.12);
  background: linear-gradient(90deg, #7a97c9 85%, #b3c8ea 100%);
}
/* === Agregado: degradado superior en sección 2 === */
.home-section.home-5::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 160px;
  background: linear-gradient(to bottom, #393939 0%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}
.home-section.home-5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
  background: linear-gradient(to top, #393939 0%, transparent 100%);
  z-index: 0; /* por debajo del contenido */
  pointer-events: none;
}
.home-5-topbar {
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  height: 95px;                    /* Más alto */
  background: #ece8e6;
  color: #666666;
  display: flex;
  flex-direction: column;          /* Para centrar también verticalmente */
  align-items: center;
  justify-content: center;         /* Centra contenido al medio */
  padding: 10px 3vw 10px 3vw;      /* Más padding arriba, puedes ajustar */
  box-sizing: border-box;
  z-index: 10;
  border-radius: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25vw;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;              /* Centra texto si hace wrap */
}
@media screen and (max-width: 768px) {
  .home-section.home-5 {
    /* NO CAMBIAMOS LA IMAGEN DE FONDO */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    justify-content: flex-end; /* contenido hacia abajo */
    align-items: center;
    padding: 0 1.2rem 4rem 1.2rem; /* laterales + padding abajo */
    position: relative;
    z-index: 0;
    text-align: center;
  }

  .home-section.home-5::before,
  .home-section.home-5::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 140px;
    pointer-events: none;
    z-index: 0;
  }

  .home-section.home-5::before {
    top: 0;
    background: linear-gradient(to bottom, #393939 0%, transparent 100%);
  }

  .home-section.home-5::after {
    bottom: 0;
    background: linear-gradient(to top, #393939 0%, transparent 100%);
  }

  .home-section.home-5 .hero-content {
    width: 100%;
    max-width: 600px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
  }

  .home-section.home-5 .hero-title {
    font-size: 1.5rem;
    line-height: 1.35;
    font-weight: 800;
    color: #fff;
    margin: 0;
  }

  .home-section.home-5 .cta-btn {
    font-size: 1rem;
    padding: 0.6em 1.2em;
    border-radius: 0.8rem;
    margin: 0;
  }
  
  .home-5-topbar {
    position: relative;
    width: 100%;
    height: auto;
    padding: 1.2em 1.5em;
    font-size: 3.8vw;
    text-align: center;
    background: #ece8e6;
    z-index: 5;
    line-height: 1.2;
  }
}
/* =================== HOME - SECCIÓN FINAL: CTA LIDERAZGO =================== */
.home-section.home-cta-bg {
  background: linear-gradient(90deg, #353332 0%, #504846 100%);
  min-height: 750px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
  z-index: 0;
  overflow: hidden;
}

.home-cta-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 1280px;
  min-height: 750px;
  gap: 1vw;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.home-cta-img {
  flex: 0 0 520px;
  width: 520px;
  height: 750px;
  min-width: 200px;
  max-width: 450px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  z-index: 3;
}

.home-cta-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left bottom;
  background: transparent;
}

.home-cta-content {
  flex: 1 1 0;
  width: 100%;
  max-width: 750px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 540px;
  text-align: center;
  z-index: 0;
}

.home-cta-title {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 3.3rem;
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 2.3rem 0;
}

.home-cta-subtitle {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.39rem;
  font-weight: 400;
  margin-bottom: 2.2rem;
}

.home-cta-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-bottom: 0.5rem;
}

.home-cta-btn,
.cta-btn {
  background: #5d7ca7;
  color: #fff;
  border: none;
  border-radius: 0.8em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.55rem;
  padding: 0.85em 2.1em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(122,151,201,0.12);
  transition: transform 0.18s cubic-bezier(.4,2,.6,1), box-shadow 0.25s cubic-bezier(.4,2,.6,1), background 0.24s cubic-bezier(.4,2,.6,1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}

.home-cta-btn:hover,
.home-cta-btn:focus,
.cta-btn:hover,
.cta-btn:focus {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 4px 24px 0 #7a97c9cc, 0 2px 8px rgba(122,151,201,0.12);
  background: linear-gradient(90deg, #7a97c9 85%, #b3c8ea 100%);
}
.home-section.home-cta-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 160px;
  background: linear-gradient(to bottom, #393939 0%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}
@media screen and (max-width: 768px) {
  .home-section.home-cta-bg {
    flex-direction: column;
    min-height: auto;
    padding: 1.2rem 1.2rem 0 1.2rem !important; /* sin espacio abajo */
    background: linear-gradient(to bottom, #393939 0%, #504846 100%) !important;
  }

  .home-cta-container {
    display: flex;
    flex-direction: column-reverse; /* imagen debajo del contenido */
    justify-content: center;
    align-items: center;
    min-height: auto;
    padding: 0;
    width: 100%;
    max-width: 100%;
    text-align: center;
    gap: 0.8rem; /* ↓ antes 2rem, ahora más pegado al texto */
    position: relative;
    z-index: 2;
  }

  .home-cta-content {
    max-width: 90%;
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
    display: flex;
    flex-direction: column;
  }

  .home-cta-title {
    font-size: 1.8rem;
    line-height: 1.3;
    margin: 0 0 1.2rem 0;
    color: #fff;
  }

  .home-cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    color: #fff;
  }

  .home-cta-action {
    margin-bottom: 0.4rem;
  }

  .home-cta-action .home-cta-btn {
    font-size: 1.1rem;
    padding: 0.65em 1.4em;
  }

  .home-cta-img {
    margin-top: -7rem !important;
    width: 100%;
    max-width: 440px;
    height: auto;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    display: flex;
  }

  .home-cta-img img {
    content: url('/public/assets/img/home/esc-seccion3-mobile.png'); /* ← CAMBIA AQUÍ */
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center bottom;
    display: block;
  }
}
/* =================== QUIENSOY SECCIÓN 1 =================== */
.qs-section.qs-1 {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  background: #f5f3f1;
  min-height: 100vh;
  width: 100%;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}

/* Imagen */
.qs-1-img {
  flex: 0 0 36vw;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: transparent;
  height: 100vh;
  z-index: 2;
  position: relative;
}
.qs-1-img img {
  width: 100%;
  height: 86vh;
  object-fit: contain;
  object-position: left bottom;
  min-width: 230px;
  display: block;
  filter: grayscale(1);
}

/* Contenido */
.qs-1-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;  /* Cambia de center a flex-start para pegar más arriba */
  align-items: center;
  text-align: center;
  height: 100vh;
  padding: 7vw 2vw 0 2vw;      /* Sube aún más, prueba con 5vw o incluso 7vw */
  max-width: 900px;
  min-width: 0;
  margin: 0 auto;
  box-sizing: border-box;
  z-index: 2;
}

/* Título grande arriba */
.qs-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 3.8rem;
  font-weight: 600;
  color: #393939;
  margin-bottom: 0.08rem;
  margin-top: 0;
  line-height: 1.06;
  letter-spacing: -0.01em;
}

/* Frases principales */
.qs-big {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.9rem;
  color: #393939;
  font-weight: 500;
  margin-bottom: -0.3rem;     /* Mucho menos espacio */
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
}

.qs-1-bottom-bar {
  width: 100vw;
  background: #393939;
  min-height: 178px;
  height: 22vh;
  padding: 0;
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;    /* El contenido más arriba */
  justify-content: flex-end;
  pointer-events: none;
}
.qs-1-content .qs-big:last-of-type {
  margin-bottom: 1.5rem;      /* espacio hasta el bloque gris; ajústalo */
}

/* Bloque gris inferior */
.qs-1-bloque {
  width: 50vw;
  min-width: 350px;
  max-width: 730px;
  margin-right: 6vw;
  margin-left: auto;
  margin-bottom: 2vh;
  background: none;
  color: #fff;
  border-radius: 0 0 20px 20px;
  z-index: 2;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;    /* <- clave para alinear al lado derecho */
  justify-content: flex-start;
  padding: 1.2em 0 0.4em 0;
  box-sizing: border-box;
  position: absolute;
  right: 0;
  bottom: 0px;
  left: unset;
  transform: none;
}
.qs-bloque-txt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.80rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.7em;
  margin-top: 0;
  line-height: 1.13;
  text-align: center;           /* <- Alinea el texto a la derecha */
  letter-spacing: -0.01em;
  width: 100%;
}

.qs-cita {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.50rem;
  color: #e0e0e0;
  font-style: italic;
  font-weight: 400;
  margin: 0;
  line-height: 1.22;
  text-align: center;           /* <- Cita a la derecha también */
  letter-spacing: -0.01em;
  width: 100%;
}
@media (max-width: 768px) {
  .qs-section.qs-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #ece8e6;
    padding-top: 4.2rem !important;
    padding-bottom: 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
  }

  .qs-1-img {
    order: 1;
    width: 100%;
    background: #ece8e6;
    margin: 0 auto;
    display: block;
  }

  .qs-1-img img {
    width: 88%;        /* ⬅️ Reduce tamaño */
    margin: 0 auto;    /* ⬅️ Centrado si no es 100% */
    height: auto;
    object-fit: contain;
    object-position: center top;
    display: block;
    filter: grayscale(1);
  }

  .qs-1-img::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px; /* puedes ajustar */
    background: linear-gradient(to bottom, transparent 0%, #ece8e6 100%);
    z-index: 2;
    pointer-events: none;
  }

  .qs-1-content {
    order: 2;
    width: 100%;
    padding: 1rem 1.2rem 1rem;
    background: #ece8e6;
    box-sizing: border-box;
    text-align: center;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .qs-title {
    font-size: 2.3rem;
    color: #393939;
    font-weight: 600;
    margin: 0 0 0.6rem;
    line-height: 1.2;
  }

  .qs-big {
    font-size: 1.1rem;
    color: #393939;
    line-height: 1.35;
    margin: 0 0 0.7rem;
    max-width: 90%;
    word-break: break-word;
  }

  .qs-1-bloque {
    order: 3;
    width: 100%;
    background: #393939;
    padding: 1.5rem 1rem 1.2rem;
    margin: 0;
    box-sizing: border-box;
    border-radius: 0;
    text-align: center;
    color: white;

    position: relative;
  }

  .qs-bloque-txt {
    font-size: 1.2rem;
    color: white;
    margin: 0 0 0.6rem;
    line-height: 1.4;
  }

  .qs-cita {
    font-size: 1rem;
    font-style: italic;
    color: #e0e0e0;
    margin: 0;
    line-height: 1.4;
  }

  .qs-1-bottom-bar {
    display: none !important;
  }

  .qs-section.qs-2 {
    margin-top: -1px !important;
    padding-top: 0 !important;
    border-top: none !important;
    background-color: #393939 !important;
  }

  .qs-section.qs-1,
  .qs-section.qs-2 {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border: none !important;
  }
}
/* =================== QUIENSOY SECCIÓN 2 =================== */
.qs-section.qs-2 {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  background: #393939 !important;
  min-height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-top: 0; /* que NO haya espacio arriba */
}

.qs-2-img {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.qs-2-img img {
  width: 150%;
  height: 90vh;
  max-width: none;
  min-width: 260px;
  object-fit: contain;
  object-position: left bottom;
  display: block;
  z-index: 2;
}

.qs-2-img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px; /* ajusta según se vea mejor */
  background: linear-gradient(to top, #393939 0%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

.qs-2-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 150px 3vw 0 0; /* <--- Menos padding izquierdo, más a la izquierda */
  max-width: 950px;         /* <--- Más ancho, si quieres, para aprovechar espacio */
}
.qs-2-topbar {
  width: 100vw;
  position: absolute;
  left: 0;
  top: 0;
  height: 90px;                    /* Más alto */
  background: #ece8e6;
  color: #666666;
  display: flex;
  flex-direction: column;          /* Para centrar también verticalmente */
  align-items: center;
  justify-content: center;         /* Centra contenido al medio */
  padding: 10px 3vw 10px 3vw;      /* Más padding arriba, puedes ajustar */
  box-sizing: border-box;
  z-index: 10;
  border-radius: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3vw;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;              /* Centra texto si hace wrap */
}

.qs-2-topbold {
  color: #393939;
  font-weight: 900;
  font-size: 1.18em;
  letter-spacing: -0.01em;
  margin-right: 0.4em;
}
.qs-2-title {
  font-size: 3.8vw;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #d3dae7;
  letter-spacing: -0.01em;
  margin-bottom: 1.6vw;
  margin-top: 0.2vw;
  line-height: 1.02;
  z-index: 2;
}

.qs-2-desc {
  color: #fff;
  font-size: 2.4vw;
  font-weight: 400;
  line-height: 1.22;
  margin-bottom: 2vw;
  margin-top: 0.1vw;
  letter-spacing: -0.01em;
  max-width: 790px;
  z-index: 2;
}

.qs-2-bold {
  color: #fff;
  font-size: 1.72vw;
  font-weight: 700;
  margin-top: 1vw;
  margin-bottom: 0;
  letter-spacing: -0.01em;
  line-height: 1.19;
  z-index: 2;
}

.qs-2-logo-bg {
  position: absolute;
  top: 230px;         /* Justo debajo del bloque beige, ajústalo si quieres que baje/suba */
  left: 50%;
  transform: translateX(-50%);
  width: 48vw;        /* Más estrecho, para que no se salga */
  max-width: 670px;
  min-width: 340px;
  opacity: 0.13;
  z-index: 1;
  pointer-events: none;
  filter: grayscale(1) brightness(99) opacity(0.60);
}

.qs-2-logo-bg img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 768px) {
  .qs-section.qs-2 {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: auto;
    min-height: unset;
    background: #393939 !important;
    position: relative;
    overflow: visible;
    padding: 0;
    margin-top: -2px !important; /* ← solapado visual exacto */
    border-top: none !important;
  }

  .qs-2-topbar {
    position: relative;
    width: 100%;
    height: auto;
    padding: 1.2em 1.5em;
    font-size: 3.8vw;
    text-align: center;
    background: #ece8e6;
    z-index: 5;
    line-height: 1.2;
  }

  .qs-2-content {
    width: 100%;
    padding: 1.2rem 7vw 1rem;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
  }

  .qs-2-logo-bg {
    position: absolute;
    top: 10rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    max-width: 400px;
    opacity: 0.1;
    z-index: 1;
    filter: grayscale(1) brightness(99) opacity(0.6);
  }

  .qs-2-logo-bg img {
    width: 100%;
    height: auto;
    display: block;
  }

  .qs-2-title {
    font-size: 2rem;
    color: #d3dae7;
    font-weight: 600;
    margin: 1rem 0 1rem;
    line-height: 1.2;
    z-index: 2;
  }

  .qs-2-desc {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 400;
    line-height: 1.5;
    padding: 0 1.5rem;
    margin-bottom: 1.2rem;
    z-index: 2;
  }

  .qs-2-bold {
    font-size: 1.05rem;
    color: #fff;
    font-weight: 700;
    line-height: 1.4;
    padding: 0 1.5rem;
    margin: 0 0 0.8rem;
    z-index: 2;
  }

  .qs-2-img {
    order: 3;
    width: 100%;
    margin-top: -5rem;
    margin-bottom: 0.9rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 2;
  }

  .qs-2-img img {
    width: 90%;
    height: auto;
    object-fit: contain;
    object-position: center bottom;
    display: block;
    margin: 0 auto;
  }

  .qs-2-img::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 160px;
    background: linear-gradient(to top, #393939 0%, transparent 100%);
    z-index: 3;
    pointer-events: none;
  }

  /* Unión con sección 3 también asegurada */
  .qs-3-bg {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}


/* =============== QUIENSOY SECCIÓN 3: NUEVO DISEÑO =============== */
.qs-3-bg {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: flex;
  justify-content: flex-end;  /* Importante: empuja el contenido a la derecha */
  align-items: stretch;
  background: url('/public/assets/img/quiensoy/quien-fondo-seccion3.jpg') center center/cover no-repeat;
}

.qs-3-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 180px; /* puedes ajustar la altura del degradado */
  background: linear-gradient(to bottom, #393939 0%, transparent 100%);
  z-index: 2;
}
.qs-3-bg::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px; /* ajusta según resultado visual */
  background: linear-gradient(to top, #393939 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}
.qs-3-content {
  position: relative;
  z-index: 5; /* Aumentado para quedar encima de ::after */
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  min-height: 480px;
  padding: 2.5rem 5vw 2.5rem 2vw;
  width: 70%;
  max-width: 70%;
  min-width: 320px;
}

.qs-3-title {
  font-size: 3.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: #fff;
  text-align: right;
  line-height: 1.07;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  width: 100%;
  max-width: none;
}

.qs-3-card {
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 2px 12px 0 rgba(40,40,40,0.11);
  padding: 0.7rem 2.3rem;   /* Mantén solo el espacio que quieras alrededor */
  /* max-width: 440px; */   /* Elimínalo o coméntalo */
  width: auto;              /* ¡Clave! */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.qs-3-card p {
  color: #fff;
  font-size: 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 1.2;     /* ← más pegado, puedes probar con 1.15 o 1.1 incluso */
  margin-bottom: 1.2rem; /* ← menos espacio debajo del párrafo (ajusta según veas) */
}

.qs-3-btn {
  background: var(--azul-btn, #6480a2);
  color: #fff;
  border: none;
  border-radius: 0.8em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  padding: 0.7em 1.4em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(122,151,201,0.12);
  transition: 
    transform 0.18s cubic-bezier(.4,2,.6,1),
    box-shadow 0.25s cubic-bezier(.4,2,.6,1),
    background 0.24s cubic-bezier(.4,2,.6,1);
  position: relative;
  overflow: hidden;
  outline: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  width: auto;
  min-width: 0;
  max-width: none;
  box-sizing: border-box;
  justify-content: center;
}

.qs-3-btn:hover,
.qs-3-btn:focus {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 4px 24px 0 #7a97c9cc, 0 2px 8px rgba(122,151,201,0.12);
  background: linear-gradient(90deg, #7a97c9 85%, #b3c8ea 100%);
}
@media (max-width: 768px) {
  .qs-3-bg {
    position: relative;
    width: 100%;
    min-height: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('/public/assets/img/quiensoy/quien-fondo-seccion3.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left center; /* Clave: inicia desde el lado izquierdo */
    overflow: hidden;
  }

  .qs-3-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, #393939 0%, transparent 100%);
    z-index: 2;
  }

  .qs-3-bg::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, #393939 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
  }

  .qs-3-content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.2rem 1.5rem;
    width: 100%;
    max-width: 90vw;
    box-sizing: border-box;
  }

  .qs-3-title {
    font-size: 2.2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 1.2rem;
  }

  .qs-3-card {
    background: rgba(0, 0, 0, 0.6);
    padding: 1.2rem 1rem;
    width: 100%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    border-radius: 0.6rem;
  }

  .qs-3-card p {
    color: #fff;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 1.2rem;
  }

  .qs-3-btn {
    background: var(--azul-btn, #6480a2);
    color: #fff;
    border: none;
    border-radius: 0.8em;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.65em 1.3em;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(122,151,201,0.12);
    transition: 
      transform 0.18s cubic-bezier(.4,2,.6,1),
      box-shadow 0.25s cubic-bezier(.4,2,.6,1),
      background 0.24s cubic-bezier(.4,2,.6,1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .qs-3-btn:hover,
  .qs-3-btn:focus {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 4px 24px 0 #7a97c9cc, 0 2px 8px rgba(122,151,201,0.12);
    background: linear-gradient(90deg, #7a97c9 85%, #b3c8ea 100%);
  }
}
/* =================== QUIEN SOY - CTA COMUNIDAD FINAL =================== */
.qs-section.qs-cta-comunidad {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 100vh;
  padding-top: 150px;
  padding-left: 1vw;
  padding-right: 5vw;
  box-sizing: border-box;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.qs-section.qs-cta-comunidad::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 180px;
  background: linear-gradient(to bottom, #393939 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
.qs-cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 70%;
  margin-top: 0;
  margin-left: -6vw;
}

.qs-cta-title {
  color: #ffffff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 2vw 0;
  text-align: center;
}

.qs-cta-btn {
  background: var(--azul-btn);
  color: #fff;
  border: none;
  border-radius: 0.8em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  padding: 0.7em 1.4em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(122,151,201,0.12);
  transition: transform 0.18s cubic-bezier(.4,2,.6,1), box-shadow 0.25s cubic-bezier(.4,2,.6,1), background 0.24s cubic-bezier(.4,2,.6,1);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 1vw;
  text-decoration: none;
  position: relative;
  left: -0.5rem;
}

.qs-cta-btn:hover,
.qs-cta-btn:focus {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 4px 24px 0 #7a97c9cc, 0 2px 8px rgba(122,151,201,0.12);
  background: linear-gradient(90deg, #7a97c9 85%, #b3c8ea 100%);
}
@media (max-width: 768px) {
  .qs-section.qs-cta-comunidad {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 3rem 1.5rem 2.5rem;
    min-height: 85vh;
    background-image: url('/public/assets/img/home/seccion4.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right center; /* ✅ desde la derecha */
    box-sizing: border-box;
    position: relative;
  }

  .qs-section.qs-cta-comunidad::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, #393939 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
  }

  .qs-cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 90vw;
    width: 100%;
    margin: 0 auto;
  }

  .qs-cta-title {
    font-size: 2.2rem;
    line-height: 1.25;
    font-weight: 600;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1.8rem;
  }

  .qs-cta-btn {
    background: var(--azul-btn, #6480a2);
    color: #fff;
    border: none;
    border-radius: 0.8em;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.7em 1.4em;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(122,151,201,0.12);
    text-decoration: none;
    transition: transform 0.18s, box-shadow 0.25s, background 0.24s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .qs-cta-btn:hover,
  .qs-cta-btn:focus {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 4px 24px 0 #7a97c9cc, 0 2px 8px rgba(122,151,201,0.12);
    background: linear-gradient(90deg, #7a97c9 85%, #b3c8ea 100%);
  }
}
/* =================== ESCUELA - SECCIÓN HERO =================== */
.escuela-section.escuela-hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 100vh;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.escuela-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,30,30,0.38); /* Overlay oscuro, puedes ajustar la opacidad */
  z-index: 1;
}

.escuela-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 8vh;
}

.escuela-hero-content h1 {
  background: rgba(30, 30, 30, 0.46);
  color: #fff;
  padding: 1.3rem 2.5rem 1.1rem 2.5rem;
  border-radius: 0.18em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 3.4rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.09;
  margin-bottom: 0.7rem;
  box-shadow: 0 4px 20px 0 rgba(0,0,0,0.09);
}

.escuela-hero-content p {
  background: rgba(30, 30, 30, 0.38);
  color: #fff;
  padding: 0.6rem 1.7rem 0.5rem 1.7rem;
  border-radius: 0.18em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.4rem;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

@media screen and (max-width: 768px) {
  .escuela-section.escuela-hero {
    height: 100vh;
    background-position: center center; /* mantiene centro visible */
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0 1rem;
  }

  .escuela-hero-content {
    margin-bottom: 6vh; /* acerca más al borde inferior */
    padding: 0 1rem;
  }

  .escuela-hero-content h1 {
    font-size: clamp(2rem, 6vw, 2.8rem); /* ajusta tamaño según pantalla */
    padding: 1rem 1.5rem;
  }

  .escuela-hero-content p {
    font-size: clamp(1.2rem, 4.8vw, 1.6rem);
    padding: 0.5rem 1.3rem;
  }
}

/* =================== ESCUELA - CARDS =================== */
.escuela-section.escuela-cards-bg {
  background: #ede9e5;
  padding: 2.2rem 0 2.7rem 0;
}

.escuela-cards-title {
  width: 100%;
  text-align: center;
  font-size: 2.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  color: #222;
  margin-bottom: 2.1rem;
  letter-spacing: 0.01em;
  line-height: 1.13;
  padding: 0 1.1rem;
}

.escuela-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 340px);
  justify-content: center;
  gap: 2.3rem 1.2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.escuela-card {
  perspective: 1300px;
  background: none;
  border-radius: 0.22rem;
  box-shadow: 0 3px 19px 0 rgba(40,32,10,0.07);
  transition: transform 0.22s cubic-bezier(.45,1.55,.45,1.05), box-shadow 0.22s cubic-bezier(.45,1.55,.45,1.05);
  will-change: transform, box-shadow;
}
.escuela-card:hover {
  transform: scale(1.045);
  box-shadow: 0 10px 40px 0 rgba(30,30,30,0.16), 0 1.5px 10px 0 rgba(30,30,30,0.08);
  z-index: 10;
}

.escuela-card-inner {
  position: relative;
  width: 100%;
  min-height: 440px;
  height: 440px;
  transition: transform 0.7s cubic-bezier(.4,1.55,.53,.93);
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
}

.escuela-card.flipped .escuela-card-inner {
  transform: rotateY(180deg);
}

.escuela-card-front,
.escuela-card-back {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  backface-visibility: hidden;
  border-radius: 0.22rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.escuela-card-front {
  z-index: 2;
  background: #fff;
}

.escuela-card-img {
  position: relative;
  width: 100%;
  height: 50%;
  min-height: 160px;
  max-height: 220px;
  overflow: hidden;
  border-top-left-radius: 0.22rem;
  border-top-right-radius: 0.22rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.escuela-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* BOTÓN DE PRECIO PEQUEÑO Y REAL + EFECTO */
.escuela-card-btn {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: #f7ed72;
  color: #222;
  font-weight: 400;
  border-radius: 7px;
  font-size: 0.82rem;
  padding: 0.08rem 0.63rem;
  box-shadow: 0 3px 9px 0 rgba(40,32,10,0.08);
  border: 1px solid #e5e0c2;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: 
    background 0.19s,
    color 0.19s,
    box-shadow 0.19s;
  z-index: 3;
  display: inline-block;
  white-space: nowrap;
}
.escuela-card-btn:hover {
  background: #fffccd;
  color: #222;
  box-shadow: 0 0 12px 2px #f7ed72, 0 3px 9px 0 rgba(40,32,10,0.13);
  animation: escuela-btn-shake 0.26s linear 1;
}
/* Efecto vibración leve */
@keyframes escuela-btn-shake {
  0% { transform: translateX(-50%) translateY(0); }
  24% { transform: translateX(-50%) translateY(-1.2px); }
  48% { transform: translateX(-50%) translateY(1.1px); }
  70% { transform: translateX(-50%) translateY(-0.8px);}
  85% { transform: translateX(-50%) translateY(0.7px);}
  100% { transform: translateX(-50%) translateY(0);}
}

.escuela-card-content {
  min-height: 0;
  padding: 1rem 0.8rem 0.7rem 0.8rem;
  text-align: center;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
.escuela-card-content h3 {
  font-size: 1.06rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin: 0 0 0.30rem 0;
  color: #fff;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.escuela-card-content .small {
  font-size: 0.84em;
  font-weight: 400;
  text-transform: none;
}
.escuela-card-content p {
  font-size: 0.92rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.7rem;
  line-height: 1.22;
}
.escuela-card-vermas {
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  letter-spacing: 0.01em;
  margin-top: auto;
  transition: color 0.2s;
  white-space: nowrap;
}
.escuela-card-vermas:hover {
  color: #f7ed72;
}

/* Fondo de texto cards */
.escuela-card--gris .escuela-card-content {
  background: #424242;
}
.escuela-card--azul .escuela-card-content {
  background: #5078a7;
}

/* Card reverso */
.escuela-card-back {
  transform: rotateY(180deg);
  z-index: 3;
  background: #000;
  display: flex;
  flex-direction: column;
}
.escuela-card-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.99;
  position: absolute;
  z-index: 1;
  top: 0; left: 0;
}
.escuela-card-back-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.77);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.22rem;
}
.escuela-card-back-text {
  color: #fff;
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  text-align: center;
  padding: 1.3rem;
  line-height: 1.27;
  max-height: 90%;
  overflow-y: auto;
}

/* =================== ESCUELA - 3 FINAL =================== 
.escuela-section.escuela-cta-bg {
  background: linear-gradient(90deg, #353332 0%, #504846 100%);
  min-height: 750px;
  display: flex;
  align-items: center;
  justify-content: center; 
  position: relative;
  padding: 0;
  z-index: 1;
  overflow: hidden;
}

.escuela-cta-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;      
  max-width: 1280px;  
  min-height: 750px;
  gap: 1vw;
  margin: 0 auto;  
  padding: 0;
  box-sizing: border-box;
}

.escuela-cta-img {
  flex: 0 0 520px;  
  width: 520px;
  height: 750px;
  min-width: 200px;
  max-width: 450px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  z-index: 3;
  background: none;
}

.escuela-cta-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left bottom;
  border: none;
  background: transparent;
  margin: 0;
  box-shadow: none;
  border-radius: 0;
}

.escuela-cta-content {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  max-width: 750px;  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 540px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-align: center;
}

.escuela-cta-title {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  font-size: 3.3rem;
  letter-spacing: 0.01em;
  line-height: 1.10;
  margin-bottom: 2.3rem;
  margin-top: 0;
  text-align: center;
  width: 100%;
  max-width: 100%;
}

.escuela-cta-subtitle {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.39rem;
  letter-spacing: 0.01em;
  font-weight: 400;
  margin-bottom: 2.2rem;
  text-align: center;
  width: 100%;
}

.escuela-cta-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-bottom: 0.5rem;
  width: 100%;
}

.escuela-cta-arrow {
  display: inline-block;
  width: 52px;
  height: 4px;
  background: #181818;
  border-radius: 2px;
  margin-right: 0.2rem;
  position: relative;
}

.escuela-cta-arrow:after {
  content: '';
  position: absolute;
  right: -8px; top: -3px;
  width: 12px; height: 12px;
  border-top: 3px solid #181818;
  border-right: 3px solid #181818;
  border-radius: 1px;
  transform: rotate(45deg);
}

.escuela-cta-btn,
.cta-btn {
  background: #5d7ca7;
  color: #fff;
  border: none;
  border-radius: 0.8em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.55rem;
  padding: 0.85em 2.1em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(122,151,201,0.12);
  transition: 
    transform 0.18s cubic-bezier(.4,2,.6,1),
    box-shadow 0.25s cubic-bezier(.4,2,.6,1),
    background 0.24s cubic-bezier(.4,2,.6,1);
  position: relative;
  overflow: hidden;
  outline: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  text-decoration: none;
}

.escuela-cta-btn:hover, .escuela-cta-btn:focus,
.cta-btn:hover, .cta-btn:focus {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 4px 24px 0 #7a97c9cc, 0 2px 8px rgba(122,151,201,0.12);
  background: linear-gradient(90deg, #7a97c9 85%, #b3c8ea 100%);
}

@media (max-width: 1200px) {
  .escuela-section.escuela-cta-bg,
  .escuela-cta-container {
    min-height: 500px;
  }
  .escuela-cta-img {
    width: 350px;
    height: 350px;
    min-width: 180px;
    max-width: 500px;
  }
  .escuela-cta-content {
    max-width: 95vw;
    min-height: 300px;
  }
  .escuela-cta-title { font-size: 2.4rem; }
}

@media (max-width: 900px) {
  .escuela-cta-container {
    flex-direction: column;
    align-items: center;
    min-height: 330px;
    padding: 0 0.7rem;
    gap: 2vw;
  }
  .escuela-cta-img {
    width: 180px;
    height: 180px;
    min-width: 90px;
    max-width: 220px;
    margin: 0 auto 2rem auto;
    justify-content: center;
  }
  .escuela-cta-content {
    align-items: center;
    text-align: center;
    padding: 0;
    width: 100%;
    max-width: 95vw;
  }
  .escuela-cta-title, .escuela-cta-subtitle {
    text-align: center;
  }
  .escuela-cta-title { font-size: 1.25rem; }
}

@media (max-width: 600px) {
  .escuela-section.escuela-cta-bg {
    min-height: 260px;
    padding: 0.6rem 0;
  }
  .escuela-cta-img {
    width: 80px;
    height: 80px;
    min-width: 50px;
    max-width: 90px;
  }
  .escuela-cta-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  .escuela-cta-subtitle {
    font-size: 0.92rem;
    margin-bottom: 1rem;
  }
  .escuela-cta-btn, .cta-btn {
    font-size: 0.93rem;
    padding: 0.35em 1em;
    border-radius: 10px;
  }
}*/

/* =================== LIDERAZGO =================== */
.body-liderazgo {
  background: #2d2927 !important;
  min-height: 100vh;
}

.liderazgo-section:first-of-type { margin-top: 2.7rem; }
.liderazgo-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4.5rem 0 3.5rem 0;
  min-height: 80vh;
}
.liderazgo-img-bg {
  width: 93vw;
  max-width: 1160px;
  min-height: 470px;
  height: 46vw;
  max-height: 650px;
  border-radius: 0.7rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 6px 28px 0 rgba(35,30,24,0.21);
  position: relative;
}
.liderazgo-content-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 2.2rem 2.6rem 2.2rem;
  position: relative;
  gap: 1.1rem;
}
.liderazgo-title-bg {
  background: rgba(24,24,24,0.59);
  border-radius: 0.29em;
  display: inline-block;
  padding: 0.42em 1.2em 0.32em 1.2em;
  margin-bottom: 0.7rem;
}
.liderazgo-title-bg h1 {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.95rem;
  font-weight: 700;
  line-height: 1.08;
  text-align: center;
  margin: 0;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.liderazgo-desc-bg {
  background: rgba(28,28,28,0.54);
  border-radius: 0.24em;
  display: inline-block;
  padding: 0.62em 1.1em 0.53em 1.1em;
  margin-bottom: 0.7rem;
  max-width: 95vw;
}
.liderazgo-desc-bg p {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.21rem;
  font-weight: 600;
  line-height: 1.21;
  text-align: center;
  margin: 0;
  letter-spacing: 0.01em;
}

/* Filas de info + botón (alineados igual, estéticos) */
.liderazgo-row-flex {
  width: 100%;
  display: flex;
  justify-content: center;
}
.liderazgo-info-btns {
  display: flex;
  align-items: stretch;
  gap: 2.1rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 800px; /* más espacio para que no se vea apretado */
}

/* Cajas de videos y botón: iguales dimensiones */
.liderazgo-info-box-bg,
.liderazgo-btn-box-bg {
  background: rgba(40,40,40,0.74);
  border-radius: 0.25em;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 340px;      /* ← más ancho aún */
  max-width: 380px;
  min-height: 94px;      /* más alto si el texto crece */
  padding: 0.7em 2.1em 0.7em 1.8em;
  flex: 1 1 350px;
  box-sizing: border-box;
}

/* Botón-comprar y contenido a la derecha */
.liderazgo-btn-box-bg {
  gap: 1.2em;
}

/* Icono carrito alineado izquierda, fuera del botón pero dentro del fondo */
.liderazgo-cart-col {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.2em;
}
.lider-cart-icon {
  font-size: 3.2rem;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
}

/* Botón y texto modalidad en columna */
.liderazgo-btn-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.16em;
  width: 100%;
}

.liderazgo-btn {
  display: inline-flex;
  align-items: center;
  border: none;
  border-radius: 0.68em;
  padding: 0.85em 1.2em 0.7em 1.2em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.38rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
  text-transform: lowercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.20s cubic-bezier(.49,1.57,.61,1.12), 
    box-shadow 0.23s cubic-bezier(.49,1.57,.61,1.12), 
    background 0.17s;
  box-shadow: 0 3px 22px 0 rgba(80,90,105,0.17);
  outline: none;
  z-index: 1;
  background: #475488;
  margin: 0 0 0 0;
  width: 100%;
  justify-content: center;
  white-space: nowrap;
}

.liderazgo-btn.blue    { background: #475488; box-shadow: 0 4px 16px #48558940;}
.liderazgo-btn.pink    { background: #b66d94; box-shadow: 0 4px 16px #b66d9440;}
.liderazgo-btn.green   { background: #59ad94; box-shadow: 0 4px 16px #59ad9440;}
.liderazgo-btn.yellow  { background: #e4a51e; box-shadow: 0 4px 16px #ebce2c40;}
.liderazgo-btn:hover, .liderazgo-btn:focus {
  transform: scale(1.09);
  box-shadow: 0 2px 40px 0 rgba(200,210,255,0.24), 0 4px 16px 0 #6ec6e944;
  filter: brightness(1.11);
}

.liderazgo-mod-text {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: left;
  margin-top: 0.32em;
  margin-left: 0.10em;
}

.liderazgo-info-box {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.lider-cam-icon {
  font-size: 3.2rem;
  color: #fff;
  filter: drop-shadow(0 2px 9px rgba(84,143,236,0.24));
  margin-right: 0.6em;
}
.liderazgo-info-main {
  font-size: 1.19rem;
  font-weight: bold;
  color: #fff;
  display: block;
}
.liderazgo-info-sub {
  display: block;
  color: #e7e7e7;
  font-size: 1.05rem;
  margin-top: -0.12em;
}

@media screen and (max-width: 768px) {
  .liderazgo-img-bg {
    height: auto !important;
    min-height: 360px;
    padding-top: 1.8rem;
    padding-bottom: 1.6rem;
    background-position: center top;
  }

  .liderazgo-content-group {
    padding: 1rem 1rem 2rem 1rem;
    gap: 1rem;
  }

  .liderazgo-title-bg h1 {
    font-size: 1.6rem;
    line-height: 1.2;
    padding: 0.6rem 0.9rem;
  }

  .liderazgo-desc-bg {
    max-width: 100%;
    padding: 0.6rem 0.9rem;
  }

  .liderazgo-desc-bg p {
    font-size: 1rem;
    line-height: 1.4;
    margin: 0 auto;
  }

  .liderazgo-info-btns {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
  }

  .liderazgo-info-box-bg,
  .liderazgo-btn-box-bg {
    min-height: unset !important;
    height: auto !important;
    flex: 1 1 auto !important;
    padding: 1rem 1rem;
    max-width: 95vw;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
  }

  .liderazgo-info-box,
  .liderazgo-btn-col {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    gap: 0.4rem;
  }

  .lider-cam-icon,
  .lider-cart-icon {
    font-size: 1.6rem;
    margin: 0 0 0.4rem 0;
  }

  .liderazgo-btn {
    font-size: 0.9rem;
    padding: 0.6rem 0.9rem;
    width: 100%;
    max-width: 200px;
    justify-content: center;
  }

  .liderazgo-info-main {
    font-size: 0.9rem;
  }

  .liderazgo-info-sub,
  .liderazgo-mod-text {
    font-size: 0.8rem;
    text-align: center;
  }

  .liderazgo-row-flex {
    width: 100%;
    overflow-x: hidden;
  }

  /* Reducir espacio entre secciones */
  .liderazgo-section {
    padding: 2.5rem 0 2.2rem 0 !important;
  }
}
/* =================== SECCIÓN CARDS LIDERAZGO =================== */

.liderazgo-section.liderazgo-cards-bg {
  background: #ede9e5;
  padding: 2.2rem 0 2.7rem 0;
}
.liderazgo-cards-title-wrapper {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0 1rem;
  margin-bottom: 2.5rem;
}
.liderazgo-cards-title {
  font-size: 2rem;
  font-weight: 400;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1a1a1a;
  line-height: 1.2;
  letter-spacing: 0.015em;
  max-width: 950px;
  margin: 0 auto;
}
.liderazgo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.liderazgo-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 340px);
  justify-content: center;
  gap: 2.3rem 1.2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.liderazgo-card {
  perspective: 1300px;
  background: none;
  border-radius: 0.22rem;
  box-shadow: 0 3px 19px 0 rgba(40,32,10,0.07);
  transition: transform 0.22s cubic-bezier(.45,1.55,.45,1.05), box-shadow 0.22s cubic-bezier(.45,1.55,.45,1.05);
  will-change: transform, box-shadow;
}
.liderazgo-card:hover {
  transform: scale(1.045);
  box-shadow: 0 10px 40px 0 rgba(30,30,30,0.16), 0 1.5px 10px 0 rgba(30,30,30,0.08);
  z-index: 10;
}

.liderazgo-card-inner {
  position: relative;
  width: 100%;
  min-height: 440px;
  height: 440px;
  transition: transform 0.7s cubic-bezier(.4,1.55,.53,.93);
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
}

.liderazgo-card.flipped .liderazgo-card-inner {
  transform: rotateY(180deg);
}

.liderazgo-card-front,
.liderazgo-card-back {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  backface-visibility: hidden;
  border-radius: 0.22rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.liderazgo-card-front {
  z-index: 2;
  background: #fff;
}

.liderazgo-card-img {
  position: relative;
  width: 100%;
  height: 50%;
  min-height: 160px;
  max-height: 220px;
  overflow: hidden;
  border-top-left-radius: 0.22rem;
  border-top-right-radius: 0.22rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.liderazgo-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* BOTÓN DE PRECIO PEQUEÑO Y REAL + EFECTO */
.liderazgo-card-btn {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: #f7ed72;
  color: #222;
  font-weight: 400;
  border-radius: 7px;
  font-size: 0.82rem;
  padding: 0.08rem 0.63rem;
  box-shadow: 0 3px 9px 0 rgba(40,32,10,0.08);
  border: 1px solid #e5e0c2;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: 
    background 0.19s,
    color 0.19s,
    box-shadow 0.19s;
  z-index: 3;
  display: inline-block;
  white-space: nowrap;
}
.liderazgo-card-btn:hover {
  background: #fffccd;
  color: #222;
  box-shadow: 0 0 12px 2px #f7ed72, 0 3px 9px 0 rgba(40,32,10,0.13);
  animation: escuela-btn-shake 0.26s linear 1;
}
/* Efecto vibración leve */
@keyframes liderazgo-btn-shake {
  0% { transform: translateX(-50%) translateY(0); }
  24% { transform: translateX(-50%) translateY(-1.2px); }
  48% { transform: translateX(-50%) translateY(1.1px); }
  70% { transform: translateX(-50%) translateY(-0.8px);}
  85% { transform: translateX(-50%) translateY(0.7px);}
  100% { transform: translateX(-50%) translateY(0);}
}

.liderazgo-card-content {
  min-height: 0;
  padding: 1rem 0.8rem 0.7rem 0.8rem;
  text-align: center;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
.liderazgo-card-content h3 {
  font-size: 1.06rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin: 0 0 0.30rem 0;
  color: #fff;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.liderazgo-card-content .small {
  font-size: 0.84em;
  font-weight: 400;
  text-transform: none;
}
.liderazgo-card-content p {
  font-size: 0.92rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.7rem;
  line-height: 1.22;
}
.liderazgo-card-vermas {
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  letter-spacing: 0.01em;
  margin-top: auto;
  transition: color 0.2s;
  white-space: nowrap;
}
.liderazgo-card-vermas:hover {
  color: #f7ed72;
}

/* Fondo de texto cards */
.liderazgo-card--gris .liderazgo-card-content {
  background: #424242;
}
.liderazgo-card--azul .liderazgo-card-content {
  background: #5078a7;
}

/* Card reverso */
.liderazgo-card-back {
  transform: rotateY(180deg);
  z-index: 3;
  background: #000;
  display: flex;
  flex-direction: column;
}
.liderazgo-card-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.99;
  position: absolute;
  z-index: 1;
  top: 0; left: 0;
}
.liderazgo-card-back-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.77);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.22rem;
}
.liderazgo-card-back-text {
  color: #fff;
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  text-align: center;
  padding: 1.3rem;
  line-height: 1.27;
  max-height: 90%;
  overflow-y: auto;
}

@media screen and (max-width: 768px) {
  .liderazgo-section.liderazgo-cards-bg {
    background: #ede9e5;
    padding: 1rem 0 2.7rem 0 !important;
  }
  .liderazgo-cards-title {
    font-size: 1.3rem;
    padding: 0 1rem;
  }

  .liderazgo-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0 1.2rem;
    width: 100%;
  }

  .liderazgo-card {
    width: 100%;
    max-width: 100%;
    perspective: 1300px;
    margin: 0 auto;
  }

  .liderazgo-card-inner {
    height: 440px;
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(.4,1.55,.53,.93);
  }

  .liderazgo-card.flipped .liderazgo-card-inner {
    transform: rotateY(180deg);
  }

  .liderazgo-card-front,
  .liderazgo-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 0.22rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .liderazgo-card-front {
    background: #fff;
    z-index: 2;
    transform: rotateY(0deg);
  }

  .liderazgo-card-back {
    transform: rotateY(180deg);
    z-index: 1;
    background: #000;
  }

  .liderazgo-card-back img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.96;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
  }

  .liderazgo-card-back-overlay {
    position: absolute;
    background: rgba(0, 0, 0, 0.75);
    padding: 1rem;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .liderazgo-card-back-text {
    color: #fff;
    font-size: 0.94rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    text-align: center;
    padding: 1rem 0.8rem;
    line-height: 1.4;
  }

  .liderazgo-card-img {
    width: 100%;
    height: 50%;
    min-height: 160px;
    max-height: 220px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  .liderazgo-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .liderazgo-card-content p {
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .liderazgo-card-content h3 {
    font-size: 1.03rem;
  }

  .liderazgo-card-vermas {
    font-size: 0.95rem;
    margin-top: 0.6rem;
  }
}
/* =================== SECCIÓN 4: NEGOCIOS DESDE MI ESENCIA =================== */
.liderazgo-negocios-section {
  position: relative;
  height: 100vh;
  background-color: #728090;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.liderazgo-negocios-bg {
  position: absolute;
  inset: 0;
  background: url('/public/assets/img/logo.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 90%; 
  opacity: 0.08;
  z-index: 1;
}
.liderazgo-negocios-inner {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  max-width: 1600px;
  height: 100%;
}
.liderazgo-negocios-img {
  flex: 0 0 55%;
  display: flex;
  justify-content: flex-start; 
  align-items: flex-end;    
  padding: 0;
  box-sizing: border-box;
}
.liderazgo-negocios-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: none;
  margin: 0;
}
.liderazgo-negocios-texto {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* mantiene el centrado vertical */
  align-items: center;       /* ahora centra horizontalmente en su mitad derecha */
  text-align: center;        /* centra el texto dentro del bloque */
  padding: 0 5vw;
  box-sizing: border-box;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
}
.liderazgo-negocios-frase {
  font-size: 2.3rem;
  line-height: 1.4;
  margin-bottom: 2rem;
}
.btn-liderazgo-negocios {
  background: var(--azul-btn);
  color: #fff;
  border: none;
  border-radius: 0.8em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  padding: 0.7em 1.4em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(122,151,201,0.12);
  transition: transform 0.18s cubic-bezier(.4,2,.6,1),
              box-shadow 0.25s cubic-bezier(.4,2,.6,1),
              background 0.24s cubic-bezier(.4,2,.6,1);
  position: relative;
  overflow: hidden;
  outline: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  text-decoration: none;
}

.btn-liderazgo-negocios:hover,
.btn-liderazgo-negocios:focus {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 4px 24px 0 #7a97c9cc,
              0 2px 8px rgba(122,151,201,0.12);
  background: linear-gradient(90deg, #7a97c9 85%, #b3c8ea 100%);
}

@media screen and (max-width: 768px) {
  .liderazgo-negocios-section {
    height: auto;
    padding: 0.8rem 0 0 0; /* subimos toda la sección un poco más */
    display: flex;
    flex-direction: column;
  }

  .liderazgo-negocios-inner {
    flex-direction: column-reverse;
    height: auto;
    width: 100%;
    position: relative;
  }

  .liderazgo-negocios-texto {
    padding: 0 1.2rem 1.6rem 1.2rem;
    margin-top: -4.9rem; /* subido un poco más */
    text-align: center;
    position: relative;
    z-index: 2;
  }

  .liderazgo-negocios-frase {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
  }

  .btn-liderazgo-negocios {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
    position: relative;
    z-index: 2;
  }

  .liderazgo-negocios-bg {
    background: url('/public/assets/img/logo.png') no-repeat center top;
    background-size: 85%;
    opacity: 0.08;
    position: absolute;
    top: 4rem !important; /* ← bajamos más el logo */
    left: 0;
    right: 0;
    height: 60%;
    z-index: 1;
  }

  .liderazgo-negocios-img {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 0rem;
  }

  .liderazgo-negocios-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}
/* =================== SECCIÓN 5: ROMPAMOS APARIENCIAS =================== */
.liderazgo-apariencias {
  height: 100vh;
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4rem;
  box-sizing: border-box;
  filter: grayscale(100%); 
}

.liderazgo-apariencias-texto {
  max-width: 900px;
  width: 100%;
  text-align: center;               /* centra el texto dentro de su bloque */
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 3rem;                /* tamaño similar al hero */
  font-weight: 500;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  padding: 0 1rem;                  /* evita que toque los bordes en móvil */
}
@media screen and (max-width: 768px) {
  .liderazgo-apariencias {
    height: 75vh; /* bajamos un poco la altura pero se mantiene alto */
    padding-bottom: 2.8rem; /* más pegado al borde inferior */
    background-position: center top;
    background-size: cover;
  }

  .liderazgo-apariencias-texto {
    font-size: 1.6rem;
    line-height: 1.3;
    padding: 0 1.4rem;
  }
}
/* =================== LIBROS =================== */
.body-libros {
  background: #504e4c;
  min-height: 100vh;
}

.libros-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
  padding: 2.5rem 1rem;
  margin-top: 3.3rem;
}

.libros-card {
  display: flex;
  gap: 3.5vw;
  background: none;
  align-items: center;
  max-width: 1100px;
  width: 100%;
  justify-content: center;
}

.libros-img {
  background: #fff;
  border-radius: 0.15em;
  box-shadow: 0 3px 16px 0 rgba(40,32,10,0.11);
  padding: 0.7em 0.9em;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 350px;
  max-width: 380px;
}

.libros-img img {
  width: 100%;
  height: auto;
  border-radius: 0.1em;
  box-shadow: 0 0.5px 3px #e6e6e6;
  display: block;
}

.libros-info {
  color: #fff;
  max-width: 530px;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  justify-content: center;
  align-items: center;      /* <<--- CENTRA TODO EL CONTENIDO */
  text-align: center;       /* <<--- TEXTO CENTRADO */
}

.libros-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 3rem;
  font-weight: 900;
  margin: 0;
  letter-spacing: 0.01em;
  text-align: center;       /* <<--- CENTRA TÍTULO */
}

.libros-desc {
  font-family: 'Georgia', serif;
  font-size: 1.28rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 0.5em;
  text-align: center;       /* <<--- CENTRA DESCRIPCIÓN */
}

.libros-desc em {
  font-style: italic;
  color: #fffde8;
}

.libros-btn {
  margin-top: 0.9em;
  padding: 0.7em 2.2em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.23rem;
  font-weight: 800;
  border: none;
  border-radius: 0.7em;
  background: #8194ad;
  color: #fff;
  box-shadow: 0 3px 14px 0 rgba(60,80,120,0.18);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  display: inline-block;
  transition: 
    background 0.18s, 
    transform 0.16s, 
    box-shadow 0.22s;
}
.libros-btn i {
  margin-right: 0.5rem;   /* espacio entre el icono y el texto */
  vertical-align: middle; /* alineación vertical */
}
.libros-btn.blue { background: #8194ad; }
.libros-btn:hover, .libros-btn:focus {
  background: #7ba0ca;
  transform: scale(1.045);
  box-shadow: 0 7px 32px 0 #afcae844;
}
.libros-video-section {
  background: #504e4c;               /* mismo fondo que .body-libros */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem;                /* espacio superior/inferior */
}
.libros-video-container {
  max-width: 1100px;
  width: 100%;
}
.libros-video-placeholder {
  width: 100%;
  height: auto;
  border-radius: 0.15em;
  box-shadow: 0 3px 16px rgba(40,32,10,0.11);
  display: block;
}

@media screen and (max-width: 768px) {
  .libros-section {
    flex-direction: column;
    padding: 2rem 1.2rem 1.5rem; /* ↓ menor padding inferior */
    gap: 2rem;
    margin-top: 2rem;
  }

  .libros-card {
    flex-direction: column;
    align-items: center;
    gap: 1.8rem; /* ↓ menor separación entre imagen y texto */
  }

  .libros-img {
    max-width: 260px; /* más pequeña */
    min-width: unset;
    padding: 0.4em;
  }

  .libros-img img {
    width: 100%;
    height: auto;
  }

  .libros-info {
    max-width: 100%;
    padding: 0 0.8rem;
  }

  .libros-desc {
    font-size: 1.05rem;
  }

  .libros-title {
    font-size: 2.2rem;
  }

  .libros-btn {
    font-size: 1rem;
    padding: 0.6em 1.8em;
    margin-bottom: 0.5rem !important; /* ↓ menos espacio inferior */
  }

  .libros-video-section {
    padding-top: 1.5rem !important;  /* ↓ menor espacio superior */
  }

  .libros-video-placeholder {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}

/* =================== SERVICIOS =================== */
.body-servicios {
  background-color: #f6f1f1;
}

/* ====== SECCIÓN: MENTORÍA 1:1 ====== */
.body-servicios main {
  padding-top: 46px; /* separa del header */
}

.mentoria-uno {
  background: #f6f1f1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 4vw;
  gap: 1.6rem;
}

.mentoria-contenido {
  max-width: 52%;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
   margin-top: -3rem; /* <-- Añade o ajusta este valor */
}

.mentoria-titulo {
  font-size: 3rem;
  font-weight: 900;
  color: #1b1b1b;
  margin-bottom: 0.9rem;
}

.mentoria-frase {
  font-style: italic;
  font-size: 1.1rem;
  color: #2b2b2b;
  margin-bottom: 1.2rem;
}

.mentoria-desc {
  font-weight: 700;
  font-size: 1.1rem;
  color: #4d6c96;
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.mentoria-precio p {
  line-height: 1.2;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 0.3rem;
  color: #111;
}

.mentoria-cta-wrapper {
  margin-top: 1.2rem;
}

.mentoria-cta-box {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 0.6rem;
  padding: 1rem 1.5rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.mentoria-cta-row {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.mentoria-cta-row i {
  color: white;
  font-size: 1.35rem;
}

.mentoria-btn {
  background: var(--azul-btn, #5d7ca7); /* usa tu variable si existe */
  color: #fff;
  border: none;
  border-radius: 0.8em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 0.7em 1.4em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(122,151,201,0.12);
  transition: transform 0.18s cubic-bezier(.4,2,.6,1), box-shadow 0.25s cubic-bezier(.4,2,.6,1), background 0.24s cubic-bezier(.4,2,.6,1);
  position: relative;
  overflow: hidden;
  outline: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  text-decoration: none;
}

.mentoria-btn:hover,
.mentoria-btn:focus {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 4px 24px 0 #7a97c9cc, 0 2px 8px rgba(122,151,201,0.12);
  background: linear-gradient(90deg, #7a97c9 85%, #b3c8ea 100%);
}

.mentoria-subtexto {
  color: #fff;
  font-size: 0.9rem;
}

.mentoria-img {
  max-width: 33%;
  display: flex;
  align-items: center;
}

.mentoria-img img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}
@media screen and (max-width: 768px) {
  .mentoria-uno {
    flex-direction: column;
    padding: 2.5rem 1.5rem 3rem !important; /* Ajustado el espacio superior */
    gap: 2rem;
  }

  .mentoria-contenido {
    max-width: 100%;
    margin-top: 0;
    text-align: center;
  }

  .mentoria-titulo {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
  }

  .mentoria-frase {
    font-size: clamp(1rem, 3.8vw, 1.2rem);
  }

  .mentoria-desc {
    font-size: clamp(1rem, 4vw, 1.1rem);
  }

  .mentoria-precio p {
    font-size: 1.05rem;
  }

  .mentoria-cta-box {
    width: 100%;
    max-width: 320px;
  }

  .mentoria-img {
    max-width: 100%;
    justify-content: center;
  }

  .mentoria-img img {
    max-width: 100%;
    height: auto;
  }
}
/* ====== SECCIÓN: CEREMONIAS ====== */

.servicios-ceremonias {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 6vw; 
  background-color: #f6f1f1;
  flex-wrap: wrap;
}

.servicios-ceremonias-texto {
  flex: 1 1 480px;
  max-width: 650px;
  margin-top: -3rem;
}

.servicios-ceremonias-texto h2 {
  font-size: 3rem;
  font-weight: 900;
  color: #333;
  margin-bottom: 0.5rem;
}

.servicios-ceremonias-texto .subtitulo {
  font-size: 1.25rem;
  color: #4d6c96;
  font-weight: 600;
  margin-bottom: 1rem;
}

.ceremonia-item {
  margin-bottom: 0.8rem;
}

.ceremonia-item strong {
  display: block;
  font-weight: bold;
  color: #4d6c96;
  margin-bottom: 0.25rem;
}

.ceremonia-item p {
  margin: 0;
  color: #4d6c96;
}

.servicios-ceremonias-img {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.servicios-ceremonias-img img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 0.5rem;
}

/* === BOTÓN: CEREMONIAS === */
.servicios-ceremonias .btn-cotiza {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--azul-btn, #5d7ca7);
  color: #fff;
  border: none;
  border-radius: 0.8em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 0.7em 1.4em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(122,151,201,0.12);
  transition: transform 0.18s cubic-bezier(.4,2,.6,1), box-shadow 0.25s cubic-bezier(.4,2,.6,1), background 0.24s cubic-bezier(.4,2,.6,1);
  position: relative;
  overflow: hidden;
  outline: none;
  margin-top: 1rem;
  text-decoration: none;
}

.servicios-ceremonias .btn-cotiza:hover,
.servicios-ceremonias .btn-cotiza:focus {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 4px 24px 0 #7a97c9cc, 0 2px 8px rgba(122,151,201,0.12);
  background: linear-gradient(90deg, #7a97c9 85%, #b3c8ea 100%);
}

.servicios-ceremonias .btn-cotiza-wrapper {
  text-align: center;
}
@media screen and (max-width: 768px) {
  .servicios-ceremonias {
    flex-direction: column;
    align-items: center;
    padding: 0rem 1.5rem 3rem !important; /* reducido el espacio superior */
    gap: 2rem;
  }

  .servicios-ceremonias-texto {
    max-width: 100%;
    text-align: center;
    margin-top: 0;
  }

  .servicios-ceremonias-texto h2 {
    font-size: clamp(2rem, 7vw, 2.6rem);
  }

  .servicios-ceremonias-texto .subtitulo {
    font-size: clamp(1rem, 4.2vw, 1.2rem);
  }

  .ceremonia-item {
    font-size: 1rem;
  }

  .servicios-ceremonias-img {
    max-width: 100%;
    justify-content: center;
  }

  .servicios-ceremonias-img img {
    width: 100%;
    max-width: 90vw;
    height: auto;
  }

  .servicios-ceremonias .btn-cotiza-wrapper {
    text-align: center;
  }

  .servicios-ceremonias .btn-cotiza {
    font-size: 1.1rem;
    padding: 0.6em 1.2em;
  }

  /* Ajuste adicional para eliminar margen entre secciones */
  .mentoria-img img {
    margin-bottom: 0 !important;
  }
}
/* ====== SECCIÓN: CONFERENCIAS ====== */

.servicios-conferencias {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 6vw;
  background-color: #f6f1f1;
  flex-wrap: wrap;
}

.servicios-conferencias-texto {
  flex: 1 1 480px;
  max-width: 650px;
  margin-top: -3rem;
}

.servicios-conferencias-texto h2 {
  font-size: 3rem;
  font-weight: 900;
  color: #333;
  margin-bottom: 0.5rem;
}

.servicios-conferencias-texto .subtitulo {
  font-size: 1.25rem;
  color: #4d6c96;
  font-weight: 600;
  margin-bottom: 1rem;
}

.temas-titulo {
  font-weight: bold;
  color: #4d6c96;
  margin-bottom: 0.8rem;
}

.temas-lista {
  padding-left: 1.2rem;
  color: #4d6c96;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.servicios-conferencias-img {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.servicios-conferencias-img img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 0.5rem;
}

/* === BOTÓN: CONFERENCIAS === */
.servicios-conferencias .btn-cotiza {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--azul-btn, #5d7ca7);
  color: #fff;
  border: none;
  border-radius: 0.8em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 0.7em 1.4em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(122,151,201,0.12);
  transition: transform 0.18s cubic-bezier(.4,2,.6,1), box-shadow 0.25s cubic-bezier(.4,2,.6,1), background 0.24s cubic-bezier(.4,2,.6,1);
  position: relative;
  overflow: hidden;
  outline: none;
  margin-top: 1rem;
  text-decoration: none;
}

.servicios-conferencias .btn-cotiza:hover,
.servicios-conferencias .btn-cotiza:focus {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 4px 24px 0 #7a97c9cc, 0 2px 8px rgba(122,151,201,0.12);
  background: linear-gradient(90deg, #7a97c9 85%, #b3c8ea 100%);
}

.servicios-conferencias .btn-cotiza-wrapper {
  text-align: center;
}
@media screen and (max-width: 768px) {
  .servicios-conferencias {
    flex-direction: column;
    align-items: center;
    padding: 0rem 1.5rem 3rem !important; /* menos espacio arriba */
    gap: 2rem;
  }

  .servicios-conferencias-texto {
    max-width: 100%;
    text-align: center;
    margin-top: 0;
  }

  .servicios-conferencias-texto h2 {
    font-size: clamp(2rem, 7vw, 2.6rem);
  }

  .servicios-conferencias-texto .subtitulo {
    font-size: clamp(1rem, 4.2vw, 1.2rem);
  }

  .temas-titulo {
    font-size: 1rem;
  }

  .temas-lista {
    padding-left: 0;
    list-style-position: inside;
    margin-bottom: 1.5rem;
  }

  .servicios-conferencias-img {
    max-width: 100%;
    justify-content: center;
  }

  .servicios-conferencias-img img {
    width: 100%;
    max-width: 90vw;
    height: auto;
  }

  .servicios-conferencias .btn-cotiza-wrapper {
    text-align: center;
  }

  .servicios-conferencias .btn-cotiza {
    font-size: 1.1rem;
    padding: 0.6em 1.2em;
  }
}

/* ====== SECCIÓN: MARKETING ====== */

.servicios-marketing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 6vw; 
  background-color: #f6f1f1;
  flex-wrap: wrap;
}

.servicios-marketing-texto {
  flex: 1 1 480px;
  max-width: 650px;
  margin-top: -3rem;
}

.servicios-marketing-texto h2 {
  font-size: 3rem;
  font-weight: 900;
  color: #333;
  margin-bottom: 0.5rem;
}

.servicios-marketing-texto .subtitulo {
  font-size: 1.25rem;
  color: #4d6c96;
  font-weight: 600;
  margin-bottom: 1rem;
}

.marketing-item {
  margin-bottom: 0.8rem;
}

.marketing-item strong {
  display: block;
  font-weight: bold;
  color: #4d6c96;
  margin-bottom: 0.25rem;
}

.marketing-item p {
  margin: 0;
  color: #4d6c96;
}

.servicios-marketing-img {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.servicios-marketing-img img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 0.5rem;
}

/* === BOTÓN: MARKETING === */
.servicios-marketing .btn-cotiza {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--azul-btn, #5d7ca7);
  color: #fff;
  border: none;
  border-radius: 0.8em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 0.7em 1.4em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(122,151,201,0.12);
  transition: transform 0.18s cubic-bezier(.4,2,.6,1), box-shadow 0.25s cubic-bezier(.4,2,.6,1), background 0.24s cubic-bezier(.4,2,.6,1);
  position: relative;
  overflow: hidden;
  outline: none;
  margin-top: 1rem;
  text-decoration: none;
}

.servicios-marketing .btn-cotiza:hover,
.servicios-marketing .btn-cotiza:focus {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 4px 24px 0 #7a97c9cc, 0 2px 8px rgba(122,151,201,0.12);
  background: linear-gradient(90deg, #7a97c9 85%, #b3c8ea 100%);
}

.servicios-marketing .btn-cotiza-wrapper {
  text-align: center;
}
@media screen and (max-width: 768px) {
  .servicios-marketing {
    flex-direction: column;
    align-items: center;
    padding: 0rem 1.5rem 3rem !important; /* reducido el espacio superior */
    gap: 2rem;
  }

  .servicios-marketing-texto {
    max-width: 100%;
    text-align: center;
    margin-top: 0;
  }

  .servicios-marketing-texto h2 {
    font-size: clamp(2rem, 7vw, 2.6rem);
  }

  .servicios-marketing-texto .subtitulo {
    font-size: clamp(1rem, 4.2vw, 1.2rem);
  }

  .marketin-item {
    font-size: 1rem;
  }

  .servicios-marketing-img {
    max-width: 100%;
    justify-content: center;
  }

  .servicios-marketing-img img {
    width: 100%;
    max-width: 90vw;
    height: auto;
  }

  .servicios-marketing .btn-cotiza-wrapper {
    text-align: center;
  }

  .servicios-marketing .btn-cotiza {
    font-size: 1.1rem;
    padding: 0.6em 1.2em;
  }
}

/* ====== SECCIÓN: DISEÑO ====== */

.servicios-diseno {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 6vw; 
  background-color: #f6f1f1;
  flex-wrap: wrap;
}

.servicios-diseno-texto {
  flex: 1 1 480px;
  max-width: 650px;
  margin-top: -3rem;
}

.servicios-diseno-texto h2 {
  font-size: 2.6rem;
  font-weight: 900;
  color: #333;
  margin-bottom: 0.5rem;
}

.servicios-diseno-texto .subtitulo {
  font-size: 1.25rem;
  color: #4d6c96;
  font-weight: 600;
  margin-bottom: 1rem;
}

.diseno-item {
  margin-bottom: 0.8rem;
}

.diseno-item strong {
  display: block;
  font-weight: bold;
  color: #4d6c96;
  margin-bottom: 0.25rem;
}

.diseno-item p {
  margin: 0;
  color: #4d6c96;
}

.servicios-diseno-img {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.servicios-diseno-img img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 0.5rem;
}

/* === BOTÓN: DISEÑO === */
.servicios-diseno .btn-cotiza {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--azul-btn, #5d7ca7);
  color: #fff;
  border: none;
  border-radius: 0.8em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 0.7em 1.4em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(122,151,201,0.12);
  transition: transform 0.18s cubic-bezier(.4,2,.6,1), box-shadow 0.25s cubic-bezier(.4,2,.6,1), background 0.24s cubic-bezier(.4,2,.6,1);
  position: relative;
  overflow: hidden;
  outline: none;
  margin-top: 1rem;
  text-decoration: none;
}

.servicios-diseno .btn-cotiza:hover,
.servicios-diseno .btn-cotiza:focus {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 4px 24px 0 #7a97c9cc, 0 2px 8px rgba(122,151,201,0.12);
  background: linear-gradient(90deg, #7a97c9 85%, #b3c8ea 100%);
}

.servicios-diseno .btn-cotiza-wrapper {
  text-align: center;
}
@media screen and (max-width: 768px) {
  .servicios-diseno {
    flex-direction: column;
    align-items: center;
    padding: 0rem 1.5rem 3rem !important; /* reducido el espacio superior */
    gap: 2rem;
  }

  .servicios-diseno-texto {
    max-width: 100%;
    text-align: center;
    margin-top: 0;
  }

  .servicios-diseno-texto h2 {
    font-size: clamp(2rem, 7vw, 2.6rem);
  }

  .servicios-diseno-texto .subtitulo {
    font-size: clamp(1rem, 4.2vw, 1.2rem);
  }

  .disen-item {
    font-size: 1rem;
  }

  .servicios-diseno-img {
    max-width: 100%;
    justify-content: center;
  }

  .servicios-diseno-img img {
    width: 100%;
    max-width: 90vw;
    height: auto;
  }

  .servicios-diseno .btn-cotiza-wrapper {
    text-align: center;
  }

  .servicios-diseno .btn-cotiza {
    font-size: 1.1rem;
    padding: 0.6em 1.2em;
  }
}


/* ====== SECCIÓN: TESTIMONIOS ====== */

.testimonios-section {
  padding: 4rem 6vw;
  background-color: #f6f1f1;
}

.testimonios-titulo {
  text-align: center;
  font-size: 3rem;
  font-weight: 900;
  color: #333;
  margin-bottom: 3rem;
  font-family: 'Montserrat', Arial, sans-serif;
}

.testimonio-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.testimonio-img {
  flex: 0 0 100px;
  margin-top: 1.9rem;
}

.testimonio-img img {
  width: 100px;
  height: 100px;
  border-radius: 100px;
  object-fit: cover;
  border: 2px solid #8da3bd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18); /* <<< sombra añadida */
}

.testimonio-texto {
  flex: 1;
}

.testimonio-nombre {
  font-size: 1.5rem;
  font-weight: 700;
  color: #334666;
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', Arial, sans-serif;
}

.testimonio-contenido {
  font-size: 1.1rem;
  color: #4a6382;
  font-weight: 500;
  line-height: 1.6;
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: italic;
}
@media screen and (max-width: 768px) {
  .testimonios-section {
    padding: 0rem 1.5rem 3rem !important;
  }


  .testimonios-titulo {
    font-size: clamp(2rem, 6vw, 2.6rem);
    margin-bottom: 2.2rem;
  }

  .testimonio-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
    padding: 0 1rem;
    margin-bottom: 3rem;
  }

  .testimonio-img {
    margin: 0;
    flex: none;
  }

  .testimonio-img img {
    width: clamp(110px, 30vw, 130px);
    height: clamp(110px, 30vw, 130px);
    border-radius: 100%;
    object-fit: cover;
    border: 2px solid #8da3bd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  }

  .testimonio-nombre {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
    font-weight: 700;
    color: #334666;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', Arial, sans-serif;
  }

  .testimonio-contenido {
    font-size: clamp(0.95rem, 4vw, 1.1rem);
    color: #4a6382;
    font-weight: 500;
    line-height: 1.5;
    font-style: italic;
    font-family: 'Montserrat', Arial, sans-serif;
    max-width: 90vw;
  }
}
/* =================== COMUNIDAD =================== */
/* =================== SECCIÓN 1: HERO COMUNIDAD =================== */
.comunidad-section.comunidad-hero {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(90deg, #474545 0%, #595656 100%);
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden; /* para que no se salga la imagen */
}
.comunidad-hero-img-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}
.comunidad-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2.2vw;
  margin-left: 2.5vw;
  margin-top: 10vw;
  width: 530px;
  max-width: 95vw;
  z-index: 2;
}
.comunidad-hero-title-bg {
  background: rgba(37, 37, 37, 0.66);
  border-radius: 0.22em;
  padding: 1.17rem 1.8rem 0.77rem 1.25rem;
  margin-bottom: 1.2rem;
  width: 100%;
}
.comunidad-hero-title-bg h1 {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 3.18rem;
  font-weight: 800;
  letter-spacing: 0.00em;
  line-height: 1.03;
  margin: 0;
  text-align: left;
}
.comunidad-hero-comunidad-bg {
  background: rgba(33,33,33,0.73);
  border-radius: 0.20em;
  display: flex;
  align-items: center;
  gap: 2.1rem;
  padding: 1.12rem 2.1rem 1.1rem 1.15rem;
  width: 100%;
  min-width: 300px;
  max-width: 97vw;
  box-sizing: border-box;
}
.comunidad-hero-com-title {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.15em;
  display: block;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.comunidad-hero-com-desc {
  color: #fff;
  font-size: 1.16rem;
  font-weight: 400;
  display: block;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 0.12em;
  text-shadow: 0 1px 5px rgba(0,0,0,0.14);
}
.comunidad-hero-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  border-radius: 100%;
  width: 62px;
  height: 62px;
  box-shadow: 0 3px 18px 0 #52e45a41;
  transition: box-shadow 0.18s, filter 0.14s;
  margin-left: 1.7em;
  flex-shrink: 0;
}
.comunidad-hero-whatsapp i {
  color: #fff;
  font-size: 2.37rem;
  filter: drop-shadow(0 2px 8px #134f26c2);
}
.comunidad-hero-whatsapp:hover {
  box-shadow: 0 2px 38px 0 #52e45ab8;
  filter: brightness(1.08);
}

@media screen and (max-width: 768px) {
  .comunidad-hero {
    min-height: 100vh;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0 1.2rem;
    text-align: center;
  }
  .comunidad-hero-content {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 90%;
    padding-top: 1rem;
  }

  .comunidad-hero-title-bg {
    background-color: rgba(0, 0, 0, 0.55);
    padding: 1.2rem 1.2rem;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
  }

  .comunidad-hero-title-bg h1 {
    font-size: clamp(1.6rem, 6vw, 2.8rem);
    line-height: 1.2;
    margin: 0;
    color: #fff;
  }

  .comunidad-hero-comunidad-bg {
    background-color: rgba(0, 0, 0, 0.55);
    padding: 1rem 1.2rem; /* Asegura que nunca se pegue a los bordes */
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
  }

  .comunidad-hero-com-title {
    font-size: clamp(1.1rem, 4vw, 1.6rem);
    font-weight: bold;
    color: #fff;
  }

  .comunidad-hero-com-desc {
    font-size: clamp(0.9rem, 3.2vw, 1.1rem);
    line-height: 1.4;
    color: #fff;
  }

  .comunidad-hero-whatsapp {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #25d366;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
    color: #fff;
    text-decoration: none;
    margin: 0 auto; /* CENTRADO HORIZONTAL */
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
  }

  .comunidad-hero-whatsapp:hover {
    transform: scale(1.05);
  }
}
/* =================== SECCIÓN 2: SLIDES COMUNIDAD =================== */
.comunidad-slider-seccion {
  background: linear-gradient(90deg, #474545 0%, #595656 100%);
  padding: 4vw 0 5vw 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.comunidad-slider-titulo {
  text-align: center;
  margin-bottom: 2.7vw;
}

.comunidad-slider-title {
  font-size: 2.48rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  letter-spacing: 0.01em;
  font-family: 'Montserrat', Arial, sans-serif;
}

.comunidad-slider-cita {
  font-size: 2.01rem;
  color: #bbc8dd;
  font-style: italic;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 1.3vw;
  font-weight: 400;
}

/* === CARRUSEL CONTENEDOR === */
.comunidad-slider-carrusel {
  position: relative;
  width: 100%;
  max-width: 1080px;
  padding: 2rem 0;
}

/* === SWIPER CONTAINER === */
.comunidad-swiper {
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

/* === SLIDES === */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #eee;
  border-radius: 0.24em;
  overflow: hidden;
  box-shadow: 0 6px 18px 0 #20262e2c;
  aspect-ratio: 4 / 3;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0.24em;
}

/* === BOTONES PERSONALIZADOS === */
.swiper-button-next,
.swiper-button-prev {
  position: absolute;
  top: 25%;
  transform: translateY(-25%);
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s ease, transform 0.2s ease;
}

.swiper-button-next {
  right: 0.6rem;
}

.swiper-button-prev {
  left: 0.6rem;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.5rem !important;
  color: white;
  line-height: 1;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.25);
}

/* === RESPONSIVE === */
@media screen and (max-width: 768px) {
  .comunidad-slider-seccion {
    padding: 6vh 0 0.5vh 0 !important; /* Antes era 6vh arriba */
  }

  .comunidad-slider-title {
    font-size: 1.85rem;
    line-height: 1.2;
  }

  .comunidad-slider-cita {
    font-size: 1.2rem;
    margin-top: 1rem;
  }

  .comunidad-slider-carrusel {
    padding: 1.5rem 3rem;           /* 🔧 lateral padding añadido */
    max-width: 100vw;                /* 🔧 achica el contenedor */
    margin: 0 auto;                 /* 🔧 lo centra */
  }

  .comunidad-swiper {
    padding: 0;
  }

  .swiper-slide {
    aspect-ratio: 4 / 3;
  }

  .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 36px;
    height: 36px;
    border-radius: 6px;
  }

  .swiper-button-next {
    right: 0.4rem;
  }

  .swiper-button-prev {
    left: 0.4rem;
  }

  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 1.1rem;
  }
}
/* =================== SECCIÓN 3: COMUNIDAD =================== */
.comunidad-tribu-seccion {
  width: 100%;
  background: linear-gradient(90deg, #474545 0%, #595656 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
  position: relative;
}

.comunidad-tribu-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.comunidad-tribu-frase {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.00rem;
  font-weight: 500;
  line-height: 1.07;
  letter-spacing: -0.011em;
  text-align: center;
  margin: 0 auto 2.7vw auto;
  max-width: 100%;
  width: 90vw;
  text-shadow: 0 2px 18px rgba(30,30,30,0.17);
  padding-top: 3vw;
  font-stretch: condensed;
}

.comunidad-tribu-img-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: 0;
  padding: 0;
  position: relative;
}

/* Estilos sólo para la frase overlay */
.comunidad-tribu-frase.overlay {
  position: absolute;
  bottom: 20%;               /* ajusta cuánto queda arriba del borde */
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 3.5rem;         /* escala a tu gusto */
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  max-width: 80%;
  z-index: 2;
  margin: 0;
  padding: 0;
}

.comunidad-tribu-img {
  width: 100%;
  max-width: 100vw;
  height: auto;
  display: block;
  margin: 0 auto;
  opacity: 0.40;
}

@media screen and (max-width: 768px) {
  .comunidad-tribu-seccion {
    padding: 0rem 1rem !important;
    margin: 0;
  }

  .comunidad-tribu-inner {
    padding: 0;
    margin: 0;
  }

  .comunidad-tribu-frase {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    line-height: 1.35;
    padding: 3rem 1rem;
    margin-bottom: 1rem;
  }

  .comunidad-tribu-img-wrap {
    width: 100vw;
    height: auto;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
  }

  .comunidad-tribu-img {
    width: 100vw;
    height: 70vw; /* ajustable: define alto relativo para mantener proporción visual */
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 0.4;
  }

  .comunidad-tribu-frase.overlay {
    font-size: clamp(1.4rem, 4vw, 2.6rem);
    line-height: 1.35;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 90%;
    padding: 0 1rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  }
}

/* =================== EVENTOS : BANNER =================== */
.ev-section.ev-cta-comunidad {
  display: flex;
  align-items: flex-start;
  padding-top: 22rem !important;
  justify-content: flex-start;
  min-height: 100vh;
  padding-top: 150px;
  padding-left: 1vw;
  padding-right: 5vw;
  box-sizing: border-box;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.ev-section.ev-cta-comunidad::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 180px;
  background: linear-gradient(to bottom, #393939 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
.ev-section.ev-cta-comunidad::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
  background: linear-gradient(to top, #393939 0%, transparent 100%);
  z-index: 0; /* por debajo del contenido */
  pointer-events: none;
}
.ev-cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 70%;
  margin-top: 0;
  margin-left: -6vw;
}

.ev-cta-title {
  color: #ffffff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 2vw 0;
  text-align: center;
}

.ev-cta-btn {
  background: var(--azul-btn);
  color: #fff;
  border: none;
  border-radius: 0.8em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  padding: 0.7em 1.4em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(122,151,201,0.12);
  transition: transform 0.18s cubic-bezier(.4,2,.6,1), box-shadow 0.25s cubic-bezier(.4,2,.6,1), background 0.24s cubic-bezier(.4,2,.6,1);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 1vw;
  text-decoration: none;
  position: relative;
  left: -0.5rem;
}

.ev-cta-btn:hover,
.ev-cta-btn:focus {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 4px 24px 0 #7a97c9cc, 0 2px 8px rgba(122,151,201,0.12);
  background: linear-gradient(90deg, #7a97c9 85%, #b3c8ea 100%);
}
@media (max-width: 768px) {
  .ev-section.ev-cta-comunidad {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 3rem 1.5rem 2.5rem;
    min-height: 85vh;
    background-image: url('/AniRiveraWeb/public/assets/img/home/seccion4.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right center; /* ✅ desde la derecha */
    box-sizing: border-box;
    position: relative;
  }

  .ev-section.ev-cta-comunidad::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, #393939 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
  }
  .ev-section.ev-cta-comunidad::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 160px;
    background: linear-gradient(to top, #393939 0%, transparent 100%);
    z-index: 0; /* por debajo del contenido */
    pointer-events: none;
  }

  .ev-cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 90vw;
    width: 100%;
    margin: 0 auto;
  }

  .ev-cta-title {
    font-size: 1.6rem;
    line-height: 1.25;
    font-weight: 600;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1.8rem;
  }

  .ev-cta-btn {
    background: var(--azul-btn, #6480a2);
    color: #fff;
    border: none;
    border-radius: 0.8em;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.7em 1.4em;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(122,151,201,0.12);
    text-decoration: none;
    transition: transform 0.18s, box-shadow 0.25s, background 0.24s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .ev-cta-btn:hover,
  .ev-cta-btn:focus {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 4px 24px 0 #7a97c9cc, 0 2px 8px rgba(122,151,201,0.12);
    background: linear-gradient(90deg, #7a97c9 85%, #b3c8ea 100%);
  }
}

/* =================== EVENTOS : CARTILLA =================== */
.ev1-section {
  background: #393939;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem;
}

.ev1-card {
  background: #2b2b2b;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(255, 138, 0, 0.3);
  overflow: hidden;
  max-width: 380px;
  text-align: center;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ev1-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 40px rgba(255, 138, 0, 0.5);
}

/* Imagen */
.ev1-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Contenido */
.ev1-content {
  padding: 1.8rem 1.2rem;
  animation: fadeIn 1.2s ease-in-out;
}

.ev1-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.ev1-fecha {
  font-size: 1rem;
  color: #ffcc80;
  margin-bottom: 0.8rem;
}

.ev1-bienvenida {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffdca8;
  margin-bottom: 0.8rem;
}

.ev1-descripcion,
.ev1-invitacion {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #e8e8e8;
  margin-bottom: 0.8rem;
}

/* Botón */
.ev1-btn {
  display: inline-block;
  background-color: #ff8a00;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(255, 138, 0, 0.5);
}

.ev1-btn:hover {
  background-color: #ff9e30;
  box-shadow: 0 0 25px rgba(255, 138, 0, 0.8);
  transform: scale(1.05);
}

/* Animación */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media screen and (max-width: 768px) {
  .ev1-section {
    padding: 2rem 1rem;
  }

  .ev1-card {
    max-width: 90%;
    transform: translateY(-60px); /* 🔹 Sube la cartilla en móvil */
  }

  .ev1-content h2 {
    font-size: 1.2rem;
  }

  .ev1-descripcion,
  .ev1-invitacion {
    font-size: 0.9rem;
  }

  .ev1-btn {
    padding: 0.7rem 1.6rem;
  }
}



/* =================== FOOTER =================== */
.footer-corporate {
  background: #111;
  color: #e2e2e2;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 2.2em 0 1.5em 0;
}

/* Ajuste global para evitar herencias extrañas */
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4vw;
  max-width: 1150px;
  margin: 0 auto 1.7em auto;
  align-items: flex-start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.32em;
  min-width: 130px;
}

.logo-col {
  min-width: 160px;
}
.footer-logo-img {
  filter: brightness(0) invert(1) grayscale(1) contrast(1.4);
  opacity: 0.94;
  max-width: 92px;
  margin-bottom: 0.7em;
  display: block;
  transition: opacity 0.17s, filter 0.17s;
}
.footer-logo-img:hover {
  opacity: 1;
  filter: brightness(1.3) invert(1) grayscale(0) contrast(1.1);
}
.footer-slogan {
  font-size: 0.95em;
  color: #d3d3d3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: -0.5em;
}

.footer-col-title {
  color: #fff;
  font-size: 1.02em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.5em;
  margin-top: 0.15em;
  opacity: 0.86;
}
.footer-col a {
  color: #e2e2e2;
  font-size: 0.97em;
  text-decoration: none;
  margin: 0.07em 0;
  opacity: 0.87;
  transition: color 0.17s, opacity 0.17s;
  padding: 0.09em 0;
}
.footer-col a:hover {
  color: #6f7070;
  opacity: 1;
}

.footer-line {
  border: none;
  border-top: 1.2px solid #555;
  margin: 2.2em auto 1.5em auto;
  max-width: 92vw;
  opacity: 0.54;
}

.footer-bottom {
  text-align: center;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.1em;
  margin-bottom: 1em;
}
.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.7px solid #d2d2d2;
  background: transparent;
  color: #e2e2e2;
  border-radius: 50%;
  width: 35px; height: 35px;
  font-size: 1.15em;
  transition: background 0.16s, color 0.15s, border 0.13s, transform 0.18s;
}
.footer-social-icon:hover {
  background: #6f7070;
  color: #050505;
  border-color: #6f7070;
  transform: scale(1.12);
}
.footer-copyright, .footer-copyright a {
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #ccc !important;
  line-height: 1.2 !important;
  text-align: center !important;
  margin: 0 !important;
  padding: 0 !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  text-decoration: none !important;
}

/* =================== Responsive footer =================== */
@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    gap: 2em;
    align-items: center;
  }

  .logo-col {
    align-items: center;
  }

  .footer-copyright,
  .footer-copyright a {
    font-size: 15px !important;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .footer-corporate {
    padding-left: 4vw;
    padding-right: 4vw;
    text-align: center;
  }

  .footer-logo-img {
    max-width: 60px;
  }

  .footer-top {
    flex-direction: column;
    gap: 1.8em;
    align-items: center;
  }

  .footer-col {
    min-width: auto;
    width: 100%;
    max-width: 320px;
    font-size: 0.96em;
    align-items: center;
  }

  .footer-col-title,
  .footer-col a {
    text-align: center;
  }

  .footer-social-icon {
    width: 29px;
    height: 29px;
    font-size: 0.95em;
  }
}

/* =================== DIVISOR SEMANTICO =================== */
.hr-sep {
  border: none;
  border-top: 2px;
  margin: 2rem 0;
  width: 60px; /* ancho opcional */
  opacity: 0.4;
}

/* ===== VISTA DE PAGO ===== */
.pago-section {
  background: #f6f1f1;
  padding: 8rem 6vw 4rem;
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pago-card {
  background: #fff;
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border-radius: 0.5em;
  text-align: center;
}

.pago-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #333;
}

.pago-desc {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  color: #555;
}

.pago-price {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #111;
}

.pago-form label {
  display: block;
  text-align: left;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.pago-form input[type="email"] {
  width: 100%;
  padding: 0.6em;
  margin-bottom: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 0.3em;
  font-size: 1rem;
}

.btn-pago {
  background: var(--azul-btn, #5d7ca7);
  color: #fff;
  border: none;
  border-radius: 0.7em;
  padding: 0.8em 2em;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-pago:hover {
  background: #4c6390;
  transform: translateY(-2px);
}
