﻿/* ============================================================
   BORDERLESS LEGAL — Stylesheet
   Dark header, light page heroes, burgundy and foil accents.
   ============================================================ */

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand palette */
    --brand: #4A1423;
    --brand-700: #6A2034;
    --brand-900: #30091A;
    --ink: #231A1C;
    --text: #4C4245;
    --muted: #766A6D;
    --line: #EAE4E2;
    --line-soft: #F3EEEC;
    --bg: #FFFFFF;
    --bg-soft: #F8F5F3;
    --foil: #D6B36C;
    --foil-deep: #B08A3A;
    --accent: #A0324E;

    /* Typography */
    --font-sans: 'Golos Text', 'Segoe UI', Tahoma, sans-serif;
    --font-serif: 'Literata', Georgia, 'Times New Roman', serif;

    /* Shape & depth */
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: none;
    --shadow: 0 22px 44px -28px rgba(48, 9, 26, 0.38);
    --shadow-lg: 0 22px 48px rgba(48, 9, 26, 0.14);

    /* Layout */
    --container: 1200px;
    --header-h: 72px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.7;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--brand);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent);
}

ul {
    list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    color: var(--ink);
    font-weight: 600;
    line-height: 1.25;
}

h1, h2 {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4vw, 2.85rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.22rem; }
h4 { font-size: 1.05rem; }

p { color: var(--text); }

strong { color: var(--ink); }

::selection {
    background: var(--brand);
    color: #fff;
}

/* ---------- Layout helpers ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.container--wide { max-width: 1680px; }

.section {
    padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.section--soft {
    background-color: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: relative;
}
.section--soft::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 3px;
    background: var(--foil);
}

.section--brand {
    background-color: var(--brand);
    color: #EADFE2;
}

.section-head {
    max-width: 720px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-head--left {
    margin-left: 0;
    text-align: left;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.9rem;
}

.eyebrow::before {
    content: "";
    display: inline-block;
    width: 26px;
    height: 2px;
    background: var(--foil);
    vertical-align: middle;
    margin-right: 10px;
}

.eyebrow--light { color: #c6b079; }
.section-head .eyebrow--light { color: #c6b079; }

.section-head p {
    margin-top: 0.85rem;
    font-size: 1.06rem;
    color: var(--muted);
}

.skip-link {
    position: absolute;
    left: -999px;
}
.skip-link:focus {
    left: 16px;
    top: 12px;
    z-index: 200;
    background: #fff;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.7rem;
    font-family: var(--font-sans);
    font-size: 0.96rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease,
                border-color 0.2s ease, transform 0.15s ease;
}

.btn--primary {
    background-color: var(--brand);
    color: #fff;
    border-color: var(--brand);
}
.btn--primary:hover {
    background-color: var(--brand-700);
    border-color: var(--brand-700);
    color: #fff;
    transform: translateY(-2px);
}

.btn--outline {
    background-color: transparent;
    color: var(--brand);
    border-color: var(--brand);
}
.btn--outline:hover {
    background-color: var(--brand);
    color: #fff;
    transform: translateY(-2px);
}

.btn--light {
    background-color: #fff;
    color: var(--brand);
    border-color: #fff;
}
.btn--light:hover {
    background-color: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.btn--ghost-light {
    background-color: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}
.btn--ghost-light:hover {
    background-color: #fff;
    color: var(--brand);
    transform: translateY(-2px);
}

.btn--sm { padding: 0.6rem 1.15rem; font-size: 0.9rem; }
.btn--lg { padding: 1rem 2.1rem; font-size: 1.02rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-shrink: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}
.brand-mark img { width: 42px; height: 42px; display: block; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }

.brand-name {
    font-family: var(--font-serif);
    font-size: 1.16rem;
    font-weight: 600;
    color: var(--brand);
    letter-spacing: 0.01em;
}

.brand-tagline {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    margin-left: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-link {
    display: block;
    padding: 0.5rem 0.6rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
    border-radius: var(--radius-sm);
    white-space: nowrap;
}
.nav-link:hover { color: var(--brand); background: var(--bg-soft); }

.nav-link.is-active {
    color: var(--brand);
    font-weight: 600;
}
.nav-link.is-active::after {
    content: "";
    display: block;
    height: 2px;
    background: var(--foil);
    margin-top: 3px;
    border-radius: 2px;
}

.nav-extra {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
}
.lang-switch a { color: var(--muted); padding: 0.15rem 0.1rem; }
.lang-switch a.is-active { color: var(--brand); }
.lang-switch a:hover { color: var(--brand); }
.lang-switch span { opacity: 0.5; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: var(--brand);
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(82vh, 720px);
    padding: 5rem 0;
    color: #fff;
    overflow: hidden;
}


.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.hero-title {
    color: #fff;
    font-size: clamp(2.2rem, 4.6vw, 3.5rem);
    line-height: 1.18;
    margin-bottom: 1.2rem;
}

.hero-lead {
    color: #E3D5D9;
    font-size: clamp(1.02rem, 1.6vw, 1.2rem);
    max-width: 620px;
    margin-bottom: 2.1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem 2.2rem;
    margin-top: 2.4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-point {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: #E3D5D9;
}
.hero-point svg { width: 18px; height: 18px; color: var(--foil); flex-shrink: 0; }

/* ---------- Section with a pale photo background (e.g. "About the firm") ---------- */
/* Keeps the section's original design (colors, text) untouched — the photo

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
    background: var(--brand);
    color: #fff;
    padding: clamp(3rem, 6vw, 4.8rem) 0;
}
.page-hero h1 { color: #fff; }
.page-hero p {
    margin-top: 0.7rem;
    color: #D5C2C8;
    font-size: 1.08rem;
    max-width: 620px;
}
.breadcrumb {
    font-size: 0.84rem;
    color: #B39BA3;
    margin-bottom: 0.9rem;
}
.breadcrumb a { color: #D5C2C8; }
.breadcrumb a:hover { color: #fff; }

/* ============================================================
   STATS
   ============================================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-figure {
    font-family: var(--font-serif);
    font-size: 2.7rem;
    font-weight: 600;
    color: var(--brand);
    line-height: 1;
}
.stat-figure span { color: var(--foil); }

.stat-label {
    margin-top: 0.7rem;
    font-size: 0.95rem;
    color: var(--muted);
}

/* ============================================================
   INTRO (split)
   ============================================================ */
.split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.split-body p { margin-top: 1rem; }
.split-body .btn { margin-top: 1.8rem; }

.checklist {
    margin-top: 1.4rem;
    display: grid;
    gap: 0.7rem;
}
.checklist li {
    position: relative;
    padding-left: 1.9rem;
    color: var(--text);
}
.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: var(--brand);
    /* check mark */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 0.72rem;
    background-position: center;
    background-repeat: no-repeat;
}

.facts-card {
    background: var(--brand);
    color: #EADFE2;
    border-radius: var(--radius);
    padding: 2.4rem;
    box-shadow: var(--shadow);
}
.facts-card h3 { color: #fff; margin-bottom: 1.4rem; }
.facts-card .fact {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.95rem;
}
.facts-card .fact:last-child { border-bottom: none; }
.facts-card .fact dt { color: #BFA8B0; }
.facts-card .fact dd { color: #fff; font-weight: 600; text-align: right; }

/* ============================================================
   CARD GRIDS
   ============================================================ */
.grid {
    display: grid;
    gap: 1.6rem;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Service cards */
.service {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem 1.8rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.icon-badge {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: var(--radius-sm);
    background: rgba(48, 9, 26, 0.06);
    color: var(--brand);
    margin-bottom: 1.3rem;
}
.icon-badge svg { width: 26px; height: 26px; }

.service h3 { margin-bottom: 0.6rem; }
.service p { font-size: 0.96rem; color: var(--text); }

.service-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand);
}
.service-link::after { content: " →"; }

/* Full practice-area index (home) */
.area-index {
    margin-top: 2.6rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.6rem, 3vw, 2.4rem);
}
.area-index h3 {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.6rem;
}
.area-index-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2.4rem;
}
.area-index-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.72rem 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink);
}
.area-index-link::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--foil);
    border-radius: 1px;
    flex-shrink: 0;
}
.area-index-link:hover { color: var(--brand); }
.area-index-link:hover::before { background: var(--brand); }

/* Practice-area cards (overview page) */
.pa-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.3rem;
    min-height: 158px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.7rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pa-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.pa-card h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--brand);
    margin: 0;
}
.pa-card h3::after {
    content: "";
    display: block;
    width: 34px;
    height: 2px;
    background: var(--foil);
    margin-top: 0.85rem;
}
.pa-card-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand);
}
.pa-card:hover .pa-card-more { color: var(--accent); }

/* Article pages */
.article-wrap {
    max-width: 768px;
    margin: 0 auto;
}
.article-wrap.has-side {
    max-width: 1100px;
}
.article-wrap.has-side > .faq-section,
.article-wrap.has-side > .note-band,
.article-wrap.has-side > .consult-inline,
.article-wrap.has-side > p {
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
}
.article-flex {
    display: flex;
    align-items: flex-start;
    gap: 2.6rem;
}
.article-flex > .prose {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 720px;
}
.article-side {
    flex: 0 0 280px;
    width: 280px;
    position: sticky;
    top: calc(var(--header-h) + 24px);
}
.article-side .side-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 1.1rem;
    overflow: hidden;
}
.article-side .toc-card h3 {
    font-family: var(--font-sans);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
    margin: 0;
    padding: 0.9rem 1rem 0.6rem;
    border-bottom: 1px solid var(--line-soft);
}
.article-side .toc-list {
    list-style: none;
    margin: 0;
    padding: 0.4rem 0;
    max-height: 360px;
    overflow-y: auto;
}
.article-side .toc-list li { margin: 0; }
.article-side .toc-list a {
    display: block;
    padding: 0.42rem 1rem;
    font-size: 0.83rem;
    color: var(--text);
    text-decoration: none;
    border-left: 3px solid transparent;
    line-height: 1.35;
}
.article-side .toc-list a:hover { background: var(--bg-soft); color: var(--brand); }
.article-side .toc-list a.is-active {
    border-left-color: var(--foil);
    background: var(--bg-soft);
    color: var(--brand);
    font-weight: 600;
}
.article-side .consult-card {
    text-align: center;
    padding: 1.4rem 1.2rem 1.5rem;
}
.article-side .consult-card img {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 0.7rem;
    border: 2px solid var(--bg-soft);
    box-shadow: 0 4px 14px rgba(48, 9, 26, 0.14);
}
.article-side .consult-card .cc-name {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--brand);
    font-size: 1rem;
}
.article-side .consult-card .cc-role {
    font-size: 0.78rem;
    color: var(--muted);
    margin: 0.2rem 0 0.9rem;
}
.article-side .consult-card .btn { width: 100%; }
.article-side .consult-card .cc-phone {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: var(--text);
}
@media (max-width: 960px) {
    .article-wrap.has-side { max-width: 768px; }
    .article-side { display: none; }
    .article-flex { display: block; }
    .article-flex > .prose { max-width: none; }
}
.prose {
    text-align: justify;
}
.prose h1, .prose h2, .prose h3, .prose h4 {
    text-align: left;
}
.article-wrap .prose ul {
    margin: 0.3rem 0 1.2rem 1.3rem;
    list-style: disc;
    color: var(--text);
}
.article-wrap .prose ul li { margin-bottom: 0.5rem; padding-left: 0.3rem; }
.prose table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin: 1.2rem 0 1.6rem;
    font-size: 0.95rem;
}
.prose th, .prose td {
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    word-break: normal;
    overflow-wrap: break-word;
}
.prose thead th:first-child,
.prose tbody th {
    width: 27%;
}
.prose thead th {
    background: var(--bg-soft);
    color: var(--brand);
    font-weight: 600;
}
.prose tbody th {
    background: var(--bg-soft);
    color: var(--brand);
    font-weight: 600;
}
.prose thead th:nth-of-type(3),
.prose tbody td:nth-of-type(2) {
    border-left: 2px solid var(--brand);
}
.prose table caption {
    caption-side: top;
    text-align: left;
    font-weight: 600;
    color: var(--brand);
    margin-bottom: 0.5rem;
}
@media (max-width: 640px) {
    .prose table {
        table-layout: auto;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    .prose table th, .prose table td { white-space: normal; min-width: 140px; }
}
.article-meta {
    margin-top: 0.7rem;
    font-size: 0.92rem;
    color: #D5C2C8;
    letter-spacing: 0.02em;
}

/* Reason items (why-choose) */
.reason {
    text-align: left;
}
.reason .icon-badge {
    background: rgba(255, 255, 255, 0.07);
    color: var(--foil);
}
.section--brand .reason h3 { color: #fff; }
.section--brand .reason p { color: #CAB5BC; font-size: 0.96rem; }

/* Process steps */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
    counter-reset: step;
}
.step {
    position: relative;
    padding: 2rem 1.6rem;
    background: var(--bg-soft);
    border-radius: var(--radius);
    border-top: 3px solid var(--brand);
}
.step-num {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--foil-deep);
    line-height: 1;
    display: block;
    margin-bottom: 0.6rem;
}
.step h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.step p { font-size: 0.94rem; }

/* ============================================================
   ARTICLE / POST CARDS
   ============================================================ */
.post-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.4rem;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.post-thumb {
    margin: -2.4rem -2.4rem 1.4rem;
    aspect-ratio: 16 / 9;
    background: var(--bg-soft);
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card h3 { font-size: 1.42rem; }
.post-card p { font-size: 1.02rem; }

.post-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.9rem;
}
.post-cat {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--brand);
    background: rgba(48, 9, 26, 0.07);
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
}
.post-date { font-size: 0.84rem; color: var(--muted); }

.post-card h3 { margin-bottom: 0.6rem; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--brand); }
.post-card p { font-size: 0.95rem; flex-grow: 1; }

.post-more {
    margin-top: 1.1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand);
}
.post-more::after { content: " →"; }

/* ---------- Blog carousel (homepage) ---------- */
.blog-carousel {
    display: flex;
    align-items: stretch;
    gap: 0.9rem;
}
.blog-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.3rem 0.3rem 0.7rem;
    margin: -0.3rem -0.3rem -0.7rem;
    scrollbar-width: none;
}
.blog-track::-webkit-scrollbar { display: none; }
.blog-track .post-card {
    flex: 0 0 calc((100% - 3rem) / 3);
    scroll-snap-align: start;
}
.carousel-arrow {
    flex: 0 0 auto;
    align-self: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.carousel-arrow svg { width: 20px; height: 20px; }
.carousel-arrow:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.carousel-arrow:disabled { opacity: 0.3; cursor: default; pointer-events: none; transform: none; }

@media (max-width: 960px) {
    .blog-track .post-card { flex: 0 0 calc((100% - 1.5rem) / 2); }
}
@media (max-width: 640px) {
    .blog-track .post-card { flex: 0 0 calc(100% - 1.2rem); }
    .carousel-arrow { width: 40px; height: 40px; }
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
    background: linear-gradient(120deg, var(--brand-900), var(--brand-700));
    color: #fff;
    text-align: center;
    padding: clamp(3rem, 6vw, 5rem) 0;
}
.cta-band h2 { color: #fff; }
.cta-band p {
    color: #D5C2C8;
    max-width: 540px;
    margin: 0.8rem auto 1.9rem;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

/* Flanking statue imagery around the firm's intro text */
.about-flank-wrap {
    display: flex;
    align-items: stretch;
    justify-content: center;
}
.about-flank-wrap > .container { flex: 0 1 var(--container); width: 100%; padding-left: 0; padding-right: 0; }
@media (max-width: 1260px) {
}
.prose h2 { margin-bottom: 1rem; }
.prose h3 { margin: 2rem 0 0.8rem; }
.prose p { margin-bottom: 1rem; }
.prose .checklist { margin-top: 1rem; }

.aside-card {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
    position: sticky;
    top: calc(var(--header-h) + 24px);
}
@media (max-width: 960px) {
    .aside-card { position: static; }
}
.aside-card h3 { margin-bottom: 1.1rem; font-size: 1.1rem; }
.aside-card .fact {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
}
.aside-card .fact:last-child { border-bottom: none; padding-bottom: 0; }
.aside-card .fact dt {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.15rem;
}
.aside-card .fact dd { color: var(--ink); font-weight: 600; }

/* ============================================================
   PRACTICE AREAS PAGE
   ============================================================ */
.practice-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2rem;
    align-items: start;
}

.area-rail {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem;
    position: sticky;
    top: calc(var(--header-h) + 18px);
}
.area-rail h3 {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0.3rem 0.6rem 0.8rem;
}
.area-list { display: grid; gap: 0.2rem; max-height: 70vh; overflow-y: auto; }

.area-btn {
    width: 100%;
    text-align: left;
    padding: 0.7rem 0.85rem;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.93rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
}
.area-btn:hover { background: var(--bg-soft); color: var(--brand); }
.area-btn.active {
    background: var(--brand);
    color: #fff;
    font-weight: 600;
}

.practice-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.6rem, 3vw, 2.8rem);
    min-height: 420px;
    box-shadow: var(--shadow-sm);
}

.practice-area-details-card {
    animation: fadeUp 0.35s ease both;
}
.practice-area-details-card h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--brand);
    margin-bottom: 1.1rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--line);
}
.practice-area-details-card p { margin-bottom: 1rem; }
.practice-area-details-card ul {
    margin-top: 1.2rem;
    display: grid;
    gap: 0.7rem;
}
.practice-area-details-card ul li {
    position: relative;
    padding-left: 1.6rem;
    font-size: 0.96rem;
}
.practice-area-details-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 7px;
    height: 7px;
    background: var(--foil);
    border-radius: 2px;
}
.practice-area-placeholder {
    display: grid;
    place-items: center;
    min-height: 320px;
    color: var(--muted);
    text-align: center;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: start;
}
.blog-list {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 700px) {
    .blog-list { grid-template-columns: 1fr; }
}

.blog-aside { display: grid; gap: 1.6rem; }
.aside-box {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.8rem;
}
.aside-box h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.cat-list li { border-bottom: 1px solid var(--line); }
.cat-list li:last-child { border-bottom: none; }
.cat-list a {
    display: flex;
    justify-content: space-between;
    padding: 0.65rem 0;
    font-size: 0.94rem;
    color: var(--text);
    font-weight: 500;
}
.cat-list a:hover { color: var(--brand); }
.cat-list a.is-active { color: var(--brand); font-weight: 700; }
.post-card.is-hidden { display: none; }
.blog-no-results { display: none; padding: 1.5rem 0; color: var(--muted); font-size: 0.95rem; }
.blog-no-results.is-visible { display: block; }

.aside-box--brand {
    background: var(--brand);
    border-color: var(--brand);
    color: #EADFE2;
}
.aside-box--brand h3 { color: #fff; }
.aside-box--brand p { color: #CAB5BC; font-size: 0.92rem; margin-bottom: 1.1rem; }


/* ============================================================
   CASE STUDIES PAGE
   ============================================================ */
.case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
}
.case {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.case-head {
    background: var(--brand);
    color: #fff;
    padding: 1.5rem 1.7rem;
}
.case-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--foil);
    margin-bottom: 0.55rem;
}
.case-head h3 { color: #fff; font-family: var(--font-serif); }

.case-body { padding: 1.7rem; }
.case-block + .case-block { margin-top: 1.1rem; }
.case-block h4 {
    font-size: 0.78rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.3rem;
}
.case-block p { font-size: 0.95rem; }
.case-result { font-size: 0.95rem; }
.case-result li {
    position: relative;
    padding-left: 1.6rem;
    margin-top: 0.4rem;
}
.case-result li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.95rem;
    height: 0.95rem;
    border-radius: 50%;
    background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 0.6rem no-repeat;
}

.case-links {
    padding: 1rem 1.5rem 1.4rem;
    border-top: 1px solid var(--line);
}
.case-links h4 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 0.55rem;
}
.case-links ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    font-size: 0.88rem;
}
.case-links ul li a {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.case-links ul li a:hover { color: var(--foil); }

.note-band {
    margin-top: 2.4rem;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-left: 3px solid var(--foil);
    border-radius: var(--radius);
    padding: 1.6rem 1.8rem;
}
.note-band h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.note-band p { font-size: 0.95rem; margin: 0; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
}

.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.6rem, 3vw, 2.6rem);
    box-shadow: var(--shadow-sm);
}
.form-card h2 { margin-bottom: 1.5rem; font-size: 1.5rem; }

.contact-form { display: grid; gap: 1.15rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field { display: flex; flex-direction: column; }
.field label {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.4rem;
}
.field input,
.field select,
.field textarea {
    padding: 0.78rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.96rem;
    color: var(--ink);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(48, 9, 26, 0.08);
}
.field textarea { resize: vertical; min-height: 130px; }

.field--check {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.6rem;
}
.field--check input { width: 18px; height: 18px; margin-top: 0.2rem; flex-shrink: 0; }
.field--check label { font-weight: 400; font-size: 0.88rem; color: var(--muted); }

.form-status {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.4rem 0;
}
.form-status.is-error { color: #b3261e; }
.form-status.is-ok { color: #1f7a3d; }

.contact-details { display: grid; gap: 0.4rem; }
.contact-detail {
    display: flex;
    gap: 1rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--line);
}
.contact-detail:last-of-type { border-bottom: none; }
.contact-detail .icon-badge {
    width: 44px;
    height: 44px;
    margin: 0;
    flex-shrink: 0;
}
.contact-detail .icon-badge svg { width: 20px; height: 20px; }
.contact-detail h4 { margin-bottom: 0.15rem; font-size: 0.98rem; }
.contact-detail p { font-size: 0.95rem; margin: 0; }
.contact-detail a { font-weight: 600; }

.map-wrap {
    margin-top: 2.6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--brand-900);
    color: #BFA8B0;
    padding: clamp(3rem, 5vw, 4.5rem) 0 1.8rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 2.4rem;
    padding-bottom: 2.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-mark { background: transparent; }
.footer-brand p { color: #B39BA3; font-size: 0.92rem; margin-top: 1rem; max-width: 280px; }

.footer-col h4 {
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a { color: #BFA8B0; font-size: 0.93rem; }
.footer-col a:hover { color: #fff; }
.footer-col p { color: inherit; font-size: 0.93rem; margin-bottom: 0.5rem; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding-top: 1.8rem;
    font-size: 0.85rem;
    color: #A0878F;
}
.footer-bottom p { color: inherit; }
.footer-bottom a { color: #A0878F; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .practice-layout { grid-template-columns: 260px 1fr; }
}

@media (max-width: 960px) {
    .nav-toggle { display: flex; }

    .primary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        padding: 0.8rem 24px 1.4rem;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.22s ease, opacity 0.22s ease;
    }
    .site-header.nav-open .primary-nav {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-link {
        padding: 0.85rem 0.6rem;
        border-bottom: 1px solid var(--line-soft);
        font-size: 1rem;
    }
    .nav-link.is-active::after { display: none; }
    .nav-extra {
        justify-content: space-between;
        margin-top: 1rem;
        width: 100%;
    }
    .nav-extra .btn { flex-grow: 1; margin-left: 1rem; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .area-index-grid { grid-template-columns: repeat(2, 1fr); }

    .split { grid-template-columns: 1fr; }
    .split-media { order: -1; }
    .about-layout { grid-template-columns: 1fr; }
    .blog-layout { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }

    .practice-layout { grid-template-columns: 1fr; }
    .area-rail { position: static; }
    .area-list { max-height: none; }
}

@media (max-width: 620px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .area-index-grid { grid-template-columns: 1fr; }
    .case-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
    .footer-bottom { flex-direction: column; }
}

/* ---- Country Selector ---- */
.country-selector {
    background: var(--brand);
    padding: 80px 0;
}
.country-selector .section-head p,
.country-selector .section-head h2 {
    color: #fff;
}
.country-selector .eyebrow {
    color: rgba(255,255,255,0.55);
}
.country-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 2.5rem;
}
.country-btn {
    background: #D6B36C;
    border: none;
    border-radius: 8px;
    color: #4A1423;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 24px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.18s, box-shadow 0.18s;
    line-height: 1.3;
    min-width: 140px;
    min-height: 56px;
}
.country-btn:hover,
.country-btn:focus-visible {
    background: #C29E55;
    outline: none;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.country-btn--other {
    background: transparent;
    border: 2px dashed #D6B36C;
    color: #D6B36C;
    font-weight: 600;
}
.country-btn--other:hover,
.country-btn--other:focus-visible {
    background: rgba(214, 179, 108,0.15);
    color: #D6B36C;
}
.selector-back {
    background: none;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 6px;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    padding: 8px 20px;
    transition: border-color 0.2s, color 0.2s;
}
.selector-back:hover {
    border-color: rgba(255,255,255,0.8);
    color: #fff;
}
.selector-mfa-note {
    text-align: center;
    margin: 0 0 20px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}
.selector-mfa-note strong {
    color: #fff;
    font-weight: 700;
}
.selector-mfa-note a {
    color: var(--foil);
    text-decoration: underline;
    font-weight: 600;
}
.selector-mfa-note a:hover {
    color: #fff;
    text-decoration: none;
}
@media (max-width: 600px) {
    .country-grid { grid-template-columns: repeat(3, 1fr); }
    .country-btn { padding: 14px 8px; font-size: 0.88rem; }
}

/* ---- WhatsApp floating button ---- */
.whatsapp-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.22);
    z-index: 9999;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}
.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(0,0,0,0.28);
}
.whatsapp-btn svg {
    width: 30px;
    height: 30px;
}

@media (max-width: 600px) {
    .whatsapp-btn { width: 50px; height: 50px; bottom: 18px; right: 18px; }
    .whatsapp-btn svg { width: 26px; height: 26px; }
}
/* Footer credential (bar association) */
.footer-credential {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 0.5rem;
    letter-spacing: 0.01em;
}

/* ============================================================
   INLINE CONSULTATION CTA
   ============================================================ */
.consult-inline {
    background: var(--light);
    border: 1px solid var(--line);
    border-left: 3px solid var(--brand);
    border-radius: var(--radius);
    padding: 1.1rem 1.5rem;
    margin: 2rem 0 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.consult-inline p {
    flex: 1;
    margin: 0;
    font-size: 0.92rem;
    color: var(--ink);
}
@media (max-width: 600px) {
    .consult-inline { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .consult-inline .btn { width: 100%; text-align: center; }
}

/* ============================================================
   INTERNAL LINKING — related articles & related practice
   ============================================================ */
.related-articles { background: var(--light); }
.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}
.related-article-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    text-decoration: none;
    color: var(--ink);
    display: block;
    transition: box-shadow 0.18s, transform 0.18s;
}
.related-article-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    color: var(--brand);
}
.related-article-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    line-height: 1.4;
}
.related-article-card .ra-more {
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 500;
    display: block;
}
.related-practice {
    background: var(--light);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1.25rem 0;
}
.related-practice .container {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.related-practice p {
    flex: 1;
    font-size: 0.92rem;
    color: var(--muted);
    margin: 0;
}
.related-practice p strong {
    color: var(--brand);
    font-weight: 600;
}
.related-practice .rp-link {
    color: var(--brand);
    border: 1px solid var(--brand);
    padding: 0.45rem 1.1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.18s, color 0.18s;
}
.related-practice .rp-link:hover {
    background: var(--brand);
    color: #fff;
}
@media (max-width: 600px) {
    .related-practice .container { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ---- Cookie consent banner ---- */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 2px solid var(--brand);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
    flex-wrap: wrap;
}
#cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ink);
    flex: 1;
    min-width: 200px;
}
#cookie-banner a {
    color: var(--brand);
    text-decoration: underline;
}
#cookie-banner button {
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
}
#cookie-banner button:hover { opacity: 0.85; }
@media (max-width: 600px) {
    #cookie-banner { padding: 14px 16px; }
    #cookie-banner button { width: 100%; }
}

/* ---------- Testimonials ---------- */
@media (max-width: 900px) {
}

/* FAQ sections */
.faq-section{margin:2.5rem 0 1.5rem;border-top:1px solid var(--line);padding-top:1.5rem}
.faq-section h3{color:var(--brand);font-size:1.05rem;margin-bottom:.75rem}
.faq-list{margin:0;padding:0}
.faq-list dt{font-weight:600;color:var(--brand);margin-top:1rem;font-size:.93rem}
.faq-list dt:first-child{margin-top:0}
.faq-list dd{margin:.35rem 0 0 0;color:#333;line-height:1.65;font-size:.92rem}

/* Section divider — hairline with a gold mark, matches the eyebrow accent language */
.section-divider{display:flex;align-items:center;gap:1.25rem;max-width:220px;margin:0 auto;padding:0}
.section-divider::before,.section-divider::after{content:"";flex:1;height:1px;background:var(--line)}
.section-divider .divider-mark{width:9px;height:9px;border-radius:50%;background:var(--foil);flex:none}
.section-divider--wide{max-width:100%}

/* Attorney profile */
.attorney-card{display:grid;grid-template-columns:280px 1fr;gap:3rem;align-items:start;padding:1rem 0}
.attorney-card + .section-divider{margin:3rem auto}
@media(max-width:720px){.attorney-card{grid-template-columns:1fr}}
.attorney-photo-wrap img{width:100%;border-radius:6px;display:block;object-fit:cover;aspect-ratio:3/4;box-shadow:0 4px 24px rgba(48, 9, 26,.12)}
@media(max-width:720px){.attorney-photo-wrap{max-width:220px;margin:0 auto}}
.attorney-name{font-size:1.7rem;margin:.2rem 0 .15rem;color:var(--brand)}
.attorney-role{color:var(--muted);font-size:.88rem;margin-bottom:1.25rem;letter-spacing:.01em}
.attorney-content p:not(.eyebrow):not(.attorney-role){text-align:justify;hyphens:auto}
.bio-details{margin-top:1rem}
.bio-details>summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:.4rem;color:var(--accent);font-weight:600;font-size:.9rem;padding:.4rem 0;text-decoration:underline;text-underline-offset:3px}
.bio-details>summary::-webkit-details-marker{display:none}
.bio-details .less-label{display:none}
.bio-details[open] .more-label{display:none}
.bio-details[open] .less-label{display:inline}
.bio-details[open]>summary{margin-bottom:.75rem}
.bio-details p{margin-top:.9rem;color:var(--ink);line-height:1.7;font-size:.97rem}
.attorney-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;margin-top:1.75rem;padding-top:1.25rem;border-top:1px solid var(--line)}
@media(max-width:600px){.attorney-meta{grid-template-columns:1fr}}
.attorney-meta h4{font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-bottom:.35rem;font-weight:600}
.attorney-meta p{font-size:.9rem;color:var(--brand);margin:0;line-height:1.5}

/* ============================================================
   BORDERLESS LAYOUT
   Composition specific to this site. Loaded last on purpose.
   ============================================================ */

/* ---------- Type ---------- */
h1, h2 { font-weight: 500; letter-spacing: -0.018em; }
h1 { font-size: clamp(2.15rem, 4.4vw, 3.1rem); line-height: 1.12; }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.35rem); line-height: 1.18; }

.eyebrow {
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--accent);
    margin-bottom: 0.7rem;
}
.eyebrow::before { display: none; }
.eyebrow--light,
.section-head .eyebrow--light { color: #E6C98B; }

.section-head { margin: 0 0 2.6rem; max-width: 760px; text-align: left; }
.section--soft::before { display: none; }
.section-divider { display: none; }

/* ---------- Buttons ---------- */
.btn { border-radius: 999px; }
.btn--primary:hover, .btn--outline:hover, .btn--light:hover, .btn--ghost-light:hover { transform: none; }

/* ---------- Header: dark bar ---------- */
.site-header {
    background-color: var(--brand);
    border-bottom: 0;
    backdrop-filter: none;
}
.brand-text { flex-direction: row; align-items: baseline; gap: 0.7rem; }
.brand-name { color: #fff; font-weight: 500; font-size: 1.22rem; letter-spacing: 0; }
.brand-tagline {
    color: #D5C2C8;
    font-size: 0.82rem;
    letter-spacing: 0.01em;
    text-transform: none;
    padding-left: 0.7rem;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
    white-space: nowrap;
}
.nav-link { color: #EADFE2; }
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.09); }
.nav-link.is-active { color: var(--foil); }
.nav-link.is-active::after { display: none; }
.lang-switch, .lang-switch a { color: #BFA8B0; }
.lang-switch a.is-active, .lang-switch a:hover { color: #fff; }
.site-header .btn--primary { background-color: var(--foil); border-color: var(--foil); color: var(--brand-900); }
.site-header .btn--primary:hover { background-color: #E6C98B; border-color: #E6C98B; color: var(--brand-900); }
.site-header .btn { white-space: nowrap; }
.nav-toggle { border-color: rgba(255, 255, 255, 0.32); }
.nav-toggle span { background: #fff; }
.site-header :focus-visible { outline: 2px solid var(--foil); outline-offset: 2px; }

/* The Bulgarian navigation is wider, so its tagline gives way first. */
@media (max-width: 1560px) {
    html[lang="bg"] .site-header .brand-tagline { display: none; }
}
@media (max-width: 1180px) {
    .site-header .brand-tagline { display: none; }
}
/* Just above the point where the menu collapses, tighten the bar so it still fits. */
@media (max-width: 1100px) and (min-width: 961px) {
    .header-inner { gap: 1rem; }
    .primary-nav { gap: 0.9rem; }
    .nav-list { gap: 0.1rem; }
    .nav-link { padding: 0.5rem 0.4rem; font-size: 0.86rem; }
    .nav-extra { gap: 0.7rem; }
    .brand-name { font-size: 1.08rem; }
    .site-header .btn--sm { padding: 0.55rem 0.95rem; font-size: 0.86rem; }
}
@media (max-width: 960px) {
    .primary-nav { background: var(--brand); border-bottom: 0; }
    .nav-link { border-bottom-color: rgba(255, 255, 255, 0.12); }
}

/* ---------- Home hero: text beside a contained panel ---------- */
.hero {
    display: block;
    min-height: 0;
    padding: clamp(2.6rem, 5vw, 4.6rem) 0 clamp(3rem, 6vw, 5rem);
    background: var(--bg);
    color: var(--ink);
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.hero-inner { position: static; max-width: none; }
.hero .eyebrow--light { color: var(--accent); }
.hero-title {
    color: var(--brand);
    font-size: clamp(2.4rem, 5.2vw, 4.1rem);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -0.022em;
    margin-bottom: 1.8rem;
}
.hero .btn--light { background-color: var(--brand); border-color: var(--brand); color: #fff; }
.hero .btn--light:hover { background-color: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.hero .btn--ghost-light { color: var(--brand); border-color: var(--brand); }
.hero .btn--ghost-light:hover { background-color: var(--brand); color: #fff; }
.hero-points { border-top: 1px solid var(--line); }
.hero-point { color: var(--text); }
.hero-point svg { color: var(--foil-deep); }
.hero-art {
    aspect-ratio: 9 / 10;
    border-radius: 28px;
    overflow: hidden;
    background: var(--brand-900);
    box-shadow: 0 34px 60px -34px rgba(48, 9, 26, 0.6);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-art { aspect-ratio: 16 / 11; border-radius: 22px; }
}

/* ---------- Inner page hero: light, with a guilloche ornament ---------- */
.page-hero {
    position: relative;
    overflow: hidden;
    background: var(--bg-soft);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    padding: clamp(2.6rem, 5vw, 4.2rem) 0;
}
.page-hero::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -150px;
    width: 540px;
    height: 540px;
    transform: translateY(-50%);
    background: url("assets/rosette.svg") center / contain no-repeat;
    opacity: 0.55;
    pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--brand); max-width: 880px; }
.page-hero p { color: var(--text); }
.breadcrumb { color: var(--muted); }
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { color: var(--brand); }
.article-meta { color: var(--muted); }

@media (max-width: 760px) {
    .page-hero::after { right: -260px; opacity: 0.35; }
}

/* ---------- Home intro ---------- */
.section--intro .split { align-items: start; }
.facts-card {
    background: var(--bg-soft);
    color: var(--text);
    border: 1px solid var(--line);
    box-shadow: none;
}
.facts-card h3 { color: var(--ink); }
.facts-card .fact { border-bottom-color: var(--line); }
.facts-card .fact dt { color: var(--muted); }
.facts-card .fact dd { color: var(--ink); }

/* ---------- Cards: flat, outlined ---------- */
.service:hover { transform: none; box-shadow: none; border-color: var(--brand); }
.icon-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--foil);
    color: var(--foil-deep);
}
.icon-badge svg { width: 23px; height: 23px; }
.reason .icon-badge { background: transparent; border-color: rgba(214, 179, 108, 0.55); color: var(--foil); }
.service-link::after, .post-more::after { content: none; }
.service-link, .post-more {
    text-decoration: underline;
    text-decoration-color: var(--foil);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}
.pa-card:hover, .case:hover, .related-article-card:hover { transform: none; box-shadow: none; border-color: var(--brand); }

.step {
    padding: 1.5rem 0 0;
    background: transparent;
    border-radius: 0;
    border-top: 1px solid var(--brand);
}
.step-num {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--accent);
    margin-bottom: 0.9rem;
}

/* ---------- Article cards ---------- */
.post-card {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
}
.post-card:hover { transform: none; box-shadow: none; }
.post-thumb {
    margin: 0 0 1.2rem;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius);
    overflow: hidden;
}
.post-card h3 { font-size: 1.28rem; line-height: 1.28; }
.post-cat {
    padding: 0;
    background: transparent;
    font-size: 0.86rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--accent);
}
.article-cover {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

/* ---------- Call to action: inset panel ---------- */
.cta-band { padding: clamp(2.4rem, 5vw, 4rem) 0; background: transparent; text-align: left; }
.cta-band > .container {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 2.4rem;
    align-items: center;
    width: calc(100% - 48px);
    max-width: calc(var(--container) - 48px);
    padding: clamp(2rem, 4vw, 3.2rem) clamp(1.6rem, 4vw, 3.4rem);
    background: var(--brand);
    border-radius: 28px;
}
.cta-band h2 { grid-column: 1; }
.cta-band p { grid-column: 1; max-width: 620px; margin: 0.6rem 0 0; }
.cta-band .btn { grid-column: 2; grid-row: 1 / span 2; }

@media (max-width: 760px) {
    .cta-band > .container { grid-template-columns: 1fr; width: calc(100% - 32px); border-radius: 22px; }
    .cta-band .btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 1.4rem; }
}

/* ---------- About / case studies wrappers (photo strips removed) ---------- */
.about-flank-wrap { display: block; }
.about-flank-wrap > .container { margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- WhatsApp: labelled pill ---------- */
.whatsapp-btn {
    right: 20px;
    bottom: 20px;
    width: auto;
    height: 48px;
    padding: 0 18px 0 14px;
    gap: 0.5rem;
    border-radius: 999px;
    background: #0F7A42;
    font-size: 0.92rem;
    font-weight: 600;
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.45);
}
.whatsapp-btn:hover { transform: none; background: #0C6838; color: #fff; }
.whatsapp-btn svg { width: 22px; height: 22px; }

@media (max-width: 620px) {
    .whatsapp-btn { width: 50px; height: 50px; padding: 0; justify-content: center; }
    .whatsapp-btn span { display: none; }
}

/* ---------- Boxes: one even hairline, no accent edge ---------- */
:root { --light: var(--bg-soft); }
.note-band, .consult-inline { border-left: 1px solid var(--line); }
.article-side .toc-list a { border-left: 0; }

/* ---------- Notice banner: corner card ---------- */
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
#cookie-banner #cookie-decline { background: transparent; color: var(--brand); border: 1px solid var(--brand); }
#cookie-banner {
    left: 20px;
    right: auto;
    bottom: 20px;
    max-width: 430px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 22px 44px -24px rgba(48, 9, 26, 0.45);
}

@media (max-width: 620px) {
    #cookie-banner { left: 12px; right: 12px; bottom: 82px; max-width: none; }
}

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

/* ============================================================
   SMALL SCREENS
   ============================================================ */
html { scroll-padding-top: calc(var(--header-h) + 14px); }
h1, h2, h3 { overflow-wrap: break-word; }
.prose a { overflow-wrap: anywhere; }

@media (max-width: 960px) {
    /* Justified text opens rivers of white space in a narrow column. */
    .prose,
    .attorney-content p:not(.eyebrow):not(.attorney-role) { text-align: left; hyphens: manual; }

    /* Long guides keep their contents list: it moves above the article instead of disappearing. */
    .article-flex { display: flex; flex-direction: column; align-items: stretch; }
    .article-flex > .prose { width: 100%; }
    .article-side { display: block; order: -1; position: static; flex: none; width: auto; margin: 0 0 1.8rem; }
    .article-side .consult-card { display: none; }
    .article-side .toc-list, .article-side .toc-card { max-height: none; overflow: visible; }
    .article-side .toc-list a { padding: 0.62rem 1rem; font-size: 0.95rem; }

    /* Comfortable touch targets. */
    .lang-switch a { padding: 0.6rem 0.55rem; }
    .service-link, .post-more, .pa-card-more, #cookie-link { display: inline-block; padding-block: 0.6rem; }
    .footer-col ul { gap: 0.15rem; }
    .footer-col a { display: inline-block; padding-block: 0.45rem; }
    .field--check input { width: 22px; height: 22px; flex: none; }

    /* iOS zooms the whole page when a focused field's text is under 16px. */
    .field input, .field select, .field textarea { font-size: 16px; }

    /* Labels that had dropped below a readable size. */
    .case-tag, .case-block h4, .case-links h4, .article-side .toc-card h3, .aside-card .fact dt,
    .attorney-meta h4, .footer-credential, .post-cat { font-size: 0.84rem; }

    /* Grid and flex children may shrink, so a wide table or a long option cannot push the page sideways. */
    .article-flex > .prose, .article-side, .contact-layout > *, .form-row > *, .field { min-width: 0; }
    .field input, .field select, .field textarea { width: 100%; max-width: 100%; min-width: 0; }
    .field--check input { width: 22px; }
    .prose table { display: block; max-width: 100%; overflow-x: auto; }
}

@media (max-width: 620px) {
    :root { --header-h: 62px; }
    .brand-mark, .brand-mark img { width: 36px; height: 36px; }
    .brand-name { font-size: 1.08rem; }
    .section { padding: 3rem 0; }
    .hero { padding-top: 2rem; }
    .hero-title { font-size: clamp(2.05rem, 9vw, 2.6rem); }
    .page-hero { padding: 2.2rem 0; }
    .post-card h3 { font-size: 1.16rem; }
}

/* ---------- Header with five languages ---------- */
.site-header .brand-tagline { display: none; }
.lang-switch { gap: 0.2rem; font-size: 0.8rem; }
.primary-nav { gap: 1.4rem; }

@media (min-width: 961px) and (max-width: 1360px) {
    /* The contact link is already in the menu; the button gives way before the bar gets crowded. */
    .site-header .nav-extra .btn { display: none; }
}
@media (min-width: 961px) and (max-width: 1140px) {
    .header-inner { gap: 0.8rem; }
    .primary-nav { gap: 0.7rem; }
    .nav-list { gap: 0; }
    .nav-link { padding: 0.5rem 0.32rem; font-size: 0.84rem; }
    .brand-name { font-size: 1.02rem; }
}
@media (min-width: 961px) and (max-width: 1600px) {
    /* Longer menu labels in these languages need the room. */
    html[lang="de"] .site-header .nav-extra .btn,
    html[lang="ru"] .site-header .nav-extra .btn,
    html[lang="es"] .site-header .nav-extra .btn { display: none; }
}
