/* Who Is For Styles */

/* CSS Variables */
:root {
    --primary-orange: var(--orange-front);
    --primary-teal: var(--green-front);
}

.who-is-for {
    margin: 0 auto;
    padding: 3rem 0;
    position: relative;
}

/* Hero Section Styles */
.who-is-for .hero-section {
    text-align: center;
    padding: 4rem 0 0;
    position: relative;
}

.who-is-for .hero-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.who-is-for .hero-title .teal {
    color: var(--primary-teal);
}

.who-is-for .hero-title .orange {
    color: var(--primary-orange);
}

.who-is-for .hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: #221F20;
}

.who-is-for .hero-description {
    font-size: 1.1125rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #595757FC;
}

/* Central Card Section */
.who-is-for .central-card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    position: relative;
}

.who-is-for .central-card {
    background: #FFFFFF;
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 853px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.who-is-for .card-icon {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.who-is-for .card-icon img {
    width: 100px;
    height: 90px;
    object-fit: cover;
}

.who-is-for .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.who-is-for .card-description {
    color: #7F8C8D;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Background Image Styles */
.who-is-for .background-image {
    position: absolute;
    bottom: -50px;
    right: 110px;
    width: 235px;
    height: 218px;
    object-fit: cover;
    border-radius: 12px;
    opacity: 0.8;
    z-index: 1;
    transition: all 0.3s ease;
}

.who-is-for .background-image:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* CTA Button Section */
.who-is-for .cta-button-container {
    text-align: center;
    margin-top: 40px;
}

.who-is-for .cta-button {
    width: 270px;
    margin: auto;
    display: inline-block;
    background-color: var(--primary-orange);
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 28px;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 270px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.who-is-for .cta-button:hover {
    background-color: #e65a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.who-is-for .cta-button:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

.who-is-for .cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.3);
}

@media (max-width: 1365px) {

    .who-is-for .background-image {
        bottom: -82px;
        right: 0px;
    }

}

/* Responsive Design */
@media (max-width: 768px) {
    .who-is-for .hero-title {
        font-size: 2rem;
    }

    .who-is-for .hero-subtitle {
        font-size: 1.125rem;
    }

    .who-is-for .card-description {
        font-size: 1.125rem;
    }

    .who-is-for .central-card {
        padding: 2rem;
        margin: 0 1rem;
    }

    .who-is-for .cta-button {
        width: 100%;
        max-width: 270px;
        min-width: auto;
    }

    .who-is-for .background-image {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 575px) {

    .who-is-for .hero-subtitle {
        font-size: 1rem;
    }

    .who-is-for .central-card {
        padding: 1.5rem;
    }

    .who-is-for .card-icon {
        width: 100% !important;
    }

    .who-is-for .card-icon img {
        width: 60px;
        height: 50px;
    }

    .who-is-for .background-image {
        bottom: 0px;
        right: 10px;
    }

    .who-is-for .card-title {
        font-size: 1.25rem;
    }

    .who-is-for .background-image {
        width: 60px;
        height: 60px;
    }
}

/* Accesibilidad */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus States */
.who-is-for .central-card:focus-within {
    outline: 2px solid var(--orange-front);
    outline-offset: 2px;
}

/* High Contrast Support */
@media (prefers-contrast: high) {
    .who-is-for .card-title {
        color: #000000;
    }

    .who-is-for .card-description {
        color: #333333;
    }

    .who-is-for .central-card {
        background: #FFFFFF;
        border: 1px solid #000000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .who-is-for .cta-button {
        transition: none;
    }
}