:root {
    --ink: #07131f;
    --navy: #071723;
    --navy-soft: #0d2637;
    --cyan: #13c8ed;
    --cyan-bright: #43e2ff;
    --steel: #8da7b2;
    --paper: #f6f9fa;
    --line: #dbe5e9;
    --white: #fff;
    --shadow: 0 22px 55px rgba(2, 18, 30, .16);
    --max: 1250px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background-color: #080d11;
    background-image: linear-gradient(rgba(2, 9, 14, .24), rgba(2, 9, 14, .48)), url('/assets/images/background-dark.jpg');
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
    color: var(--white);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 1000; top: 1rem; left: 1rem; background: #fff; padding: .7rem 1rem; }

.site-header {
    position: relative;
    z-index: 20;
    background: var(--navy);
    border-bottom: 1px solid rgba(67,226,255,.26);
}
.brand { display: block; width: 520px; max-width: 78vw; height: 118px; margin: 0 auto; overflow: hidden; }
.brand-crop {
    display: block;
    width: 100%;
    height: 100%;
    background: url('/assets/images/logo.png') center -296px / 500px 500px no-repeat;
}
.main-navigation {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: .25rem;
    min-height: 48px;
    padding: 0 1rem;
    background: #222729;
}
.main-navigation a {
    display: grid;
    place-items: center;
    padding: .65rem 1.3rem;
    color: #fff;
    text-decoration: none;
    font-size: .88rem;
    letter-spacing: .02em;
    transition: color .2s, background .2s;
}
.main-navigation a:hover, .main-navigation a[aria-current="page"] { background: #fff; color: #20303a; }
.main-navigation .nav-request { margin-left: 1rem; background: var(--cyan); color: #031822; font-weight: 800; }
.main-navigation .nav-request:hover { background: var(--cyan-bright); color: #031822; }
.menu-button { display: none; }

.hero {
    position: relative;
    min-height: clamp(430px, 48vw, 600px);
    max-width: var(--max);
    margin: 0 auto;
    overflow: hidden;
    background: #050a0f;
}
.hero-slide { position: absolute; inset: 0; background-position: center; background-size: cover; opacity: 0; transform: scale(1.025); transition: opacity 1.2s ease, transform 6s ease; }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,7,12,.1), rgba(1,8,14,.58)); }
.hero-content { position: absolute; inset: auto 0 12%; text-align: center; color: #fff; padding: 1.5rem; text-shadow: 0 2px 18px #000; }
.hero-content p { margin: 0; font-size: clamp(2.2rem, 4.3vw, 4rem); font-weight: 300; letter-spacing: -.035em; line-height: 1.05; }
.hero-content > span { display: block; margin-top: .6rem; font-size: clamp(1rem, 1.7vw, 1.35rem); letter-spacing: .08em; }
.hero-content a { display: inline-flex; gap: .7rem; margin-top: 1.4rem; padding: .78rem 1.15rem; background: var(--cyan); color: #02141e; text-decoration: none; font-weight: 800; text-shadow: none; }
.hero-dots { position: absolute; right: 1.5rem; bottom: 1.4rem; display: flex; gap: .45rem; }
.hero-dots button { width: 22px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.45); cursor: pointer; }
.hero-dots button.is-active { background: var(--cyan-bright); }

.site-main {
    max-width: var(--max);
    margin-inline: auto;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(7, 23, 35, .88), rgba(5, 16, 25, .76));
    box-shadow: 0 20px 70px rgba(0, 0, 0, .34);
}
.section-shell { width: min(calc(100% - 3rem), 1160px); margin-inline: auto; }
.eyebrow { color: #008bb2; font-size: .77rem; font-weight: 800; letter-spacing: .18em; }
h1, h2, h3 { line-height: 1.08; margin-top: 0; }
h1 { font-family: Georgia, serif; color: #d9e8ed; font-size: clamp(2.35rem, 5vw, 4.8rem); font-weight: 500; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3.35rem); }
p { max-width: 68ch; }
.button { display: inline-flex; align-items: center; gap: .75rem; background: var(--cyan); color: #031822; padding: .95rem 1.25rem; text-decoration: none; font-weight: 800; box-shadow: 0 12px 30px rgba(19,200,237,.2); }
.button:hover { background: var(--cyan-bright); }

.intro { padding: clamp(4.5rem, 8vw, 7.5rem) 0; }
.intro-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; margin-top: 1rem; }
.intro h1 { font-size: clamp(2.4rem, 4.3vw, 4rem); margin-bottom: 1.5rem; }
.intro p { color: #b9cbd3; font-size: 1.04rem; }
.intro .lead { color: var(--white); font-weight: 800; }
.request-card { position: relative; padding: 3.2rem 2.5rem 2.5rem; background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.request-card::before { content: ""; position: absolute; top: 0; left: 0; width: 42%; height: 3px; background: var(--cyan); }
.request-number { position: absolute; right: 1.5rem; top: .8rem; color: rgba(255,255,255,.13); font-size: 4.6rem; font-weight: 900; line-height: 1; }
.request-card h2 { position: relative; max-width: 10ch; font-size: 2.2rem; }
.request-card p { color: #b9cbd3; }
.request-card .button { margin-top: 1rem; }

.services { padding: 0 0 clamp(5rem, 9vw, 8rem); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.section-heading h2 { margin: .45rem 0 0; }
.section-heading > a { color: #167c9b; font-weight: 800; text-decoration: none; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--navy); }
.service-grid article { min-height: 250px; padding: 2rem; border-right: 1px solid rgba(255,255,255,.12); color: #fff; }
.service-grid article:last-child { border: 0; }
.service-grid article > span { color: var(--cyan); font-size: .8rem; font-weight: 800; }
.service-grid h3 { margin: 3rem 0 .8rem; font-size: 1.45rem; }
.service-grid p { color: #a9bdc7; }

.page-hero { padding: clamp(4rem, 9vw, 8rem) 0 3rem; }
.page-hero h1 { margin: .6rem 0 1.2rem; }
.page-hero p { color: #b9cbd3; font-size: 1.06rem; }
.project-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-bottom: 5rem; }
.project-card { position: relative; min-height: 280px; padding: 0; overflow: hidden; border: 0; background: var(--navy); cursor: zoom-in; text-align: left; }
.project-card img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .45s, opacity .45s; }
.project-card::after { content: ""; position: absolute; inset: 42% 0 0; background: linear-gradient(transparent, rgba(1,10,17,.92)); }
.project-card span { position: absolute; z-index: 1; left: 1.25rem; right: 1.25rem; bottom: 1rem; color: #fff; font-weight: 800; }
.project-card:hover img { transform: scale(1.045); opacity: .88; }
.project-cta { margin-bottom: 6rem; padding: 3.2rem; background: var(--navy); color: #fff; text-align: center; }
.project-cta h2 { margin: .6rem 0 1.5rem; }

.contact-page { display: grid; grid-template-columns: 1.2fr .8fr; gap: 5rem; align-items: center; min-height: 620px; padding-block: 6rem; }
.contact-page h1 { margin: .75rem 0 1.5rem; }
.contact-page p { color: #b9cbd3; }
.contact-page .button { margin-top: 1rem; }
.contact-card { padding: 3rem; background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.contact-card > span { color: var(--cyan); font-size: .75rem; font-weight: 800; letter-spacing: .18em; }
.contact-card > a { display: block; margin: 1rem 0; color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; text-decoration-color: var(--cyan); }
.contact-card p { color: #a9bdc7; }

.legal-page { min-height: 620px; padding-block: 5rem 7rem; }
.legal-page h1 { margin: .7rem 0 2rem; }
.legal-card { max-width: 760px; padding: clamp(1.5rem, 4vw, 3rem); background: rgba(255,255,255,.96); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 18px 45px rgba(0,0,0,.24); }
.legal-card h2 { margin: 2rem 0 .5rem; font-size: 1.1rem; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card a { color: #087e9f; }

.site-footer { background: #06141f; color: #fff; }
.footer-inner { width: min(calc(100% - 3rem), 1160px); min-height: 180px; margin: auto; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem 3rem; }
.footer-inner > div strong, .footer-inner > div span { display: block; }
.footer-inner > div span { color: #83a0ae; font-size: .85rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: end; gap: .5rem 1.2rem; }
.site-footer a { color: #bed0d7; text-decoration: none; font-size: .86rem; }
.site-footer a:hover { color: var(--cyan-bright); }
.footer-mail { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.1); }

.lightbox { width: min(94vw, 1100px); max-height: 92vh; padding: 0; border: 0; background: #06131d; color: #fff; box-shadow: var(--shadow); }
.lightbox::backdrop { background: rgba(1,8,13,.87); }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; }
.lightbox p { margin: 0; padding: 1rem 1.4rem; font-weight: 700; }
.lightbox-close { position: absolute; z-index: 2; top: .7rem; right: .7rem; width: 42px; height: 42px; border: 0; background: rgba(3,17,26,.8); color: #fff; font-size: 1.8rem; cursor: pointer; }

@media (max-width: 800px) {
    body { background-attachment: scroll; }
    .brand { width: 390px; height: 92px; }
    .brand-crop { background-size: 380px 380px; background-position: center -225px; }
    .menu-button { display: grid; position: absolute; right: 1rem; bottom: -42px; z-index: 3; width: 46px; height: 42px; place-content: center; gap: 5px; border: 0; background: transparent; }
    .menu-button span:not(.sr-only) { width: 24px; height: 2px; background: #fff; }
    .main-navigation { min-height: 48px; justify-content: flex-start; }
    .main-navigation a { display: none; }
    .main-navigation a[aria-current="page"] { display: grid; padding-left: .25rem; background: transparent; color: #fff; }
    .main-navigation.is-open { position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; padding: .5rem; box-shadow: var(--shadow); }
    .main-navigation.is-open a { display: block; padding: .9rem 1rem; }
    .main-navigation.is-open .nav-request { margin: .25rem 0 0; }
    .hero { min-height: 470px; }
    .hero-content { bottom: 13%; }
    .hero-content a { display: none; }
    .intro-grid, .contact-page { grid-template-columns: 1fr; gap: 2rem; }
    .service-grid { grid-template-columns: 1fr; }
    .service-grid article { min-height: auto; border: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
    .service-grid h3 { margin-top: 1.5rem; }
    .project-gallery { grid-template-columns: repeat(2, 1fr); }
    .contact-page { min-height: 0; padding-block: 4rem; }
    .footer-inner { grid-template-columns: 1fr; padding-block: 2.5rem; }
    .site-footer nav { justify-content: start; }
    .footer-mail { grid-column: auto; }
}

@media (max-width: 520px) {
    .section-shell { width: min(calc(100% - 2rem), 1160px); }
    .brand { max-width: calc(100vw - 4.5rem); margin-left: 1rem; }
    .brand-crop { background-position: center -224px; }
    .hero { min-height: 390px; }
    .hero-content p { font-size: 2rem; }
    .hero-dots { left: 1rem; right: auto; }
    .section-heading { align-items: start; flex-direction: column; }
    .project-gallery { grid-template-columns: 1fr; }
    .project-card { min-height: 260px; }
    .request-card, .contact-card, .project-cta { padding: 2rem 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
