/* =========================================================
   HERO HOME
========================================================= */

.home-hero {
    position: relative;

    box-sizing: border-box;

    width: 100%;
    height: 800px;
    min-height: 560px;
    padding: 90px 90px 70px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(38, 42, 24, 0.76) 0%,
            rgba(59, 56, 35, 0.58) 32%,
            rgba(51, 59, 35, 0.24) 62%,
            rgba(59, 55, 35, 0.08) 100%
        ),
        url("/static/img/hero/hero2.28598f59c579.png");

        
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


/* =========================================================
   CONTENIDO HERO
========================================================= */

.home-hero__content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1050px;
    margin: 0;

    transform: translate(25px, -10px);
}

.home-hero__eyebrow {
    display: inline-flex;

    margin-bottom: 20px;

    color: #c5cfb9;

    font-size: 12px;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.home-hero h1 {
    max-width: 880px;
    margin: 0;

    color: #ffffff;

    font-size: clamp(38px, 3.4vw, 56px);
    line-height: 1.12;
    font-weight: 600;
    letter-spacing: -0.045em;
}

.home-hero p {
    max-width: 650px;
    margin: 24px 0 0;

    color: rgba(255, 255, 255, 0.86);

    font-size: 16px;
    line-height: 1.85;
    font-weight: 400;
}


/* =========================================================
   BOTONES HERO
========================================================= */

.home-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;

    margin-top: 28px;
}

.home-hero__button {
    box-sizing: border-box;

    min-height: 48px;
    padding: 0 23px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid transparent;

    font-size: 12px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;

    transition:
        transform 0.2s ease,
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.home-hero__button--primary {
    border-color: var(--home-color-accent);

    background: var(--home-color-primary);
    color: #ffffff;
}

.home-hero__button--primary:hover {
    transform: translateY(-2px);

    border-color: var(--home-color-accent);

    background: var(--home-color-accent);
    color: #ffffff;
}


/* =========================================================
   INDICADOR UF
========================================================= */

.home-uf-card {
    position: absolute;
    z-index: 3;

    right: clamp(40px, 7vw, 129px);
    bottom: 210px;

    width: max-content;
    max-width: 420px;
    padding: 18px 24px;

    display: flex;
    align-items: center;
    gap: 24px;


    border-left: 1px solid rgba(197, 207, 185, 0.58);

    background: rgba(35, 59, 50, 0.18);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.home-uf-card span {
    display: block;

    margin-bottom: 6px;

    color: #c5cfb9;

    font-size: 11px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-uf-card strong {
    display: block;

    color: #ffffff;

    font-size: 23px;
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.home-uf-card small {
    color: rgba(255, 255, 255, 0.76);

    font-size: 12px;
    line-height: 1.4;
    font-weight: 400;
    white-space: nowrap;
}


/* =========================================================
   ENCABEZADOS GENERALES
========================================================= */

.section-heading {
    margin-bottom: 34px;
}

.section-heading span {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--home-color-accent);

    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.section-heading h2 {
    margin: 0;

    color: var(--home-color-primary);

    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.035em;
}


/* =========================================================
   RESPONSIVE - NOTEBOOK
   HASTA 1366 PX
========================================================= */

@media (max-width: 1366px) {

    .section-container {
        width: min(1320px, calc(100% - 64px));
    }

    .home-hero {
        height: 660px;
        padding: 85px 72px 65px;
    }

    .home-hero__content {
        max-width: 920px;

        transform: translate(12px, -8px);
    }

    .home-hero h1 {
        max-width: 780px;
    }

    .home-uf-card {
        right: 64px;
        bottom: 175px;
    }
}


/* =========================================================
   RESPONSIVE - TABLET / NOTEBOOK PEQUEÑO
   HASTA 1050 PX
========================================================= */

@media (max-width: 1050px) {

    .section-container {
        width: calc(100% - 56px);
    }

    .home-hero {
        height: 680px;
        min-height: 540px;
        padding: 80px 48px 60px;
    }

    .home-hero__content {
        max-width: 760px;

        transform: none;
    }

    .home-hero h1 {
        max-width: 680px;

        font-size: clamp(38px, 5vw, 50px);
    }

    .home-hero p {
        max-width: 570px;

        font-size: 15px;
    }

    .home-uf-card {
        right: 38px;
        bottom: 115px;

        gap: 18px;
        padding: 14px 18px;
    }

    .home-uf-card strong {
        font-size: 21px;
    }
}


/* =========================================================
   RESPONSIVE - TABLET VERTICAL / MÓVIL
   HASTA 780 PX
========================================================= */

@media (max-width: 780px) {

    .section-container {
        width: calc(100% - 36px);
    }

    .home-hero {
        height: 720px;
        min-height: 620px;
        padding: 78px 30px 150px;

        align-items: center;

        background:
            linear-gradient(
                90deg,
                rgba(24, 42, 35, 0.84) 0%,
                rgba(35, 59, 50, 0.67) 58%,
                rgba(35, 59, 50, 0.32) 100%
            ),
            url("/static/img/hero/hero2.28598f59c579.png");

        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .home-hero__content {
        max-width: 100%;
    }

    .home-hero__eyebrow {
        margin-bottom: 17px;

        font-size: 11px;
    }

    .home-hero h1 {
        max-width: 600px;

        font-size: clamp(35px, 6vw, 47px);
    }

    .home-hero p {
        max-width: 520px;
        margin-top: 20px;

        font-size: 15px;
        line-height: 1.75;
    }

    .home-hero-actions {
        margin-top: 24px;
    }

    .home-uf-card {
        right: auto;
        bottom: 50px;
        left: 30px;

        max-width: calc(100% - 60px);
        padding: 12px 16px;

        gap: 16px;
    }

    .home-uf-card strong {
        font-size: 20px;
    }

    .home-uf-card small {
        font-size: 11px;
    }
}


/* =========================================================
   RESPONSIVE - MÓVIL PEQUEÑO
   HASTA 480 PX
========================================================= */

@media (max-width: 480px) {

    .section-container {
        width: calc(100% - 28px);
    }

    .home-hero {
        height: 690px;
        min-height: 590px;
        padding: 72px 22px 140px;
    }

    .home-hero__eyebrow {
        font-size: 10px;
        letter-spacing: 0.12em;
    }

    .home-hero h1 {
        font-size: clamp(32px, 8vw, 40px);
        line-height: 1.14;
    }

    .home-hero p {
        margin-top: 18px;

        font-size: 14px;
        line-height: 1.75;
    }

    .home-hero-actions {
        margin-top: 22px;
    }

    .home-hero__button {
        min-height: 45px;
        padding: 0 18px;

        font-size: 11px;
    }

    .home-uf-card {
        bottom: 42px;
        left: 22px;

        max-width: calc(100% - 44px);
        padding: 10px 13px;

        gap: 12px;
    }

    .home-uf-card span {
        font-size: 10px;
    }

    .home-uf-card strong {
        font-size: 18px;
    }

    .home-uf-card small {
        max-width: 150px;

        font-size: 10px;
        white-space: normal;
    }

    .section-heading h2 {
        font-size: 30px;
    }
}








/* =========================================================
   SERVICIOS FLOTANTES DEL HOME
========================================================= */

.home-services-summary-section {
    position: relative;
    z-index: 20;

    width: min(1180px, calc(100% - 80px));
    margin: -88px auto 80px;
}

.home-services-summary {
    box-sizing: border-box;

    width: 100%;
    min-height: 170px;
    padding: 40px 24px;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;

    border: 1px solid rgba(35, 59, 50, 0.08);

    background: #ffffff;

    box-shadow:
        0 24px 60px rgba(35, 59, 50, 0.1),
        0 8px 18px rgba(35, 59, 50, 0.04);
}


/* =========================================================
   SERVICIO INDIVIDUAL
========================================================= */

.home-service-summary-item {
    position: relative;

    min-width: 0;
    min-height: 90px;
    padding: 0 16px;

    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 15px;
}

.home-service-summary-item:first-child {
    padding-left: 8px;
}

.home-service-summary-item:last-child {
    padding-right: 8px;
}

.home-service-summary-item:not(:last-child)::after {
    content: "";

    position: absolute;
    top: 7px;
    right: 0;
    bottom: 7px;

    width: 1px;

    background: rgba(35, 59, 50, 0.12);
}


/* =========================================================
   ICONO
========================================================= */

.home-service-summary-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    color: #879873;
}

.home-service-summary-item__icon svg {
    display: block;

    width: 36px;
    height: 36px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   CONTENIDO
========================================================= */

.home-service-summary-item__content {
    min-width: 0;
}

.home-service-summary-item h2 {
    margin: 0 0 7px;

    color: #233b32;

    font-size: 16px;
    line-height: 1.28;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.home-service-summary-item p {
    max-width: 205px;
    margin: 0;

    color: #6b7280;

    font-size: 12px;
    line-height: 1.6;
    font-weight: 400;
}


/* =========================================================
   RESPONSIVE - NOTEBOOK
   HASTA 1366 PX
========================================================= */

@media (max-width: 1366px) {

    .home-services-summary-section {
        width: min(1120px, calc(100% - 64px));
        margin: -80px auto 72px;
    }

    .home-services-summary {
        min-height: 160px;
        padding: 35px 20px;
    }

    .home-service-summary-item {
        padding: 0 12px;

        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
    }

    .home-service-summary-item__icon {
        width: 44px;
        height: 44px;
    }

    .home-service-summary-item__icon svg {
        width: 33px;
        height: 33px;
    }

    .home-service-summary-item h2 {
        font-size: 15px;
    }

    .home-service-summary-item p {
        font-size: 11px;
    }
}


/* =========================================================
   RESPONSIVE - TABLET / NOTEBOOK PEQUEÑO
   HASTA 1050 PX
========================================================= */

@media (max-width: 1050px) {

    .home-services-summary-section {
        width: calc(100% - 56px);
        margin: -68px auto 68px;
    }

    .home-services-summary {
        min-height: auto;
        padding: 28px 24px;

        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
    }

    .home-service-summary-item {
        min-height: 108px;
        padding: 16px;

        grid-template-columns: 46px minmax(0, 1fr);
        gap: 14px;
    }

    .home-service-summary-item:first-child,
    .home-service-summary-item:last-child {
        padding-right: 16px;
        padding-left: 16px;
    }

    .home-service-summary-item:not(:last-child)::after {
        display: none;
    }

    .home-service-summary-item:nth-child(odd) {
        border-right: 1px solid rgba(35, 59, 50, 0.12);
    }

    .home-service-summary-item:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(35, 59, 50, 0.12);
    }

    .home-service-summary-item__icon {
        width: 46px;
        height: 46px;
    }

    .home-service-summary-item__icon svg {
        width: 34px;
        height: 34px;
    }

    .home-service-summary-item h2 {
        font-size: 16px;
    }

    .home-service-summary-item p {
        max-width: 230px;

        font-size: 12px;
    }
}


/* =========================================================
   RESPONSIVE - TABLET VERTICAL
   HASTA 780 PX
========================================================= */

@media (max-width: 780px) {

    .home-services-summary-section {
        width: calc(100% - 36px);
        margin: -54px auto 58px;
    }

    .home-services-summary {
        padding: 20px 16px;
    }

    .home-service-summary-item {
        min-height: 102px;
        padding: 14px 12px;

        grid-template-columns: 40px minmax(0, 1fr);
        gap: 10px;
    }

    .home-service-summary-item:first-child,
    .home-service-summary-item:last-child {
        padding-right: 12px;
        padding-left: 12px;
    }

    .home-service-summary-item__icon {
        width: 40px;
        height: 40px;
    }

    .home-service-summary-item__icon svg {
        width: 31px;
        height: 31px;
    }

    .home-service-summary-item h2 {
        margin-bottom: 5px;

        font-size: 14px;
    }

    .home-service-summary-item p {
        font-size: 11px;
        line-height: 1.5;
    }
}


/* =========================================================
   RESPONSIVE - MÓVIL
   HASTA 480 PX
========================================================= */

@media (max-width: 480px) {

    .home-services-summary-section {
        width: calc(100% - 28px);
        margin: -42px auto 48px;
    }

    .home-services-summary {
        padding: 12px 16px;

        grid-template-columns: 1fr;
    }

    .home-service-summary-item {
        min-height: 82px;
        padding: 13px 4px;

        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
    }

    .home-service-summary-item:first-child,
    .home-service-summary-item:last-child {
        padding-right: 4px;
        padding-left: 4px;
    }

    .home-service-summary-item:nth-child(odd) {
        border-right: 0;
    }

    .home-service-summary-item:nth-child(-n + 2) {
        border-bottom: 0;
    }

    .home-service-summary-item:not(:last-child) {
        border-bottom: 1px solid rgba(35, 59, 50, 0.1);
    }

    .home-service-summary-item__icon {
        width: 42px;
        height: 42px;
    }

    .home-service-summary-item__icon svg {
        width: 32px;
        height: 32px;
    }

    .home-service-summary-item h2 {
        font-size: 15px;
    }

    .home-service-summary-item p {
        max-width: none;

        font-size: 11px;
    }
}
