/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy:        #0b1628;
    --navy-mid:    #162040;
    --blue:        #1d4ed8;
    --blue-hover:  #1a45c2;
    --blue-light:  #3b82f6;
    --blue-pale:   #eff6ff;
    --white:       #ffffff;
    --gray-50:     #f8fafc;
    --gray-100:    #f1f5f9;
    --gray-200:    #e2e8f0;
    --gray-500:    #64748b;
    --gray-700:    #334155;
    --gray-900:    #0f172a;
    --text:        #1e293b;
    --radius:      12px;
    --shadow:      0 1px 3px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg:   0 8px 32px rgba(0,0,0,0.12);
    --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

.btn--primary:hover {
    background: var(--blue-hover);
    border-color: var(--blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(29,78,216,0.4);
}

.btn--ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.35);
}

.btn--ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.65);
}

.btn--sm  { padding: 8px 18px; font-size: 0.875rem; }
.btn--lg  { padding: 16px 36px; font-size: 1.05rem; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 22, 40, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.nav__logo {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
    flex-shrink: 0;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav__links li a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav__links li a:hover { color: var(--white); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    background: var(--navy);
    color: var(--white);
    padding: 120px 0 148px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 90% 70% at 50% -10%, rgba(29,78,216,0.28) 0%, transparent 65%);
    pointer-events: none;
}

.hero__grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
    background-size: 52px 52px;
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.hero__eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue-light);
    margin-bottom: 22px;
}

.hero__headline {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 28px;
}

.hero__sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.62);
    max-width: 540px;
    margin-bottom: 44px;
    line-height: 1.75;
    font-weight: 400;
}

.hero__cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section        { padding: 100px 0; }
.section--light { background: var(--gray-50); }
.section--white { background: var(--white); }
.section--dark  { background: var(--navy); color: var(--white); }

.section__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section__eyebrow {
    display: block;
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 12px;
}

.section__eyebrow--light { color: var(--blue-light); }

.section__title {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section--dark .section__title { color: var(--white); }

.section__sub {
    color: var(--gray-500);
    font-size: 1rem;
    line-height: 1.75;
}

.section__sub--light { color: rgba(255,255,255,0.55); }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.service-card:hover {
    border-color: var(--blue-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.service-card__icon {
    width: 42px;
    height: 42px;
    margin-bottom: 20px;
    color: var(--blue);
}

.service-card__icon svg { width: 100%; height: 100%; }

.service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
    line-height: 1.35;
}

.service-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============================================================
   INDUSTRIES GRID
   ============================================================ */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 20px;
}

.industry-card {
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: var(--radius);
    padding: 36px 30px;
    transition: background 0.22s ease, border-color 0.22s ease;
}

.industry-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--blue-light);
}

.industry-card__icon {
    width: 42px;
    height: 42px;
    color: var(--blue-light);
    margin-bottom: 20px;
}

.industry-card__icon svg { width: 100%; height: 100%; }

.industry-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.industry-card p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
}

/* ============================================================
   TEAM
   ============================================================ */
.team-card {
    display: flex;
    gap: 48px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 48px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
    align-items: flex-start;
}

.team-card__aside { flex-shrink: 0; }

.team-card__avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 3px solid var(--gray-200);
    flex-shrink: 0;
    display: block;
}

.team-card__name {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.team-card__role {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 22px;
}

.team-card__bio {
    font-size: 0.925rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 14px;
}

.team-card__highlights {
    display: flex;
    gap: 36px;
    margin: 28px 0;
    padding: 24px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    flex-wrap: wrap;
}

.highlight { display: flex; flex-direction: column; }

.highlight__value {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: -0.03em;
    line-height: 1;
}

.highlight__label {
    font-size: 0.76rem;
    color: var(--gray-500);
    margin-top: 5px;
    line-height: 1.45;
    max-width: 130px;
}

.team-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0a66c2;
    margin-bottom: 18px;
    transition: opacity 0.2s;
}

.linkedin-link:hover { opacity: 0.75; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
    width: 100%;
    max-width: 580px;
    margin: 0 auto 12px;
    text-align: left;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.contact-form__field label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.03em;
}

.contact-form__field input,
.contact-form__field textarea {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 12px 14px;
    font-family: var(--font);
    font-size: 0.9rem;
    color: var(--white);
    outline: none;
    transition: border-color 0.2s;
    resize: vertical;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder { color: rgba(255,255,255,0.3); }

.contact-form__field input:focus,
.contact-form__field textarea:focus { border-color: var(--blue-light); }

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

.contact-form__status {
    margin-top: 14px;
    font-size: 0.875rem;
    text-align: center;
    min-height: 1.4em;
}

.contact-form__status--ok  { color: #6ee7b7; }
.contact-form__status--err { color: #fca5a5; }
.contact-form__thanks { font-size: 1.05rem; padding: 24px 0; }

@media (max-width: 520px) {
    .contact-form__row { grid-template-columns: 1fr; }
}

.team-card__tags span {
    background: var(--blue-pale);
    color: var(--blue);
    font-size: 0.76rem;
    font-weight: 600;
    padding: 5px 13px;
    border-radius: 999px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.section--contact {
    background: linear-gradient(135deg, var(--navy) 0%, #0e2756 100%);
    color: var(--white);
    text-align: center;
}

.contact-inner h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 12px 0 20px;
    color: var(--white);
}

.contact__sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.6);
    max-width: 500px;
    margin: 0 auto 36px;
    line-height: 1.75;
}

.contact__location {
    margin-top: 22px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.02em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: #060d1a;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 30px 0;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer__logo {
    font-weight: 700;
    color: var(--white);
    font-size: 0.9rem;
}

.footer__copy {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
    .team-card {
        flex-direction: column;
        gap: 24px;
        padding: 32px 24px;
    }

    .team-card__highlights {
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .nav__links li:not(:last-child) { display: none; }

    .hero { padding: 80px 0 100px; }

    .section { padding: 72px 0; }

    .services-grid,
    .industries-grid { grid-template-columns: 1fr; }

    .hero__cta { flex-direction: column; align-items: flex-start; }

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