:root {
    --navy: #0c1a2e;
    --navy-light: #152642;
    --gold: #c9a962;
    --gold-light: #dfc88a;
    --cream: #f7f4ef;
    --white: #ffffff;
    --text: #2a3342;
    --text-muted: #5c6678;
    --border: #dde3ea;
    --radius: 6px;
    --shadow: 0 18px 50px rgba(12, 26, 46, 0.12);
    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-body: "Source Sans 3", system-ui, sans-serif;
    --max-width: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--cream);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--gold); }

.container {
    width: min(100% - 2.5rem, var(--max-width));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--gold);
    color: var(--navy);
    padding: 0.75rem 1rem;
    z-index: 9999;
    font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
    background: var(--navy);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(201, 169, 98, 0.25);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 4.5rem;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--white);
}
.logo:hover { color: var(--gold-light); }

.logo-mark {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--gold);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--gold);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.primary-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
}

.nav-link {
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
}
.nav-link:hover,
.nav-link[aria-current="page"] {
    color: var(--gold-light);
    border-bottom-color: var(--gold);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.nav-toggle span {
    display: block;
    width: 1.5rem;
    height: 2px;
    background: var(--white);
    margin: 5px 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}
.btn-primary:hover {
    background: var(--gold-light);
    color: var(--navy);
}
.btn-secondary {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn-secondary:hover {
    background: var(--navy);
    color: var(--white);
}
.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 5rem 0 4rem;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}
.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    color: var(--gold);
    font-weight: 600;
    margin: 0 0 1rem;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.12;
    margin: 0 0 1.25rem;
    font-weight: 600;
}
.hero-lead {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.88);
    margin: 0 0 2rem;
    max-width: 36rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(201,169,98,0.3);
}
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 280px;
}

/* Sections */
.section { padding: 4.5rem 0; }
.section-dark {
    background: var(--navy);
    color: var(--white);
}
.section-light { background: var(--white); }

.section-header {
    max-width: 42rem;
    margin-bottom: 2.5rem;
}
.section-header.centered {
    text-align: center;
    margin-inline: auto;
}
.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    color: var(--gold);
    font-weight: 700;
    margin: 0 0 0.75rem;
}
.section-dark .section-eyebrow { color: var(--gold-light); }
h2 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    line-height: 1.2;
    margin: 0 0 1rem;
    font-weight: 600;
    color: var(--navy);
}
.section-dark h2 { color: var(--white); }
h3 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    margin: 0 0 0.75rem;
    color: var(--navy);
}
.section-dark h3 { color: var(--gold-light); }

/* Cards grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(12,26,46,0.04);
}
.card.has-media {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.card.has-media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center 35%;
}
.card-body { padding: 1.5rem 1.75rem 1.75rem; }
.card-body p { margin: 0; }
.card-body a { display: inline-block; margin-top: 0.85rem; font-weight: 600; }
.card-icon {
    width: 3rem;
    height: 3rem;
    background: var(--cream);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
    border: 1px solid var(--border);
}
.card p { color: var(--text-muted); margin: 0; }

/* Process */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    counter-reset: step;
}
.process-step {
    position: relative;
    padding-top: 3rem;
}
.process-step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: 0;
    left: 0;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.7;
}

/* Stats band */
.stats-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    padding: 3rem 0;
}
.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
}
.stat-label {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.82);
}

/* Split content */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
.split figure img {
    width: 100%;
    min-height: 280px;
    object-fit: cover;
    border-radius: var(--radius);
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}
.testimonial {
    background: var(--white);
    border-left: 4px solid var(--gold);
    padding: 1.75rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: 0 4px 16px rgba(12,26,46,0.06);
}
.testimonial blockquote {
    margin: 0 0 1rem;
    font-style: italic;
    color: var(--text);
}
.testimonial cite {
    font-style: normal;
    font-weight: 600;
    color: var(--navy);
    font-size: 0.92rem;
}

/* CTA */
.cta-band {
    background: linear-gradient(90deg, var(--navy-light), var(--navy));
    color: var(--white);
    padding: 3.5rem 0;
    text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-band p {
    max-width: 36rem;
    margin: 0 auto 1.75rem;
    color: rgba(255,255,255,0.88);
}

/* Page hero */
.page-hero {
    background: var(--navy);
    color: var(--white);
    padding: 3.5rem 0 2.5rem;
}
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin: 0 0 0.75rem;
}
.page-hero p {
    max-width: 40rem;
    color: rgba(255,255,255,0.85);
    margin: 0;
}

/* Content prose */
.prose { max-width: 46rem; }
.prose-wide { max-width: 52rem; }
.prose p, .prose li { color: var(--text-muted); }
.prose h2 { margin-top: 2.5rem; }
.prose ul { padding-left: 1.25rem; }

/* Pricing hint */
.pricing-note {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem 0;
}
.pricing-note strong { color: var(--navy); }

/* Case studies */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}
.case-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}
.case-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.case-body { padding: 1.5rem; }
.case-tag {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    font-weight: 700;
}

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}
.contact-details address { font-style: normal; }
.contact-details p { margin: 0 0 0.75rem; }

.contact-form .form-field { margin-bottom: 1.25rem; }
.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--navy);
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font: inherit;
    background: var(--white);
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--gold);
    outline-offset: 1px;
}
.honeypot {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}
.req { color: #b45309; }
.form-alert {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
}
.form-alert ul { margin: 0; padding-left: 1.25rem; }
.form-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.map-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    min-height: 320px;
    background: var(--cream);
}
.map-placeholder {
    display: grid;
    place-items: center;
    min-height: 320px;
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
}
.map-frame {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}
.contact-photo {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: var(--radius);
    margin: 0 0 1.25rem;
}

/* Legal pages */
.legal-content {
    background: var(--white);
    padding: 3rem 0 4rem;
}
.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
}
.legal-content h3 {
    font-size: 1.15rem;
    margin-top: 1.5rem;
}

/* Footer */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.82);
    padding: 3.5rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
}
.footer-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--white);
    margin: 0 0 0.5rem;
}
.footer-tagline { margin: 0; font-size: 0.95rem; }
.footer-heading {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin: 0 0 1rem;
}
.footer-contact address p { margin: 0 0 0.5rem; }
.site-footer a { color: rgba(255,255,255,0.88); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-links ul,
.footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li,
.footer-legal li { margin-bottom: 0.5rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 1.25rem 0;
    font-size: 0.88rem;
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 30px rgba(12,26,46,0.12);
    z-index: 200;
    padding: 1.25rem;
}
.cookie-inner {
    width: min(100% - 2rem, var(--max-width));
    margin-inline: auto;
}
.cookie-banner h2 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
}
.cookie-banner p {
    margin: 0 0 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* 404 */
.error-page {
    text-align: center;
    padding: 5rem 0;
}
.error-page h1 {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--gold);
    margin: 0;
}

/* Responsive */
@media (max-width: 960px) {
    .hero-grid,
    .split,
    .contact-layout,
    .footer-grid { grid-template-columns: 1fr; }
    .cards-grid,
    .case-grid,
    .process-steps,
    .stats-band { grid-template-columns: 1fr 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .split-reverse { direction: ltr; }
}

@media (max-width: 720px) {
    .nav-toggle { display: block; }
    .primary-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy-light);
        flex-direction: column;
        padding: 1rem 1.25rem 1.5rem;
        border-top: 1px solid rgba(201,169,98,0.2);
    }
    .primary-nav.is-open { display: flex; }
    .site-header { position: relative; }
    .cards-grid,
    .case-grid,
    .process-steps,
    .stats-band,
    .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
