:root {
    --bg: #f4f0e8;
    --bg-strong: #ebe6db;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-strong: #ffffff;
    --line: rgba(16, 38, 63, 0.12);
    --line-strong: rgba(16, 38, 63, 0.22);
    --text: #10263f;
    --muted: #536273;
    --accent: #10263f;
    --accent-soft: #1d3a5a;
    --highlight: #b4935f;
    --shadow: 0 24px 60px rgba(16, 38, 63, 0.08);
    --shadow-soft: 0 18px 36px rgba(16, 38, 63, 0.06);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: min(1180px, calc(100vw - 2.5rem));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at top right, rgba(180, 147, 95, 0.12), transparent 30%),
        radial-gradient(circle at 10% 20%, rgba(29, 58, 90, 0.08), transparent 28%),
        linear-gradient(180deg, #f8f4ed 0%, var(--bg) 45%, var(--bg-strong) 100%);
    color: var(--text);
    font-family: "Segoe UI", "Helvetica Neue", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea {
    font: inherit;
}

.page-shell {
    position: relative;
    overflow: clip;
}

.page-shell::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 50%;
    width: 48rem;
    height: 48rem;
    background: radial-gradient(circle, rgba(29, 58, 90, 0.08), transparent 60%);
    transform: translateX(-10%);
    pointer-events: none;
    filter: blur(20px);
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(16px);
    background: rgba(248, 244, 237, 0.72);
    border-bottom: 1px solid rgba(16, 38, 63, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: linear-gradient(135deg, rgba(16, 38, 63, 0.96), rgba(29, 58, 90, 0.85));
    color: #f8f4ed;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.brand-copy {
    display: flex;
    align-items: center;
}

.brand-copy strong {
    display: block;
    font-size: 0.98rem;
    line-height: 1.2;
}

.site-nav {
    display: inline-flex;
    align-items: center;
    gap: 1.35rem;
    color: var(--muted);
    font-size: 0.94rem;
}

.site-nav a,
.language-switcher a,
.button,
.content-card,
.fact-card,
.contact-card,
.hero-panel,
input,
textarea {
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        background-color 220ms ease,
        color 220ms ease,
        box-shadow 220ms ease,
        opacity 220ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--text);
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.56);
}

.language-switcher a {
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.language-switcher a.is-active,
.language-switcher a:hover,
.language-switcher a:focus-visible {
    background: var(--accent);
    color: #f8f4ed;
}

.hero-section {
    padding: 5.5rem 0 3.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 2rem;
    align-items: stretch;
}

.hero-copy,
.hero-panel,
.form-panel,
.contact-card,
.content-card,
.fact-card {
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
}

.hero-copy {
    padding: clamp(2rem, 5vw, 4.5rem);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.hero-copy::before {
    content: "";
    position: absolute;
    inset: auto auto -20% -10%;
    width: 18rem;
    height: 18rem;
    background: radial-gradient(circle, rgba(180, 147, 95, 0.12), transparent 70%);
    pointer-events: none;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1rem;
    color: var(--accent-soft);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-kicker::before {
    content: "";
    width: 2.3rem;
    height: 1px;
    background: linear-gradient(90deg, var(--highlight), transparent);
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    max-width: 12ch;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    max-width: 18ch;
}

h3 {
    font-size: 1.22rem;
}

p {
    margin: 0;
    color: var(--muted);
}

.hero-description,
.section-intro {
    max-width: 62ch;
    font-size: 1.06rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 3.25rem;
    padding: 0.9rem 1.35rem;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(16, 38, 63, 0.12);
}

.button-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-soft));
    color: #f8f4ed;
}

.button-secondary {
    background: rgba(255, 255, 255, 0.4);
    color: var(--text);
}

.button-full {
    width: 100%;
}

.hero-panel {
    position: relative;
    padding: 2rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: auto -10% -20% auto;
    width: 15rem;
    height: 15rem;
    background: radial-gradient(circle, rgba(16, 38, 63, 0.12), transparent 65%);
    pointer-events: none;
}

.hero-panel__header {
    display: grid;
    gap: 0.5rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid var(--line);
}

.hero-panel__eyebrow {
    color: var(--highlight);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-highlights {
    display: grid;
    gap: 1rem;
    margin-top: 1.4rem;
}

.hero-highlight {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(16, 38, 63, 0.08);
}

.hero-highlight:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.hero-highlight__value {
    display: inline-block;
    margin-bottom: 0.45rem;
    color: var(--text);
    font-size: 1.15rem;
    font-weight: 700;
}

.section {
    padding: 3.5rem 0;
}

.section-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: start;
}

.section-heading {
    display: grid;
    gap: 1rem;
}

.section-heading--center {
    justify-items: center;
    text-align: center;
    margin-bottom: 2rem;
}

.about-content {
    display: grid;
    gap: 1.2rem;
}

.fact-grid,
.card-grid {
    display: grid;
    gap: 1rem;
}

.fact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0.6rem;
}

.fact-card {
    padding: 1.15rem 1.2rem;
    border-radius: var(--radius-md);
}

.fact-card span {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.fact-card strong {
    font-size: 1rem;
}

.services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.why-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.content-card {
    position: relative;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.content-card:hover,
.content-card:focus-within,
.fact-card:hover,
.contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 38, 63, 0.2);
    box-shadow: var(--shadow);
}

.content-card__index {
    display: inline-block;
    margin-bottom: 1.1rem;
    color: var(--highlight);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.content-card--compact {
    min-height: 100%;
}

.content-card h3 {
    margin-bottom: 0.75rem;
}

.section-contact {
    padding-bottom: 5.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 2rem;
    align-items: start;
}

.contact-copy {
    display: grid;
    gap: 1.25rem;
}

.contact-card {
    display: inline-flex;
    flex-direction: column;
    gap: 0.35rem;
    width: fit-content;
    min-width: min(100%, 20rem);
    padding: 1.2rem 1.35rem;
    border-radius: var(--radius-md);
}

.contact-card span {
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-card a {
    font-size: 1.05rem;
    font-weight: 600;
}

.contact-card__text {
    color: var(--text);
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.55;
    white-space: pre-line;
}

.form-panel {
    padding: 1.6rem;
    border-radius: var(--radius-xl);
}

.status-banner {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1.2rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    border: 1px solid;
}

.status-banner p {
    color: inherit;
}

.status-banner--success {
    background: rgba(33, 94, 71, 0.1);
    border-color: rgba(33, 94, 71, 0.22);
    color: #215e47;
}

.status-banner--error {
    background: rgba(133, 43, 43, 0.08);
    border-color: rgba(133, 43, 43, 0.18);
    color: #7a2c2c;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.form-row {
    display: grid;
    gap: 0.45rem;
}

.form-row label {
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 600;
}

input,
textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.72);
    color: var(--text);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: rgba(16, 38, 63, 0.35);
    box-shadow: 0 0 0 4px rgba(16, 38, 63, 0.08);
}

textarea {
    resize: vertical;
    min-height: 10rem;
}

.captcha-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
}

.captcha-question {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.15rem;
    padding: 0 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.56);
    color: var(--text);
    font-weight: 700;
    white-space: nowrap;
}

.form-help,
.form-note {
    color: var(--muted);
    font-size: 0.88rem;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.site-footer {
    border-top: 1px solid rgba(16, 38, 63, 0.08);
    background: rgba(255, 255, 255, 0.4);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 0 2rem;
}

.footer-inner p {
    font-size: 0.92rem;
}

.footer-legal-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.9rem 1.15rem;
}

.footer-legal-nav a,
.footer-link-button {
    display: inline-flex;
    align-items: center;
    min-height: 2.35rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(16, 38, 63, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.56);
    color: var(--muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        background-color 220ms ease,
        color 220ms ease,
        box-shadow 220ms ease;
}

.footer-legal-nav a:hover,
.footer-legal-nav a:focus-visible,
.footer-link-button:hover,
.footer-link-button:focus-visible {
    color: var(--text);
    transform: translateY(-1px);
    border-color: rgba(16, 38, 63, 0.2);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 24px rgba(16, 38, 63, 0.08);
}

.footer-link-button {
    appearance: none;
    cursor: pointer;
}

.footer-copyright {
    margin-left: auto;
    max-width: 30rem;
    text-align: right;
}

.policy-main {
    padding: 2rem 0 5.5rem;
}

.policy-hero {
    padding: 3rem 0 1.5rem;
}

.policy-hero__inner {
    display: grid;
    gap: 1rem;
    padding: clamp(1.75rem, 4vw, 3rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
}

.policy-intro,
.policy-updated {
    max-width: 70ch;
}

.policy-updated {
    font-size: 0.92rem;
}

.policy-content {
    padding-top: 1rem;
}

.policy-grid {
    display: grid;
    gap: 1rem;
}

.policy-card {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
}

.policy-card h2 {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    max-width: none;
}

.policy-list {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--muted);
}

.policy-list li + li {
    margin-top: 0.55rem;
}

.policy-list li {
    white-space: pre-line;
}

.cookie-consent {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 60;
    width: min(23rem, calc(100vw - 1.5rem));
    pointer-events: none;
}

.cookie-consent__card[hidden],
.cookie-preferences[hidden] {
    display: none;
}

.cookie-notice-dismissed .cookie-consent[data-cookie-state="pending"] .cookie-consent__card {
    display: none;
}

.cookie-consent__card {
    pointer-events: auto;
    position: relative;
    display: grid;
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid var(--line-strong);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 18px 42px rgba(16, 38, 63, 0.16);
    backdrop-filter: blur(18px);
}

.cookie-consent__dismiss,
.cookie-preferences__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid rgba(16, 38, 63, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--muted);
    cursor: pointer;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease;
}

.cookie-consent__dismiss:hover,
.cookie-consent__dismiss:focus-visible,
.cookie-preferences__close:hover,
.cookie-preferences__close:focus-visible {
    color: var(--text);
    transform: translateY(-1px);
    border-color: rgba(16, 38, 63, 0.24);
    box-shadow: 0 8px 20px rgba(16, 38, 63, 0.1);
}

.cookie-consent__copy {
    display: grid;
    gap: 0.45rem;
    padding-right: 2.35rem;
}

.cookie-consent__copy h2,
.cookie-preferences__header h2 {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    max-width: 24ch;
}

.cookie-consent__copy p,
.cookie-preferences__header p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-consent__actions,
.cookie-preferences__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.cookie-consent__actions .button,
.cookie-preferences__actions .button {
    flex: 1 1 160px;
    min-height: 2.9rem;
    padding: 0.72rem 1rem;
}

.cookie-preferences {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: grid;
    place-items: center;
    padding: 1rem;
    pointer-events: auto;
}

.cookie-preferences__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 38, 63, 0.34);
    backdrop-filter: blur(6px);
}

.cookie-preferences__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1rem;
    width: min(34rem, 100%);
    max-height: min(84vh, 34rem);
    overflow: auto;
    padding: 1.15rem;
    border: 1px solid var(--line-strong);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 48px rgba(16, 38, 63, 0.16);
    backdrop-filter: blur(18px);
    pointer-events: auto;
}

.cookie-preferences__header {
    display: grid;
    gap: 0.45rem;
    padding-right: 2.35rem;
}

.cookie-preferences__list {
    display: grid;
    gap: 0.8rem;
}

.cookie-preference {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: start;
    padding: 0.95rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(244, 240, 232, 0.56);
}

.cookie-preference h3 {
    margin-bottom: 0.35rem;
}

.cookie-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.4rem;
    padding: 0 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.78);
    color: var(--text);
    font-size: 0.86rem;
    font-weight: 600;
    white-space: nowrap;
}

.cookie-preference--toggle {
    cursor: pointer;
}

.cookie-preference--toggle input {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.3rem;
    accent-color: var(--accent);
}

body.has-cookie-modal {
    overflow: hidden;
}

body.has-cookie-modal .cookie-consent {
    inset: 0;
    width: auto;
    pointer-events: auto;
}

.js .reveal {
    opacity: 0;
    transform: translateY(28px);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    .header-inner,
    .footer-inner {
        flex-wrap: wrap;
    }

    .hero-grid,
    .section-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .site-header {
        position: static;
    }

    .header-inner {
        align-items: flex-start;
    }

    .site-nav {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
        gap: 0.85rem 1rem;
        padding-top: 0.35rem;
    }

    .fact-grid,
    .services-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding-top: 3rem;
    }

    .cookie-preference {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: clamp(2.2rem, 10vw, 3.3rem);
    }

    h2 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
}

@media (max-width: 640px) {
    :root {
        --container: min(100vw - 1.5rem, 1180px);
    }

    .hero-copy,
    .hero-panel,
    .form-panel {
        padding: 1.4rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .captcha-row {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-legal-nav {
        justify-content: flex-start;
        width: 100%;
    }

    .footer-copyright {
        margin-left: 0;
        text-align: left;
    }

    .cookie-consent {
        right: 0.75rem;
        bottom: 0.75rem;
        width: calc(100vw - 1.5rem);
    }

    .cookie-preferences {
        padding: 0.75rem;
    }

    .cookie-preferences__dialog {
        width: 100%;
        max-height: min(88vh, 32rem);
    }

    .cookie-consent__actions .button,
    .cookie-preferences__actions .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .js .reveal,
    .js .reveal.is-visible {
        opacity: 1;
        transform: none;
    }
}
