/* ==========================================================
   CLOUDCODERS.IO — Main Stylesheet (Light Theme)
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ----------------------------------------------------------
   Custom Properties
   ---------------------------------------------------------- */
:root {
    /* Backgrounds */
    --bg-0: #FFFFFF;
    --bg-1: #F8FAFC;
    --surface: #FFFFFF;
    --surface-2: #F1F5F9;

    /* Borders */
    --border:        #E2E8F0;
    --border-md:     #CBD5E1;
    --border-strong: #94A3B8;

    /* Brand — orange */
    --orange:        #FF9900;
    --orange-dark:   #E68A00;
    --orange-dim:    rgba(255, 153, 0, 0.09);
    --orange-border: rgba(255, 153, 0, 0.30);
    --orange-glow:   rgba(255, 153, 0, 0.14);

    /* Brand — blue */
    --blue:        #2563EB;
    --blue-dim:    rgba(37, 99, 235, 0.08);
    --blue-border: rgba(37, 99, 235, 0.25);

    /* Brand — teal */
    --teal:        #0891B2;
    --teal-dim:    rgba(8, 145, 178, 0.08);
    --teal-border: rgba(8, 145, 178, 0.25);

    /* Text */
    --text-0: #0F172A;
    --text-1: #475569;
    --text-2: #94A3B8;

    /* Gradients */
    --grad-orange: linear-gradient(135deg, #FF9900, #E65C00);
    --grad-blue:   linear-gradient(135deg, #2563EB, #0891B2);
    --grad-hero-orb-orange: radial-gradient(circle, rgba(255,153,0,0.18), transparent 70%);
    --grad-hero-orb-blue:   radial-gradient(circle, rgba(37,99,235,0.14), transparent 70%);

    /* Shadows */
    --shadow-sm:    0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
    --shadow-md:    0 4px 12px rgba(15,23,42,0.08), 0 2px 4px rgba(15,23,42,0.04);
    --shadow-lg:    0 8px 24px rgba(15,23,42,0.09), 0 4px 8px rgba(15,23,42,0.04);
    --shadow-hover: 0 16px 40px rgba(15,23,42,0.12), 0 6px 12px rgba(15,23,42,0.06);
    --shadow-card:  0 1px 3px rgba(15,23,42,0.07), 0 2px 8px rgba(15,23,42,0.05);

    /* Layout */
    --max-w:     1200px;
    --pad-x:     clamp(20px, 5vw, 40px);
    --section-y: clamp(72px, 8vw, 112px);

    /* Transitions */
    --t:      0.18s ease;
    --t-slow: 0.35s ease;

    /* Radii */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
}

/* ----------------------------------------------------------
   Reset
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-0);
    color: var(--text-0);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
img, svg { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ----------------------------------------------------------
   Utilities
   ---------------------------------------------------------- */
.container {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--pad-x);
}

.text-gradient {
    background: var(--grad-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text-0);
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-1);
    line-height: 1.75;
    max-width: 520px;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: clamp(44px, 6vw, 72px);
}
.section-header .section-subtitle { margin-inline: auto; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--r-sm);
    font-size: 15px;
    font-weight: 600;
    border: none;
    transition: transform var(--t), box-shadow var(--t), background var(--t);
    white-space: nowrap;
    line-height: 1;
}

.btn-primary {
    background: var(--grad-orange);
    color: #fff;
    box-shadow: 0 2px 12px rgba(255,153,0,0.28);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255,153,0,0.38);
}

.btn-ghost {
    background: #fff;
    color: var(--text-0);
    border: 1.5px solid var(--border-md);
    box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-full { width: 100%; justify-content: center; }

/* Scroll-reveal */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ----------------------------------------------------------
   Navigation
   ---------------------------------------------------------- */
.nav-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 200;
    padding: 20px 0;
    transition: padding var(--t-slow), background var(--t-slow), border-color var(--t-slow), box-shadow var(--t-slow);
    border-bottom: 1px solid transparent;
}
.nav-header.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px) saturate(1.6);
    border-color: var(--border);
    box-shadow: 0 1px 12px rgba(15,23,42,0.07);
}

.nav-container {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--pad-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo-text { font-size: 21px; font-weight: 800; letter-spacing: -0.5px; color: var(--text-0); }
.logo-dot  { color: var(--orange); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}
.nav-link {
    padding: 7px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-1);
    border-radius: 6px;
    transition: color var(--t), background var(--t);
}
.nav-link:hover {
    color: var(--text-0);
    background: var(--bg-1);
}
.nav-cta {
    margin-left: 8px;
    background: var(--orange-dim) !important;
    color: var(--orange-dark) !important;
    border: 1.5px solid var(--orange-border);
    font-weight: 600;
}
.nav-cta:hover {
    background: rgba(255,153,0,0.15) !important;
    border-color: rgba(255,153,0,0.5) !important;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-0);
    border-radius: 2px;
    transition: transform var(--t), opacity var(--t);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------
   Hero
   ---------------------------------------------------------- */
.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 130px 0 88px;
    background: var(--bg-0);
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}
.hero-orb--orange {
    width: 700px;
    height: 700px;
    background: var(--grad-hero-orb-orange);
    top: -260px;
    right: -180px;
    animation: float-a 10s ease-in-out infinite;
}
.hero-orb--blue {
    width: 500px;
    height: 500px;
    background: var(--grad-hero-orb-blue);
    bottom: -180px;
    left: -140px;
    animation: float-b 13s ease-in-out infinite;
}
@keyframes float-a {
    0%, 100% { transform: translate(0, 0); }
    50%       { transform: translate(-25px, 20px); }
}
@keyframes float-b {
    0%, 100% { transform: translate(0, 0); }
    50%       { transform: translate(18px, -25px); }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15,23,42,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15,23,42,0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 72%);
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--orange-dim);
    border: 1.5px solid var(--orange-border);
    border-radius: 100px;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--orange-dark);
    margin-bottom: 28px;
}
.hero-badge__dot {
    width: 7px;
    height: 7px;
    background: var(--orange);
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.45; transform: scale(0.72); }
}

.hero-title {
    font-size: clamp(42px, 6.5vw, 76px);
    font-weight: 900;
    letter-spacing: -2.5px;
    line-height: 1.05;
    margin-bottom: 24px;
    color: var(--text-0);
}

.hero-subtitle {
    font-size: clamp(16px, 1.8vw, 19px);
    color: var(--text-1);
    line-height: 1.75;
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    padding: 18px 32px;
    box-shadow: var(--shadow-md);
    gap: 0;
}
.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-inline: 24px;
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child  { padding-right: 0; }
.hero-stat__value {
    font-size: 24px;
    font-weight: 900;
    color: var(--orange);
    letter-spacing: -1px;
    line-height: 1;
}
.hero-stat__label {
    font-size: 12px;
    color: var(--text-2);
    white-space: nowrap;
    font-weight: 500;
}
.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
    flex-shrink: 0;
}

/* ----------------------------------------------------------
   Services
   ---------------------------------------------------------- */
.services {
    padding-block: var(--section-y);
    background: var(--bg-1);
    border-top: 1px solid var(--border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* Cards */
.card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    padding: 36px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform var(--t-slow), border-color var(--t-slow), box-shadow var(--t-slow);
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    opacity: 0;
    transition: opacity var(--t);
}
.card--ai::before       { background: var(--grad-orange); }
.card--cost::before     { background: var(--grad-blue); }
.card--briefing::before { background: linear-gradient(135deg, #0891B2, #06B6D4); }

.card:hover {
    transform: translateY(-5px);
    border-color: var(--border-md);
    box-shadow: var(--shadow-hover);
}
.card:hover::before { opacity: 1; }

/* Icons */
.card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1.5px solid;
}
.card-icon svg { width: 24px; height: 24px; }
.card-icon--orange { background: var(--orange-dim); border-color: var(--orange-border); color: var(--orange); }
.card-icon--blue   { background: var(--blue-dim);   border-color: var(--blue-border);   color: var(--blue);   }
.card-icon--teal   { background: var(--teal-dim);   border-color: var(--teal-border);   color: var(--teal);   }

/* Badges */
.card-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 12px;
    border: 1px solid;
}
.card-badge--orange { color: var(--orange-dark); background: var(--orange-dim); border-color: var(--orange-border); }
.card-badge--blue   { color: var(--blue);         background: var(--blue-dim);   border-color: var(--blue-border);   }
.card-badge--teal   { color: var(--teal);          background: var(--teal-dim);   border-color: var(--teal-border);   }

.card-title { font-size: 23px; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 4px; color: var(--text-0); }
.card-sub   { font-size: 13px; color: var(--text-2); font-weight: 500; margin-bottom: 14px; }
.card-desc  { font-size: 14px; color: var(--text-1); line-height: 1.75; margin-bottom: 22px; }

.card-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 28px;
}
.card-features li {
    font-size: 14px;
    color: var(--text-1);
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}
.card-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
}
.card--ai       .card-features li::before { background: var(--orange); }
.card--cost     .card-features li::before { background: var(--blue); }
.card--briefing .card-features li::before { background: var(--teal); }

.card-cta { font-size: 14px; font-weight: 600; transition: opacity var(--t); }
.card-cta:hover { opacity: 0.65; text-decoration: underline; text-underline-offset: 3px; }
.card-cta--orange { color: var(--orange-dark); }
.card-cta--blue   { color: var(--blue); }
.card-cta--teal   { color: var(--teal); }

/* ----------------------------------------------------------
   About
   ---------------------------------------------------------- */
.about {
    padding-block: var(--section-y);
    background: var(--bg-0);
    border-top: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-content .section-label { display: block; }
.about-text {
    font-size: 16px;
    color: var(--text-1);
    line-height: 1.85;
    margin-bottom: 18px;
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}
.credential {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-0);
    line-height: 1.45;
}
.credential-check {
    width: 20px;
    height: 20px;
    background: var(--orange-dim);
    color: var(--orange-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
    border: 1px solid var(--orange-border);
}

/* Stat cards */
.about-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-content: start;
}
.stat-card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: border-color var(--t), box-shadow var(--t);
}
.stat-card:hover {
    border-color: var(--orange-border);
    box-shadow: 0 0 0 3px var(--orange-glow), var(--shadow-md);
}
.stat-card--wide { grid-column: 1 / -1; text-align: left; }

.stat-card__number {
    font-size: 44px;
    font-weight: 900;
    color: var(--orange);
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-card__label { font-size: 13px; color: var(--text-1); font-weight: 500; }
.stat-card__badge {
    display: inline-block;
    background: var(--grad-orange);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}
.stat-card__desc { font-size: 13px; color: var(--text-1); line-height: 1.65; }

/* ----------------------------------------------------------
   Approach / Pillars
   ---------------------------------------------------------- */
.approach {
    padding-block: var(--section-y);
    background: var(--bg-1);
    border-top: 1px solid var(--border);
}

.pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pillar {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    transition: border-color var(--t-slow), transform var(--t-slow), box-shadow var(--t-slow);
}
.pillar:hover {
    border-color: var(--orange-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pillar-icon {
    width: 46px;
    height: 46px;
    background: var(--orange-dim);
    border: 1.5px solid var(--orange-border);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    margin-bottom: 20px;
}
.pillar-icon svg { width: 21px; height: 21px; }
.pillar h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.2px; color: var(--text-0); }
.pillar p  { font-size: 15px; color: var(--text-1); line-height: 1.72; }

/* ----------------------------------------------------------
   Who We Work With
   ---------------------------------------------------------- */
.clients {
    padding-block: var(--section-y);
    background: var(--bg-0);
    border-top: 1px solid var(--border);
}

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

.client-segment {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
    transition: border-color var(--t-slow), transform var(--t-slow), box-shadow var(--t-slow);
}
.client-segment:hover {
    border-color: var(--orange-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.client-segment__icon {
    width: 36px;
    height: 36px;
    background: var(--orange-dim);
    border: 1.5px solid var(--orange-border);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    margin-bottom: 14px;
}
.client-segment__icon svg { width: 16px; height: 16px; }
.client-segment h3 { font-size: 17px; font-weight: 700; color: var(--text-0); margin-bottom: 4px; }
.client-segment__range {
    font-size: 12px;
    font-weight: 600;
    color: var(--orange-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}
.client-segment p { font-size: 14px; color: var(--text-1); line-height: 1.72; }

/* ----------------------------------------------------------
   Contact
   ---------------------------------------------------------- */
.contact {
    padding-block: var(--section-y);
    background: var(--bg-1);
    border-top: 1px solid var(--border);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
}

.contact-text .section-label { display: block; }
.contact-subtitle {
    font-size: 17px;
    color: var(--text-1);
    line-height: 1.75;
    margin-bottom: 40px;
}

.contact-channels { display: flex; flex-direction: column; gap: 14px; }
.channel {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    transition: border-color var(--t), box-shadow var(--t);
}
.channel:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.channel-icon {
    width: 40px;
    height: 40px;
    background: var(--orange-dim);
    border: 1px solid var(--orange-border);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    flex-shrink: 0;
}
.channel-icon svg { width: 18px; height: 18px; }
.channel-label { font-size: 11px; font-weight: 700; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.5px; }
.channel-value { font-size: 15px; font-weight: 500; color: var(--text-0); }

/* Form */
.contact-form-wrap {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--r-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}
.form-heading { font-size: 20px; font-weight: 700; margin-bottom: 28px; letter-spacing: -0.3px; color: var(--text-0); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group:last-of-type { margin-bottom: 24px; }

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-1);
    text-transform: uppercase;
    letter-spacing: 0.75px;
    margin-bottom: 7px;
}
.form-group label span { color: var(--orange); }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--bg-1);
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    padding: 11px 14px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-0);
    transition: border-color var(--t), box-shadow var(--t);
    outline: none;
    -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px var(--orange-glow);
    background: var(--bg-0);
}
.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2394A3B8'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 38px;
}
.form-group select option { background: var(--bg-0); color: var(--text-0); }
.form-group textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.form-note { text-align: center; font-size: 12px; color: var(--text-2); margin-top: 12px; }

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */
.footer {
    background: var(--bg-0);
    border-top: 1px solid var(--border);
    padding: 40px 0 28px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}
.footer-tagline { font-size: 13px; color: var(--text-2); margin-top: 6px; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; color: var(--text-1); transition: color var(--t); }
.footer-nav a:hover { color: var(--text-0); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-2);
}
.footer-disclaimer { font-size: 12px; opacity: 0.65; }

/* ----------------------------------------------------------
   Responsive — Tablet
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: 1fr 1fr; }
    .services-grid .card:last-child { grid-column: 1 / -1; max-width: 520px; margin-inline: auto; }
    .clients-grid { grid-template-columns: 1fr; gap: 16px; }
    .about-grid   { grid-template-columns: 1fr; gap: 52px; }
    .about-aside  { grid-template-columns: repeat(3, 1fr); }
    .stat-card--wide { grid-column: auto; }
    .contact-grid { grid-template-columns: 1fr; gap: 52px; }
}

/* ----------------------------------------------------------
   Responsive — Mobile
   ---------------------------------------------------------- */
@media (max-width: 768px) {
    /* Nav */
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        inset-inline: 0;
        background: rgba(255,255,255,0.97);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        flex-direction: column;
        padding: 16px var(--pad-x) 20px;
        gap: 4px;
    }
    .nav-links.open { display: flex; }
    .nav-cta { margin-left: 0; }

    /* Hero */
    .hero { padding-top: 110px; }
    .hero-stats {
        flex-direction: column;
        gap: 16px;
        padding: 20px 24px;
        width: 100%;
    }
    .hero-stat { padding-inline: 0; text-align: center; }
    .hero-stat-divider { width: 100%; height: 1px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { text-align: center; justify-content: center; }

    /* Grids → single column */
    .services-grid { grid-template-columns: 1fr; }
    .services-grid .card:last-child { grid-column: auto; max-width: none; margin-inline: 0; }
    .pillars-grid  { grid-template-columns: 1fr; }
    .clients-grid  { grid-template-columns: 1fr; }
    .about-aside   { grid-template-columns: 1fr 1fr; }
    .stat-card--wide { grid-column: 1 / -1; }

    /* Form */
    .form-row { grid-template-columns: 1fr; }

    /* Footer */
    .footer-top { flex-direction: column; gap: 20px; text-align: center; }
    .footer-nav { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 480px) {
    .card, .pillar, .client-segment, .contact-form-wrap { padding: 26px 20px; }
    .hero-badge { font-size: 11px; padding: 5px 14px; }
    .about-aside { grid-template-columns: 1fr; }
    .stat-card--wide { grid-column: auto; }
}
