/* ================================================= */
/* ESTILOS GENERALES Y FUENTES                       */
/* ================================================= */
body {
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #111;
    color: #f5f5f7;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    font-size: 106.25%; 
    box-sizing: border-box; /* Asegura que padding no afecte el ancho total */
}

*, *:before, *:after {
    box-sizing: inherit;
}

html {
    scroll-behavior: smooth;
}

/* ================================================= */
/* HERO (ENCABEZADO) - MOBILE-FIRST                  */
/* ================================================= */
header {
    width: 100%;
}

.hero-container {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px 30px 20px;
}

.hero-text {
    order: 2;
    width: 100%;
    max-width: 550px; /* Un ancho máximo para que el texto no se extienda demasiado */
}

.hero-image {
    order: 1;
    padding-bottom: 30px;
}

.hero-image img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #2d2d2f;
}

header h1 {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 16px;
}

.nombre-destacado {
    display: block;
    font-weight: 700;
    color: #FFD43B;
}

header p {
    font-size: 17px;
    color: #a0a0a0;
    margin-bottom: 24px;
}

.lema {
    font-size: 0.9rem;
    color: #a0a0a0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: -10px;
}

/* --- ESTILOS PARA ESCRITORIO (769px en adelante) --- */
@media (min-width: 769px) {
    header {
        min-height: 100vh;
    }

    .hero-container {
        flex-direction: row;
        text-align: left;
        padding: 0;
    }

    .hero-text {
        flex-basis: 45%;
        padding: 0 5%;
        order: 0;
        max-width: none;
    }

    .hero-image {
        flex-basis: 55%;
        height: 100vh;
        padding-bottom: 0;
        order: 0;
    }

    .hero-image img {
        width: 100%;
        height: 100%;
        border-radius: 0;
        border: none;
    }

    header h1 {
        font-size: 64px;
        margin-bottom: 24px;
    }

    header p {
        font-size: 22px;
        margin-bottom: 32px;
    }

    .lema {
        font-size: 1.1rem;
    }
}

/* ================================================= */
/* ESTILOS DEL CONTENIDO PRINCIPAL                   */
/* ================================================= */
main {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 25px; /* Padding simétrico en los lados */
    text-align: left;
}

h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

blockquote {
    border-left: 3px solid #FFD43B;
    margin: 40px 0;
    padding: 10px 20px;
}

blockquote p, blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: #f5f5f7;
    line-height: 1.5;
}

/* ================================================= */
/* ESTILOS "CAPACIDADES CLAVE"                       */
/* ================================================= */
#propuesta-valor {
    padding-top: 40px;
}

.valor-lista {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

@media (min-width: 769px) {
    .valor-lista {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

.valor-item {
    background-color: #1c1c1e;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #2d2d2f;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.valor-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.valor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.valor-icon {
    color: #FFD43B;
    margin-bottom: 20px;
}

.valor-icon svg {
    width: 32px;
    height: 32px;
}

.valor-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.valor-item p {
    font-size: 0.95rem;
    color: #a0a0a0;
    margin: 0;
    line-height: 1.6;
    flex-grow: 1; 
}

.full-width-card {
    grid-column: 1 / -1;
}

@media (min-width: 769px) {
    .full-width-card {
        flex-direction: row; 
        align-items: center;
        gap: 30px;
    }
    .full-width-card .valor-icon {
        margin-bottom: 0;
    }
    .full-width-card .valor-icon svg {
        width: 48px;
        height: 48px;
    }
}

/* ================================================= */
/* ESTILOS DE LA SECCIÓN "CONECTA"                   */
/* ================================================= */
.conecta-links {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.conecta-links h4 {
    font-size: 14px;
    color: #a0a0a0;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 500;
}

.conecta-links nav {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra los items de navegación */
}

.conecta-links nav a {
    display: flex;
    align-items: center;
    color: #f5f5f7;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.conecta-links nav a:hover {
    color: #FFDE66;
}

.conecta-links nav a svg {
    margin-right: 12px;
    fill: #FFD43B;
    transition: fill 0.3s ease;
}

.conecta-links nav a:hover svg {
    fill: #FFDE66;
}

/* ================================================= */
/* ESTILOS DEL BLOQUE DE FIRMA Y FOOTER              */
/* ================================================= */
.bloque-firma {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    gap: 20px;
    background-color: #1c1c1e;
    border: 1px solid #2d2d2f;
    border-radius: 16px;
    padding: 30px;
    margin-top: 40px;
}

@media (min-width: 769px) {
    .bloque-firma {
        flex-direction: row;
        padding: 30px 40px;
        gap: 30px;
    }
}

.bloque-firma img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #333;
}

.bloque-firma p {
    font-size: 1.1rem;
    font-style: italic;
    color: #f5f5f7;
    line-height: 1.5;
    margin: 0;
}

@media (min-width: 769px) {
    .bloque-firma p {
        font-size: 1.25rem;
    }
}

footer {
    background-color: #1a1a1a;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

@media (min-width: 769px) {
    footer {
        flex-direction: row;
        justify-content: center;
        gap: 80px;
    }
}

.footer-columna h4 {
    font-size: 14px;
    color: #a0a0a0;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 500;
}

.footer-columna p, .footer-columna a {
    color: #f5f5f7;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
}

.footer-columna a:hover {
    text-decoration: underline;
}