:root {
    --bg: #0a0707;
    --surface: rgba(25, 17, 18, 0.86);
    --surface-strong: #1c1314;
    --line: rgba(255, 255, 255, 0.1);
    --text: #f8f2ed;
    --muted: #b9abad;
    --accent: #f26d4f;
    --accent-soft: #ffad91;
    --gold: #e9bd75;
    --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 5%, rgba(242, 109, 79, 0.14), transparent 31rem),
        radial-gradient(circle at 95% 28%, rgba(233, 189, 117, 0.08), transparent 28rem),
        var(--bg);
    font-family: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

a { color: inherit; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    padding: 18px 0;
    background: linear-gradient(180deg, rgba(10, 7, 7, 0.98) 70%, transparent);
    backdrop-filter: blur(12px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand > span:last-child > span { color: var(--accent); }

.brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #201313;
    background: linear-gradient(135deg, var(--accent-soft), var(--accent));
    border-radius: 50% 50% 50% 12px;
    font-size: 1rem;
}

.back-link {
    color: var(--muted);
    text-decoration: none;
    transition: color 160ms ease;
}

.back-link:hover { color: var(--text); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.language-switcher {
    display: inline-flex;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
}

.language-switcher button {
    min-width: 38px;
    padding: 6px 9px;
    border: 0;
    border-radius: 999px;
    color: var(--muted);
    background: transparent;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: color 160ms ease, background 160ms ease;
}

.language-switcher button:hover { color: var(--text); }

.language-switcher button.is-active {
    color: #201313;
    background: linear-gradient(135deg, var(--accent-soft), var(--accent));
}

.language-switcher button:focus-visible {
    outline: 2px solid var(--accent-soft);
    outline-offset: 2px;
}

main {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 78px;
    border-bottom: 1px solid var(--line);
}

.hero-glow {
    position: absolute;
    top: -8rem;
    left: 42%;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    background: rgba(242, 109, 79, 0.16);
    filter: blur(90px);
    pointer-events: none;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(3rem, 8vw, 6.3rem);
    line-height: 0.96;
    letter-spacing: -0.065em;
}

h1 span {
    display: block;
    color: var(--accent);
}

.hero-copy {
    max-width: 680px;
    margin: 30px 0 38px;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.owner-card {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
}

.owner-card div { padding: 17px 22px; }
.owner-card div + div { border-left: 1px solid var(--line); }
.owner-card span, .owner-card strong { display: block; }
.owner-card span { color: var(--muted); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; }
.owner-card strong { margin-top: 4px; font-size: 0.98rem; }

.page-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: clamp(36px, 7vw, 90px);
    align-items: start;
    padding: 72px 0 120px;
    min-width: 0;
}

.toc {
    position: sticky;
    top: 88px;
    min-width: 0;
    max-width: 100%;
}

.toc > p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.toc nav { display: grid; gap: 6px; }

.toc nav a {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.94rem;
    transition: 160ms ease;
}

.toc nav a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.toc nav span { color: var(--accent); font-size: 0.72rem; font-weight: 800; }

.toc-contact {
    display: grid;
    gap: 3px;
    margin-top: 30px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.toc-contact span { color: var(--muted); font-size: 0.82rem; }
.toc-contact a { color: var(--text); text-decoration: none; font-size: 0.88rem; }

.documents { display: grid; gap: 72px; min-width: 0; max-width: 100%; }

.legal-document {
    scroll-margin-top: 96px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
    min-width: 0;
    max-width: 100%;
}

.legal-document:target { border-color: rgba(242, 109, 79, 0.55); }

.document-header {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    padding: clamp(28px, 5vw, 52px);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(120deg, rgba(242, 109, 79, 0.1), transparent 58%);
}

.document-number {
    flex: 0 0 auto;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.document-header p {
    margin: 0 0 8px;
    color: var(--gold);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.document-header h2 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.document-header .subtitle { margin-top: 8px; color: var(--muted); font-size: 1rem; }
.document-header small { display: block; margin-top: 15px; color: var(--muted); }

.legal-document > section {
    padding: 34px clamp(28px, 5vw, 58px);
    border-bottom: 1px solid var(--line);
}

.legal-document > section:last-child { border-bottom: 0; }

.legal-document h3 {
    margin: 0 0 16px;
    color: var(--accent-soft);
    font-size: 1.18rem;
    letter-spacing: -0.015em;
}

.legal-document p { margin: 0 0 12px; color: #e8dfe0; }
.legal-document p, .legal-document li { overflow-wrap: anywhere; }
.legal-document p:last-child { margin-bottom: 0; }
.legal-document strong { color: var(--text); }

.legal-document ul, .legal-document ol {
    display: grid;
    gap: 8px;
    margin: 13px 0 18px;
    padding-left: 22px;
    color: #e8dfe0;
}

.legal-document li::marker { color: var(--accent); }

.service-list {
    padding: 0 !important;
    list-style: none;
}

.service-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.price-grid > div {
    display: flex;
    flex-direction: column;
    min-height: 165px;
    padding: 19px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.028);
}

.price-grid p { color: var(--muted); font-size: 0.9rem; }
.price-grid b { margin-top: auto; color: var(--accent-soft); }

.contact-lines a {
    color: var(--accent-soft);
    text-decoration: none;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    padding: 36px 0 48px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

footer div { display: grid; }
footer strong { color: var(--text); font-size: 1.1rem; }
footer span, footer p { margin: 0; font-size: 0.85rem; }

@media (max-width: 860px) {
    .hero { padding-top: 60px; }
    .page-layout { grid-template-columns: 1fr; padding-top: 38px; }
    .toc {
        position: static;
        overflow-x: auto;
        padding-bottom: 8px;
    }
    .toc nav { display: flex; width: max-content; }
    .toc nav a { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
    .toc-contact { display: none; }
    .price-grid { grid-template-columns: 1fr; }
    .price-grid > div { min-height: auto; }
}

@media (max-width: 560px) {
    .site-header, main, footer { width: min(100% - 28px, var(--max)); }
    .site-header { padding: 14px 0; }
    .brand { font-size: 1.05rem; }
    .brand-mark { width: 30px; height: 30px; }
    .back-link { font-size: 0.84rem; }
    .header-actions { gap: 8px; }
    .language-switcher button { min-width: 32px; padding: 5px 7px; }
    .hero { padding: 48px 0 54px; }
    .owner-card { display: grid; width: 100%; grid-template-columns: 1fr; }
    .owner-card div + div { border-top: 1px solid var(--line); border-left: 0; }
    .documents { gap: 40px; }
    .legal-document { border-radius: 18px; }
    .document-header { display: grid; gap: 10px; padding: 26px 22px; }
    .legal-document > section { padding: 27px 22px; }
    footer { display: grid; gap: 20px; }
}

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