﻿:root {
    --ink: #292929;
    --white: #ffffff;
    --ice: #f4fbff;
    --blue-soft: #6ec1e4;
    --blue: #2263ae;
    --blue-hot: #049cea;
    --muted: #6f7a84;
    --line: rgba(255,255,255,.14);
    --shadow: 0 24px 80px rgba(0,0,0,.22);
    --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.skip-link {
    position: absolute;
    left: -999px;
    top: 1rem;
    z-index: 999;
    background: var(--blue-hot);
    color: var(--white);
    padding: .75rem 1rem;
    border-radius: 999px;
}
.skip-link:focus { left: 1rem; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

.container {
    width: min(1160px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled {
    background: rgba(17, 20, 25, .82);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 34px rgba(0,0,0,.18);
}

.nav-wrap {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    color: var(--white);
    letter-spacing: .08em;
}
.brand-mark {
    font-size: 1.45rem;
    font-weight: 300;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(255,255,255,.55);
}
.brand-sub {
    margin-top: .3rem;
    color: var(--blue-soft);
    font-size: .72rem;
    letter-spacing: .18em;
}

.site-menu {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: rgba(255,255,255,.82);
    font-size: .86rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
}
.site-menu a { transition: color .18s ease; }
.site-menu a:hover,
.site-menu a:focus-visible { color: var(--blue-soft); }

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 12px;
    background: rgba(255,255,255,.08);
    color: var(--white);
    padding: 10px;
}
.menu-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    background: currentColor;
    margin: 5px 0;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: #07090d;
    padding: 7rem 0 4rem;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: #000;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, .78fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.hero-logo-only {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: calc(100vh - 11rem);
    place-items: center;
}
.eyebrow,
.mini-label {
    display: inline-flex;
    color: var(--blue-soft);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .32em;
    text-transform: uppercase;
}
.eyebrow.dark { color: var(--blue); }
.hero h1,
.section-head h2,
.intro-grid h2,
.portfolio-copy h2,
.contact-copy h2 {
    margin: .75rem 0 1rem;
    line-height: .95;
    letter-spacing: -.04em;
}
.hero h1 {
    max-width: 820px;
    font-size: clamp(3.25rem, 9vw, 7.7rem);
    text-transform: uppercase;
}
.lead {
    max-width: 650px;
    color: rgba(255,255,255,.78);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.contact-direct,
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .85rem;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .85rem 1.25rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    letter-spacing: .04em;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover,
.btn:focus-visible { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--blue-hot), var(--blue)); color: var(--white); box-shadow: 0 16px 34px rgba(4,156,234,.28); }
.btn-ghost { border-color: rgba(255,255,255,.28); color: var(--white); background: rgba(255,255,255,.06); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn.full { width: 100%; }

.hero-card {
    position: relative;
    width: auto;
    max-width: 100%;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
}
.hero-card img {
    width: auto;
    max-width: calc(100vw - 2rem);
    height: auto;
    border-radius: 0;
    background: transparent;
}

.intro-band {
    background: var(--ink);
    color: var(--white);
    padding: clamp(2rem, 5vw, 4rem) 0;
}
.intro-grid {
    display: grid;
    grid-template-columns: .9fr 1fr;
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
}
.intro-grid h2 {
    font-size: clamp(2rem, 5vw, 4.3rem);
}
.intro-grid p { color: rgba(255,255,255,.74); font-size: 1.1rem; }

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-head {
    max-width: 760px;
    margin: 0 auto clamp(2rem, 5vw, 4rem);
    text-align: center;
}
.section-head h2,
.portfolio-copy h2,
.contact-copy h2 { font-size: clamp(2.35rem, 6vw, 5rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head.invert p { color: rgba(255,255,255,.7); }
.section-head.invert h2 { color: var(--white); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}
.service-card {
    overflow: hidden;
    border-radius: 24px;
    background: var(--white);
    border: 1px solid rgba(34,99,174,.12);
    box-shadow: 0 18px 50px rgba(34,99,174,.09);
}
.service-card:nth-child(2) { grid-row: span 2; }
.service-image {
    position: relative;
    min-height: 210px;
    background: #eaf7fd;
    overflow: hidden;
}
.service-card:nth-child(2) .service-image { min-height: 420px; }
.service-image img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transition: transform .45s ease;
}
.service-card:hover .service-image img { transform: scale(1.04); }
.service-image span {
    position: absolute;
    left: 1rem;
    top: 1rem;
    padding: .35rem .65rem;
    border-radius: 999px;
    color: var(--white);
    background: rgba(4,156,234,.9);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .12em;
}
.service-body { padding: 1.25rem; }
.service-body h3 { margin: 0 0 .5rem; font-size: 1.35rem; }
.service-body p { margin: 0 0 .9rem; color: var(--muted); }
.service-body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .38rem; }
.service-body li::before { content: "•"; color: var(--blue-hot); margin-right: .45rem; }

.section-dark {
    background:
        radial-gradient(circle at 15% 15%, rgba(4,156,234,.22), transparent 32%),
        linear-gradient(135deg, #111 0%, #292929 100%);
    color: var(--white);
}
.portfolio {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: stretch;
    min-height: 620px;
    background: var(--ice);
}
.portfolio-copy {
    padding: clamp(3rem, 7vw, 6rem);
    align-self: center;
}
.portfolio-copy p { color: var(--muted); max-width: 560px; }
.portfolio-visual { min-height: 420px; overflow: hidden; }
.portfolio-visual img { width: 100%; height: 100%; object-fit: cover; }

.contact-section {
    position: relative;
    overflow: hidden;
    color: var(--white);
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: #111;
}
.contact-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.58)),
        url('../img/contact-bg.jpg') center/cover no-repeat;
}
.contact-grid {
    position: relative;
    display: grid;
    grid-template-columns: .9fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}
.contact-copy p { color: rgba(255,255,255,.74); }
.contact-direct a { color: var(--blue-soft); font-weight: 900; }
.contact-form {
    padding: clamp(1rem, 3vw, 1.6rem);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 26px;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(16px);
    display: grid;
    gap: .9rem;
}
.contact-form label { display: grid; gap: .35rem; color: rgba(255,255,255,.8); font-weight: 700; }
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 16px;
    padding: .85rem 1rem;
    color: var(--white);
    background: rgba(0,0,0,.28);
    outline: none;
}
.contact-form select option { color: var(--ink); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--blue-soft); box-shadow: 0 0 0 4px rgba(110,193,228,.16); }
.hidden-field { display: none; }
.form-status { padding: .85rem 1rem; border-radius: 16px; font-weight: 700; }
.form-status.success { background: rgba(110,193,228,.18); border: 1px solid rgba(110,193,228,.45); }
.form-status.error { background: rgba(255,88,88,.16); border: 1px solid rgba(255,88,88,.35); }

.footer { background: #08090c; color: rgba(255,255,255,.75); padding: 1.3rem 0; }
.footer-inner { justify-content: space-between; }
.footer strong { color: var(--white); margin-right: .7rem; }
.footer a { color: var(--blue-soft); }

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .hero-grid,
    .intro-grid,
    .portfolio,
    .contact-grid { grid-template-columns: 1fr; }
    .hero { min-height: auto; }
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-card:nth-child(2) { grid-row: auto; }
    .service-card:nth-child(2) .service-image { min-height: 260px; }
    .portfolio-copy { padding: 3rem 1rem; }
}

@media (max-width: 760px) {
    .nav-wrap { min-height: 68px; }
    .menu-toggle { display: inline-block; }
    .site-menu {
        position: fixed;
        inset: 68px 1rem auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: .75rem;
        border-radius: 18px;
        background: rgba(15,18,24,.96);
        box-shadow: var(--shadow);
    }
    .site-menu.is-open { display: flex; }
    .site-menu a { padding: .85rem 1rem; }
    .hero h1 { font-size: clamp(2.8rem, 15vw, 4.6rem); }
    .services-grid { grid-template-columns: 1fr; }
    .footer-inner { align-items: flex-start; }
}
