/* ===== VARIABLES & RESET ===== */
:root {
    --red: #E31E24;
    --red-dark: #C41A1F;
    --red-light: #FF3B42;
    --black: #1A1A1A;
    --dark: #2D2D2D;
    --gray-700: #4A4A4A;
    --gray-500: #717171;
    --gray-300: #D1D1D1;
    --gray-100: #F5F5F5;
    --white: #FFFFFF;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--black);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 40px 0 60px;
    min-height: calc(100vh - 72px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-white { background: var(--white); }
.section-light { background: var(--gray-100); }

/* Services section is too tall for snap — let it scroll freely */
#services {
    min-height: auto;
}
.section-red {
    background: var(--red);
    color: var(--white);
}

.text-center { text-align: center; }
.text-red { color: var(--red); }

/* ===== IMPACT STRIP ===== */
.impact-strip {
    background: var(--black);
    padding: 40px 0;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.impact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.impact-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--red);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.impact-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ===== TYPOGRAPHY ===== */
h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
}

h4 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

p {
    color: var(--gray-700);
    margin-bottom: 1rem;
}

p:last-child { margin-bottom: 0; }

.section-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--red);
    margin-bottom: 12px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 { margin-bottom: 20px; }

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-500);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(227, 30, 36, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--black);
    border-color: var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--black);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--red);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.nav-links a.btn-nav {
    padding: 10px 24px;
    background: var(--red);
    color: var(--white);
    border-radius: var(--radius-sm);
}

.nav-links a.btn-nav:hover {
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--red);
}

.btn-full { width: 100%; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.navbar.scrolled {
    border-bottom-color: rgba(0,0,0,0.06);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--black);
}

.logo-icon {
    width: 36px;
    height: 36px;
    color: var(--red);
}

.logo-slash { color: var(--red); }

.logo-white { color: var(--white); }
.logo-white .logo-icon { color: var(--white); }
.logo-white .logo-slash { color: rgba(255,255,255,0.5); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: color var(--transition);
}

.nav-links a:hover { color: var(--red); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: safe center;
    padding: 72px 0 30px;
    overflow-x: clip;
    overflow-y: visible;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: var(--red);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--red);
    margin-bottom: 10px;
}

.hero h1 { margin-bottom: 14px; }

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray-500);
    margin-bottom: 20px;
    max-width: 520px;
}

.hero-subtitle strong { color: var(--black); }

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 500px;
    width: 100%;
}

.hero-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.hero-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: var(--red);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-arrow svg { width: 28px; height: 28px; }

/* ===== TWO COL GRID ===== */
.section-grid {
    display: grid;
    gap: 60px;
}

.two-col { grid-template-columns: 1fr 1fr; }

/* ===== ABOUT IMAGE ===== */
.about-image-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
}

/* ===== MISSION CARD ===== */
.mission-card {
    margin-top: 60px;
    padding: 40px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    gap: 24px;
    align-items: flex-start;
    border-left: 4px solid var(--red);
}

.mission-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-icon svg { width: 24px; height: 24px; }

.mission-card h3 {
    color: var(--red);
    margin-bottom: 8px;
}

/* ===== SERVICES INTRO ===== */
.services-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.services-intro-text h2 {
    margin-bottom: 20px;
}

.services-intro-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.services-intro-img img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
}

.services-grid .service-card {
    flex: 0 1 calc(33.333% - 19px);
    min-width: 300px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-card-img-wrap {
    overflow: hidden;
}

.service-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-img {
    transform: scale(1.05);
}

.service-card-body {
    padding: 28px 32px 32px;
}

.service-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.service-icon {
    width: 40px;
    height: 40px;
    background: rgba(227, 30, 36, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon svg { width: 22px; height: 22px; }

.service-card h3 {
    margin-bottom: 0;
    color: var(--black);
}

.service-tagline {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--red);
    font-style: italic;
    margin-bottom: 8px;
}

.service-expandable {
    margin-top: 16px;
}

.service-expand-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--red);
    cursor: pointer;
    padding: 8px 0;
    transition: all var(--transition);
}

.service-expand-btn:hover {
    color: var(--red-dark);
}

.service-expand-btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition);
}

.service-expand-btn[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.service-details.open {
    max-height: 500px;
    opacity: 1;
    padding-top: 8px;
}

.service-card > p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    font-size: 0.9rem;
    color: var(--gray-700);
    padding-left: 20px;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 2px;
}

/* ===== PROCESS SECTION ===== */
.process-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 24px;
    max-width: 260px;
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.process-step h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.process-connector {
    flex-shrink: 0;
    width: 40px;
    height: 2px;
    background: var(--gray-300);
    margin-top: 30px;
}

/* ===== RED CTA SECTION ===== */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.section-red h2 {
    max-width: 700px;
    margin: 0 auto 20px;
    color: var(--white);
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 36px;
}

/* ===== CLIENTS ===== */
#clients {
    padding: 60px 0;
    min-height: auto;
}

#clients .section-header {
    margin-bottom: 32px;
}

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

.client-card {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    text-align: center;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.client-card:hover {
    background: var(--white);
    border-color: rgba(0,0,0,0.08);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.client-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.client-logo-img {
    max-height: 60px;
    max-width: 160px;
    object-fit: contain;
    margin: 0 auto;
}

.client-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.02em;
}

.client-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 2px;
}

.client-location {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 { margin-bottom: 24px; }

.contact-image-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 24px 0;
    box-shadow: var(--shadow-md);
}

.contact-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.contact-sign-off {
    margin-top: 24px;
    color: var(--black);
}

.contact-details {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--red);
    transition: all var(--transition);
}

.contact-link:hover {
    color: var(--red-dark);
    transform: translateX(4px);
}

.contact-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.contact-form-wrap {
    position: sticky;
    top: 100px;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.04);
}

.contact-form h3 {
    margin-bottom: 28px;
    color: var(--black);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font);
    font-size: 0.95rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--black);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-500);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-privacy {
    margin-top: 14px;
    font-size: 0.8rem;
    color: var(--gray-500);
    text-align: center;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    margin-top: 16px;
    max-width: 320px;
    font-size: 0.95rem;
}

.footer-links h4 {
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
    font-size: 0.8rem;
}

.footer-links ul { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    transition: all var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* ===== ANIMATIONS ===== */
.animate-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in from left for alternating elements */
.animate-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale in */
.animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 40px; }
    .hero-bg { width: 100%; clip-path: none; opacity: 0.06; }
    .hero-visual { justify-content: flex-start; }
    .hero-image-wrapper { max-width: 100%; }
    .hero-image { height: 300px; }
    .section-grid.two-col { grid-template-columns: 1fr; gap: 32px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 72px 0; }

    .nav-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(0,0,0,0.08);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        transition: transform var(--transition);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links a { font-size: 1rem; }
    .btn-nav { width: 100%; text-align: center; }

    .hero { min-height: auto; padding: 120px 0 72px; }
    .hero-stats { gap: 32px; }

    .services-grid .service-card { flex: 0 1 100%; }
    .services-intro { grid-template-columns: 1fr; gap: 30px; }
    .services-intro-img img { height: 220px; }
    .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .process-grid { flex-direction: column; align-items: center; }
    .process-connector { width: 2px; height: 30px; }
    .process-step { max-width: 100%; }
    .clients-grid { grid-template-columns: repeat(3, 1fr); }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn { width: 100%; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .clients-grid { grid-template-columns: 1fr; }
    .service-card { padding: 28px; }
    .contact-form { padding: 28px; }
    .mission-card { flex-direction: column; padding: 28px; }
}
