/* ======== RESET BÁSICO ======== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.5;
}

/* h1, h2, h3, h4 {
    font-weight: 700;
    color: #222;
} */

a {
    text-decoration: none;
    color: inherit;
}

/* ======== HERO DIVIDIDO CON VIDEO ======== */
.asesoria-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e6f4ea, #f9f9f9);
    overflow: hidden;
    color: #e9e0e0;
}

/* Luz suave al fondo */
.asesoria-hero::before {
    content: "";
    position: absolute;
    top: -20%;
    left: -20%;
    width: 150%;
    height: 150%;
    background: #50a348e8; /* color liso */
    z-index: 0;
}


.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    max-width: 1200px;
    padding: 40px;
}

/* TEXTO */
.hero-text {
    flex: 1 1 20%;
    animation: fadeInLeft 1.2s ease-out;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fdfdfd;
    /* text-shadow: 0 5px 25px rgba(0, 0, 0, 0.6); */
}

.hero-text p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #000000;
    text-align: justify;
}

/* BOTÓN CHIDO */
.btn-primary {
    display: inline-block;
    padding: 14px 34px;
    background: linear-gradient(90deg, #137b33, #0edf19);
    color: #fff;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(2, 145, 49, 0.9);
}

/* VIDEO flotante */
.hero-image {
    flex: 0 0 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1.2s ease-out;
}

.video-wrapper {
    border-radius: 1.5rem;
    padding: 8px;
    background: #ffffff0d;
    /* sutil fondo translúcido */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    max-width: 850px;
    width: 100%;
}

.video-wrapper:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 18px 50px rgb(255, 250, 250);
}

.hero-image video {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    object-fit: cover;
}


/* Animaciones */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

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

@keyframes pulse {
    from {
        opacity: 0.5;
    }

    to {
        opacity: 1;
    }
}

/* ======== SECCIÓN TEMAS ======== */
.asesoria-section {
    padding: 50px 10%;
    text-align: center;
}

.section-container {
    width: 100%;
    /* ocupar todo el ancho de la pantalla */
    max-width: 100%;
    /* asegurar que no tenga límite */
    margin: 0 auto;
    padding: 60px 20px;
    /* más espacio arriba y abajo */
    background:#e9e0e0 ;

    /* fondo suave */
    border-radius: 0;
    /* sin bordes redondeados para abarcar todo */
    box-shadow: none;
    /* quitar sombra para un diseño limpio a pantalla completa */
    text-align: center;
    box-sizing: border-box;
}

.section-title {
    font-size: 2.4rem;
    color: #2c6b3b;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #57b15a;
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 50px;
    /* espacio inferior para separar del siguiente contenido */
}

.section-highlight {
    color: #2c6b3b;
    font-weight: 900;
}


.asesoria-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-card h3 {
    color: #1e5631;
    margin: 15px 0 10px;
}

.service-card p {
    color: #555;
    padding: 0 15px;
    font-size: 1rem;
    line-height: 1.4em;
}

/* ======== CTA FINAL ======== */
.asesoria-cta {
    background: linear-gradient(90deg, #2a7f62, #0d213b);
    color: #ffffff;
    text-align: center;
    padding: 50px 10%;
}

.asesoria-cta h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.asesoria-cta p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* ======== RESPONSIVE ======== */
@media (max-width: 768px) {
    .asesoria-hero {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .hero-image {
        order: -1;
        /* Video arriba en móvil */
        margin-bottom: 1.5rem;
    }

    .hero-text {
        order: 0;
        padding: 1.5rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .service-card img {
        height: 150px;
    }
}



.btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #fff;
    color: #1e5631;
    font-weight: bold;
    border-radius: 50px;
    transition: background 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: #f3f3f3;
    transform: translateY(-2px);
}
