:root {
    --unitek-blue: #0066cc;
    /* Referente al logo */
    --unitek-celeste: #e0f2fe;
    /* Light background celeste */
    --unitek-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #4b5563;
}

/* Base Styles */
body {
    background-color: var(--unitek-white);
    color: var(--text-dark);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Hero Section Refined */
.about-hero {
    background: linear-gradient(135deg, var(--unitek-blue), #004a99);
    color: var(--unitek-white);
    padding: 150px 0 80px;
    /* Increased padding to separate from header and center content better */
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    /* Strict vertical centering */
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-logo {
    height: 85px;
    margin-bottom: 5px;
    /* Tighter spacing with the title */
    filter: brightness(0) invert(1);
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 500px;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Clean, professional masking to blend only the left edge into the UNITEK blue background */
.hero-image img {
    width: 100%;
    max-width: 580px;
    /* Slightly larger to fill the space better */
    border-radius: 20px;
    display: block;
    object-fit: cover;
    /* Soft fade primarily on the left to merge with the text area */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 25%, black 90%, transparent 100%);
    will-change: mask-image;
}

/* Excellence Section */
.excellence-section {
    padding: 60px 0;
    /* Reduced from 100px */
    background-color: var(--unitek-white);
}

.excellence-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.excellence-image {
    flex: 1;
}

.excellence-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.excellence-text {
    flex: 1;
}

.excellence-text h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.excellence-text h2 span {
    color: var(--unitek-blue);
}

.excellence-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* Core Quadrant (2x2) Refined */
.core-quadrant {
    padding: 60px 0;
    /* Reduced from 100px */
    background-color: var(--unitek-celeste);
}

.quadrant-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    /* Reduced gap for better balance */
}

.q-card {
    padding: 30px;
    /* Further reduced from 40px */
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
    /* Further reduced from 250px */
    border-radius: 20px;
    /* Slightly tighter radius */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.white-q {
    background-color: var(--unitek-white);
    color: var(--text-dark);
}

.blue-q {
    background-color: var(--unitek-blue);
    color: var(--unitek-white);
}

.q-card h3 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.q-card p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.white-q p {
    color: var(--text-muted);
}

.blue-q p {
    color: rgba(255, 255, 255, 0.9);
}

/* Values Section (5 cards) */
.values-section {
    padding: 60px 0;
    /* Reduced from 100px */
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    /* Slightly smaller title */
    font-weight: 800;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    /* Reduced from 60px */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.value-card {
    flex: 0 1 300px;
    background: var(--unitek-white);
    border-radius: 20px;
    padding: 40px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.value-icon.blue {
    background: linear-gradient(135deg, #0084ff, #004a99);
}

.value-icon.cyan {
    background: linear-gradient(135deg, #190af6, #0891b2);
}

/* Keep user custom colors from Step 664 */
.value-icon.sky {
    background: linear-gradient(135deg, #38bdf8, #0284c7);
}

.value-icon.indigo {
    background: linear-gradient(135deg, #6366f1, #4338ca);
}

.value-icon i {
    font-size: 36px;
    color: white;
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.value-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .quadrant-grid {
        grid-template-columns: 1fr;
    }

    .about-hero {
        padding: 100px 0 50px;
        /* Increased top padding to avoid header overlap */
    }

    .hero-container,
    .excellence-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        margin: 0 auto 20px;
    }

    .hero-logo {
        margin: 0 auto 20px;
    }
}