/* -------------------------------------------------------------
   SITE BIROU DE AVOCATURA - strat peste site.css
   Hartie calda, cerneala bleumarin, accent alama; titluri serif.
------------------------------------------------------------- */
body.law {
    --paper: #f6f2ea;
    --paper-2: #efe8dc;
    --ink: #13192b;
    --ink-2: #26304a;
    --brass: #9a7433;
    --brass-2: #b88d45;
    --line: rgba(19, 25, 43, 0.12);
    --bg-base: var(--paper);
    --text-main: var(--ink);
    --text-muted: #555c6b;
    --text-subtle: #7b8090;
    --apple-blue: var(--ink);
    --apple-blue-hover: var(--ink-2);
    --border-glass: var(--line);
    --radius-md: 14px;
    --radius-lg: 20px;
    --card-shadow: 0 1px 0 rgba(19, 25, 43, 0.04), 0 14px 34px -18px rgba(19, 25, 43, 0.25);
    --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-family: "Source Sans 3", -apple-system, "Segoe UI", sans-serif;
    background: var(--paper);
    color: var(--ink);
}

body.law main { padding-top: 72px; }

/* ---- Header ---- */
body.law .site-header { height: 72px; background: rgba(246, 242, 234, 0.9); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
body.law .site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(19, 25, 43, .35); }
.law-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.law-brand-mark { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--brass); color: var(--brass); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.law-brand-name { font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46vw; }
.law-nav { display: none; gap: 26px; font-size: 15px; font-weight: 500; }
.law-nav a { color: var(--ink-2); position: relative; padding: 6px 0; }
.law-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass); transform: scaleX(0); transition: transform .3s; transform-origin: left; }
.law-nav a:hover::after, .law-nav a.active::after { transform: scaleX(1); }
.law-phone { display: none; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ink); }
.law-phone i { color: var(--brass); }
.law-cta-sm { display: none; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: background .2s; }
.law-cta-sm:hover { background: var(--ink-2); }
body.law .globe-btn { height: 40px; padding: 0 12px; background: transparent; border-color: var(--line); }
@media (min-width: 1080px) {
    .law-nav { display: flex; }
    .law-cta-sm { display: inline-block; }
    body.law .burger-btn { display: none; }
}
@media (min-width: 1280px) { .law-phone { display: inline-flex; } }

/* ---- Butoane ---- */
body.law .btn-apple-primary { background: var(--ink); border-radius: 999px; font-weight: 600; padding: 14px 28px; }
body.law .btn-apple-primary:hover { background: var(--ink-2); }
body.law .btn-apple-secondary { background: transparent; border: 1px solid rgba(19, 25, 43, .28); font-weight: 600; padding: 14px 26px; display: inline-flex; align-items: center; gap: 8px; }
body.law .btn-apple-secondary:hover { background: #fff; border-color: var(--ink); }
.law-full { width: 100%; justify-content: center; }

/* ---- Tipografie de sectiune ---- */
body.law .section-eyebrow { color: var(--brass); letter-spacing: .18em; font-size: 12px; }
body.law .section-title { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; line-height: 1.08; font-size: clamp(32px, 4.4vw, 50px); }
body.law .section-desc { color: var(--text-muted); max-width: 680px; margin: 14px auto 0; font-size: 17px; line-height: 1.6; }
.law-h2 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 38px); font-weight: 600; margin-bottom: 22px; line-height: 1.1; }
.law-lead { color: var(--text-muted); font-size: 17px; line-height: 1.65; margin: 14px 0 22px; max-width: 620px; }
.law-muted { color: var(--text-muted); font-size: 15px; margin: -4px 0 16px; }
.law-section { padding: 96px 0; }
.law-tint { background: var(--paper-2); }

/* ---- Hero ---- */
.law-hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.law-hero::before { content: ""; position: absolute; inset: 0 0 auto auto; width: 46vw; height: 100%; background: radial-gradient(closest-side, rgba(154, 116, 51, .13), transparent 72%); pointer-events: none; }
.law-hero-sm { padding: 56px 0 32px; }
.law-hero-grid { display: grid; gap: 40px; align-items: center; position: relative; }
@media (min-width: 980px) { .law-hero-grid { grid-template-columns: 1.35fr 0.85fr; gap: 64px; } }
.law-eyebrow { display: flex; align-items: center; gap: 12px; color: var(--brass); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 22px; }
.law-rule { width: 38px; height: 1px; background: var(--brass); display: inline-block; }
.law-hero-title { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 6.2vw, 74px); line-height: 1.02; letter-spacing: -.015em; max-width: 15ch; }
.law-hero-sm .law-hero-title { max-width: 22ch; font-size: clamp(36px, 5vw, 60px); }
.law-hero-desc { font-size: clamp(17px, 1.6vw, 19px); color: var(--text-muted); line-height: 1.65; margin: 24px 0 34px; max-width: 58ch; }
body.law .hero-ctas { justify-content: flex-start; flex-wrap: wrap; gap: 12px; }
.law-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); margin-bottom: 26px; }
.law-back:hover { color: var(--ink); }

.law-hero-card { background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--card-shadow); position: relative; }
.law-hero-card::before { content: ""; position: absolute; top: 0; left: 30px; right: 30px; height: 3px; background: linear-gradient(90deg, var(--brass), var(--brass-2)); border-radius: 0 0 3px 3px; }
.law-card-title { font-family: var(--serif); font-size: 26px; font-weight: 600; margin-bottom: 18px; }
.law-hero-card dl { display: grid; gap: 14px; margin-bottom: 24px; }
.law-hero-card dl > div { display: grid; gap: 2px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.law-hero-card dt { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-subtle); font-weight: 700; }
.law-hero-card dd { font-size: 16px; font-weight: 600; }
.law-hero-card dd a { color: var(--brass); }
.law-sticky { position: sticky; top: 100px; }

.law-stats { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.law-stats > div { padding: 22px 8px; display: flex; flex-direction: column; gap: 2px; }
.law-stats > div + div { border-left: 1px solid var(--line); padding-left: 24px; }
.law-stats strong { font-family: var(--serif); font-size: 44px; font-weight: 600; line-height: 1; color: var(--ink); }
.law-stats span { color: var(--text-muted); font-size: 14px; }

/* ---- Arii de practica ---- */
.law-areas { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; grid-template-columns: 1fr; }
@media (min-width: 680px) { .law-areas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .law-areas { grid-template-columns: repeat(4, 1fr); } }
.law-area { background: #fffdf8; padding: 30px 26px 26px; display: flex; flex-direction: column; gap: 10px; min-height: 240px; transition: background .25s; }
.law-area:hover { background: #fff; }
.law-area-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--paper-2); color: var(--brass); display: inline-flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 6px; transition: background .25s, color .25s; }
.law-area:hover .law-area-icon { background: var(--ink); color: #fff; }
.law-area h3 { font-family: var(--serif); font-size: 25px; font-weight: 600; line-height: 1.12; }
.law-area p { color: var(--text-muted); font-size: 15px; line-height: 1.55; flex: 1; }
.law-more { font-weight: 600; font-size: 14px; color: var(--brass); display: inline-flex; gap: 8px; align-items: center; }
.law-area:hover .law-more i { transform: translateX(3px); }
.law-more i { transition: transform .25s; }
.law-areas-compact .law-area { min-height: 0; flex-direction: row; align-items: center; gap: 14px; padding: 20px 22px; }
.law-areas-compact .law-area h3 { font-size: 21px; }
.law-areas-compact .law-area-icon { margin: 0; flex-shrink: 0; }

/* ---- De ce noi (fundal inchis) ---- */
.law-dark { background: var(--ink); color: #e9e4d8; }
.law-dark .section-title { color: #fff; }
.law-dark .section-eyebrow { color: var(--brass-2); }
.law-why { display: grid; gap: 1px; grid-template-columns: 1fr; background: rgba(255,255,255,.1); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 720px) { .law-why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .law-why { grid-template-columns: repeat(4, 1fr); } }
.law-why-item { background: var(--ink); padding: 32px 28px; }
.law-why-item i { color: var(--brass-2); font-size: 22px; margin-bottom: 18px; display: block; }
.law-why-item h4 { font-family: var(--serif); color: #fff; font-size: 24px; font-weight: 600; margin-bottom: 10px; }
.law-why-item p { color: #b9b6ae; font-size: 15px; line-height: 1.6; }

/* ---- Pasi ---- */
.law-steps { list-style: none; display: grid; gap: 28px; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 900px) { .law-steps { grid-template-columns: repeat(4, 1fr); gap: 36px; } }
.law-steps li { border-top: 1px solid var(--ink); padding-top: 18px; }
.law-step-n { font-family: var(--serif); font-size: 44px; color: var(--brass); line-height: 1; display: block; margin-bottom: 12px; }
.law-steps h4 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.law-steps p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

/* ---- Dosarul online ---- */
.law-track { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .law-track { grid-template-columns: 1.1fr .9fr; } }
.law-track .section-eyebrow, .law-contact .section-eyebrow { text-align: left; }
.law-checks { list-style: none; display: grid; gap: 12px; }
.law-checks li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.law-checks i { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.law-mock { background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--card-shadow); transform: rotate(-1.2deg); }
.law-mock-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 20px; }
.law-mock-pill { font-family: "Source Sans 3", sans-serif; font-size: 12px; font-weight: 700; color: #8a5a0a; background: #f6e7c8; padding: 4px 10px; border-radius: 999px; }
.law-mock-next { display: flex; gap: 16px; align-items: center; padding: 16px; background: var(--paper); border-radius: 14px; margin-bottom: 18px; }
.law-mock-date { background: var(--ink); color: #fff; border-radius: 12px; width: 64px; text-align: center; padding: 8px 0; }
.law-mock-date b { display: block; font-size: 26px; line-height: 1; font-family: var(--serif); }
.law-mock-date span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.law-mock-label { font-size: 12px; color: var(--text-subtle); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.law-mock-time { font-size: 20px; font-weight: 700; }
.law-mock-line { height: 10px; background: var(--paper-2); border-radius: 6px; margin-top: 10px; }
.law-mock-line.short { width: 60%; }

/* ---- Echipa ---- */
.law-team { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.law-person img, .law-initials { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-md); background: var(--paper-2); }
.law-initials { display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 64px; color: var(--brass); }
.law-person figcaption { padding-top: 14px; display: grid; gap: 3px; }
.law-person strong { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.law-pos { color: var(--brass); font-weight: 600; font-size: 14px; }
.law-spec { color: var(--text-muted); font-size: 14px; }
.law-person p { color: var(--text-muted); font-size: 14.5px; line-height: 1.55; margin-top: 6px; }

/* ---- Pagina ariei de practica ---- */
.law-practice-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 980px) { .law-practice-grid { grid-template-columns: 1.4fr .8fr; gap: 72px; } }
.law-services { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); margin-bottom: 40px; }
.law-services li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.law-services i { color: var(--brass); margin-top: 5px; }
.law-services strong { font-size: 18px; display: block; margin-bottom: 4px; }
.law-services p { color: var(--text-muted); line-height: 1.6; }
.law-prose { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.law-prose p { margin-bottom: 16px; }
.law-prose h3 { font-family: var(--serif); font-size: 26px; margin: 26px 0 10px; }

/* ---- Contact ---- */
.law-contact { border-top: 1px solid var(--line); }
.law-contact-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .law-contact-grid { grid-template-columns: 1.2fr .8fr; align-items: center; } }
.law-contact-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.law-contact-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.law-contact-list i { color: var(--brass); width: 20px; margin-top: 4px; }
.law-contact-list a { font-weight: 600; }
.law-contact-list li div a { color: var(--brass); font-size: 14px; }

/* ---- Componente existente, reimbracate ---- */
body.law .review-card, body.law .faq-item, body.law .final-cta .inner, body.law .blog-card { background: #fffdf8; box-shadow: none; }
body.law .review-card blockquote { font-family: var(--serif); font-size: 21px; line-height: 1.4; }
body.law .faq-item summary { font-size: 17px; }
body.law .final-cta h2, body.law .blog-title { font-family: var(--serif); font-weight: 600; }
body.law .final-cta h2 { font-size: clamp(30px, 4vw, 46px); }
body.law .center-link a { color: var(--brass); }
body.law .modal-card { border-radius: var(--radius-lg); }
body.law .modal-tab.active { background: var(--ink); color: #fff; }
body.law .law-footer { background: var(--ink); color: #b9b6ae; border-top: 0; }
body.law .law-footer h5 { color: #fff; }
body.law .law-footer .law-brand-name { color: #fff; }
body.law .law-footer .footer-links a:hover { color: #fff; }
body.law .law-footer .footer-bottom { border-color: rgba(255,255,255,.12); color: #8e8b84; }
body.law .drawer-top .law-brand-name { font-size: 20px; }

@media (max-width: 640px) {
    .law-section { padding: 68px 0; }
    .law-hero { padding: 40px 0 36px; }
    .law-stats > div + div { border-left: 0; padding-left: 8px; border-top: 1px solid var(--line); }
    .law-mock { transform: none; }
}
