/* style.css */

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3 {
    margin: 0 0 10px 0;
    font-weight: 600;
}

p {
    margin: 0 0 15px 0;
}

.btn-orange {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f7941d;
    color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-orange:hover {
    background-color: #e5820f;
}

.btn-white {
    display: inline-block;
    padding: 10px 20px;
    background-color: #fff;
    color: #333;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: 1px solid #ddd;
}

.btn-white:hover {
    background-color: #eee;
}


/* Header */

header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 24px;
    font-weight: 600;
    color: #007373;
}

nav ul {
    display: flex;
    gap: 20px;
}

nav a {
    font-size: 16px;
    font-weight: 500;
}

nav a:hover {
    color: #f7941d;
}

/* Hero */

.hero {
    /* Gradiente de fondo idéntico al de la imagen */
    background: linear-gradient(135deg, #1ab5aa 0%, #7d6b5e 40%, #c48c66 70%, #eb8221 100%);
    padding: 120px 0; /* Mayor padding para dar aire */
    color: #fff; /* Texto blanco en toda la sección */
}

.hero-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Alinea arriba para mayor fidelidad */
}

.hero-content {
    width: 60%; /* Ajuste de ancho del contenido */
    max-width: 700px;
}

.hero-content h1 {
    font-size: 56px; /* Tamaño de fuente más grande */
    font-weight: 600;
    line-height: 1.1; /* Interlineado más ajustado */
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 19px; /* Fuente ligeramente más grande */
    line-height: 1.4; /* Interlineado cómodo */
    opacity: 0.9; /* Ligeramente transparente */
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.btn-orange {
    background-color: #f68c52; /* Naranja idéntico */
    padding: 12px 30px;
}

.btn-white {
    color: #3e604f; /* Color de texto del botón blanco */
    border: none; /* Sin borde */
    padding: 12px 30px;
}

/* Guía de mascota redonda */
.hero-mascot-guide {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-mascot-guide img {
    width: 65px; /* Tamaño idéntico al de la imagen */
    height: 65px;
    border-radius: 50%;  
    object-fit: cover;
    background-color: white;
}

.hero-mascot-guide p {
    font-size: 17px;
    font-weight: 500;
    margin: 0;
}

/* Marco de imagen de mascota parada */
.hero-image-frame {
    width: 200px; /* Ancho idéntico */
    padding: 12px; /* Espacio para el marco blanco */
    background-color: #fff; /* Marco blanco */
    border-radius: 18px; /* Bordes redondeados */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Sombra suave */
}

.hero-image-frame img {
    border-radius: 12px; /* Bordes redondeados internos */
    width: 100%;
    height: auto;
}

/* Oferta Académica */

.oferta {
    background-color: #fcfaf6; /* Un blanco crema muy ligero como el fondo de la imagen */
    padding: 80px 0;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 5%;
}

.oferta-titulo {
    color: #006666; /* Verde azulado oscuro del encabezado */
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.oferta-subtitulo {
    color: #333;
    font-size: 18px;
    margin-bottom: 50px;
}

/* Grid de tarjetas */
.oferta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: start; /* Permite que las tarjetas tengan alturas diferentes si es necesario */
}

/* Estilo de la Tarjeta */
.card {
    background: #fff;
    border-radius: 20px; /* Bordes muy redondeados */
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Sombra suave pero profunda */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-titulo {
    color: #ff8c42; /* Naranja del título */
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    min-height: 60px;
}

.card-desc {
    color: #555;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Lista de puntos */
.card-lista {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1; /* Empuja el botón hacia abajo */
}

.card-lista li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: #444;
    font-size: 15px;
    line-height: 1.4;
}

/* El punto de la lista */
.card-lista li::before {
    content: "•";
    color: #333;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Botón Quiero Informes */
.btn-informes {
    background-color: #ff8c42;
    color: #fff;
    text-align: center;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    transition: background 0.3s ease;
    display: inline-block;
    width: fit-content;
    align-self: flex-start; /* Alineado a la izquierda como la imagen */
}

.btn-informes:hover {
    background-color: #e57b35;
}

/* Modalidad Virtual */

.virtual {
    background-color: #f5d1b3; /* Color durazno suave del fondo */
    padding: 100px 0;
    font-family: 'Poppins', sans-serif;
}

.virtual-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.virtual-content {
    flex: 1;
    max-width: 550px;
}

.virtual-titulo {
    color: #006666; /* Verde azulado oscuro */
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 25px;
}

.virtual-texto {
    color: #333;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 30px;
}

/* Lista con viñetas redondas pequeñas */
.virtual-lista {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.virtual-lista li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
}

.virtual-lista li::before {
    content: "•"; /* Viñeta simple */
    position: absolute;
    left: 0;
    color: #333;
    font-weight: bold;
}

/* Botón con sombra naranja */
.btn-solicita {
    display: inline-block;
    background-color: #ff8c42;
    color: #fff;
    padding: 15px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.4);
    transition: transform 0.2s;
}

.btn-solicita:hover {
    transform: scale(1.02);
}

/* Columna Visual (Imagen + Texto azul) */
.virtual-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.virtual-frame {
    background: #fff;
    padding: 12px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 250px;
}

.virtual-frame img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.virtual-caption {
    margin-top: 20px;
    color: #006666; /* El mismo verde del título */
    font-weight: 600;
    font-size: 16px;
    text-align: center;
}

/* ¿Por qué CETL? */

.por-que-cetl {
    background-color: #ffffff;
    padding: 80px 0;
    font-family: 'Poppins', sans-serif;
}

.section-title {
    color: #006666; /* Verde azulado oscuro */
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: left; /* Alineado a la izquierda según la imagen */
}

/* Cuadrícula de 2x2 */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Estilo Base de la Tarjeta */
.benefit-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05); /* Sombra suave */
    border-left: 6px solid; /* El color se define en las clases específicas */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.benefit-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.benefit-card p {
    color: #555;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

/* Variantes de Color de Borde */
.border-orange {
    border-left-color: #ff8c42;
}

.border-teal {
    border-left-color: #006666;
}

/* Variantes de Color de Texto para los Títulos */
.text-teal {
    color: #006666;
}

.text-orange {
    color: #ff8c42;
}

/* Asegurar que los títulos que no tienen clase específica tengan color verde por defecto */
.benefit-card h3:not(.text-orange) {
    color: #006666;
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Sede Tlajomulco */

.sede {
    background-color: #f5d1b3; /* El mismo fondo crema que Modalidad Virtual */
    padding: 80px 0;
    font-family: 'Poppins', sans-serif;
}

.sede-titulo {
    color: #006666; /* Verde azulado característico */
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
}

/* Tarjeta Blanca Central */
.sede-card {
    background-color: #ffffff;
    border-radius: 25px; /* Bordes muy curvos */
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    gap: 40px;
}

.sede-info {
    flex: 1;
}

.sede-direccion {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}

.sede-email a {
    color: #008080; /* Un teal más brillante para el link */
    text-decoration: none;
    font-weight: 500;
}

.sede-horarios {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

/* Botón "Ver en mapa" */
.btn-mapa {
    display: inline-block;
    border: 2px solid #006666;
    color: #006666;
    padding: 12px 35px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-mapa:hover {
    background-color: #006666;
    color: #fff;
}

/* Contenedor de la imagen/mapa */
.sede-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.map-placeholder {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 200px;
}

.map-placeholder img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

/* Ajuste Responsivo */
@media (max-width: 768px) {
    .sede-card {
        flex-direction: column;
        padding: 30px;
    }
    .sede-visual {
        justify-content: center;
    }
}

/* --- Sección Contacto --- */
.contacto {
    background-color: #fcfaf6; /* Fondo blanco crema ligero */
    padding: 80px 0;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.contacto-titulo {
    color: #006666;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.contacto-intro {
    font-size: 18px;
    color: #333;
    max-width: 600px;
    margin: 0 auto 30px;
}

.contacto-info-center {
    margin-bottom: 40px;
    font-size: 16px;
    color: #006666;
    font-weight: 500;
}

.contacto-info-center a {
    color: #006666;
    text-decoration: underline;
}

/* Formulario */
.contacto-form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contacto-form input, 
.contacto-form textarea {
    width: 94%;
    padding: 15px 20px;
    border: 1px solid #ffcb9a; /* Borde naranja clarito */
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    outline: none;
}

.btn-enviar {
    background-color: #ff8c42;
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
  }

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #fff;
    color: #006666;
    border: 2px solid #006666;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    width: 400px;
}

.btn-whatsapp:hover{
    background-color: #fff5ef;
}

/* --- Footer --- */
.main-footer {
    background-color: #006b6b; /* El verde oscuro exacto de la imagen */
    color: #ffffff;
    padding: 25px 0;
    font-family: 'Poppins', sans-serif;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Para que sea responsivo en móviles */
}

.footer-left p {
    font-weight: 600;
    font-size: 16px;
    margin: 0;
}

.footer-nav {
    display: flex;
    gap: 20px;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 0.8;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: #ffffff;
    font-size: 20px;
    transition: transform 0.3s;
}

.footer-socials a:hover {
    transform: scale(1.1);
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}