:root {
    --brand: #296f87;
    --brand-dark: #1d5266;
    --brand-deep: #133a49;
    --accent: #f2a516;
    --ice: #e9f4f8;
    --ink: #1c2b33;
    --muted: #5b6b73;
    --line: #dde7ec;
    --bg: #ffffff;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(19, 58, 73, .06), 0 8px 24px rgba(19, 58, 73, .08);
    --head: "Maven Pro", system-ui, sans-serif;
    --body: "Lato", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--head); line-height: 1.2; color: var(--brand-deep); margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.sr-only, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; padding: .5rem 1rem; }
.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2.5rem); }
.center { text-align: center; }
.icon { width: 1.2em; height: 1.2em; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .85em 1.5em; border-radius: 999px; background: var(--brand); color: #fff; font-family: var(--head); font-weight: 600; text-decoration: none; border: 0; cursor: pointer; font-size: 1rem; transition: background .2s, transform .2s; }
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn .icon { width: 1.05em; height: 1.05em; }
.btn-light { background: #fff; color: var(--brand-deep); }
.btn-light:hover { background: var(--ice); }
.btn-sm { padding: .55em 1.1em; font-size: .92rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(19, 58, 73, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; }
.logo img { height: 72px; width: auto; }
.logo strong { font-family: var(--head); color: var(--brand-deep); font-size: 1.25rem; }
.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .15rem; margin: 0; padding: 0; }
.nav ul a { display: block; padding: .5em .75em; border-radius: 8px; font-family: var(--head); font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; transition: background .2s, color .2s; }
.nav ul a:hover { background: var(--ice); color: var(--brand); }
.nav ul a.active { color: var(--brand); background: var(--ice); }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; width: 26px; height: 2px; margin: 6px 0; background: var(--brand-deep); transition: transform .25s, opacity .25s; }

@media (max-width: 1080px) {
    .nav-toggle { display: block; }
    .nav { position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch; background: #fff; padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(19, 58, 73, .12); transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility .3s; max-height: calc(100vh - 84px); overflow-y: auto; }
    .nav.open { transform: none; visibility: visible; }
    .nav ul { flex-direction: column; }
    .nav ul a { padding: .8em .75em; font-size: 1.05rem; }
    .nav-call { justify-content: center; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* Hero */
.hero { position: relative; isolation: isolate; color: #fff; padding: clamp(4rem, 9vw, 7rem) 0; background: var(--brand-deep); overflow: hidden; }
.hero-large { min-height: min(78vh, 720px); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(19, 58, 73, .88) 0%, rgba(19, 58, 73, .6) 45%, rgba(19, 58, 73, .15) 100%); }
.hero-content { max-width: 1180px; }
.hero h1, .hero h2 { color: #fff; max-width: 15ch; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.hero:not(.hero-large) h1, .hero:not(.hero-large) h2 { max-width: 22ch; font-size: clamp(2rem, 4vw, 3rem); }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 40ch; opacity: .92; margin-bottom: 1.8rem; }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section + .section:not(.tinted) { padding-top: 0; }
.tinted + .section, .cta + .section, .hero + .section { padding-top: clamp(3.5rem, 7vw, 6rem) !important; }
.tinted { background: var(--ice); }
.section-head { max-width: 680px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.prose { color: #33444c; }
.prose p:last-child { margin-bottom: 0; }
.prose ul { padding-left: 1.2em; }
.prose + .btn { margin-top: 1.6rem; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-reverse .split-media { order: -1; }
.split-noimg { grid-template-columns: 1fr; max-width: 820px; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 860px) {
    .split { grid-template-columns: 1fr; }
    .split-reverse .split-media { order: 0; }
}

/* Cards / features */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.feature { text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
a.feature:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(19, 58, 73, .14); }
.feature p { color: var(--muted); margin: 0; }
.feature .more { margin-top: auto; padding-top: 1.2rem; display: inline-flex; align-items: center; gap: .4em; color: var(--brand); font-weight: 700; font-family: var(--head); }
.feature-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--ice); color: var(--brand); margin-bottom: 1.2rem; flex: none; }
.feature-icon .icon { width: 26px; height: 26px; }

/* FAQ */
.faq { display: grid; gap: .8rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 1.5rem; font-family: var(--head); font-weight: 600; font-size: 1.08rem; color: var(--brand-deep); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--brand); transition: transform .25s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq-answer { padding: 0 1.5rem 1.4rem; color: #33444c; }

/* CTA */
.cta { background: linear-gradient(120deg, var(--brand-deep), var(--brand)); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { opacity: .9; margin: 0; max-width: 60ch; }

/* Brands */
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }
.brand { padding: 1.5rem; text-align: center; }
.brand-logo { height: 110px; display: grid; place-items: center; margin-bottom: 1rem; }
.brand-logo img { max-height: 100%; max-width: 80%; object-fit: contain; }
.brand p { color: var(--muted); font-size: .95rem; margin: 0; }
.brands-compact { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.brands-compact .brand-logo { margin: 0; height: 80px; }

/* Projects & gallery */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 860px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .projects { grid-template-columns: 1fr; } }
.project, .gallery-item { position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--ice); aspect-ratio: 4 / 5; }
.project img, .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project:hover img, .gallery-item:hover img { transform: scale(1.05); }
.project-info { position: absolute; inset: auto 0 0 0; padding: 2.5rem 1.2rem 1rem; color: #fff; text-align: left; background: linear-gradient(transparent, rgba(19, 58, 73, .85)); display: flex; justify-content: space-between; align-items: end; gap: .5rem; font-family: var(--head); }
.project-info strong { font-size: 1.1rem; }
.project-info span { font-size: .85rem; opacity: .85; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.gallery-item { aspect-ratio: 1; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8, 20, 26, .94); display: grid; place-items: center; padding: 3.5rem 4rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 7rem); object-fit: contain; border-radius: 6px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1rem; top: 50%; translate: 0 -50%; }
.lb-caption { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: #fff; font-family: var(--head); }
@media (max-width: 640px) { .lightbox { padding: 3.5rem .5rem; } .lb-prev, .lb-next { top: auto; bottom: 1rem; translate: none; } }

/* Testimonial */
.testimonial { margin: 0 auto; text-align: center; }
.quote-icon { width: 44px; height: 44px; color: var(--brand); margin: 0 auto 1rem; opacity: .5; }
.testimonial blockquote { margin: 0 0 1rem; font-family: var(--head); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.45; color: var(--brand-deep); font-weight: 500; }
.testimonial figcaption { color: var(--muted); font-weight: 700; }

/* Certificates */
.certs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2.5rem; margin-top: 1.5rem; }
.certs img { height: 90px; width: auto; object-fit: contain; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; }
.contact-list .feature-icon { margin: 0; width: 48px; height: 48px; }
.contact-list small { display: block; color: var(--muted); font-size: .85rem; }
.contact-list a { color: var(--ink); font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: var(--brand); }
.map { width: 100%; height: 240px; border: 0; border-radius: var(--radius); margin-top: 1.5rem; }
.contact-form h3 { font-size: 1.4rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-weight: 700; font-size: .92rem; }
.field input, .field textarea { font: inherit; padding: .8em 1em; border: 1px solid #c9d6dc; border-radius: 10px; background: #fbfdfe; transition: border-color .2s, box-shadow .2s; width: 100%; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(41, 111, 135, .18); }
.error { color: #b42318; font-size: .88rem; }
.alert { display: flex; gap: 1rem; align-items: flex-start; background: #ecfdf3; color: #054f31; border-radius: 10px; padding: 1.2rem; }
.alert .icon { width: 28px; height: 28px; color: #12b76a; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } }

/* Socials */
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: background .2s; }
.socials a:hover { background: rgba(255, 255, 255, .22); }
.socials-dark a { background: var(--ice); color: var(--brand); }
.socials-dark a:hover { background: var(--brand); color: #fff; }

/* Footer */
.site-footer { background: var(--brand-deep); color: rgba(255, 255, 255, .8); padding-top: 4rem; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1.2fr; gap: 2.5rem; }
.footer-title { color: #fff; font-size: 1.1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact, .footer-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact .icon { margin-top: .2em; color: var(--accent); }
.footer-certs { display: flex; flex-wrap: wrap; gap: .8rem; }
.footer-certs img { height: 64px; width: auto; background: #fff; border-radius: 8px; padding: 6px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding: 1.4rem 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; color: rgba(255, 255, 255, .6); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

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