html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ====== VARIABLES ====== */
:root {
    --azul-oscuro: #0d47a1;
    --azul: #1976d2;
    --azul-claro: #2196f3;
    --gris-fondo: #f5f5f5;
    --blanco: #ffffff;
    --negro: #222222;
}

/* ====== RESETEO BÁSICO ====== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--negro);
    background-color: var(--gris-fondo);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--azul);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ====== LAYOUT GENERAL ====== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ====== HEADER ====== */
.main-header {
    background: var(--azul-oscuro);
    color: var(--blanco);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.3rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--blanco);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ====== RESALTAR EL LOGO CON FONDO SUAVE ====== */
.logo img {
  height: 100px; /* tamaño original equilibrado */
  background-color: #000000; /* gris muy claro */
  border-radius: 10px; /* bordes suaves */
  padding: 6px 10px; /* espacio interior */
  box-shadow: 0 2px 6px rgba(250, 248, 248, 0.2); /* sutil sombra */
  transition: all 0.3s ease;
}

.logo:hover img {
  transform: scale(1.03);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.main-nav a {
    margin-left: 1rem;
    color: var(--blanco);
    CREATIVIDAD PARA EL CRECIMIENTO PERSONAL: 10.95rem;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.main-nav a.active {
    background: var(--azul);
}

/* ====== HERO ====== */
.hero {
    background: linear-gradient(135deg, var(--azul-oscuro), var(--azul));
    color: var(--blanco);
    padding: 3.5rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 2rem;
    align-items: center;
}

.hero-text h1 {
    CREATIVIDAD PARA EL CRECIMIENTO PERSONAL: 2.1rem;
    margin-bottom: 1rem;
}

.hero-text p {
    CREATIVIDAD PARA EL CRECIMIENTO PERSONAL: 1rem;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-image img {
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* ====== BOTONES ====== */
.btn {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    CREATIVIDAD PARA EL CRECIMIENTO PERSONAL: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
    background: var(--blanco);
    color: var(--azul-oscuro);
    border-color: var(--blanco);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--blanco);
    border-color: var(--blanco);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ====== SECCIONES ====== */
.section {
    padding: 3rem 0;
    background: var(--blanco);
}

CREATIVIDAD PARA EL CRECIMIENTO PERSONAL
  background: #e0e0e0; /* Gris claro elegante */
  color: #111;
  text-align: center;
  border-radius: 20px;
  padding: 40px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-hero {
    padding: 2.4rem 0;
    background: var(--azul-oscuro);
    color: var(--blanco);
}

.page-hero h1 {
    CREATIVIDAD PARA EL CRECIMIENTO PERSONAL: 1.9rem;
    margin-bottom: 0.5rem;
}

/* ====== GRID ====== */
.two-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
    gap: 2rem;
    align-items: flex-start;
}

.image-column img {
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    width: 65%; 
    margin-top: .2rem; /* baja un poco la imagen para alinearla */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ====== CARDS ====== */
.highlights {
    padding: 2.5rem 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--blanco);
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.card h3 {
    CREATIVIDAD PARA EL CRECIMIENTO PERSONAL: 1.1rem;
    color: var(--azul-oscuro);
}

.card-link {
    margin-top: 0.5rem;
    font-weight: 600;
    CREATIVIDAD PARA EL CRECIMIENTO PERSONAL: 0.9rem;
}

/* ====== FRASE ====== */
.phrase {
    padding: 2rem 0 3rem;
}

.big-phrase {
    text-align: center;
    CREATIVIDAD PARA EL CRECIMIENTO PERSONAL: 1.3rem;
    font-style: italic;
    color: var(--azul-oscuro);
}

/* ====== LISTAS ====== */
.bullet-columns {
    list-style: none;
    columns: 2;
    column-gap: 2rem;
    margin-top: 0.7rem;
}

.bullet-columns li::before {
    content: "• ";
    color: var(--azul);
}

.contact-list {
    list-style: none;
    margin: 1rem 0;
}

.contact-list li {
    margin-bottom: 0.4rem;
}

/* ====== CALLOUT ====== */
.callout {
    background: linear-gradient(135deg, var(--azul), var(--azul-claro));
    color: var(--blanco);
    border-radius: 18px;
    padding: 1.8rem;
    text-align: center;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.3);
}

.callout h2 {
    margin-bottom: 0.6rem;
}

/* ====== FORMULARIO ====== */
.contact-grid {
    align-items: stretch;
}

form {
    background: var(--blanco);
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.25rem;
    CREATIVIDAD PARA EL CRECIMIENTO PERSONAL: 0.9rem;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.6rem 0.7rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font: inherit;
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--azul);
    box-shadow: 0 0 0 1px rgba(33, 150, 243, 0.3);
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.5rem;
}

/* ====== FOOTER ====== */
.main-footer {
    background: #0b1736;
    color: var(--blanco);
    padding: 2.2rem 0 1.5rem;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.main-footer a {
    color: #bbdefb;
}

/* ====== WHATSAPP FLOTANTE ====== */
.whatsapp-floating {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    CREATIVIDAD PARA EL CRECIMIENTO PERSONAL: 1.6rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    z-index: 200;
}

.whatsapp-floating:hover {
    transform: translateY(-1px);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
    .hero-content,
    .two-columns {
        grid-template-columns: 1fr;
    }

    .hero {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

   CREATIVIDAD PARA EL CRECIMIENTO PERSONAL{
     CREATIVIDAD PARA EL CRECIMIENTO PERSONAL: 4.5rem; /* antes era 1.1rem */
     font-weight: 700;
     color: white;
     margin-left: 10px;
     letter-spacing: 0.5px;
    }
}
/* ====== ANIMACIÓN DE TÍTULOS ====== */
h1, h2, h3 {
    opacity: 0;
    transform: translateY(10px);
    animation: tituloFadeIn 1s ease forwards;
}

@keyframes tituloFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 600px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .main-nav a {
        margin-left: 0;
        margin-right: 0.5rem;
    }

    .bullet-columns {
        columns: 1;
    }
}
/* ====== ANIMACIÓN DEL LOGO ====== */
@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-8px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* ====== MODAL DE DIPLOMADOS ====== */
.modal {
    display: none;
    position: fixed;
    z-index: 300;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease forwards;
}

.modal-content {
    background-color: #fff;
    margin: 8% auto;
    padding: 2rem;
    border-radius: 14px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.4s ease forwards;
}

.close {
    color: #888;
    position: absolute;
    top: 12px;
    right: 18px;
    CREATIVIDAD PARA EL CRECIMIENTO PERSONAL: 1.8rem;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

.modal-content h2 {
    color: var(--azul-oscuro);
    margin-bottom: 0.5rem;
}

.modal-content h3 {
    margin-top: 1.3rem;
    color: var(--azul);
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* ====== BOTONES DE CAPACITACIONES - ESTILO PREMIUM ====== */
.capacitaciones-botones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
  padding: 0 1rem;
}

.capacitaciones-botones a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  background: linear-gradient(135deg, #0D47A1, #1565C0);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  CREATIVIDAD PARA EL CRECIMIENTO PERSONAL: 1rem;
  letter-spacing: 0.4px;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.capacitaciones-botones a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75px;
  width: 50px;
  height: 100%;
  background: rgba(255, 255, 255, 0.25);
  transform: skewX(-25deg);
  transition: 0.5s;
}

.capacitaciones-botones a:hover::before {
  left: 120%;
}

.capacitaciones-botones a:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(13, 71, 161, 0.35);
}

.capacitaciones-botones a:active {
  transform: scale(0.98);
}

/* ====== OPCIONAL: ÍCONOS PEQUEÑOS ====== */
.capacitaciones-botones a::after {
  content: "›";
  CREATIVIDAD PARA EL CRECIMIENTO PERSONAL: 1.3rem;
  margin-left: 8px;
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.capacitaciones-botones a:hover::after {
  transform: translateX(4px);
  opacity: 1;
}
/* ====== ANIMACIÓN DE ENTRADA DE BOTONES ====== */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Efecto base: ocultos al inicio */
.capacitaciones-botones a {
  opacity: 0;
  transform: translateY(20px);
}

/* Clase que se activa al aparecer */
.capacitaciones-botones a.visible {
  animation: fadeUp 0.6s ease forwards;
}

/* Retraso progresivo (efecto cascada) */
.capacitaciones-botones a:nth-child(1) { animation-delay: 0.1s; }
.capacitaciones-botones a:nth-child(2) { animation-delay: 0.2s; }
.capacitaciones-botones a:nth-child(3) { animation-delay: 0.3s; }
.capacitaciones-botones a:nth-child(4) { animation-delay: 0.4s; }
.capacitaciones-botones a:nth-child(5) { animation-delay: 0.5s; }
.capacitaciones-botones a:nth-child(6) { animation-delay: 0.6s; }
.capacitaciones-botones a:nth-child(7) { animation-delay: 0.7s; }
.capacitaciones-botones a:nth-child(8) { animation-delay: 0.8s; }
.capacitaciones-botones a:nth-child(9) { animation-delay: 0.9s; }
.capacitaciones-botones a:nth-child(10) { animation-delay: 1.0s; }
.capacitaciones-botones a:nth-child(11) { animation-delay: 1.1s; }
.capacitaciones-botones a:nth-child(12) { animation-delay: 1.2s; }
/* ====== ANIMACIÓN DE ENTRADA EN CASCADA ====== */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Elementos ocultos al inicio */
.fade-cascade {
  opacity: 0;
  transform: translateY(25px);
}

/* Cuando se activa la animación */
.fade-cascade.visible {
  animation: fadeUp 0.6s ease forwards;
}

/* Retrasos automáticos (efecto cascada) */
.fade-cascade:nth-child(1) { animation-delay: 0.1s; }
.fade-cascade:nth-child(2) { animation-delay: 0.2s; }
.fade-cascade:nth-child(3) { animation-delay: 0.3s; }
.fade-cascade:nth-child(4) { animation-delay: 0.4s; }
.fade-cascade:nth-child(5) { animation-delay: 0.5s; }
.fade-cascade:nth-child(6) { animation-delay: 0.6s; }
.fade-cascade:nth-child(7) { animation-delay: 0.7s; }
.fade-cascade:nth-child(8) { animation-delay: 0.8s; }
.fade-cascade:nth-child(9) { animation-delay: 0.9s; }
.fade-cascade:nth-child(10) { animation-delay: 1.0s; }
.fade-cascade:nth-child(11) { animation-delay: 1.1s; }
.fade-cascade:nth-child(12) { animation-delay: 1.2s; }

/* ====== FIRMA DE DESARROLLO DEBERES24_7 ====== */
.firma-deberes {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 0;
  margin-top: 15px;
}

.firma-deberes p {
  color: #E0E0E0;
  CREATIVIDAD PARA EL CRECIMIENTO PERSONAL: 0.9rem;
  margin: 0;
  letter-spacing: 0.3px;
}

.firma-deberes a {
  color: #FFEB3B;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.firma-deberes a:hover {
  color: #FFFFFF;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}
/* ====== FIRMA DE DESARROLLO DEBERES24_7 ====== */
.firma-deberes {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 0;
  margin-top: 15px;
}

.firma-deberes p {
  color: #E0E0E0;
  CREATIVIDAD PARA EL CRECIMIENTO PERSONAL: 0.9rem;
  margin: 0;
  letter-spacing: 0.3px;
}

.firma-deberes a {
  color: #FFEB3B;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.firma-deberes a:hover {
  color: #FFFFFF;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}
/* ====== CORRECCIÓN DE FIRMA DE DESARROLLO ====== */
.main-footer {
  position: relative;
  display: flex;
  flex-direction: column;
}

.main-footer .footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.firma-deberes {
  width: 100%;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 0;
  margin-top: 15px;
  order: 3; /* asegura que vaya al final */
}

.firma-deberes p {
  color: #E0E0E0;
  CREATIVIDAD PARA EL CRECIMIENTO PERSONAL: 0.9rem;
  margin: 0;
  letter-spacing: 0.3px;
}

.firma-deberes a {
  color: #FFEB3B;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.firma-deberes a:hover {
  color: #FFFFFF;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}
/* ====== FRANJA DEBAJO DEL HEADER ====== */
.header-franja {
  background-color: #E0E0E0; /* gris suave */
  height: 6px;
  width: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* ====== ESTILO DEL TEXTO JUNTO AL LOGO ====== */
.logo span {
  font-size: 2rem;            /* tamaño aumentado (antes 1.6rem o menos) */
  font-weight: 700;           /* negrita elegante */
  color: #ffffff;             /* blanco puro */
  letter-spacing: 0.8px;      /* leve separación entre letras */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4); /* realce sutil */
  line-height: 1.1;           /* compacta ligeramente la altura */
  margin-left: 5px;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.logo:hover span {
  transform: scale(1.04);
  text-shadow: 0 3px 8px rgba(255, 255, 255, 0.6);
}
.cursos-estructura {
  text-align: center;
  padding: 60px 0;
}

.cursos-estructura .titulo-seccion {
  font-size: 2rem;
  color: #003d9c;
  margin-bottom: 10px;
}

.cursos-estructura .descripcion-seccion {
  color: #444;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.cards-grid .card {
  background: #ffffff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cards-grid .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.cards-grid .card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.cards-grid .card h3 {
  color: #d35400;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.cards-grid .card p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

.cards-grid .duracion {
  color: #e67e22;
  font-weight: 600;
  margin-top: 8px;
}
/* ===== ESTRUCTURA DE CURSOS ===== */
.cursos-estructura {
  text-align: center;
  padding: 60px 0;
}

.cursos-estructura .titulo-seccion {
  font-size: 2rem;
  color: #003d9c;
  margin-bottom: 10px;
}

.cursos-estructura .descripcion-seccion {
  color: #444;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.cards-grid .card {
  background: #ffffff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cards-grid .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.cards-grid .card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.cards-grid .card h3 {
  color: #d35400;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.cards-grid .card p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

.cards-grid .duracion {
  color: #e67e22;
  font-weight: 600;
  margin-top: 8px;
}

/* ===== BOTÓN DESCARGA PORTAFOLIO ===== */
.boton-portafolio {
  margin-top: 50px;
}

.btn-descargar {
  background: linear-gradient(90deg, #0056b3, #0074e4);
  color: white;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.btn-descargar:hover {
  background: linear-gradient(90deg, #0074e4, #0056b3);
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.tarjeta-profesional {
  background-color: #0070c9;
  color: #fff;
  border-radius: 18px;
  padding: 25px 30px;
  display: flex;
  align-items: stretch; /* <-- Cambiado para que el azul cubra toda la altura */
  gap: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  min-height: 230px; /* Aumenta el alto visual */
}

.tarjeta-profesional img {
  width: 120px; /* un poco más ancha */
  height: auto; /* se ajusta automáticamente */
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid #fff;
  align-self: stretch; /* <-- hace que la imagen se estire a la altura total del bloque */
}

.tarjeta-profesional h3 {
  margin: 0 0 10px 0;
  font-weight: 700;
  color: #fff;
}

.tarjeta-profesional ul {
  margin: 0;
  padding-left: 20px;
  font-size: 1rem;
  line-height: 1.5;
}
.CREATIVIDAD PARA EL CRECIMIENTO PERSONALs {
  background-color: #f3f3f3;
  padding: 60px 20px;
  text-align: center;
}

.CREATIVIDAD PARA EL CRECIMIENTO PERSONALs h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0d2b63;
  margin-bottom: 10px;
}

.CREATIVIDAD PARA EL CRECIMIENTO PERSONALs p {
  font-size: 1rem;
  color: #333;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.CREATIVIDAD PARA EL CRECIMIENTO PERSONALs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  justify-items: center;
}
.CREATIVIDAD PARA EL CRECIMIENTO PERSONAL-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  width: 100%;
  max-width: 380px;
  height: 280px; /* altura visible del recuadro completo */
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.CREATIVIDAD PARA EL CRECIMIENTO PERSONAL-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* hace que la imagen se adapte y llene todo */
  object-position: center; /* centra el contenido visible */
  display: block;
  border-radius: 0;        /* sin bordes internos */
}

/* Overlay que va encima, pero sin cortar la imagen */
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px; /* ajusta altura del recuadro gris inferior */
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 15px;
  transition: background 0.3s ease;
}

.CREATIVIDAD PARA EL CRECIMIENTO PERSONAL-card:hover .overlay {
  background: rgba(0, 70, 140, 0.8);
}

.CREATIVIDAD PARA EL CRECIMIENTO PERSONAL-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: #fff;
  padding: 5px;
  border-radius: 8px;
}

.overlay h3 {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 700;
}


.CREATIVIDAD PARA EL CRECIMIENTO PERSONAL-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Efecto overlay */
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  transition: background 0.3s ease;
}

.CREATIVIDAD PARA EL CRECIMIENTO PERSONAL-card:hover .overlay {
  background: rgba(0, 70, 140, 0.8);
}

.CREATIVIDAD PARA EL CRECIMIENTO PERSONAL-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: #fff;
  padding: 5px;
  border-radius: 8px;
}

.overlay h3 {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 700;
}

@media (max-width: 768px) {
  .CREATIVIDAD PARA EL CRECIMIENTO PERSONAL-card img {
    height: 200px;
  }
  .overlay h3 {
    font-size: 1rem;
  }
}
.CREATIVIDAD PARA EL CRECIMIENTO PERSONALs {
  text-align: center;
  padding: 60px 0;
  background-color: #f8f9fa;
}

.titulo-seccion {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 40px;
  color: #5f5e5e;
}

.CREATIVIDAD PARA EL CRECIMIENTO PERSONALs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  justify-items: center;
}

.CREATIVIDAD PARA EL CRECIMIENTO PERSONAL-card {
  background-color: #fff;
  border-radius: 118px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 350px;
  display: flex;
  flex-direction: column; /* 🔥 asegura que el texto quede debajo de la imagen */
}

.CREATIVIDAD PARA EL CRECIMIENTO PERSONAL-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

.CREATIVIDAD PARA EL CRECIMIENTO PERSONAL-card h3 {
  color: #bf5a1f; /* tono naranja profesional */
  font-size: 1.5rem;
  font-weight: 1100;
  text-align: center;
  margin: 12px 0 180px 0; /* 🔥 ajusta la distancia visual */
  line-height: 1.3;
}

.CREATIVIDAD PARA EL CRECIMIENTO PERSONAL-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
@media (max-width: 768px) {

  /* --- Ajuste general de márgenes y texto --- */
  body {
    font-size: 15px;
    padding: 0 10px;
  }

  header.main-header .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-nav a {
    display: inline-block;
    margin: 5px 8px;
  }

  /* --- Sección dos columnas --- */
  .two-columns {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .two-columns .image-column img {
    width: 100%;
    max-width: 350px;
    margin-top: 20px;
    border-radius: 10px;
  }

  /* --- Formularios --- */
  form#form-contacto {
    width: 100%;
  }

  .form-group input,
  .form-group textarea {
    width: 100%;
    font-size: 1rem;
  }

  .form-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* --- Sección de Profesionales / Aliados --- */
  .pro-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .pro-card img {
    width: 70%;
    height: auto;
    margin: 0 0 10px 0;
  }

  .aliados-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .aliado-card {
    width: 100%;
  }

  /* --- Footer --- */
  footer.main-footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-content > div {
    margin-bottom: 20px;
  }
}
@media (max-width: 1024px) {
  .two-columns {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .image-column img {
    width: 80%;
    margin: 0 auto;
  }

  .pro-card {
    flex-wrap: wrap;
  }
}
/* === FONDO DEL LOGO === */
.logo-container {
  background-color: #e5e7eb; /* Gris claro, elegante */
  border-radius: 12px;       /* Bordes suaves */
  padding: 8px;              /* Espaciado interno */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Sombra ligera */
  transition: all 0.3s ease;
}

.logo-container:hover {
  background-color: #f0f2f5; /* Un tono más claro al pasar el mouse */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Si el logo es una imagen */
.logo-container img {
  width: 100%;
  max-width: 120px;  /* ajusta según tu diseño */
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  background-color: transparent; /* elimina fondo del logo */
}
/* === ANIMACIONES GLOBALES GMA Consultores y Capacitación === */

/* Estado inicial: invisible y ligeramente desplazado */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Cuando entra en pantalla */
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animación suave al cargar todo el sitio */
body {
  animation: fadeBody 0.8s ease-in;
}

@keyframes fadeBody {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Animación sutil en botones y enlaces */
.btn, a {
  transition: all 0.3s ease;
}

.btn:hover, a:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

/* Pequeña animación para imágenes */
img {
  transition: transform 0.8s ease, box-shadow 0.8s ease;
}

img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
/* ====== AJUSTE LOGO HEADER ====== */
.logo-container {
  background-color: #ffffff; /* Fondo blanco uniforme */
  border-radius: 12px;       /* Bordes suaves como en la captura */
  padding: 5px;              /* Espaciado interno */
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-container img {
  width: 90px;
  height: auto;
  display: block;
  background-color: #ffffff; /* Reafirma fondo blanco para el logo */
  border-radius: 10px;
}
.logo-container img {
  filter: brightness(1.5) contrast(0.9);
}
/* ====== ANIMACIÓN 3D GIRATORIA DEL LOGO ====== */
.logo-container img {
  width: 90px;
  height: auto;
  display: block;
  transform-style: preserve-3d;
  animation: girarLogo 6s linear infinite;
}

/* Animación de giro continuo en eje Y */
@keyframes girarLogo {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

/* Fondo del contenedor del logo */
.logo-container {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.logo-container {
  background: transparent; /* ya no necesitamos fondo */
  border-radius: 12px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-container img {
  width: 90px;
  height: auto;
  display: block;
  background: transparent;
}
.logo-container img {
  animation: girarLogo 6s linear infinite;
  transform-style: preserve-3d;
}

@keyframes girarLogo {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}
/* === LOGO GMA SIN FONDO NI HALO === */
.logo-container {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-container img {
  width: 1110px; /* puedes ajustar este valor */
  height: auto;
  display: block;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  filter: brightness(1.05) contrast(1.15) saturate(1.1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
  border-radius: 0;
  animation: girarLogo 10s linear infinite;
  transform-style: preserve-3d;
}

/* Animación del logo giratorio */
@keyframes girarLogo {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}
.main-nav a.active {
  background: #828384;      /* azul brillante */
  color: #050505;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.3s ease, color 0.3s ease;
}

.main-nav a:hover {
  background: #0808d1;      /* azul más oscuro al pasar el mouse */
  color: #fff;
}
main p,
.section p,
.container p {
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.6;
}
/* ====== HERO DE BIENVENIDA MEJORADO ====== */
.hero-bienvenida {
  position: relative;
  height: 80vh;
  background: url("../img/banner.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
  animation: heroZoom 3s infinite alternate ease-in-out;
}

/* ✨ Degradado azul institucional con profundidad */
.hero-bienvenida::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 32, 96, 0.7),   /* azul oscuro en la parte superior */
    rgba(0, 0, 0, 0.6)      /* transición a negro suave */
  );
  z-index: 1;
}

/* 🌫️ Capa extra de movimiento para dar efecto “profundidad” */
.hero-bienvenida::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  mix-blend-mode: multiply;
  z-index: 2;
  animation: parallaxMove 1s ease-in-out infinite alternate;
}

.hero-bienvenida-contenido {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 0 20px;
  animation: fadeInUp 5s ease forwards;
}

.hero-bienvenida h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 5px 10px rgba(0, 0, 0, 0.6);
  letter-spacing: 1px;
}

.hero-bienvenida p {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  text-align: justify;
  color: #ffffff;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);
}

/* 🎬 Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  0% {
    transform: scale(1);
  }
  75% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1.20);
  }
}

@keyframes parallaxMove {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-30px) scale(1.1);
  }
}

/* 🟦 Botones mejorados */
.hero-actions .btn {
  background: #0078d7;
  color: #fff;
  padding: 14px 28px;
  margin: 0 8px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-actions .btn-outline {
  background: transparent;
  border: 2px solid #fff;
}

.hero-actions .btn:hover {
  background: #005fa3;
  transform: translateY(-3px);
}
/* ====== SECCIÓN 3D ====== */
.servicios-3d-section {
  position: relative;
  height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #5a5a5a, #dcdcdc);
  overflow: hidden;
  perspective: 1200px;
  margin-top: 40px;
  
}

.titulo-servicios {
  position: absolute;
  top: 10px;
  font-size: 2.3rem;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.25);
  z-index: 2;
}

.escena3d {
  position: relative;
  width: 350px;
  height: 350px;
  transform-style: preserve-3d;
  animation: girar 18s linear infinite;
}

.servicios-3d-section:hover .escena3d {
  animation-play-state: paused;
}

.rotador3d {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.tarjeta3d {
  position: absolute;
  width: 240px;
  height: 60px;
  border-radius: 416px;
  cursor: pointer;
  text-align: center;
  padding: 20px;
  color: #222;
  transition: transform 0.3s, box-shadow 0.3s, filter 0.4s;
  background: linear-gradient(145deg, #000000, #e0e0e0);
  border: 3px solid #c9c9c9;

  /* 🎨 Sombras internas y externas para el efecto biselado */
  box-shadow:
    inset 3px 3px 8px rgba(0, 0, 0, 0.15),
    inset -3px -3px 8px rgba(255, 255, 255, 0.9),
    0 12px 25px rgba(0, 0, 0, 0.25);

  /* ✨ Efecto brillante de superficie metálica */
  background-image: linear-gradient(
    145deg,
    rgba(221, 8, 8, 0.8) 0%,
    rgba(0, 0, 0, 0.3) 40%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.tarjeta3d:hover {
  transform: scale(1.08) rotateY(10deg);
  filter: brightness(1.15);
  box-shadow:
    inset 2px 2px 6px rgba(255, 255, 255, 0.9),
    inset -2px -2px 6px rgba(0, 0, 0, 0.25),
    0 18px 40px rgba(0, 0, 0, 0.4);
}

/* 💡 Brillo en movimiento (efecto de luz que pasa por la tarjeta) */
.tarjeta3d::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.4), transparent 60%);
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
  transition: opacity 0.5s;
}

.tarjeta3d:hover::before {
  opacity: 1;
  animation: brilloCircular 3s linear infinite;
}

@keyframes brilloCircular {
  from { transform: rotate(0deg) translate(0, 0); }
  to { transform: rotate(360deg) translate(0, 0); }
}

  .tarjeta3d:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 35px rgba(0,0,0,0.35);
}

.tarjeta3d h3 {
  color: #0a0a09;
  margin-bottom: 10px;
}

.tarjeta3d p {
  font-size: 0.95rem;
  text-align: justify;
}

/* POSICIÓN EN EL CÍRCULO */
.tarjeta3d:nth-child(1) {
  transform: rotateY(0deg) translateZ(300px);
}
.tarjeta3d:nth-child(2) {
  transform: rotateY(120deg) translateZ(300px);
}
.tarjeta3d:nth-child(3) {
  transform: rotateY(240deg) translateZ(300px);
}

/* ANIMACIÓN */
@keyframes girar {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .escena3d {
    width: 250px;
    height: 250px;
  }
  .tarjeta3d {
    width: 180px;
    height: 130px;
    font-size: 0.85rem;
  }
  .titulo-servicios {
    font-size: 1.6rem;
  }
}
/* 💡 Brillo dinámico en movimiento continuo */
.tarjeta3d::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.35), transparent 65%);
  mix-blend-mode: screen;
  opacity: 0.8;
  transform-origin: center;
  animation: brilloCircular 6s linear infinite;
  pointer-events: none;
}

/* Animación del brillo girando constantemente */
@keyframes brilloCircular {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Al pasar el mouse, intensifica el brillo */
.tarjeta3d:hover::before {
  opacity: 1;
  filter: brightness(1.2);
}
/* === OPTIMIZACIÓN SECCIÓN NOSOTROS (versión compacta) === */

.section {
  padding: 40px 0; /* menos espacio vertical */
}

.two-columns {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr; /* más espacio al texto */
  align-items: center;
  gap: 30px;
}

.section.alt {
  background-color: #f7f7f7;
}

/* Textos */
.section h2 {
  color: #0d47a1;
  font-weight: 700;
  margin-bottom: 12px;
}

.section p {
  text-align: justify;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* === IMÁGENES AJUSTADAS (más pequeñas y elegantes) === */
.image-column {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-column img {
  width: 85%;              /* 🔹 Reduce el tamaño visible */
  max-width: 380px;        /* 🔹 Limita el ancho máximo */
  height: auto;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-column img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

/* --- Versión responsive --- */
@media (max-width: 992px) {
  .two-columns {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .image-column img {
    width: 70%;
    max-width: 5320px;
    margin-top: 25px;
  }
}
/* === DEGRADADOS ELEGANTES EN SECCIONES DE "NOSOTROS" === */

.section:nth-of-type(odd) {
  background: linear-gradient(135deg, #f0f0f0 0%, #d9d9d9 100%);
}

.section:nth-of-type(even) {
  background: linear-gradient(135deg, #e6e6e6 0%, #bfbfbf 100%);
}

/* Ajustes para mantener armonía general */
.section {
  padding: 50px 0;
  transition: background 0.5s ease;
}

.section h2 {
  color: #0d47a1;
  font-weight: 700;
  margin-bottom: 15px;
}

.section p {
  text-align: justify;
  line-height: 1.7;
  color: #222;
}

.image-column img {
  width: 80%;
  max-width: 380px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-column img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0,0,0,0.35);
}
/* === SECCIÓN ALIADOS ESTRATÉGICOS ESTILO HEXAGONAL === */
.aliados {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #f7f7f7 0%, #e2e2e2 100%);
}

.aliados h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0d47a1;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* === HEXÁGONOS === */
.hex-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.hex {
  position: relative;
  width: 160px;
  height: 140px;
  background: linear-gradient(145deg, #f1f1f1, #d6d6d6);
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-decoration: none;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.hex:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  background: linear-gradient(145deg, #ffffff, #e0e0e0);
}

/* Imagen dentro del hexágono */
.hex img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  display: block;
  margin: 20px auto 10px auto;
  filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.15));
}

/* Texto debajo */
.hex span {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.5px;
}

/* Adaptable */
@media (max-width: 768px) {
  .hex {
    width: 120px;
    height: 105px;
  }

  .hex img {
    width: 70%;
    height: 70%;
  }

  .hex span {
    font-size: 0.8rem;
  }
}
/* === SECCIÓN ALIADOS ESTILO PANEL HEXAGONAL === */
.aliados {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #f5f5f5 0%, #e2e2e2 100%);
}

.aliados h2 {
  font-size: 2.3rem;
  font-weight: 800;
  color: #0d47a1;
  margin-bottom: 50px;
}

/* === CONTENEDOR EN MALLA HEXAGONAL === */
.hex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
  perspective: 1000px;
}

/* === HEXÁGONOS === */
.hex {
  position: relative;
  width: 150px;
  height: 130px;
  background: #e3e3e3;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: all 0.4s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Imagen dentro del hexágono */
.hex img {
  width: 55%;
  height: 55%;
  object-fit: contain;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

/* Hover efectos */
.hex:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.hex:hover img {
  transform: scale(1.1);
}

.hex span {
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* === COLORES DIFERENCIADOS COMO LA IMAGEN === */
.hex1 { background: linear-gradient(145deg, #fafafa, #dcdcdc); } /* gris claro */
.hex2 { background: linear-gradient(145deg, #0097a7, #007c91); color: #fff; } /* azul verdoso */
.hex3 { background: linear-gradient(145deg, #fafafa, #dcdcdc); }
.hex4 { background: linear-gradient(145deg, #f8b500, #e59a00); color: #fff; } /* amarillo anaranjado */
.hex5 { background: linear-gradient(145deg, #fafafa, #dcdcdc); }
.hex6 { background: linear-gradient(145deg, #e74c3c, #c0392b); color: #fff; } /* rojo */

/* === EFECTO DE SOMBRA Y RELIEVE === */
.hex::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: inherit;
  background: rgba(255,255,255,0.25);
  box-shadow: inset 0 4px 10px rgba(255,255,255,0.5),
              inset 0 -4px 10px rgba(0,0,0,0.15);
  border-radius: 4px;
}

/* === DISPOSICIÓN EN FILAS DESFASADAS === */
.hex-container a:nth-child(4),
.hex-container a:nth-child(5),
.hex-container a:nth-child(6) {
  margin-top: -35px; /* crea el efecto colmena */
}

/* === ADAPTACIÓN MÓVIL === */
@media (max-width: 768px) {
  .hex {
    width: 120px;
    height: 105px;
  }
  .hex-container a:nth-child(4),
  .hex-container a:nth-child(5),
  .hex-container a:nth-child(6) {
    margin-top: -25px;
  }
}
/* === SECCIÓN ALIADOS ESTRATÉGICOS HEXAGONAL === */
.aliados {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #f5f5f5 0%, #e2e2e2 100%);
}

.aliados h2 {
  font-size: 2.3rem;
  font-weight: 800;
  color: #0d47a1;
  margin-bottom: 60px;
}

/* === CONTENEDOR === */
.hex-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

/* === FILAS === */
.hex-row {
  display: flex;
  gap: 15px;
}

.hex-row.offset {
  margin-left: 85px; /* desplazamiento para formar colmena */
}

/* === HEXÁGONOS === */
.hex {
  position: relative;
  width: 150px;
  height: 130px;
  background: #e3e3e3;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: all 0.4s ease;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.hex img {
  width: 55%;
  height: 55%;
  object-fit: contain;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.hex:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

.hex:hover img {
  transform: scale(1.1);
}

.hex span {
  font-size: 0.9rem;
  letter-spacing: 0.4px;
}

/* === COLORES DIFERENCIADOS === */
.hex1, .hex3, .hex5, .hex8 {
  background: linear-gradient(145deg, #f7f7f7, #dcdcdc);
}
.hex2 { background: linear-gradient(145deg, #0097a7, #007c91); color: #fff; }
.hex4 { background: linear-gradient(145deg, #e0e0e0, #cfcfcf); }
.hex6 { background: linear-gradient(145deg, #f8b500, #e59a00); color: #fff; }
.hex7 { background: linear-gradient(145deg, #e74c3c, #c0392b); color: #fff; }
.hex9 { background: linear-gradient(145deg, #95a5a6, #7f8c8d); color: #fff; }
.hex10 { background: linear-gradient(145deg, #34495e, #2c3e50); color: #fff; }

/* Sombras internas tipo relieve */
.hex::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: inherit;
  background: rgba(255,255,255,0.25);
  box-shadow: inset 0 4px 8px rgba(255,255,255,0.5),
              inset 0 -4px 8px rgba(0,0,0,0.15);
}

/* === ADAPTACIÓN MÓVIL === */
@media (max-width: 768px) {
  .hex {
    width: 110px;
    height: 95px;
  }
  .hex-row.offset {
    margin-left: 55px;
  }
}
/* === SECCIÓN ALIADOS ESTRATÉGICOS HEXAGONAL 3-4-3 CENTRADA === */
.aliados {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #f5f5f5 0%, #e2e2e2 100%);
}

.aliados h2 {
  font-size: 2.3rem;
  font-weight: 800;
  color: #0d47a1;
  margin-bottom: 60px;
}

/* === CONTENEDOR GENERAL === */
.hex-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px; /* menos separación vertical */
  position: relative;
  transform-style: preserve-3d;
}

/* === FILAS === */
.hex-row {
  display: flex;
  justify-content: center;
  gap: 5px; /* menos separación horizontal */
}

.fila-1 { margin-left: 80px; }
.fila-3 { margin-left: 80px; }

/* === HEXÁGONOS === */
.hex {
  position: relative;
  width: 170px;
  height: 140px;
  background: #e3e3e3;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #333;
  font-weight: 800;
  transition: all 0.4s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  transform: translateZ(0);
}

.hex img {
  width: 55%;
  height: 55%;
  object-fit: contain;
  margin-bottom: 2px;
  transition: transform 0.3s ease;
}

.hex:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

.hex:hover img {
  transform: scale(1.1);
}

.hex span {
  font-size: 0.9rem;
  letter-spacing: 0.4px;
}

/* === COLORES DIFERENCIADOS COMO LA REFERENCIA === */
.hex1, .hex3, .hex5, .hex8 {
  background: linear-gradient(145deg, #f7f7f7, #dcdcdc);
}
.hex2 { background: linear-gradient(145deg, #0097a7, #007c91); color: #fff; }
.hex4 { background: linear-gradient(145deg, #e0e0e0, #cfcfcf); }
.hex6 { background: linear-gradient(145deg, #f8b500, #e59a00); color: #fff; }
.hex7 { background: linear-gradient(145deg, #e74c3c, #c0392b); color: #fff; }
.hex9 { background: linear-gradient(145deg, #95a5a6, #7f8c8d); color: #fff; }
.hex10 { background: linear-gradient(145deg, #34495e, #2c3e50); color: #fff; }

/* === EFECTO DE RELIEVE Y PROFUNDIDAD === */
.hex::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: inherit;
  background: rgba(255,255,255,0.25);
  box-shadow: inset 0 4px 8px rgba(255,255,255,0.5),
              inset 0 -4px 8px rgba(0,0,0,0.15);
}

/* === EFECTO 3D GENERAL (PERSPECTIVA SUAVE) === */
.hex-wrapper {
  transform: rotateX(6deg) rotateY(2deg);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hex {
    width: 120px;
    height: 105px;
  }
  .fila-1, .fila-3 { margin-left: 60px; }
  .hex-wrapper { transform: none; }
}
/* === SECCIÓN ALIADOS ESTRATÉGICOS HEXAGONAL 3-4-3 CENTRADA CON BRILLO === */
.aliados {
  text-align: center;
  padding: 80px 20px;
  position: relative;
  background: linear-gradient(135deg, #f4f4f4 0%, #e0e0e0 100%);
  overflow: hidden;
}

/* ✨ BRILLO INSTITUCIONAL CENTRAL */
.aliados::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.4) 40%,
    rgba(255, 255, 255, 0) 70%
  );
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
}

.aliados h2 {
  font-size: 2.3rem;
  font-weight: 800;
  color: #0d47a1;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

/* === CONTENEDOR GENERAL === */
.hex-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  position: relative;
  transform-style: preserve-3d;
  z-index: 2;
}

/* === FILAS === */
.hex-row {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.fila-1 { margin-left: 80px; }
.fila-3 { margin-left: 80px; }

/* === HEXÁGONOS === */
.hex {
  position: relative;
  width: 160px;
  height: 140px;
  background: #e3e3e3;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: all 0.4s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  transform: translateZ(0);
}

.hex img {
  width: 55%;
  height: 55%;
  object-fit: contain;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.hex:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

.hex:hover img {
  transform: scale(1.1);
}

.hex span {
  font-size: 0.9rem;
  letter-spacing: 0.4px;
}

/* === COLORES DIFERENCIADOS COMO LA REFERENCIA === */
.hex1, .hex3, .hex5, .hex8 {
  background: linear-gradient(145deg, #f7f7f7, #dcdcdc);
}
.hex2 { background: linear-gradient(145deg, #0097a7, #007c91); color: #fff; }
.hex4 { background: linear-gradient(145deg, #e0e0e0, #cfcfcf); }
.hex6 { background: linear-gradient(145deg, #f8b500, #e59a00); color: #fff; }
.hex7 { background: linear-gradient(145deg, #e74c3c, #c0392b); color: #fff; }
.hex9 { background: linear-gradient(145deg, #95a5a6, #7f8c8d); color: #fff; }
.hex10 { background: linear-gradient(145deg, #34495e, #2c3e50); color: #fff; }

/* === EFECTO DE RELIEVE Y PROFUNDIDAD === */
.hex::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: inherit;
  background: rgba(255,255,255,0.25);
  box-shadow: inset 0 4px 8px rgba(255,255,255,0.5),
              inset 0 -4px 8px rgba(0,0,0,0.15);
}

/* === EFECTO 3D GENERAL (PERSPECTIVA SUAVE) === */
.hex-wrapper {
  transform: rotateX(6deg) rotateY(2deg);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hex {
    width: 120px;
    height: 105px;
  }
  .fila-1, .fila-3 { margin-left: 60px; }
  .hex-wrapper { transform: none; }
}
/* === SECCIÓN ALIADOS ESTRATÉGICOS HEXAGONAL 3-4-3 CON BRILLO ANIMADO === */
.aliados {
  text-align: left;
  padding: 80px 320px;
  position: relative;
  background: linear-gradient(135deg, #f4f4f4 0%, #e0e0e0 100%);
  overflow: hidden;
}

/* ✨ BRILLO INSTITUCIONAL CENTRAL ANIMADO */
.aliados::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 650px;
  height: 650px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.4) 40%,
    rgba(255, 255, 255, 0) 70%
  );
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
  animation: resplandor 6s ease-in-out infinite alternate;
}

/* 🔆 Animación tipo respiración */
@keyframes resplandor {
  0% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.8;
    filter: blur(80px);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 1;
    filter: blur(100px);
  }
  100% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.8;
    filter: blur(80px);
  }
}

/* === TÍTULO === */
.aliados h2 {
  font-size: 2.3rem;
  font-weight: 800;
  color: #fcfcfc;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

/* === CONTENEDOR GENERAL === */
.hex-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  position: relative;
  transform-style: preserve-3d;
  z-index: 2;
}

/* === FILAS === */
.hex-row {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.fila-1 { margin-left: 80px; }
.fila-3 { margin-left: 80px; }

/* === HEXÁGONOS === */
.hex {
  position: relative;
  width: 160px;
  height: 140px;
  background: #e3e3e3;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: all 0.4s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  transform: translateZ(0);
}

.hex img {
  width: 55%;
  height: 55%;
  object-fit: contain;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.hex:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

.hex:hover img {
  transform: scale(1.1);
}

.hex span {
  font-size: 0.9rem;
  letter-spacing: 0.4px;
}

/* === COLORES DIFERENCIADOS COMO LA REFERENCIA === */
.hex1, .hex3, .hex5, .hex8 {
  background: linear-gradient(145deg, #f7f7f7, #dcdcdc);
}
.hex2 { background: linear-gradient(145deg, #0097a7, #007c91); color: #fff; }
.hex4 { background: linear-gradient(145deg, #e0e0e0, #cfcfcf); }
.hex6 { background: linear-gradient(145deg, #f8b500, #e59a00); color: #fff; }
.hex7 { background: linear-gradient(145deg, #e74c3c, #c0392b); color: #fff; }
.hex9 { background: linear-gradient(145deg, #95a5a6, #7f8c8d); color: #fff; }
.hex10 { background: linear-gradient(145deg, #34495e, #2c3e50); color: #fff; }

/* === EFECTO DE RELIEVE === */
.hex::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: inherit;
  background: rgba(255,255,255,0.25);
  box-shadow: inset 0 4px 8px rgba(255,255,255,0.5),
              inset 0 -4px 8px rgba(0,0,0,0.15);
}

/* === EFECTO 3D GENERAL (PERSPECTIVA SUAVE) === */
.hex-wrapper {
  transform: rotateX(6deg) rotateY(2deg);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hex {
    width: 120px;
    height: 105px;
  }
  .fila-1, .fila-3 { margin-left: 60px; }
  .hex-wrapper { transform: none; }
}
/* === DISTRIBUCIÓN EN DOS COLUMNAS === */
.aliados-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.aliados-columna {
  flex: 1 1 45%;
  min-width: 400px;
  display: flex;
  justify-content: center;
}

/* Responsivo */
@media (max-width: 992px) {
  .aliados-container {
    flex-direction: column;
    align-items: center;
    gap: 60px;
  }
  .aliados-columna {
    min-width: 90%;
  }
}
/* === ESTILO GENERAL OSCURO BRILLANTE PARA HEXÁGONOS === */
.hex {
  position: relative;
  width: 160px;
  height: 140px;
  background: linear-gradient(145deg, #222, #333);
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff; /* letras blancas */
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.4s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35),
              inset 0 1px 2px rgba(255, 255, 255, 0.1);
  transform: translateZ(0);
}

/* efecto brillante metálico */
.hex::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.05) 60%);
  mix-blend-mode: overlay;
  border-radius: 4px;
}

/* hover con luz blanca */
.hex:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 12px 25px rgba(255,255,255,0.15),
              0 8px 20px rgba(0,0,0,0.6);
  background: linear-gradient(145deg, #2a2a2a, #444);
}

.hex:hover::before {
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.15) 80%);
}

/* imágenes dentro */
.hex img {
  width: 55%;
  height: 55%;
  object-fit: contain;
  margin-bottom: 8px;
  filter: brightness(0.9) contrast(1.1);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.hex:hover img {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* texto */
.hex span {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

/* equilibrio y disposición */
.hex-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hex-row {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.fila-1 { margin-left: 80px; }
.fila-3 { margin-left: 80px; }

/* responsivo */
@media (max-width: 768px) {
  .hex {
    width: 120px;
    height: 105px;
  }
  .fila-1, .fila-3 { margin-left: 60px; }
}
/* === FONDO DEGRADADO SUAVE OSCURO === */
.aliados {
  background: linear-gradient(160deg, #fffdfd, #111, #000ecf);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.aliados::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.05), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(0,150,255,0.1), transparent 70%);
  animation: glowMove 15s infinite linear alternate;
}
@keyframes glowMove {
  0% { transform: translate(0,0); }
  100% { transform: translate(40px, -40px); }
}

/* === HEXÁGONOS OSCUROS BRILLANTES === */
.hex {
  position: relative;
  width: 160px;
  height: 140px;
  background: linear-gradient(145deg, #000dff, #f4f4f4);
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.5s ease;
  box-shadow: 0 8px 18px rgba(244, 244, 244, 0.5),
              inset 0 2px 4px rgba(255, 255, 255, 0.05);
  transform-style: preserve-3d;
  perspective: 800px;
  animation: rotarHex 20s infinite linear;
}

@keyframes rotarHex {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

.hex:hover {
  transform: scale(1.1) rotateY(15deg);
  background: linear-gradient(145deg, #2d2d2d, #3b3b3b);
  box-shadow: 0 12px 25px rgba(255,255,255,0.15),
              0 8px 20px rgba(0, 0, 0, 0.6);
}

.hex::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.05) 70%);
  mix-blend-mode: overlay;
}

/* === IMAGEN Y TEXTO === */
.hex img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  margin-bottom: 10px;
  filter: brightness(1.1);
  transition: transform 0.3s ease, filter 0.3s ease;
}
.hex:hover img {
  transform: scale(1.15);
  filter: brightness(1.3);
}
.hex span {
  color: #f7f7f7;
  font-size: 0.9rem;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* === DISTRIBUCIÓN === */
.hex-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hex-row {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.fila-1 { margin-left: 70px; }
.fila-3 { margin-left: 70px; }

/* === COLUMNAS === */
.aliados-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 80px;
  position: relative;
  z-index: 2;
}
.aliados-columna {
  flex: 1 1 45%;
  min-width: 400px;
  display: flex;
  justify-content: center;
}

/* === RESPONSIVO === */
@media (max-width: 992px) {
  .aliados-container {
    flex-direction: column;
    align-items: center;
  }
  .aliados-columna {
    min-width: 100%;
  }
  .fila-1, .fila-3 { margin-left: 0; }
}
/* ===== PANEL INTERACTIVO GMA ===== */
.panel-gma {
  background: linear-gradient(145deg, #f4f5f7, #e9eaec);
  padding: 60px 20px;
  border-top: 5px solid #003366;
  border-bottom: 5px solid #003366;
}

.panel-gma .titulo-seccion {
  text-align: center;
  font-size: 2rem;
  color: #003366;
  margin-bottom: 30px;
  font-weight: 700;
}

/* CONTENEDOR PRINCIPAL */
.panel-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  overflow: hidden;
}

/* PESTAÑAS LATERALES */
.panel-tabs {
  flex: 0 0 240px;
  background: #1e2a38;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 10px 0;
}

.tab-button {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 12px;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.tab-button:hover {
  background: rgba(255,255,255,0.1);
  color: #00aaff;
}

.tab-button.active {
  background: #003366;
  border-left: 4px solid #00aaff;
  color: #fff;
}

/* CONTENIDO PRINCIPAL */
.panel-content {
  flex: 1;
  padding: 40px;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.4s ease;
}

.tab-content {
  display: none;
  animation: fadeIn 0.6s ease;
}

.tab-content.active {
  display: block;
}

.tab-content h3 {
  font-size: 1.5rem;
  color: #003366;
  margin-bottom: 10px;
}

.tab-content p {
  color: #333;
  text-align: justify;
  line-height: 1.6;
  margin-bottom: 20px;
}

.tab-content img {
  width: 100%;
  max-width: 150px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.4s ease;
}

.tab-content img:hover {
  transform: scale(1.03);
}

/* ANIMACIÓN */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .panel-container {
    flex-direction: column;
  }
  .panel-tabs {
    flex-direction: row;
    justify-content: space-around;
  }
  .tab-button {
    text-align: center;
    flex: 1;
    font-size: 0.9rem;
  }
}
/* ===== Ajuste visual de imágenes del panel interactivo ===== */
.tab-content img {
  width: 200%;
  max-width: 200px; /* tamaño estándar uniforme */
  height: auto;
  border-radius: 15px;
  margin-top: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tab-content img:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* Mantiene el diseño consistente en pantallas grandes y pequeñas */
@media (max-width: 900px) {
  .tab-content img {
    max-width: 100%;
    border-radius: 12px;
    margin-top: 15px;
  }
}
/* 🔹 Mejora visual de los títulos en los hexágonos */
.hex span {
  font-size: 1.2rem;       /* 🔸 texto más grande */
  font-weight: 800;        /* 🔸 más grueso */
  letter-spacing: 1px;     /* 🔸 separación sutil entre letras */
  color: #ffffff;          /* 🔸 blanco puro */
  text-shadow: 0 2px 6px rgba(0,0,0,0.6); /* 🔸 sombra para contraste */
  text-transform: uppercase; /* 🔸 opcional, mantiene coherencia */
}
/* 🔹 Corrige visibilidad del texto dentro de los hexágonos */
.hex {
  position: relative;
  overflow: visible !important; /* ✅ permite que el texto salga del clip-path */
}

.hex span {
  position: absolute;
  bottom: -28px;          /* ✅ coloca el texto fuera del borde cortado */
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(0, 0, 0, 0.35); /* sutil fondo translúcido */
  padding: 4px 10px;
  border-radius: 8px;
  white-space: nowrap;
}
/* 🔹 Arreglo visual: mostrar títulos debajo de los hexágonos */
.hex {
  position: relative;
  overflow: visible !important; /* permite mostrar texto fuera del recorte */
  z-index: 2; /* asegura que el hexágono esté encima */
}

.hex span {
  position: absolute;
  bottom: -32px; /* coloca el texto un poco más abajo del borde */
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9); /* mejora contraste */
  background: rgba(0, 0, 0, 0.55); /* fondo semitransparente detrás del texto */
  padding: 5px 14px;
  border-radius: 8px;
  z-index: 3; /* asegura que esté encima de cualquier otra capa */
  pointer-events: none; /* evita que bloquee clics en el hexágono */
}
/* === CONTENEDOR GENERAL === */
.aliados-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 0;
}

/* === HEXÁGONOS A LA IZQUIERDA === */
.hex-wrapper {
  flex: 0 0 65%; /* ocupa el 65% del espacio total */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* === LISTA A LA DERECHA === */
.lista-aliados {
  flex: 0 0 30%; /* ocupa el 30% del espacio total */
  background: linear-gradient(180deg, #021526, #0a2342);
  color: #fff;
  padding: 25px 30px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  height: fit-content;
  position: relative;
  top: 0;
}

/* === TÍTULO Y LISTA === */
.lista-aliados h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 20px;
  border-bottom: 2px solid #00aaff;
  padding-bottom: 10px;
  text-align: center;
}

.lista-aliados ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lista-aliados li {
  margin: 12px 0;
}

.lista-aliados a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
}

.lista-aliados a:hover {
  background: #00aaff;
  color: #ffffff;
  transform: translateX(8px);
}
/* === AJUSTE FINAL: HEXÁGONOS PEGADOS A LA IZQUIERDA === */
.aliados-container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start; /* ✅ los empuja al inicio */
  gap: 60px;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Hexágonos */
.hex-wrapper {
  flex: 0 0 68%; /* deja espacio al costado derecho */
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* ✅ alineación a la izquierda */
  justify-content: center;
  padding-left: 60px; /* separa un poco del borde izquierdo */
}

/* Lista lateral */
.lista-aliados {
  flex: 0 0 28%;
  background: linear-gradient(180deg, #021526, #0a2342);
  color: #fff;
  padding: 25px 30px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  height: fit-content;
  position: relative;
  top: 0;
}

/* Título y enlaces */
.lista-aliados h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 20px;
  border-bottom: 2px solid #00aaff;
  padding-bottom: 10px;
  text-align: center;
}

.lista-aliados ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lista-aliados li {
  margin: 12px 0;
}

.lista-aliados a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
}

.lista-aliados a:hover {
  background: #00aaff;
  color: #ffffff;
  transform: translateX(8px);
}
.aliados-container {
  display: flex;
  align-items: center; /* ✅ centra verticalmente ambos bloques */
  justify-content: flex-start;
  gap: 60px;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Hexágonos */
.hex-wrapper {
  flex: 0 0 68%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-left: 60px;
}

/* Lista lateral */
.lista-aliados {
  flex: 0 0 28%;
  background: linear-gradient(180deg, #021526, #0a2342);
  color: #fff;
  padding: 25px 30px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  height: fit-content;
  position: relative;
  top: 0;
  margin-top: -540px; /* ✅ sube la caja un poco si aún se nota baja */
}

/* Título y enlaces */
.lista-aliados h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 20px;
  border-bottom: 2px solid #00aaff;
  padding-bottom: 10px;
  text-align: center;
}

.lista-aliados ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lista-aliados li {
  margin: 12px 0;
}

.lista-aliados a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
}

.lista-aliados a:hover {
  background: #00aaff;
  color: #ffffff;
  transform: translateX(8px);
}
/* ==== PÁGINA DE ALIADOS ==== */
.aliado-page {
  background: linear-gradient(135deg, #021526, #0a2342);
  color: #fff;
  font-family: "Poppins", sans-serif;
  padding: 0;
  margin: 0;
}

.aliado-header {
  text-align: center;
  padding: 60px 20px 30px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 2px solid #007bff;
}

.aliado-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #00aaff;
}

.aliado-contenido {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 40px auto;
  flex-wrap: wrap;
  padding: 0 20px;
}

.aliado-img {
  width: 450px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.aliado-texto {
  max-width: 600px;
}

.aliado-texto h2 {
  color: #00aaff;
  margin-top: 20px;
  margin-bottom: 10px;
}

.btn-volver {
  display: inline-block;
  margin-top: 25px;
  background: #00aaff;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-volver:hover {
  background: #007bff;
  transform: translateX(-5px);
}
/* === CARRUSEL DE ALIADOS === */
.carrusel-aliados {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #fafafa, #012b6b);
  padding: 10px 0;
  position: relative;
}

.carrusel-track {
  display: flex;
  align-items: center;
  gap: 50px;
  animation: scroll 160s linear infinite;
}

.carrusel-track img {
  height: 90px; /* Ajusta la altura al recuadro rojo */
  width: auto;
  object-fit: contain;
  filter: brightness(1);
  transition: transform 100s ease;
}

.carrusel-track img:hover {
  transform: scale(1.1);
}

/* Animación infinita */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Duplicar el carrusel para hacerlo fluido */
.carrusel-track::after {
  content: '';
  display: flex;
  width: 100%;
}
/* ==== FIX VISIBILIDAD DE CAPACITACIONES ==== */
.capacitaciones-botones {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  opacity: 100 !important;      /* 🔹 Siempre visibles */
  visibility: visible !important;
  transition: none !important;
}

.capacitaciones-botones a {
  background: linear-gradient(135deg, #003366, #0055aa);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background 0.3s ease;
}

.capacitaciones-botones a:hover {
  background: linear-gradient(135deg, #0055aa, #0077ff);
  transform: translateY(-3px);
}
/* === CORRECCIÓN: Mostrar los botones siempre === */
.capacitaciones-botones {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 14px;
  margin-top: 20px;
  opacity: 100 !important;
  visibility: visible !important;
  transition: none !important;
}

.capacitaciones-botones a {
  background: linear-gradient(135deg, #004aad, #0077ff);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, background 0.3s ease;
}

.capacitaciones-botones a:hover {
  background: linear-gradient(135deg, #0077ff, #00aaff);
  transform: translateY(-3px);
}
/* === FIX FINAL: Mostrar los botones de capacitaciones SIEMPRE === */
.capacitaciones-botones a {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  animation: none !important;
  transition: none !important;
}
/* ==== Ajuste Responsive del Header ==== */
@media (max-width: 768px) {
  .main-header {
    background: #003366;
    padding: 10px 15px;
  }

  .header-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .main-nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
    background: none;
    border: 2px solid #fff;
    color: white;
    font-size: 1.3rem;
    border-radius: 6px;
    padding: 5px 10px;
    cursor: pointer;
    transition: background 0.3s;
  }

  .menu-toggle:hover {
    background: #1a73e8;
  }
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
}
@media (max-width: 768px) {
  section {
    padding: 40px 20px !important;
  }

  h1, h2, h3 {
    text-align: center;
  }

  .two-columns {
    flex-direction: column !important;
    gap: 20px;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
  }

  .page-hero {
    text-align: center;
    background-position: center;
  }
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-content div {
    width: 100%;
  }
}
/* ==== Ajustes del carrusel en móviles ==== */
@media (max-width: 768px) {
  .hex-item {
    width: 120px;
    height: 140px;
    margin: 10px auto;
  }

  .carousel-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .carousel-track {
    animation-duration: 900 !important; /* velocidad más rápida */
  }

  .hex-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .hex-caption {
    font-size: 0.8rem;
    text-align: center;
  }
}
/* 🔹 IMAGEN ALARGADA EN TARJETA PROFESIONAL */
.tarjeta-profesional {
  position: relative;
  overflow: hidden;
}

.tarjeta-profesional img {
  width: 150px;               /* aumenta el ancho para que se vea alargada */
  height: 100%;               /* ocupa todo el alto del recuadro */
  object-fit: cover;          /* mantiene proporciones */
  border-radius: 15px 0 0 15px;
  border: none;               /* elimina borde blanco */
  flex-shrink: 1;             /* evita que se deforme */
}
/* === SECCIÓN DE SERVICIOS ESTÁTICOS === */
.servicios-section {
  text-align: center;
  padding: 60px 0;
  background: linear-gradient(to bottom, #0252f1, #eef2f6);
}

.titulo-servicios {
  font-size: 2.4rem;
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  justify-items: justify;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.servicio-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  overflow: hidden;
  width: 100%;
  max-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.servicio-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.servicio-card h3 {
  color: #000000;
  font-size: 1.2rem;
  margin: 15px 0 10px;
  font-weight: 700;
}

.servicio-card p {
  color: #333;
  font-size: 0.95rem;
  padding: 0 15px 25px;
  line-height: 1.5;
}
/* === EFECTO 3D EN HOVER === */
.servicio-card:hover {
  transform: rotateY(100deg) rotateX(5deg) scale(1.05);
  box-shadow: 0 15px 30px rgba(0,0,0,0.35);
}

/* === EFECTO SUAVE DE ILUMINACIÓN AL HOVER === */
.servicio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.servicio-card:hover::after {
  opacity: 1;
}

/* === RESPONSIVO === */
@media (max-width: 768px) {
  .servicios-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}