/* --- BRAND STYLE GUIDE --- */
:root {
    --pneu-blue: #2B70FF;
    --pneu-dark: #0F172A;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --white: #FFFFFF;
    --bg-light: #F8FAFC;
    /* CONSISTENCY RADIUS */
    --radius-card: 20px;
    --radius-btn: 50px;
    --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.html, body {
    overflow-x: hidden;
    max-width: 100%;
}

.body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

/* --- HERO (PURE GRAPHIC ART DIRECTION) --- */
.about-hero {
    position: relative;
    width: 100%;
    height: 500px; /* Locked desktop banner height */
    overflow: hidden;
    background-color: var(--pneu-dark);
    display: block;
}

.hero-picture-bg,
.hero-picture-bg img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.btn-pill {
    display: inline-block;
    background: var(--pneu-blue);
    color: white;
    text-decoration: none;
    padding: 16px 35px;
    border-radius: var(--radius-btn);
    font-weight: 800;
    font-size: 14px;
    transition: var(--transition);
}

.btn-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(43, 112, 255, 0.4);
}

/* --- INVERTED STORY SECTION --- */
.story-section { padding: 100px 0; background: var(--white); }
.story-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

/* Left Side: 4 Value Cards */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }

.value-item {
    background: var(--bg-light);
    padding: 30px 20px;
    border-radius: var(--radius-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-8px);
    background: var(--white);
    border-color: var(--pneu-blue);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.value-svg {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.value-item h3 { color: var(--pneu-dark); font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.value-item p { color: var(--text-muted); font-size: 13px; line-height: 1.5; margin: 0; }

/* Right Side: Text */
.sub-label { color: var(--pneu-blue); font-weight: 800; font-size: 12px; text-transform: uppercase; margin-bottom: 15px; display: block; letter-spacing: 0.1em; }
.sub-label.center { text-align: center; }

.story-content h2 { font-size: 35px; font-weight: 800; color: var(--pneu-dark); line-height: 1.2; margin-bottom: 25px; letter-spacing: -0.02em; }
.story-content p { font-size: 17px; color: var(--text-muted); margin-bottom: 20px; }

/* Desktop Row Stats Layout */
.story-stats { display: flex; gap: 40px; margin-top: 35px; border-top: 1px solid #F1F5F9; padding-top: 30px; }
.stat-item strong { display: block; font-size: 32px; color: var(--pneu-dark); font-weight: 800; }
.stat-item span { color: var(--pneu-blue); font-weight: 700; font-size: 13px; text-transform: uppercase; }

/* --- TEAM SECTION --- */
.team-section { padding: 100px 0; background: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 36px; font-weight: 800; color: var(--pneu-dark); margin-bottom: 10px; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }

.team-card {
    background: var(--white);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: var(--transition);
}

.team-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }

.team-img-wrapper { position: relative; height: 320px; background: #E2E8F0; }
.team-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }

.team-role-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--pneu-blue);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.team-details { padding: 25px; }
.team-details h3 { font-size: 19px; color: var(--pneu-dark); font-weight: 800; margin-bottom: 10px; }
.team-details p { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin: 0; }


/* --- RESPONSIVE ARCHITECTURE --- */

/* 1. Large Tablets & Small Laptops (1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    .about-hero {
        height: 420px;
    }

    .story-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .story-content {
        order: 1;
        text-align: center;
    }

    .values-grid {
        order: 2;
        gap: 20px;
    }

    .story-stats {
        justify-content: center;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 2. Small Tablets & Landscape Phones (768px) */
@media (max-width: 768px) {
    .about-hero {
        /* FIXED VIEWPORT COUPLING: Takes up 65% of screen height.
           This leaves 35% empty space at the bottom to force the text up! */
        height: 65vh;
        min-height: 400px;
        max-height: 520px;
    }

    .hero-picture-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .hero-picture-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* ANTI-HEAD-CHOPPING CORE RULE: Pins image to top edge so the rep's head never gets clipped */
        object-position: center;
    }

    .text-content h2 {
        font-size: 32px;
    }

    .story-section, .team-section {
        padding: 60px 0;
    }

    /* Clean 2-by-2 stats block */
    .story-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
        justify-items: center;
        text-align: center;
    }
}

/* 3. Mobile Portrait (iPhone 8 & Similar - 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .about-hero {
        height: 62vh; /* Slightly adjusted for standard phone aspects */
    }

    .btn-pill {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    /* MATCHED GRID SCHEME: Values grid stays 2x2 on mobile portrait with optimized spacing */
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .value-item {
        padding: 18px 12px;
        text-align: center;
    }

    .value-item .icon-box {
        justify-content: center;
        margin-bottom: 10px;
    }

    .value-item .value-svg {
        width: 28px;
        height: 28px;
    }

    .value-item h3 {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .value-item p {
        font-size: 11px;
        line-height: 1.4;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-img-wrapper {
        height: 280px;
    }

    /* Balanced 2x2 stacking pairs on phone width viewports */
    .story-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 15px;
        border-top: 1px solid #F1F5F9;
        padding-top: 30px;
    }

    .stat-item strong {
        font-size: 28px;
    }
}


/*--- Footer design section ---*/
.pneupro-footer {
    background-color: var(--pneu-dark);
    color: var(--pneu-white);
    padding: 80px 0 0;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 0 24px 60px;
}

/* --- FOOTER BRANDING --- */
.footer-logo {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -1px;
    margin-bottom: 20px;
    display: block;
}

.footer-logo span {
    color: var(--pneu-blue);
}

.brand-tagline {
    color: var(--pneu-text-muted);
    font-size: 14px;
    line-height: 1.6;
    max-width: 280px;
    margin-bottom: 24px;
}

.trust-badges {
    display: flex;
    gap: 12px;
}

/* --- FOOTER NAVIGATION --- */
.footer-column h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 28px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 14px;
}

.footer-column a {
    color: var(--pneu-text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.footer-column a:hover {
    color: var(--pneu-blue);
    padding-left: 5px;
}

/* --- CONTACT SECTION --- */
.contact-col address {
    font-style: normal;
    font-size: 14px;
    color: var(--pneu-text-muted);
    line-height: 1.8;
}

.contact-label {
    display: block;
    margin-top: 15px;
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}

.contact-link {
    display: block;
    color: var(--pneu-text-muted) !important;
}

.contact-link.highlight {
    color: var(--pneu-blue) !important;
    font-weight: 600;
}

/* --- FOOTER BOTTOM --- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    background: rgba(0, 0, 0, 0.2);
}

.bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #64748B;
}

.ice-number {
    font-weight: 700;
    letter-spacing: 1px;
}

/* --- RESPONSIVE FOOTER --- */
@media (max-width: 900px) {
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .trust-badges { justify-content: center; }
    .bottom-container { flex-direction: column; gap: 15px; }
}

/* --- CALL TO ACTION CARD COMPONENT --- */
.final-cta {
    padding: 100px 0;
    background: #f8fafc;
}

.cta-box-centered {
    background: #0F172A;
    border-radius: 30px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.15);
}

.cta-badge {
    color: #2B70FF;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    display: inline-block;
}

.cta-content h2 {
    color: #FFFFFF;
    font-size: 46px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 25px 0;
    letter-spacing: -0.04em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 19px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 45px auto;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

/* Primary WhatsApp Button */
.whatsapp-btn {
    background: #25D366;
    color: #FFFFFF;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    border: 2px solid #25D366;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.whatsapp-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
    background: #1eb956;
}

/* Secondary Outline Button */
.btn-outline-white {
    padding: 18px 40px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-outline-white:hover {
    background: #FFFFFF;
    color: #0F172A;
}

/* --- MOBILE RESPONSIVENESS (iPhone 8 Optimized) --- */
@media (max-width: 768px) {
    .cta-box-centered {
        padding: 60px 25px;
    }

    .cta-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .whatsapp-btn, .btn-outline-white {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}
