/* ─── Variables ─────────────────────────────────────────────────── */
:root {
    --dark:         #111827;
    --dark-mid:     #1F2937;
    --dark-light:   #374151;
    --accent:       #0EA5E9;
    --accent-hover: #0284C7;
    --accent-bg:    #E0F2FE;
    --text:         #111827;
    --text-muted:   #6B7280;
    --border:       #E5E7EB;
    --bg:           #FFFFFF;
    --bg-alt:       #F9FAFB;
    --radius-sm:    6px;
    --radius:       10px;
    --radius-lg:    14px;
    --shadow:       0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md:    0 4px 6px -1px rgba(0,0,0,.10), 0 2px 4px -1px rgba(0,0,0,.06);
    --shadow-lg:    0 10px 25px -5px rgba(0,0,0,.10), 0 4px 6px -2px rgba(0,0,0,.05);
}

/* ─── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { transition: color .2s; }
button { font-family: inherit; }

/* ─── Navigation ────────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: var(--dark);
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.4); }
.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 66px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: -.01em;
    flex-shrink: 0;
}
.nav-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.footer-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}
.nav-links a {
    color: rgba(255,255,255,.7);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    transition: color .2s, background .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-cta {
    background: var(--accent) !important;
    color: #fff !important;
    border-radius: var(--radius-sm);
    padding: 8px 16px !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px; height: 36px;
    background: none; border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: var(--radius-sm);
}
.nav-toggle span {
    display: block;
    width: 100%; height: 2px;
    background: rgba(255,255,255,.8);
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
}
.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: 100vh;
    background: linear-gradient(150deg, #0d1520 0%, #131e2e 45%, #111827 100%);
    display: flex;
    align-items: center;
    padding: 130px 24px 90px;
    position: relative;
    overflow: hidden;
}
.hero-grid-overlay {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
}
.hero-inner {
    position: relative; z-index: 1;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    transform: translateX(-2%);
}
.hero-eyebrow {
    display: inline-block;
    color: var(--accent);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.hero-headline {
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -.02em;
    margin-bottom: 24px;
}
.hero-sub {
    font-size: 1.1rem;
    line-height: 1.75;
    color: rgba(255,255,255,.6);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 42px;
}
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ─── Buttons ───────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background .2s, transform .15s, box-shadow .2s;
    white-space: nowrap;
    line-height: 1;
}
.btn-accent {
    background: var(--accent);
    color: #fff;
}
.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(217,119,6,.35);
}
.btn-ghost {
    background: transparent;
    color: rgba(255,255,255,.8);
    border: 1.5px solid rgba(255,255,255,.22);
}
.btn-ghost:hover {
    border-color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.07);
    color: #fff;
}
.btn-sm { padding: 10px 20px; font-size: .835rem; }
.btn-full { width: 100%; }

/* ─── Stats Strip ───────────────────────────────────────────────── */
.stats-strip {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: stretch;
}
.stat-item {
    flex: 1;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.stat-item strong {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -.02em;
    line-height: 1;
}
.stat-item span {
    font-size: .72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .07em;
}
.stat-divider {
    width: 1px;
    background: var(--border);
    margin: 18px 0;
    flex-shrink: 0;
}

/* ─── Sections ──────────────────────────────────────────────────── */
.section { padding: 96px 32px; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); }
.container { max-width: 1280px; margin: 0 auto; }
.section-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
    text-align: center;
}
.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin-bottom: 16px;
    color: var(--text);
    text-align: center;
}
.section-title--light { color: #fff; }
.section-sub {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 56px;
    text-align: center;
}
.section-sub--light { color: rgba(255,255,255,.55); }

/* ─── Services Grid ─────────────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.service-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: box-shadow .2s, transform .2s;
}
.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.service-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius);
    background: var(--accent-bg);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}
.service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}
.service-card p {
    font-size: .875rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.service-card--cta {
    background: var(--dark);
    border-color: var(--dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}
.service-card--cta h3 { color: #fff; }
.service-card--cta p {
    color: rgba(255,255,255,.55);
    margin-bottom: 24px;
}

/* ─── Industries Grid ───────────────────────────────────────────── */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.industry-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: box-shadow .2s, transform .2s;
}
.industry-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.industry-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    display: block;
}
.industry-card h4 {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}
.industry-card p {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ─── Process Steps ─────────────────────────────────────────────── */
.process-steps {
    max-width: 640px;
    display: flex;
    flex-direction: column;
}
.step {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}
.step-num {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--accent);
    opacity: .45;
    line-height: 1;
    min-width: 64px;
    padding-top: 2px;
    letter-spacing: -.03em;
    flex-shrink: 0;
}
.step-content { padding-top: 4px; }
.step-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}
.step-content p {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.75;
}
.step-connector {
    width: 1px;
    height: 44px;
    background: var(--border);
    margin-left: 32px;
    flex-shrink: 0;
}

/* ─── Founder ───────────────────────────────────────────────────── */
.founder-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 72px;
    align-items: center;
}
.founder-photo-wrap {
    position: relative;
}
.founder-photo {
    width: 100%;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 1/1;
    display: block;
}
.founder-name {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.1;
}
.founder-title {
    font-size: .95rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 28px;
    letter-spacing: .01em;
}
.founder-bio {
    font-size: .975rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 16px;
}

/* ─── Contact ───────────────────────────────────────────────────── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 64px;
    align-items: start;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label {
    font-size: .8rem;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    letter-spacing: .01em;
}
.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: #fff;
    font-size: .9rem;
    font-family: inherit;
    outline: none;
    transition: border-color .2s, background .2s;
    width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.28); }
.form-group select { cursor: pointer; appearance: none; }
.form-group select option { background: #1F2937; color: #fff; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: rgba(255,255,255,.09);
}
.form-group textarea { resize: vertical; min-height: 110px; }

.contact-aside {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 4px;
}
.contact-info-block h4 {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.35);
    margin-bottom: 6px;
}
.contact-info-block a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    font-size: .9rem;
}
.contact-info-block a:hover { text-decoration: underline; }
.contact-info-block span {
    color: rgba(255,255,255,.65);
    font-size: .9rem;
}
.contact-promise {
    background: rgba(255,255,255,.05);
    border-radius: var(--radius);
    border-left: 3px solid var(--accent);
    padding: 20px 20px 18px;
    margin-top: 8px;
}
.contact-promise p {
    color: rgba(255,255,255,.7);
    font-size: .875rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 10px;
}
.contact-promise cite {
    color: rgba(255,255,255,.4);
    font-size: .78rem;
    font-style: normal;
}

/* ─── Footer ────────────────────────────────────────────────────── */
.footer {
    background: #080e18;
    padding: 28px 24px;
    border-top: 1px solid rgba(255,255,255,.06);
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: rgba(255,255,255,.65);
    font-size: .875rem;
    font-weight: 600;
}
.footer-copy {
    color: rgba(255,255,255,.3);
    font-size: .78rem;
}
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
.footer-domain {
    color: rgba(255,255,255,.55);
    font-size: .78rem;
    text-decoration: none;
    font-weight: 500;
    transition: color .2s;
}
.footer-domain:hover { color: var(--accent); }
.footer-email {
    color: rgba(255,255,255,.35);
    font-size: .75rem;
    text-decoration: none;
    transition: color .2s;
}
.footer-email:hover { color: var(--accent); }

/* ─── Form utilities ────────────────────────────────────────────── */
.hidden { display: none; }
.form-success {
    color: var(--accent);
    padding: .75rem 0 0;
    font-weight: 500;
    font-size: .95rem;
}

/* ─── Mobile Nav Drawer ─────────────────────────────────────────── */
@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 66px; left: 0; right: 0;
        background: var(--dark);
        flex-direction: column;
        gap: 0;
        padding: 12px 16px 20px;
        border-bottom: 1px solid rgba(255,255,255,.08);
        z-index: 99;
    }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a {
        display: block;
        padding: 12px 14px;
        font-size: .9rem;
        border-radius: var(--radius-sm);
    }
    .nav-cta { text-align: center; margin-top: 8px; }
}

/* ─── Responsive ────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: 1fr; gap: 48px; }
    .contact-aside { padding-top: 0; }
    .founder-layout { grid-template-columns: 1fr; gap: 40px; }
    .founder-photo { max-width: 320px; margin: 0 auto; aspect-ratio: 1/1; }
}
@media (max-width: 640px) {
    .section { padding: 72px 20px; }
    .hero { padding: 110px 20px 72px; }
    .hero-inner { transform: none; }
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; text-align: center; }
    .btn-ghost { text-align: center; }
    .stats-strip { flex-wrap: wrap; }
    .stat-item { flex: 1 1 48%; }
    .stat-divider:nth-child(4) { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .industries-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; gap: 10px; }
    .step-num { font-size: 2rem; min-width: 52px; }
}
