/* =============================================
   E.B.S. - HERO
   ============================================= */

.ebs-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 350px;
    display: flex;
    align-items: flex-end;
}

.ebs-hero__overlay {
    background: linear-gradient(transparent 0%, rgba(255, 255, 255, 0.95) 100%);
    width: 100%;
}

.ebs-hero__imagen {
    display: block;
    max-width: 100%;
    height: 350px;
    margin: 0 auto 20px;
    object-fit: cover;
    width: 100%;
}

.ebs-hero__overlay h1 {
    margin: 0 0 20px 0;
    line-height: 1.3;

    color: #C51A1B;
    font-family: "Raleway", Sans-serif;
    font-size: 40px;
    font-weight: bold;
    font-style: italic;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.ebs-hero__overlay h1::after {
    content: "";
    display: block;
    width: 400px;
    height: 1px;
    background-color: #D8D4D3;
    margin: 10px auto 0;
}

.ebs-hero__texto {
    margin-left: 10%;
    margin-right: 10%;
}

.ebs-hero__texto h5 {
    max-width: 700px;
    line-height: 1.6;

    color: #606060;
    font-family: "Raleway", Sans-serif;
    font-size: 15px;
    font-weight: 700;
    font-style: normal;    
}

.ebs-hero__texto p {
    color: #8E8E8E;
    font-family: "Raleway", Sans-serif;
    font-size: 15px;
    font-weight: normal;    
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 991px) {
    .somos-hero {
        min-height: 250px;
    }

    .somos-hero__titulo {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .somos-hero {
        min-height: 200px;
    }

    .somos-hero__titulo {
        font-size: 26px;
    }
}

/* =============================================
   SECCION ESNI BUSINESS SCHOOL - Estilos personalizados
   ============================================= */

.ebs {
    padding: 0;
}

/* Page Header */
.ebs__header {
    background-color: #C51A1B;
    padding: 60px 0;
    position: relative;
}

.ebs__header-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.ebs__header-image {
    flex-shrink: 0;
}

.ebs__header-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.ebs__header-text h1 {
    font-family: "Raleway", Sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    margin: 0 0 15px 0;
}

.ebs__header-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
}

.dot-green { background-color: #606060; }
.dot-white { background-color: #FFFFFF; }
.dot-gray  { background-color: #9E9E9E; }
.dot-red   { background-color: #C51A1B; }

/* Contenido principal */
.ebs__contenido-principal {
   /*---*/
}

.ebs__contenido-principal h2 {
    font-family: "Raleway", Sans-serif;
    font-size: 24px;
    font-weight: 600;
    font-style: italic;
    color: #C51A1B;
    margin-bottom: 20px;
}

.ebs__contenido-principal p {
    font-family: "Roboto", Sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 15px;
}

.ebs__contenido-principal strong {
    color: #606060;
    font-weight: 700;
}

.ebs__contenido-principal ul {
    list-style: none;
    padding-left: 0;
}

.ebs__contenido-principal ul li {
    font-family: "Roboto", Sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.ebs__contenido-principal ul li::before {
    content: "\2022";
    color: #C51A1B;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Bloques rojos */
.ebs__bloques-rojos {
    padding: 40px 0;
}

.bloque-rojo {
    background-color: #C51A1B;
    color: #FFFFFF;
    padding: 30px 20px;
    text-align: center;
    border-radius: 4px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bloque-rojo:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(197, 26, 27, 0.3);
}

.bloque-rojo__titulo {
    font-family: "Raleway", Sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    margin: 0 0 15px 0;
}

.bloque-rojo__leyenda {
    font-family: "Roboto", Sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #FFFFFF;
    margin: 0;
    opacity: 0.9;
}

/* Aclaraciones */
.ebs__aclaraciones {
    padding: 40px 0;
    border-top: 1px solid #eee;
}

.ebs__aclaraciones h2,
.ebs__aclaraciones h3 {
    font-family: "Raleway", Sans-serif;
    color: #C51A1B;
    font-style: italic;
    margin-bottom: 20px;
}

.ebs__aclaraciones p {
    font-family: "Roboto", Sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

/* Destacados */
.ebs__destacados {
    padding: 40px 0;
}

.nuestros-alumnos__destacados {
    padding: 40px 0;
}

.destacados-bloque {
    text-align: center;
    padding: 30px;
}

.destacados-bloque__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.destacados-bloque h3 {
    font-family: "Raleway", Sans-serif;
    font-size: 28px;
    font-weight: 700;
    font-style: italic;
    color: #C51A1B;
    text-transform: uppercase;
    margin: 0;
}

.nuestros-alumnos__destacados .dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
}

.nuestros-alumnos__destacados .dot-green {
    background-color: #606060;
}

.nuestros-alumnos__destacados .dot-red {
    background-color: #C51A1B;
}

.nuestros-alumnos__destacados .dot-gray {
    background-color: #9E9E9E;
}

/* ==========================================
   RESPONSIVE - MONITORES GRANDES (1920px+)
   ========================================== */

@media (min-width: 1920px) {
    .ebs__header-text h1 { font-size: 42px; }
    .ebs__header-image img { width: 250px; height: 250px; }
    .bloque-rojo__titulo { font-size: 24px; }
    .destacados-bloque h3 { font-size: 32px; }
}

/* ==========================================
   RESPONSIVE - TABLET HORIZONTAL (1024px - 1199px)
   ========================================== */

@media (min-width: 1024px) and (max-width: 1199px) {
    .ebs__header-text h1 { font-size: 32px; }
    .ebs__header-image img { width: 180px; height: 180px; }
    .bloque-rojo__titulo { font-size: 18px; }
    .destacados-bloque h3 { font-size: 24px; }
}

/* ==========================================
   RESPONSIVE - TABLET VERTICAL (768px - 1023px)
   ========================================== */

@media (min-width: 768px) and (max-width: 1023px) {
    .ebs__header { padding: 40px 0; }
    .ebs__header-content { flex-direction: column; text-align: center; }
    .ebs__header-image img { width: 150px; height: 150px; }
    .ebs__header-text h1 { font-size: 28px; }
    .ebs__header-dots { justify-content: center; }
    .bloque-rojo__titulo { font-size: 16px; }
    .bloque-rojo__leyenda { font-size: 13px; }
    .destacados-bloque h3 { font-size: 22px; }
}

/* ==========================================
   RESPONSIVE - MOVIL (max-width: 767px)
   ========================================== */

@media (max-width: 767px) {
    .ebs__header { padding: 30px 0; }
    .ebs__header-content { flex-direction: column; text-align: center; }
    .ebs__header-image img { width: 120px; height: 120px; }
    .ebs__header-text h1 { font-size: 24px; }
    .ebs__header-dots { justify-content: center; }
    .ebs__contenido-principal { padding: 30px 0; }
    .ebs__contenido-principal h2 { font-size: 20px; }
    .ebs__contenido-principal p,
    .ebs__contenido-principal ul li { font-size: 14px; }
    .bloque-rojo { padding: 20px 15px; }
    .bloque-rojo__titulo { font-size: 16px; margin-bottom: 10px; }
    .bloque-rojo__leyenda { font-size: 12px; }
    .ebs__aclaraciones { padding: 30px 0; }
    .ebs__aclaraciones h2,
    .ebs__aclaraciones h3 { font-size: 20px; }
    .ebs__aclaraciones p { font-size: 14px; }
    .destacados-bloque { padding: 20px; }
    .destacados-bloque h3 { font-size: 20px; }
}

/* ==========================================
   RESPONSIVE - MOVIL PEQUENO (max-width: 480px)
   ========================================== */

@media (max-width: 480px) {
    .ebs__header { padding: 20px 0; }
    .ebs__header-image img { width: 100px; height: 100px; }
    .ebs__header-text h1 { font-size: 20px; }
    .bloque-rojo__titulo { font-size: 14px; }
    .destacados-bloque h3 { font-size: 18px; }
}
