.hero-interno-amiti {
    background: linear-gradient(135deg, #0900b9 0%, #3a72f6 100%);
    color: white;
    padding: 100px 5% 80px;
    position: relative;
    overflow: hidden;
}

.hero-interno-amiti::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-interno-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-interno-texto {
    padding-right: 20px;
    padding-top: 10%;
}

.hero-interno-titulo {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-interno-linea {
    width: 80px;
    height: 4px;
    background: white;
    margin-bottom: 30px;
    border-radius: 2px;
}

.hero-interno-descripcion {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 500px;
}

.btn-hero-interno {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: white;
    color: #0900b9;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-hero-interno:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    color: #0900b9;
}

.hero-interno-imagen img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-interno-imagen img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* ===== INTRODUCCIÓN ===== */
.introduccion-amci {
    padding: 100px 5%;
    background-image: url(assets/img/fondos/futurista.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.introduccion-amci h2{
    color: transparent;
    -webkit-text-stroke: 2px #204dd3;
    text-transform: uppercase;
}

.introduccion-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.titulo-seccion {
    font-size: 2.8rem;
    font-weight: 700;
    color: #0900b9;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.introduccion-parrafo {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.introduccion-estadisticas {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.estadistica-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.estadistica-numero {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0900b9;
    margin-bottom: 5px;
    line-height: 1;
}

.estadistica-texto {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.video-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.video-placeholder {
    position: relative;
    height: 280px;
    background: #0900b9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.video-play-btn {
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0900b9;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    background: white;
    transform: scale(1.1);
}

.video-descripcion {
    padding: 20px;
    text-align: center;
    background: white;
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* ===== MISIÓN Y VISIÓN ===== */
.mision-vision-amiti {
  background-image: url(assets/img/fondos/manos.webp);
  background-size: cover;
  background-position: center;
}

.mv-bg {
  background: linear-gradient(
    90deg,
    rgba(11,27,63,0.95) 45%,
    rgba(11,27,63,0.6)
  );
  padding: 100px 5%;
}

.mv-wrapper {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}


/* TEXTO */
.mv-texto {
    color: #fff;
}

.mv-bloque {
    margin-bottom: 40px;
}

.mision-vision{
    display: flex;
    align-items: center;
    gap: 5%;
    margin-bottom: 10px;
    border: 1px solid #fff;
    padding: 15px;
    border-radius: 10px;
    width: 8rem;
}

.mv-bloque h3 {
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.mv-bloque p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.9;
}

/* GALERÍA */
.mv-galeria {
      width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.gallery-main {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

.gallery-main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: opacity 0.6s ease;
}

/* Flechas */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #2e2e2e;
    color: #fff;
    border: none;
    padding: 12px 16px;
    font-size: 22px;
    cursor: pointer;
    opacity: 0;
    transition: 0.3s;
}

.arrow.left {
    left: 15px;
}

.arrow.right {
    right: 15px;
}

.gallery-main:hover .arrow {
    opacity: 1;
}

/* Miniaturas */
.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
}

.gallery-thumbs img {
    height: 70px;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
}

.gallery-thumbs img.active,
.gallery-thumbs img:hover {
    opacity: 1;
    border-bottom: 3px solid #1ba1e2;
}

/* ===== VALORES ===== */
.valores-amci {
    padding: 100px 5%;
    background: #f8f9fa;
}

.valores-amci h2{
    color:#2e2e2e
}

.seccion-header {
    text-align: center;
    margin-bottom: 60px;
}

.subtitulo-seccion {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.valor-card-1 {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease!important;
    border-top: 4px solid transparent;
}

.valor-card-2 {
    background: #00135e;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.valor-card-2 .valor-icono, 
.valor-card-2 .valor-titulo, 
.valor-card-2 .valor-descripcion {
    color: white;
}

.valor-card-1:hover, 
.valor-card-2:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-top-color: #3a72f6;
}

.valor-icono {
    font-size: 2.8rem;
    color: #00135e;
    margin-bottom: 25px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.valor-titulo {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #00135e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.valor-descripcion {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}


/* ===== DIRECTORIO ===== */
.directorio-amiti {
    padding: 100px 5%;
    background: #f8f9fa;
}

.directorio-carrusel {
    padding: 20px 10px 50px;
}

.directivo-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.directivo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.directivo-imagen {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.directivo-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.directivo-card:hover .directivo-imagen img {
    transform: scale(1.05);
}

.directivo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #3a72f6;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.directivo-card:hover .directivo-overlay {
    opacity: 1;
}

.directivo-email {
    color: white;
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.directivo-email:hover {
    background: white;
    color: #3a72f6;
    transform: scale(1.1);
}

.directivo-info {
    padding: 25px;
    text-align: center;
}

.directivo-nombre {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2e2e2e;
    margin-bottom: 8px;
    line-height: 1.3;
}

.directivo-cargo {
    color: #0900b9;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.directivo-empresa {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.directivo-periodo {
    display: inline-block;
    padding: 5px 15px;
    background: #f0f5ff;
    color: #0900b9;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.directorio-boton {
    text-align: center;
    margin-top: 40px;
}

/* ===== CTA AFILIACIÓN ===== */
.cta-afiliacion {
    padding: 100px 5%;
    background: #f8f9fa;
}

.cta-contenido {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 60px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cta-titulo {
    font-size: 2.5rem;
    color: #0900b9;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-descripcion {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-botones {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primario,
.btn-cta-secundario {
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-cta-primario {
    background: #0900b9;
    color: white;
}

.btn-cta-primario:hover {
    background: #07009c;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(9, 0, 185, 0.2);
}

.btn-cta-secundario {
    background: transparent;
    color: #0900b9;
    border: 2px solid #0900b9;
}

.btn-cta-secundario:hover {
    background: #0900b9;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(9, 0, 185, 0.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .hero-interno-titulo {
        font-size: 3rem;
    }

    .cifras-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-interno-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-interno-texto {
        padding-right: 0;
    }

    .hero-interno-linea {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-interno-descripcion {
        margin-left: auto;
        margin-right: auto;
    }

    .introduccion-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mv-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .valores-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        padding-left: 80px !important;
        padding-right: 0 !important;
        justify-content: flex-start !important;
    }

    .timeline-fecha {
        left: 30px;
        transform: translateX(-50%);
    }

    .timeline-item:nth-child(even) .timeline-contenido {
        border-right: none;
        border-left: 4px solid #0900b9;
    }

    .directorio-carrusel {
        padding: 20px 5px 50px;
    }
}

@media (max-width: 768px) {
    .hero-interno-amiti {
        padding: 80px 5% 60px;
    }

    .hero-interno-titulo {
        font-size: 2.5rem;
    }

    .titulo-seccion {
        font-size: 2rem;
    }

    .valores-grid {
        grid-template-columns: 1fr;
    }

    .cifras-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-contenido {
        padding: 40px 25px;
    }

    .cta-titulo {
        font-size: 2rem;
    }

    .cta-botones {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta-primario,
    .btn-cta-secundario {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .introduccion-estadisticas {
        justify-content: center;
    }

    .estadistica-item {
        flex: none;
        width: calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .hero-interno-titulo {
        font-size: 2rem;
    }

    .hero-interno-descripcion {
        font-size: 1.1rem;
    }

    .titulo-seccion {
        font-size: 1.8rem;
    }

    .cta-titulo {
        font-size: 1.8rem;
    }

    .cta-descripcion {
        font-size: 1.1rem;
    }

    .estadistica-numero {
        font-size: 2rem;
    }

    .cifra-numero {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {

    [data-aos="fade-left"],
    [data-aos="fade-right"] {
        transform: none !important;
    }
}

/* MOBILE */
@media (max-width: 768px) {

  .mv-bg {
    padding: 80px 20px;
    background: linear-gradient(
      180deg,
      rgba(11,27,63,0.97) 65%,
      rgba(11,27,63,0.9)
    );
  }

  .mv-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}