/* =========================
   HERO COMPANY
========================= */

.hero--company {
    min-height: 100vh;
    padding: 150px 0 70px;
}

/* Velo sólido rgba(0,0,0,0.60) según Figma: lo aporta el .hero__overlay base
   (sections/hero). No se sobreescribe aquí. */

.company {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 48px;
    min-height: inherit;
}

.company__content {
    max-width: 710px;
}

.company__title {
    /* figma: Poppins 700, 64px, line-height 70px */
    font-size: clamp(2.4rem, 5.2vw, 4rem);   /* 4rem = 64px */
    font-weight: 700;
    line-height: 1.094;                        /* 70/64 */
    color: var(--white);
    margin-bottom: 22px;
}

.company__title span {
    color: var(--gold-400);
}

.company__description {
    /* figma: Poppins 400, 24px, line-height 25px */
    max-width: 500px;
    color: rgba(255, 255, 255, .92);
    font-size: clamp(1.05rem, 1.9vw, 1.5rem);  /* 1.5rem = 24px */
    font-weight: 400;
    line-height: 1.15;
}

/* =========================
   FEATURES
========================= */

.company__features {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.company__feature {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--white);
}

.company__icon {
    flex-shrink: 0;
    width: 74px;
    height: 74px;
    border-radius: 50%;

    display: grid;
    place-items: center;

    background: var(--gold-400);
    /* company__features NO lleva box-shadow (según figma) */
}

.company__icon img {
    /* el icono ocupa casi todo el círculo, dejando un pequeño padding */
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.company__feature p {
    /* figma: Poppins 400, 16px, line-height 25px */
    font-size: 1rem;          /* 16px */
    font-weight: 400;
    line-height: 1.5;         /* ~25px */
}

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

@media (max-width: 991px) {

    .hero--company {
        aspect-ratio: auto;          /* alto por contenido en móvil/tablet */
        min-height: auto;
        padding: 120px 0 60px;
        text-align: center;
    }

    .company {
        gap: 40px;
    }

    .company__content {
        margin: 0 auto;
    }

    .company__description {
        margin: 0 auto;
    }

    .company__features {
        justify-content: center;
        gap: 28px;
    }
}

@media (max-width: 576px) {

    .company__features {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        max-width: 280px;
        margin: 0 auto;
    }

    .company__feature {
        text-align: left;
    }

    .company__icon {
        width: 62px;
        height: 62px;
    }

    .company__icon img {
        width: 48px;
        height: 48px;
    }
}

/* =========================
   BENEFICIOS EMPRESA (no reutilizable)
========================= */

.benefits__title {
    /* figma: Poppins 700, 36px, line-height 35px */
    text-align: center;
    text-transform: uppercase;
    font-size: clamp(1.6rem, 3.4vw, 2.25rem);   /* 2.25rem = 36px */
    font-weight: 700;
    line-height: 1.0;                             /* ~35px (título en mayúsculas) */
    color: var(--gold-400);
    max-width: 640px;
    margin: 0 auto 54px;
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: start;
}

.benefits__item {
    text-align: center;
}

.benefits__icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 18px;

    background: var(--gold-400);
    border-radius: 50%;
    display: grid;
    place-items: center;

    /* efecto figma (M3/Elevation Light/5): dos capas de sombra */
    box-shadow:
        0px 4px 4px 0px rgba(0, 0, 0, .30),
        0px 8px 12px 6px rgba(0, 0, 0, .15);
    transition: var(--transition);
}

.benefits__item:hover .benefits__icon {
    transform: translateY(-6px);
    box-shadow:
        0px 6px 8px 0px rgba(0, 0, 0, .34),
        0px 14px 20px 8px rgba(0, 0, 0, .18);
}

.benefits__icon img {
    /* el icono ocupa casi todo el círculo, dejando un pequeño padding */
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.benefits__name {
    /* figma: Poppins 700, 20px, line-height 25px, center */
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);   /* 1.25rem = 20px */
    font-weight: 700;
    line-height: 1.25;                            /* 25/20 */
    color: var(--black-900);
    margin-bottom: 10px;
}

.benefits__text {
    /* figma: Poppins 400, 20px, line-height 25px, center */
    max-width: 240px;
    margin: 0 auto;
    font-size: clamp(.95rem, 1.5vw, 1.25rem);     /* 1.25rem = 20px */
    font-weight: 500;
    line-height: 1.25;                            /* 25/20 */
    color: var(--black-700);
}

/* ----- Responsive ----- */

@media (max-width: 880px) {
    .benefits__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 460px) {
    .benefits__grid {
        grid-template-columns: 1fr;
        gap: 36px;
        max-width: 280px;
    }
}

/* =========================
   CTA ASESOR (no reutilizable)
========================= */

.advisor {
    overflow: hidden;
    background: #F9B410;
}

.advisor__inner {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 30px);
    min-height: 200px;
}

/* Personaje: 355×224 (aspect 84/53), pegado abajo */
.advisor__char {
    flex-shrink: 0;
    align-self: flex-end;
    width: clamp(150px, 20vw, 300px);
    height: auto;
    aspect-ratio: 84 / 53;
    object-fit: contain;
    object-position: bottom;
    display: block;
}

.advisor__text {
    flex: 1;
    min-width: 0;
}

/* Título: Poppins 24/700 lh 25 · "¿Necesitas" #FFF, resto #000 */
.advisor__title {
    font-family: "Poppins", sans-serif;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    line-height: 25px;
    color: #000;
}

.advisor__title span {
    color: #FFF;
}

/* Subtítulo: #000 · Poppins 20/400 · lh 25 */
.advisor__sub {
    margin-top: 8px;
    font-family: "Poppins", sans-serif;
    font-size: clamp(15px, 1.5vw, 20px);
    font-weight: 400;
    line-height: 25px;
    color: #000;
}

/* Botón WhatsApp: verde #4FA031 · drop-shadow #87BA30 · texto 24/600 */
.advisor__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;

    height: 68px;
    padding: 6px 22px;
    border-radius: 12px;

    background: #4FA031;
    color: #FFF;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: clamp(16px, 1.5vw, 24px);
    line-height: 25px;
    text-decoration: none;

    box-shadow: 0 4px 4px 0 #87BA30;
    transition: var(--transition);
}

/* Icono WhatsApp: 57×58 */
.advisor__btn img {
    width: clamp(40px, 4vw, 57px);
    height: auto;
    aspect-ratio: 57 / 58;
}

.advisor__btn:hover {
    background: #45922c;
    transform: translateY(-2px);
}

/* Horarios */
.advisor__hours {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Fondo del icono: círculo negro 52×52 · padding 14 · icono dorado 24 */
.advisor__hours-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    padding: 14px;
    border-radius: 100px;
    display: grid;
    place-items: center;
    background: #000;
    color: var(--gold-400);
}

.advisor__hours-icon i {
    display: flex;
    font-size: 24px;
    line-height: 1;
}

/* "Horario de Atención": #000 · Poppins 14/600 · lh 22 */
.advisor__hours-label {
    display: block;
    color: #000;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
}

/* Horario: #FFF · Poppins 16/600 · lh 24 */
.advisor__hours p {
    color: #FFF;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

/* ----- Responsive ----- */

@media (max-width: 1080px) {
    .advisor__inner {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        padding: 32px 0 26px;      /* aire arriba (el título quedaba pegado) */
        gap: 24px;
    }

    .advisor__char {
        align-self: center;
        width: clamp(170px, 40vw, 240px);   /* más grande en móvil/tablet */
        margin-bottom: -24px;               /* al ras: pies sobre el botón */
    }

    .advisor__text {
        flex: 1 1 100%;
        order: -1;
    }
}

@media (max-width: 480px) {
    .advisor__btn {
        width: 100%;
        justify-content: center;
    }

    .advisor__hours {
        text-align: left;
    }
}