/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --midnight:    #0a1628;
    --midnight-lt: #132238;
    --mint:        #5eead4;
    --mint-dim:    #3fc5b0;
    --white:       #ffffff;
    --off-white:   #f4f7f8;
    --gray-100:    #e8ecef;
    --gray-300:    #b0bec5;
    --gray-500:    #607d8b;
    --gray-700:    #37474f;
    --gray-900:    #1a2332;

    --font-body:   'Inter', system-ui, sans-serif;
    --font-display:'Playfair Display', Georgia, serif;

    --radius:      12px;
    --radius-sm:   8px;
    --shadow:      0 1px 3px rgba(10,22,40,.06), 0 8px 24px rgba(10,22,40,.06);
    --shadow-lg:   0 4px 12px rgba(10,22,40,.08), 0 16px 48px rgba(10,22,40,.10);
    --transition:  280ms cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── Line Decoration ────────────────────────────────────────── */
.line-decoration {
    position: fixed;
    top: 0; left: 0;
    width: 3px;
    height: 100vh;
    z-index: 100;
    pointer-events: none;
}
.line-decoration__inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--mint) 0%, transparent 100%);
    opacity: .35;
}
.line-decoration .bolt-icon {
    position: absolute;
    bottom: 40px; left: 50%;
    transform: translateX(-50%);
    width: 20px; height: 20px;
    color: var(--mint);
    opacity: .5;
}

/* ── Header ─────────────────────────────────────────────────── */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding: 0 24px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-100);
    transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--midnight);
}
.header__logo-mark { font-size: 1.25rem; }
.header__logo-accent { color: var(--mint-dim); }

.nav__list { display: flex; gap: 32px; }
.nav__link {
    font-size: .875rem;
    font-weight: 400;
    color: var(--gray-700);
    letter-spacing: .01em;
    position: relative;
    transition: color var(--transition);
}
.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--mint-dim);
    transition: width var(--transition);
}
.nav__link:hover { color: var(--midnight); }
.nav__link:hover::after { width: 100%; }
.nav__link--cta {
    color: var(--midnight);
    font-weight: 500;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}
.nav__toggle-line {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--midnight);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-line:first-child {
    transform: translateY(6.5px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-line:last-child {
    opacity: 0;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    background: var(--white);
    overflow: hidden;
}
.hero__bg-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 50%, rgba(94,234,212,.07) 0%, transparent 70%),
        radial-gradient(ellipse 40% 50% at 10% 80%, rgba(10,22,40,.03) 0%, transparent 60%);
    pointer-events: none;
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero__eyebrow {
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--mint-dim);
    margin-bottom: 20px;
}
.hero__headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--midnight);
    margin-bottom: 24px;
}
.hero__accent {
    font-style: italic;
    color: var(--mint-dim);
}
.hero__sub {
    font-size: 1.0625rem;
    color: var(--gray-500);
    max-width: 440px;
    margin-bottom: 40px;
    line-height: 1.7;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: .9375rem;
    font-weight: 500;
    letter-spacing: .01em;
    transition: all var(--transition);
}
.btn__icon { width: 16px; height: 16px; flex-shrink: 0; }
.btn--primary {
    background: var(--midnight);
    color: var(--white);
}
.btn--primary:hover {
    background: var(--midnight-lt);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(10,22,40,.2);
}
.btn--ghost {
    background: transparent;
    color: var(--midnight);
    border: 1px solid var(--gray-100);
}
.btn--ghost:hover {
    border-color: var(--mint-dim);
    color: var(--mint-dim);
}
.btn--full { width: 100%; justify-content: center; }

/* ── Hero Visual ─────────────────────────────────────────────── */
.hero__visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
}
.hero__visual-frame {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero__visual-frame img {
    width: 520px;
    height: 640px;
    object-fit: cover;
}
.hero__visual-accent {
    position: absolute;
    bottom: -24px; left: -24px;
    width: 160px; height: 160px;
    border: 1px solid var(--mint);
    border-radius: var(--radius);
    z-index: -1;
    opacity: .4;
}

/* ── Trust ──────────────────────────────────────────────────── */
.trust {
    padding: 48px 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}
.trust__list {
    display: flex;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
}
.trust__item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .9375rem;
    font-weight: 400;
    color: var(--gray-700);
}
.trust__icon { width: 20px; height: 20px; color: var(--mint-dim); flex-shrink: 0; }

/* ── Section Header ─────────────────────────────────────────── */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}
.section-header__eyebrow {
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--mint-dim);
    margin-bottom: 16px;
}
.section-header__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 500;
    color: var(--midnight);
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-header__sub {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ── Services ───────────────────────────────────────────────── */
.services {
    padding: 120px 0;
    background: var(--off-white);
}
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.service-card__img-wrap {
    overflow: hidden;
    aspect-ratio: 400/260;
}
.service-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms cubic-bezier(.4,0,.2,1);
}
.service-card:hover .service-card__img-wrap img {
    transform: scale(1.04);
}
.service-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--midnight);
    padding: 24px 24px 0;
}
.service-card__desc {
    font-size: .9375rem;
    color: var(--gray-500);
    line-height: 1.7;
    padding: 12px 24px 28px;
}

/* ── About ──────────────────────────────────────────────────── */
.about {
    padding: 120px 0;
    background: var(--white);
}
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about__image-stack {
    position: relative;
}
.about__image-main {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about__image-main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}
.about__image-float {
    position: absolute;
    bottom: -32px; right: -32px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 4px solid var(--white);
}
.about__image-float img {
    width: 240px;
    height: 180px;
    object-fit: cover;
}
.about__eyebrow { margin-bottom: 16px; }
.about__title { margin-bottom: 24px; }
.about__body {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.75;
    margin-bottom: 16px;
}
.about__list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.about__list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: .9375rem;
    color: var(--gray-700);
}
.about__list li::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--mint);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Areas ──────────────────────────────────────────────────── */
.areas {
    padding: 120px 0;
    background: var(--midnight);
}
.areas__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.areas .section-header__title { color: var(--white); }
.areas .section-header__sub { color: var(--gray-300); }
.areas__body {
    font-size: 1rem;
    color: var(--gray-300);
    line-height: 1.75;
    margin-top: 20px;
}
.areas__map {
    background: var(--midnight-lt);
    border: 1px solid rgba(94,234,212,.15);
    border-radius: var(--radius);
    padding: 48px 40px;
    text-align: center;
}
.areas__map-pin {
    width: 48px; height: 48px;
    margin: 0 auto 24px;
    color: var(--mint);
}
.areas__map-pin svg { width: 100%; height: 100%; }
.areas__address {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 28px;
}
.areas__map-btn {
    border-color: rgba(94,234,212,.3);
    color: var(--mint);
}
.areas__map-btn:hover {
    border-color: var(--mint);
    color: var(--mint);
}

/* ── CTA / Contact ──────────────────────────────────────────── */
.cta {
    padding: 120px 0;
    background: var(--off-white);
}
.cta__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.cta__title { margin-bottom: 16px; }
.cta__body {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.75;
}
.cta__phone {
    color: var(--mint-dim);
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition);
}
.cta__phone:hover { border-color: var(--mint-dim); }

/* ── Form ───────────────────────────────────────────────────── */
.cta__form {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}
.form-group { margin-bottom: 24px; }
.form-group__label {
    display: block;
    font-size: .8125rem;
    font-weight: 500;
    color: var(--gray-700);
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.form-group__input,
.form-group__textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: .9375rem;
    font-weight: 300;
    color: var(--gray-900);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-group__input:focus,
.form-group__textarea:focus {
    border-color: var(--mint-dim);
    box-shadow: 0 0 0 3px rgba(94,234,212,.12);
}
.form-group__input::placeholder,
.form-group__textarea::placeholder {
    color: var(--gray-300);
}
.form-group__textarea { resize: vertical; }
.cta__form-note {
    margin-top: 16px;
    font-size: .875rem;
    text-align: center;
    min-height: 22px;
}
.cta__form-note.success { color: #16a34a; }
.cta__form-note.error   { color: #dc2626; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
    background: var(--midnight);
    padding: 56px 0;
}
.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}
.footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--white);
}
.footer__logo-mark { font-size: 1.25rem; }
.footer__logo-accent { color: var(--mint); }
.footer__contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.footer__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .9375rem;
    color: var(--gray-300);
    transition: color var(--transition);
}
.footer__link:hover { color: var(--mint); }
.footer__address {
    font-size: .875rem;
    color: var(--gray-500);
    line-height: 1.6;
}
.footer__link-icon { width: 16px; height: 16px; flex-shrink: 0; }
.footer__copy {
    font-size: .8125rem;
    color: var(--gray-500);
}

/* ── Scroll Reveal ──────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms cubic-bezier(.4,0,.2,1), transform 600ms cubic-bezier(.4,0,.2,1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── Mobile Menu ────────────────────────────────────────────── */
.nav__list {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid transparent;
    transition: max-height var(--transition), border-color var(--transition), padding var(--transition);
}
.nav__list.open {
    max-height: 320px;
    padding: 24px 0;
    border-bottom-color: var(--gray-100);
}
.nav__link {
    padding: 14px 24px;
    display: block;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero .container { gap: 40px; }
    .hero__visual-frame img { width: 400px; height: 500px; }
    .services__grid { gap: 24px; }
}

@media (max-width: 900px) {
    .nav__toggle { display: flex; }
    .nav__list {
        position: static;
        flex-direction: row;
        max-height: none;
        overflow: visible;
        padding: 0;
        border: none;
        background: transparent;
    }
    .nav__list.open { padding: 0; border: none; }
    .nav__link { padding: 0 16px; }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero__sub { margin-left: auto; margin-right: auto; }
    .hero__actions { justify-content: center; }
    .hero__visual { display: none; }

    .about__grid,
    .areas__inner,
    .cta__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about__image-float { display: none; }

    .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .hero { min-height: auto; padding: 120px 0 80px; }
    .services, .about, .areas, .cta { padding: 80px 0; }
    .services__grid { grid-template-columns: 1fr; }
    .trust__list { gap: 24px; }
    .cta__form { padding: 28px 24px; }
    .areas__map { padding: 36px 24px; }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(24px); }
    .reveal.revealed { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}
