/* =================================================
   ABOUT SECTION - Chi Siamo
   Minimal CSS - Bootstrap handles layout
   ================================================= */
.about-section {
    background: linear-gradient(180deg, var(--primary-white) 0%, var(--light-gray) 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-magenta);
}

.about-badge {
    background: var(--gradient-magenta);
    color: var(--text-on-magenta);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.6rem 1.5rem;
    box-shadow: var(--shadow-magenta);
}

.about-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.about-title-accent {
    background: var(--gradient-magenta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-lead {
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 500;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.9;
}

.about-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}

.about-image-wrapper::before {
    content: "";
    position: absolute;
    inset: -4px;
    background: var(--gradient-magenta);
    border-radius: 28px;
    z-index: -1;
}

.about-image-wrapper img {
    transition: transform 0.6s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.03);
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient-magenta);
    border-radius: 50%;
    color: var(--text-on-magenta);
    font-size: 1.2rem;
    box-shadow: var(--shadow-magenta);
}

.about-feature-text h5 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--text-primary);
}

.about-feature-text p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* =================================================
   VALUES SECTION
   ================================================= */
.values-section {
    background: var(--gradient-black);
    color: var(--primary-white);
    position: relative;
    overflow: hidden;
}

.values-section::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(199, 21, 133, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.values-header {
    position: relative;
    z-index: 2;
}

.values-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 800;
}

.values-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* Flex container for values - Bootstrap handles most layout */
.values-container {
    /* Bootstrap classes handle: d-flex, flex-row, flex-wrap, justify-content-center, align-items-stretch, gap */
    width: 100%;
}

.value-card {
    /* Uses unified-card base styles */
    flex: 0 0 auto;
    width: calc(25% - 1.125rem);
    min-width: 250px;
    max-width: 300px;
    min-height: 280px;
}

.value-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: var(--gradient-magenta);
    border-radius: 50%;
    font-size: 1.8rem;
    color: var(--text-on-magenta);
    box-shadow: var(--shadow-magenta);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.value-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
}

/* =================================================
   STORY SECTION
   ================================================= */
.story-section {
    background: linear-gradient(180deg, var(--light-gray) 0%, var(--magenta-ultra-light) 50%, var(--light-gray) 100%);
    position: relative;
}

.story-badge {
    background: linear-gradient(135deg, var(--magenta-ultra-light), var(--magenta-subtle));
    color: var(--magenta-dark);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--magenta-subtle);
}

.story-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.3;
}

.story-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.9;
}

.story-quote {
    background: var(--primary-white);
    border-radius: 16px;
    border-left: 4px solid var(--magenta);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.story-quote p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.8;
}

.story-quote-icon {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--gradient-magenta);
    border-radius: 50%;
    color: var(--text-on-magenta);
    font-size: 1rem;
}

.story-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.story-image-wrapper img {
    transition: transform 0.6s ease;
}

.story-image-wrapper:hover img {
    transform: scale(1.05);
}

.story-image-overlay {
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
    color: var(--primary-white);
}

.story-image-overlay h4 {
    font-family: var(--font-primary);
    font-weight: 700;
}

.story-image-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* =================================================
   WHY US SECTION
   ================================================= */
.why-us-section {
    background: var(--primary-white);
    position: relative;
}

.why-us-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
}

.why-us-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.why-us-divider {
    width: 100px;
    height: 4px;
    background: var(--gradient-magenta);
    border-radius: 2px;
}

/* Flex container for why-us cards */
.why-us-section .row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.why-card {
    /* Uses unified-card base styles */
    flex: 0 0 auto;
    width: calc(33.333% - 1rem);
    min-width: 280px;
    max-width: 350px;
    min-height: 280px;
    margin: 0 auto;
}

.why-card-number {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-magenta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    text-align: center;
    flex-shrink: 0;
    margin-bottom: 0.75rem;
}

.why-card-title {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.why-card-text {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    margin: 0;
}

/* =================================================
   RESPONSIVE
   ================================================= */
@media (max-width: 991.98px) {
    .about-title,
    .values-title,
    .story-title,
    .why-us-title {
        font-size: 2.5rem;
    }
    
    .value-card {
        width: calc(50% - 0.75rem);
        min-width: 240px;
        max-width: 280px;
    }
    
    .value-icon {
        font-size: 1.6rem;
    }
}

@media (max-width: 767.98px) {
    .values-container {
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .value-card {
        width: 100%;
        max-width: 380px;
        min-width: auto;
        min-height: 260px;
    }
    
    .about-title,
    .values-title,
    .story-title,
    .why-us-title {
        font-size: 2rem;
    }
    
    .about-lead {
        font-size: 1.1rem;
    }
    
    .about-text,
    .story-text {
        font-size: 1rem;
    }
    
    .story-quote p {
        font-size: 1.05rem;
    }
    
    .value-icon {
        font-size: 1.4rem;
    }
    
    .about-feature-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .value-card {
        max-width: 100%;
        min-width: auto;
        min-height: 220px;
        padding: 1.25rem;
    }
    
    /* Why cards - perfect center on mobile */
    .why-us-section .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    .why-us-section .row {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: center !important;
        gap: 1rem !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }
    
    .why-card {
        max-width: 100%;
        min-width: auto;
        min-height: 220px;
        width: 100% !important;
        margin: 0 !important;
        flex: none !important;
        box-sizing: border-box;
    }
    
    .about-title,
    .values-title,
    .story-title,
    .why-us-title {
        font-size: 1.75rem;
    }
    
    .about-badge,
    .story-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .about-lead {
        font-size: 1rem;
    }
    
    .about-text,
    .story-text {
        font-size: 0.95rem;
    }
    
    .story-quote p {
        font-size: 1rem;
    }
    
    .why-card-number {
        font-size: 2rem;
    }
    
    .why-card-title {
        font-size: 1.1rem;
    }
    
    .why-card-text {
        font-size: 0.9rem;
    }
    
    .value-icon {
        width: 55px;
        height: 55px;
        min-width: 55px;
        font-size: 1.3rem;
    }
    
    .value-title {
        font-size: 1.15rem;
    }
    
    .value-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 479.98px) {
    .about-title,
    .values-title,
    .story-title,
    .why-us-title {
        font-size: 1.5rem;
    }
    
    .about-lead {
        font-size: 0.95rem;
    }
    
    .about-text,
    .story-text {
        font-size: 0.9rem;
    }
    
    .why-card-number {
        font-size: 1.8rem;
    }
    
    .why-card-title {
        font-size: 1rem;
    }
    
    .why-card-text {
        font-size: 0.85rem;
    }
    
    .value-card,
    .why-card {
        min-height: 200px;
        padding: 1rem;
    }
    
    .about-image-wrapper {
        min-height: 250px;
        max-height: 350px;
    }
    
    .story-image-wrapper {
        min-height: 250px;
        max-height: 350px;
    }
    
    .story-quote {
        padding: 1.25rem !important;
    }
    
    .story-quote p {
        font-size: 0.95rem;
        padding-left: 2.5rem !important;
    }
    
    .story-quote-icon {
        width: 35px;
        height: 35px;
        top: -12px;
        left: 15px;
        font-size: 0.85rem;
    }
}

/* Extra small devices (320px and below) */
@media (max-width: 320px) {
    .about-title,
    .values-title,
    .story-title,
    .why-us-title {
        font-size: 1.35rem;
    }
    
    .value-card,
    .why-card {
        min-height: 180px;
    }
    
    .value-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.2rem;
    }
}
