:root {
    --ink: #152238;
    --ink-soft: #41536e;
    --gold: #b8922a;
    --gold-light: #d4b04a;
    --gold-soft: #ede0b8;
    --paper: #f3f5f8;
    --white: #ffffff;
    --line: #d5dce8;
    --success: #1f6b4f;
    --danger: #8b2e2e;
    --shadow-sm: 0 8px 24px rgba(21, 34, 56, 0.08);
    --shadow: 0 20px 50px rgba(21, 34, 56, 0.14);
    --radius: 16px;
    --radius-sm: 10px;
    --font-display: "Playfair Display", Georgia, serif;
    --font-body: "Source Sans 3", system-ui, sans-serif;
    --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.06rem;
    line-height: 1.7;
    color: var(--ink-soft);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 0.18em; transition: color 0.2s; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.18;
    margin: 0 0 0.85rem;
    letter-spacing: -0.01em;
}
p { margin: 0 0 1.05rem; }
ul, ol { margin: 0 0 1.05rem; padding-left: 1.3rem; }
address { font-style: normal; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--gold);
    color: var(--ink);
    padding: 0.75rem 1rem;
    z-index: 9999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.55rem;
    border-radius: 999px;
    border: 2px solid transparent;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.98rem;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-primary {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--ink);
    border-color: var(--gold);
}
.btn-primary:hover { color: var(--ink); }
.btn-ghost {
    background: rgba(255,255,255,0.85);
    color: var(--ink);
    border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--ink); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(243, 245, 248, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(213, 220, 232, 0.9);
    box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
}
.header-shell {
    width: min(var(--max), calc(100% - 2.5rem));
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    min-width: 0;
}
.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
    font-family: var(--font-display);
    font-size: 1.18rem;
    color: var(--ink);
    font-weight: 600;
}
.brand-tag {
    font-size: 0.76rem;
    color: var(--ink-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    cursor: pointer;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    margin: 0 auto;
    position: relative;
}
.menu-btn span::before,
.menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }

.site-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; }
.nav-link {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink-soft);
    padding: 0.4rem 0;
}
.nav-link[aria-current="page"] {
    color: var(--ink);
    box-shadow: inset 0 -3px 0 var(--gold);
}

.hero {
    position: relative;
    background: linear-gradient(125deg, #0f1a2e 0%, #1a2f4f 48%, #243b5c 100%);
    color: #e8edf5;
    padding: 5rem 0 4.5rem;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(201,162,39,0.15), transparent 45%);
    pointer-events: none;
}
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}
.hero h1 {
    color: var(--white);
    font-size: clamp(2.1rem, 4.2vw, 3.35rem);
    margin-bottom: 1.1rem;
}
.hero-lead { font-size: 1.14rem; max-width: 36rem; color: #cdd8e8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.75rem; }
.hero-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: calc(var(--radius) + 2px);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.hero-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.hero-card figcaption {
    padding: 1.1rem 1.25rem;
    font-size: 0.92rem;
    color: #c5d2e4;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.kicker {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.85rem;
}
.hero .kicker { color: var(--gold-soft); }
.kicker::before {
    content: "";
    display: inline-block;
    width: 1.5rem;
    height: 2px;
    background: currentColor;
    vertical-align: middle;
    margin-right: 0.55rem;
}

.section { padding: 4.5rem 0; }
.section-tight { padding: 3rem 0; }
.section-alt {
    background: var(--white);
    border-block: 1px solid rgba(213, 220, 232, 0.65);
}
.section-head { max-width: 44rem; margin-bottom: 2.75rem; }
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); }

.cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
}
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card-body { padding: 1.35rem 1.45rem 1.6rem; }
.card-body h3 { font-size: 1.22rem; }
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.65rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--gold);
}
.card-link:hover { color: var(--ink); }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.split-reverse .split-media { order: 2; }
.figure-frame {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.8);
}
.figure-frame img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.figure-caption {
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    color: var(--ink-soft);
    background: var(--white);
    border-top: 1px solid var(--line);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
}
.step {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.35rem;
    box-shadow: var(--shadow-sm);
}
.step-num {
    display: inline-flex;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ink), #243b5c);
    color: var(--gold-light);
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.cta-band {
    background: linear-gradient(135deg, #0f1a2e, #1e3354);
    color: #dbe3ef;
    border-radius: calc(var(--radius) + 6px);
    padding: 2.75rem 2.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.08);
}
.cta-band h2 { color: var(--white); margin: 0; font-size: clamp(1.5rem, 2.5vw, 2rem); }

.page-banner {
    padding: 3.5rem 0;
    background: linear-gradient(180deg, #e8edf4 0%, var(--paper) 100%);
    border-bottom: 1px solid var(--line);
}
.page-banner-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    align-items: center;
}
.page-banner h1 { font-size: clamp(2rem, 3.6vw, 2.85rem); margin-bottom: 0.85rem; }
.page-banner-media {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 4px solid var(--white);
}
.page-banner-media img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }

.page-head {
    padding: 3rem 0 1.5rem;
}
.page-head h1 { font-size: clamp(2rem, 3.5vw, 2.8rem); }
.subtitle { font-size: 1.1rem; max-width: 44rem; color: var(--ink-soft); }

.prose-wide { max-width: 760px; }
.content-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.legal-doc h2 { margin-top: 2rem; font-size: 1.45rem; }
.legal-doc table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.95rem; }
.legal-doc th, .legal-doc td { border: 1px solid var(--line); padding: 0.7rem 0.8rem; text-align: left; vertical-align: top; }
.legal-doc th { background: #eef1f6; color: var(--ink); }
.legal-doc h3 { margin-top: 1.25rem; font-size: 1.15rem; }
.legal-contact { list-style: none; padding: 0; margin: 1rem 0; }

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.35rem;
}
.service-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-card img { width: 100%; height: 100%; object-fit: cover; min-height: 140px; }
.service-card-body { padding: 1.25rem 1.35rem; }
.service-card-body h3 { font-size: 1.12rem; margin-bottom: 0.45rem; }
.service-card-body h3 a { text-decoration: none; }
.service-card-body p { margin: 0; font-size: 0.98rem; }

.contact-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2rem;
    padding: 2rem 0 3rem;
}
.contact-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.65rem;
    box-shadow: var(--shadow-sm);
}
.contact-form {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.65rem;
    box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.4rem; color: var(--ink); }
.field-note { font-weight: 400; color: var(--ink-soft); font-size: 0.92rem; }
.field input,
.field textarea {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font: inherit;
    background: var(--paper);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184, 146, 42, 0.18);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-alert {
    background: #fdecec;
    border: 1px solid #efb4b4;
    color: var(--danger);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
}
.form-success {
    background: #ecf7f1;
    border: 1px solid #a8d4bc;
    border-radius: var(--radius);
    padding: 1.65rem;
}
.form-success h2 { color: var(--success); }

.map-section { padding-bottom: 4.5rem; }
.map-note { margin-bottom: 1rem; color: var(--ink-soft); }
.map-block {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.map-embed { width: 100%; height: 440px; border: 0; display: block; }

.site-footer {
    background: linear-gradient(180deg, #101b2d, #0d1626);
    color: #c5d0df;
    padding: 3.5rem 0 0;
}
.footer-grid {
    width: min(var(--max), calc(100% - 2.5rem));
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    gap: 2rem;
}
.footer-brand {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 0.85rem;
}
.footer-title {
    font-family: var(--font-body);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-soft);
    margin-bottom: 0.9rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.45rem; }
.footer-links a { color: #dbe3ef; text-decoration: none; }
.footer-links a:hover { color: var(--gold-light); }
.footer-base {
    margin-top: 2.25rem;
    padding: 1.35rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.92rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
}
.cookie-inner {
    width: min(var(--max), calc(100% - 2.5rem));
    margin-inline: auto;
    padding: 1.35rem 0;
}
.cookie-inner h2 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }

.error-page { padding: 4rem 0 5rem; }
.error-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    text-align: left;
}

@media (max-width: 960px) {
    .hero-grid, .split, .contact-layout, .cards-3, .steps, .service-grid,
    .page-banner-grid, .error-layout { grid-template-columns: 1fr; }
    .service-card { grid-template-columns: 1fr; }
    .service-card img { aspect-ratio: 16/9; min-height: auto; }
    .split-reverse .split-media { order: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        padding: 1rem 1.25rem;
        display: none;
        box-shadow: var(--shadow-sm);
    }
    .site-nav.open { display: flex; }
    .site-header { position: relative; }
    .brand-tag { display: none; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn:hover, .card:hover, .service-card:hover { transform: none; }
}
