/*logo*/
.logo-navbar {
    height: 42px;
    width: auto;
}

/* Ajuste en móvil */
@media (max-width: 768px) {
    .logo-navbar {
        height: 34px;
    }
}

/*barra*/
.hero {
    background: #b11226;
    padding: 120px 0;
}

.hero-bg {
    background:
        linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)),
        url('../img/b&n1.png') center/cover no-repeat;
    filter: grayscale(100%);
}

.swiper {
    width: 100%;
    padding: 20px 0;
}

.swiper-slide img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.swiper-slide img:hover {
    transform: scale(1.05);
}

/* Evaluador */

.section-evaluador {
    background-color: #f8f9fa;
}

/* Ilustración */
.evaluador-ilustracion img {
    max-width: 520px;
    animation: float 5s ease-in-out infinite;
}

/* Animación flotante */
@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Lista */
.evaluador-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.evaluador-list li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: #b11226;
    font-size: 18px;
    top: 2px;
}

/* Entrada suave al cargar */
.section-evaluador {
    animation: fadeUp 1s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* servicios clave */
.section-servicios-alt {
    background: #ffffff;
}

.servicio-box {
    background: #f8f9fa;
    border-radius: 18px;
    padding: 30px 24px;
    text-align: center;
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease;
}

.servicio-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, .12);
}

.servicio-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.servicio-box h5 {
    margin-bottom: 14px;
    color: #b11226;
    font-size: 1.05rem;
}

.servicio-box ul {
    list-style: none;
    padding-left: 0;
    font-size: 0.9rem;
}

.servicio-box ul li {
    margin-bottom: 8px;
}

/* convenios */
.section-convenios {
    background: #f8f9fa;
}

.convenio-box {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.convenio-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, .12);
}

.convenio-logo {
    max-width: 180px;
    max-height: 90px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter .3s ease;
}

.convenio-box:hover .convenio-logo {
    filter: grayscale(0%);
}


/* footer */
.logo-acreditacion {
    max-width: 160px;
    opacity: 0.85;
    transition: opacity .3s ease;
}

.logo-acreditacion:hover {
    opacity: 1;
}


/* Contenedor de la tarjeta */
.convenio-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    border-radius: 15px;
    overflow: hidden;
}

/* Efecto al pasar el mouse sobre la tarjeta */
.convenio-card:hover {
    transform: translateY(-10px);
    /* Se eleva */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Contenedor de la imagen para el efecto zoom */
.img-container {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.img-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Zoom en la imagen cuando se hace hover en la tarjeta */
.convenio-card:hover .img-container img {
    transform: scale(1.1);
}

/* Estilo para los logos */
.logo-wrapper {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.logo-wrapper img {
    max-height: 100%;
    filter: grayscale(20%);
    /* Un toque sutil de seriedad */
    transition: filter 0.3s ease;
}

.convenio-card:hover .logo-wrapper img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Animación simple de entrada para el título */
.animate-on-scroll {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* galería mosaico */
.info-card {
    border-radius: 14px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #b11226;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 15px;
}

.gallery-img {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}

.gallery-img img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform .6s ease;
}

.gallery-img:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(177, 18, 38, .65);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .4s ease;
    font-weight: 600;
    text-align: center;
    padding: 15px;
}

.gallery-img:hover .gallery-overlay {
    opacity: 1;
}

.hero {
    padding: 130px 0;
    position: relative;
}

.hero-bg .container {
    filter: none;
}

.hero h1 {
    font-weight: 700;
    font-size: 3rem;
}

.hero p {
    font-size: 1.25rem;
    opacity: .95;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 100px 20px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}



.gallery-mosaic {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item-large {
    grid-row: span 3;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

/* Overlay */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    opacity: 0;
    transition: opacity .4s ease;
    text-align: center;
    padding: 20px;
}

/* Hover */
.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-item-large {
        grid-row: auto;
        min-height: 260px;
    }

    .gallery-item {
        min-height: 180px;
    }
}


/*cursos design*/
.section-requisitos {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.requisitos-list {
    padding-left: 0;
    list-style: none;
}

.requisitos-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.requisitos-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #b11226;
    font-weight: bold;
}

/* LISTA DE REQUISITOS */
.requisitos-list {
    list-style: none;
    padding-left: 0;
    max-width: 700px;
    margin: auto;
}

.requisitos-list li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
}

.requisitos-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #b11226;
    font-weight: bold;
}

/* PASOS DEL PROCESO */
.step-card {
    background: #f8f9fa;
    border-radius: 14px;
    padding: 25px 20px;
    text-align: center;
    height: 100%;
    position: relative;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.step-number {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #b11226;
    color: #fff;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 10px;
}

.formacion-card {
    border-radius: 16px;
    border-left: 5px solid #b11226;
}

.formacion-icon {
    font-size: 22px;
    color: #b11226;
}

.formacion-list {
    list-style: none;
    padding-left: 0;
}

.formacion-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.formacion-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #b11226;
    font-weight: bold;
}

.formacion-item {
    background: #f8f9fa;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}

/* contacto style */
.contact-card {
    border-radius: 12px;
}

.map-container img {
    border-radius: 12px;


}

.contacto-section {
  background: #f8fafc;
}

.contact-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.2rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid #e5e7eb;
}

.contact-icon {
  font-size: 1.6rem;
  color: #e63946;
  line-height: 1;
}

.contact-item h6 {
  margin: 0;
  font-weight: 600;
  color: #1f2937;
}

.contact-item p {
  margin: 0.25rem 0 0;
  color: #4b5563;
  font-size: 0.95rem;
}
