:root {
    --navy: #0c1f33;
    --navy-mid: #16324f;
    --blue: #1d4f7a;
    --blue-light: #3d7ab3;
    --orange: #e85d1c;
    --orange-dark: #c44b14;
    --cream: #f4efe6;
    --paper: #fbf8f2;
    --white: #ffffff;
    --ink: #1a1a1a;
    --muted: #5c6570;
    --line: #d9d2c6;
    --whatsapp: #25d366;
    --shadow: 0 12px 40px rgba(12, 31, 51, 0.12);
    --radius: 14px;
    --font-sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --font-serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    --max: 1140px;
    --header-offset: 7.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    font-size: 1.05rem;
    padding-bottom: 4.5rem;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--orange-dark); }
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: var(--navy);
    line-height: 1.2;
    margin: 0 0 0.6em;
    font-weight: 600;
}
h1 { font-size: clamp(2rem, 4vw, 3.15rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.15rem; }

.container { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.section { padding: 4rem 0; }
.section-alt { background: var(--cream); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 42rem; }

.visually-hidden {
    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 {
    position: absolute; left: 1rem; top: -4rem; background: var(--orange); color: #fff;
    padding: 0.5rem 0.8rem; z-index: 200; border-radius: 6px;
}
.crumbs { font-size: 0.88rem; padding: 0.75rem 0 0; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem; padding: 0; margin: 0; }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: 0.4rem; opacity: 0.55; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--orange-dark); }
.crumbs [aria-current="page"] { color: var(--navy); font-weight: 600; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
    padding: 0.65rem 1.15rem; border-radius: 999px; font-weight: 600;
    text-decoration: none; border: 2px solid transparent; cursor: pointer;
    font-family: inherit; font-size: 0.95rem; line-height: 1.2;
}
.btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--orange-dark); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: 0.85rem 1.4rem; font-size: 1rem; }
.hero-buttons, .cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.topbar {
    background: var(--navy);
    color: #d7e2ee;
    font-size: 0.88rem;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #ffd2bc; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.45rem 0; }
.topbar-nap { margin: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.topbar-wa { font-weight: 700; color: var(--whatsapp) !important; }

.header {
    background: var(--navy-mid);
    position: sticky; top: 0; z-index: 80;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; }
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo img {
    height: 48px;
    width: auto;
    mix-blend-mode: screen;
}
.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav-links {
    display: flex; gap: 1.15rem; list-style: none; margin: 0; padding: 0;
}
.nav-links a { color: #eef3f8; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav-links a[aria-current="page"], .nav-links a:hover { color: #ffd2bc; }
.nav-mobile-only { display: none; }
.nav-actions { display: flex; gap: 0.5rem; }
.menu-btn {
    display: none; width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer;
}
.menu-btn span {
    display: block; height: 2px; background: #fff; margin: 6px 8px; border-radius: 2px;
}

.hero {
    position: relative; color: #fff;
    min-height: min(78vh, 640px);
    display: grid; align-items: end;
    background: var(--navy) center/cover no-repeat;
}
.hero::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(12,31,51,.86) 8%, rgba(12,31,51,.35) 70%);
}
.hero-inner { position: relative; z-index: 1; padding: 4.5rem 0 3.2rem; max-width: 38rem; }
.eyebrow {
    text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem;
    font-weight: 700; color: #ffd2bc; margin-bottom: 0.6rem;
}
.hero h1 { color: #fff; }
.hero p { color: #dce6f0; font-size: 1.12rem; }

.page-hero {
    background: var(--navy); color: #fff; padding: 3.2rem 0 2.4rem;
}
.page-hero h1, .page-hero p { color: inherit; }
.page-hero p { color: #d7e2ee; max-width: 42rem; }

.brochure-wrap { padding: 4rem 0 3rem; }
.brochure {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
}
.brochure-stage {
    position: relative;
    aspect-ratio: 16 / 10;
    perspective: 1800px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #111;
}
.brochure-page {
    position: absolute; inset: 0;
    transform-origin: left center;
    backface-visibility: hidden;
    transition: transform 0.85s cubic-bezier(.22,.61,.36,1), opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
}
.brochure-page.is-current { opacity: 1; pointer-events: auto; z-index: 3; transform: rotateY(0deg); }
.brochure-page.is-next { opacity: 1; z-index: 1; }
.brochure-page.is-turned { opacity: 1; z-index: 4; transform: rotateY(-180deg); }
.brochure-page img { width: 100%; height: 100%; object-fit: cover; }
.brochure-caption {
    position: absolute; left: 1.2rem; bottom: 1.2rem; right: 1.2rem;
    background: rgba(12,31,51,.78); color: #fff;
    padding: 0.75rem 1rem; border-radius: 10px;
    font-family: var(--font-serif); font-size: 1.15rem;
}
.brochure-caption small { display: block; font-family: var(--font-sans); opacity: .85; font-size: 0.85rem; }
.brochure-nav {
    display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; gap: 1rem;
}
.brochure-dots { display: flex; gap: 0.4rem; justify-content: center; flex: 1; }
.brochure-dots button {
    width: 10px; height: 10px; border-radius: 50%; border: 0; background: #c9c0b3; cursor: pointer; padding: 0;
}
.brochure-dots button.is-active { background: var(--orange); }
.brochure-nav .btn { min-width: 7rem; }

@media (prefers-reduced-motion: reduce) {
    .brochure-page { transform: none !important; }
    .brochure-page.is-turned { opacity: 0; }
}

.services-grid, .why-grid, .area-grid, .offer-grid, .project-grid, .review-grid {
    display: grid; gap: 1.1rem;
}
.services-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.service-card, .why-card, .offer-card, .project-card, .review-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; box-shadow: 0 4px 16px rgba(12,31,51,.05);
}
.service-card a, .project-card a { color: inherit; text-decoration: none; display: block; }
.service-card img, .project-card img, .split-media img { width: 100%; height: 170px; object-fit: cover; }
.project-card img { height: 210px; }
.service-card div, .offer-card, .why-card, .project-card figcaption { padding: 1.05rem 1.15rem 1.2rem; }
.service-card h3, .offer-card h3, .project-card h3 { margin-bottom: 0.35rem; }
.service-card:hover, .project-card:hover { transform: translateY(-3px); transition: transform .2s ease; }

.why-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.why-card { padding: 1.2rem; }
.area-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.area-card { background: #fff; border-radius: var(--radius); padding: 1.1rem 1.2rem; border: 1px solid var(--line); }
.area-card h3 { margin-bottom: 0.4rem; }
.area-card ul { margin: 0; padding-left: 1rem; color: var(--muted); }

.also-note {
    margin-top: 1.5rem; padding: 1rem 1.2rem; background: #fff; border-left: 4px solid var(--blue);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.trust-strip {
    list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem; padding: 0; margin: 0; align-items: center; text-align: center;
}
.trust-strip img { margin: 0 auto 0.6rem; max-height: 72px; width: auto; }
.trust-strip p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.review-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.review-card { padding: 1.3rem 1.35rem; margin: 0; }
.review-card p { font-family: var(--font-serif); font-size: 1.05rem; }
.review-card footer { color: var(--muted); font-size: 0.9rem; }
.review-card strong { display: block; color: var(--navy); }

.cta-band { background: var(--navy-mid); color: #fff; padding: 3rem 0; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-inner { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; flex-wrap: wrap; }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center; }
.split-rev { grid-template-columns: 0.9fr 1.1fr; }
.split-media img { height: auto; min-height: 260px; border-radius: var(--radius); object-fit: cover; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; padding: 0; }
.steps li { background: #fff; border-radius: var(--radius); padding: 1.15rem; border: 1px solid var(--line); }
.step-num { font-family: var(--font-serif); color: var(--orange); font-size: 1.4rem; font-weight: 700; }

.offer-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.offer-card { padding: 1.2rem; }

.project-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.project-card figcaption span { color: var(--muted); font-size: 0.9rem; }

.faq-list { display: grid; gap: 0.7rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0.85rem 1rem; }
.faq-item summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.faq-item p { margin: 0.7rem 0 0.2rem; }

.quote-form, .nap-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.4rem; box-shadow: var(--shadow);
}
.quote-form { margin-bottom: 3rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.form-grid label, .quote-form label { display: grid; gap: 0.3rem; font-weight: 600; font-size: 0.92rem; }
.form-grid input, .form-grid select, .form-grid textarea, .quote-form input, .quote-form select, .quote-form textarea {
    width: 100%; padding: 0.65rem 0.75rem; border: 1px solid #cfc8bb; border-radius: 8px;
    font: inherit; background: var(--paper);
}
.span-2 { grid-column: span 2; }
.quote-form label.quote-terms {
    display: flex; align-items: flex-start; gap: 0.55rem; font-weight: 600;
}
.quote-form label.quote-terms input {
    width: 1.05rem; height: 1.05rem; margin-top: 0.15rem; padding: 0; flex: 0 0 auto;
}
.form-lede, .form-note { color: var(--muted); font-size: 0.95rem; }
.form-alert { padding: 0.85rem 1rem; border-radius: 8px; }
.form-alert-ok { background: #e8f6ee; }
.form-alert-error { background: #fdecea; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1.5rem; align-items: start; }
.nap-card h2 { margin-top: 0; }
.nap-card a { font-weight: 600; }

.prose { max-width: 46rem; }
.prose h2 { margin-top: 1.8rem; }
.team-note { display: grid; grid-template-columns: 120px 1fr; gap: 1.2rem; align-items: center; background: #fff; padding: 1.1rem; border-radius: var(--radius); border: 1px solid var(--line); }
.team-note img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; }

.footer { background: #081522; color: #c5d0db; padding: 3rem 0 1.4rem; }
.footer h2 { color: #fff; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.footer a { color: #e8eef4; text-decoration: none; }
.footer a:hover { color: #ffd2bc; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 1.6rem; }
.footer-logo { height: 48px; width: auto; margin-bottom: 0.8rem; mix-blend-mode: screen; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.35rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; }
.footer-social { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1rem; }
.footer-bottom { border-top: 1px solid #1d3348; margin-top: 2rem; padding-top: 1rem; font-size: 0.88rem; }

.wa-float {
    position: fixed; right: 1rem; bottom: 1rem; z-index: 90;
    background: var(--whatsapp); color: #fff; text-decoration: none;
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.7rem 1rem; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
    font-weight: 700;
}
.wa-float:hover { color: #fff; filter: brightness(1.05); }

.stats { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1.4rem 0; }
.stat strong { display: block; font-size: 1.7rem; font-family: var(--font-serif); color: var(--navy); }

@media (max-width: 900px) {
    .split, .split-rev, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
    .nav-actions { display: none; }
    .menu-btn { display: block; }
    .nav-links {
        display: none; position: absolute; right: 1rem; top: calc(100% + 0.4rem);
        background: var(--navy); flex-direction: column; padding: 1rem 1.2rem;
        border-radius: 12px; min-width: 220px; box-shadow: var(--shadow);
    }
    .nav-links.is-open { display: flex; }
    .nav-mobile-only { display: block; }
    .header { position: relative; }
    .topbar-hide-sm { display: none; }
    .form-grid, .span-2 { grid-template-columns: 1fr; }
    .span-2 { grid-column: auto; }
    .team-note { grid-template-columns: 1fr; }
    .brochure-stage { aspect-ratio: 4 / 3; }
}

@media (max-width: 520px) {
    .wa-float span:last-child { display: none; }
    .wa-float { width: 56px; height: 56px; justify-content: center; padding: 0; border-radius: 50%; }
    .hero { min-height: 70vh; }
}
