:root {
    --bg-btn-primary: #011781;
    --bg-btn-primary-light: #233aaa;
}

.header-section {
    position: relative;
    height: 37.5rem;
    color: var(--color-light);
}

.header-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.header-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container-header-description {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

.header-description {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    text-align: center;
}

.header-description h1 {
    color: var(--color-light);
    transform: translateY(-30px);
    opacity: 0;
    animation: slideDownFadeIn 1s ease forwards;
}

@keyframes slideDownFadeIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-description p {
    font-weight: var(--fw-medium);
    font-size: var(--fs-h4);
}

.header-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: .75rem;
    transform: translateY(30px);
    opacity: 0;
    animation: slideUpFadeIn 1s ease forwards;
}

@keyframes slideUpFadeIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.btn-cta-whatsapp {
    background: var(--bg-btn-primary);
    transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.btn-cta-whatsapp:hover {
    background: var(--bg-btn-primary-light);
    box-shadow: 0 4px 12px rgba(37, 48, 111, 0.35);
    color: var(--color-light);
    /* filter: brightness(1.15); Esto seria para brillo o oscurecer el color original en el hover*/
}

.btn-cta-catalog {
    background: var(--color-light);
    color: #25306F;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.btn-cta-catalog:hover {
    background: var(--bg-btn-primary);
    color: var(--color-light);
    box-shadow: 0 4px 12px rgba(37, 48, 111, 0.25);
}

.sector-section {
    background: var(--color-light);
}

.sector-section-header {
    text-align: center;
}

.sector-section-header h2 {
    line-height: var(--lh-tight);
    margin-bottom: .75rem;
}

#h2-our-sector {
    margin-bottom: .5rem;
}

.row-sector-section {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}

.col-sector-section-info {
    max-width: 43.375rem;
    display: flex;
    flex-direction: column;
    gap: .7rem;
    padding: 1.5rem;
    border-radius: .5rem;
}

.col-sector-color-agro {
    background-color: #1565aa;
    color: var(--color-light);
}

.col-sector-color-agro .col-sector-section-info-header h3 {
    color: var(--color-light);
}

.col-sector-section-info .col-sector-section-info-header h3 {
    font-weight: var(--fw-semibold);
}

.col-sector-color-industria {
    background-color: #f1f5f9;
}

.col-sector-section-info-header {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-sector {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
}

.btn-sector svg {
    margin-top: .20rem;
    transition: transform 0.3s ease;
}

.btn-sector:hover svg {
    transform: translateX(4px);
}

.col-sector-section-imgs {
    display: flex;
    gap: 1.5rem;
}

.col-sector-section-imgs>div>div {
    position: relative;
    height: 14rem;
    border-radius: .5rem;
}

.col-sector-section-imgs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.col-sector-section-imgs h4 {
    margin-top: .5rem;
    font-weight: var(--fw-medium);
    text-align: center;
    line-height: var(--lh-tight);
}

.about-us {
    position: relative;
    height: 37.5rem;
}

.about-us::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.about-us img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container-about-us {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--color-light);
}

.row-about-us {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.container-about-us h2 {
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--color-light);
    line-height: 1.3;
}

.container-about-us h3 {
    color: var(--color-light);
    font-weight: var(--fw-semibold);
    margin-bottom: .5rem;
}

.row-about-us ul {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.row-about-us li {
    display: flex;
    align-items: start;
    gap: 0.5rem;
}

.row-about-us svg {
    color: #69a1fa;
    flex-shrink: 0;
    margin-top: .20rem;
    stroke-width: 2.5;
}

@media (max-width: 992px) {
    .row-sector-section {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    #h2-our-sector {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta-whatsapp:hover {
        /* Mantenemos el color antes de hover al hacer click en smartphone */
        background: var(--bg-btn-primary);
    }

    .row-about-us {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .col-sector-section-imgs {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .about-us {
        height: 46.75rem;
    }
}

@media (max-width: 380px) {
    .about-us {
        height: 51rem;
    }
}