/* HR Mixology — tokenuri din Brand Book, ajustate pentru contrast WCAG AA.
   --copper rămâne decorativ; textul și butoanele pe fundal deschis folosesc --copper-ink. */
:root {
  --ink: #0F1117;
  --cream: #F9F5EE;
  --paper: #FFFDF9;
  --copper: #C4693A;
  --copper-ink: #A3522A;     /* 5.1:1 pe cream; alb pe el 5.5:1 */
  --copper-deep: #8A4421;
  --copper-light: #E8956A;   /* pe ink 8:1 */
  --copper-pale: #F5E4D8;
  --sage: #2D5A40;
  --sage-pale: #DCE9E1;
  --stone: #D6CEBC;          /* doar linii decorative */
  --line: #8C8270;           /* margini de controale, 3.5:1 pe cream */
  --muted: #5E574A;          /* text secundar pe cream, 6.6:1 */
  --muted-on-ink: #B5B0A4;   /* text secundar pe ink, 8.7:1 */
  --error: #A12A2A;

  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --max: 1120px;
  --text: 68ch;
  --gutter: clamp(16px, 5vw, 64px);
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 72px; --s7: 104px;
  --radius: 4px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--s2); }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); font-weight: 300; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 300; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 var(--s2); max-width: var(--text); }
ul, ol { margin: 0; padding: 0; }
a { color: var(--copper-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--copper-deep); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--copper-ink); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible { outline-color: var(--copper-light); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--radius); font-weight: 500; }
.skip-link:focus { top: 12px; color: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--s7) 0; }
.section--tight { padding: var(--s6) 0; }
.section--paper { background: var(--paper); border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }
.section--ink { background: var(--ink); color: var(--cream); }
.section--sage { background: var(--sage); color: #fff; }
.section--ink a, .section--sage a { color: var(--copper-light); }
.section--ink a:hover, .section--sage a:hover { color: #fff; }
.lead { font-size: clamp(1.125rem, 1.8vw, 1.3rem); line-height: 1.6; }
.muted { color: var(--muted); }
.on-dark .muted { color: var(--muted-on-ink); }
.eyebrow { display: block; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper-ink); margin-bottom: var(--s2); }
.on-dark .eyebrow { color: var(--copper-light); }
.section-head { max-width: 760px; margin-bottom: var(--s5); }

/* Butoane: țintă minimă 44 × 44 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  background: var(--copper-ink); color: #fff; border: 2px solid var(--copper-ink);
  border-radius: var(--radius); font: 500 0.95rem/1.2 var(--f-body); letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; text-align: center;
}
.btn-header, .header-cta-mobile { white-space: nowrap; }
.btn:hover { background: var(--copper-deep); border-color: var(--copper-deep); color: #fff; text-decoration: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.on-dark .btn--ghost { color: var(--cream); border-color: var(--muted-on-ink); }
.on-dark .btn--ghost:hover { color: #fff; border-color: #fff; }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s4); }
.text-link { font-weight: 500; }
.text-link::after { content: ' →'; }

/* HEADER */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--cream); border-bottom: 1px solid var(--stone); }
.header-inner { display: flex; align-items: center; gap: var(--s3); min-height: var(--header-h); max-width: 1280px; }
.logo { font-family: var(--f-display); font-size: 1.3rem; font-weight: 300; color: var(--ink); text-decoration: none; white-space: nowrap; padding: 8px 0; }
.logo span { color: var(--copper-ink); font-weight: 400; }
.logo:hover { color: var(--ink); }
.menu { display: flex; align-items: center; gap: var(--s3); margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list a { white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 10px; color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 500; border-radius: var(--radius); }
.nav-list a:hover { color: var(--copper-ink); text-decoration: underline; }
.nav-list a[aria-current="page"], .nav-list a.is-section { color: var(--copper-ink); box-shadow: inset 0 -2px 0 var(--copper-ink); border-radius: 0; }
.sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 32px; min-height: 44px; margin-left: -6px; background: none; border: 0; color: var(--ink); cursor: pointer; border-radius: var(--radius); }
.sub-toggle svg { transition: transform .15s; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu { list-style: none; }
.js .submenu[hidden] { display: none; }
.lang-switch { list-style: none; display: flex; white-space: nowrap; align-items: center; gap: 2px; font-size: 0.9rem; }
.lang-switch li + li::before { content: '/'; color: var(--muted); margin: 0 2px; }
.lang-switch a { display: inline-flex; align-items: center; min-height: 44px; min-width: 32px; justify-content: center; padding: 0 6px; color: var(--muted); text-decoration: none; font-weight: 500; }
.lang-switch a:hover { color: var(--ink); text-decoration: underline; }
.lang-switch a[aria-current="true"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; }
.lang-full { display: none; }
.header-cta-mobile { display: none; }
.menu-toggle { display: none; }

@media (min-width: 1181px) {
  .submenu { position: absolute; top: 100%; left: 0; min-width: 300px; background: var(--paper); border: 1px solid var(--stone); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(15,17,23,.12); padding: 8px; }
  .submenu a { display: flex; flex-direction: column; align-items: flex-start; padding: 10px 12px; min-height: 44px; }
  .submenu a small { font-weight: 400; color: var(--muted); font-size: 0.82rem; }
  .no-js .has-sub:focus-within .submenu, .no-js .has-sub:hover .submenu { display: block; }
}

@media (max-width: 1180px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; background: none; border: 1px solid var(--line); border-radius: var(--radius); font: 500 0.95rem var(--f-body); color: var(--ink); cursor: pointer; }
  .header-cta-mobile { display: inline-flex; margin-left: auto; min-height: 44px; padding: 8px 14px; font-size: 0.9rem; }
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .menu { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: var(--s2); margin: 0; padding: 8px 0 var(--s3); border-top: 1px solid var(--stone); }
  .js .menu:not(.is-open) { display: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--stone); }
  .nav-list > li > a { flex: 1; padding: 12px 0; font-size: 1.05rem; }
  .sub-toggle { width: 48px; }
  .submenu { flex-basis: 100%; padding: 0 0 12px 16px; }
  .submenu a { padding: 8px 0; font-weight: 400; }
  .submenu small { display: none; }
  .lang-switch { padding-top: 4px; }
  .lang-short, .lang-sr { display: none; }
  .lang-full { display: inline; }
  .menu .btn-header { display: none; }
}
@media (max-width: 419px) {
  /* Pe ecrane foarte înguste, CTA-ul trece în meniu ca să nu forțeze un al doilea rând. */
  .header-cta-mobile { display: none; }
  .menu-toggle { margin-left: auto; }
  .menu .btn-header { display: inline-flex; align-self: flex-start; }
}

/* HERO */
.hero { background: var(--ink); color: var(--cream); padding: clamp(64px, 11vw, 136px) 0 clamp(56px, 8vw, 104px); }
.hero h1 { max-width: 15ch; margin-bottom: var(--s3); }
.hero .lead { color: #fff; max-width: 60ch; }
.hero p { color: var(--muted-on-ink); }
.hero .micro { font-size: 0.9rem; margin-top: var(--s3); max-width: 60ch; }
.hero-mark { display: block; width: 56px; height: 3px; background: var(--copper); margin-bottom: var(--s3); }

/* PAGE HEAD (pagini interioare) */
.page-head { padding: var(--s6) 0 var(--s5); border-bottom: 1px solid var(--stone); }
.page-head h1 { max-width: 22ch; }
.page-head .lead { color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; font-size: 0.9rem; margin-bottom: var(--s3); color: var(--muted); }
.breadcrumb li + li::before { content: '/'; margin-right: 4px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--ink); }

/* GRIDURI ȘI CARDURI */
.grid { display: grid; gap: var(--s3); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid-4.cols-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 960px) { .grid-4.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; background: var(--paper); border: 1px solid var(--stone); border-radius: var(--radius); padding: var(--s4) var(--s3); display: flex; flex-direction: column; }
.card h3 { margin-bottom: var(--s1); }
.card .card-sub { font-size: 0.9rem; color: var(--muted); margin-bottom: var(--s2); }
.card p:last-of-type { flex: 1; }
.card .text-link { margin-top: var(--s2); }
.card--tool { border-top: 3px solid var(--copper); }
.card-note { margin-top: var(--s3); font-size: 0.95rem; color: var(--muted); }

.problems { list-style: none; display: grid; gap: 0 var(--s3); grid-template-columns: 1fr; border-top: 1px solid var(--stone); }
@media (min-width: 640px) { .problems { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .problems { grid-template-columns: repeat(4, 1fr); } }
.problems li { padding: var(--s4) var(--s3) var(--s4) 0; border-bottom: 1px solid var(--stone); }
.problems h3 { font-size: 1.2rem; }
.problems p { color: var(--muted); font-size: 1rem; }
.problems a { font-size: 0.95rem; }

.checklist { list-style: none; display: grid; gap: var(--s2); }
.checklist li { position: relative; padding-left: 32px; max-width: 70ch; }
.checklist li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 14px; height: 8px; border-left: 2px solid var(--copper-ink); border-bottom: 2px solid var(--copper-ink); transform: rotate(-45deg); }
.on-dark .checklist li::before { border-color: var(--copper-light); }

.split { display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: start; }

/* PROCES */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 2px; background: var(--stone); border: 1px solid var(--stone); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(7, 1fr); } }
.steps li { counter-increment: step; background: var(--paper); padding: var(--s3) var(--s2); font-weight: 500; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--f-display); font-style: italic; font-weight: 300; color: var(--copper-ink); font-size: 1.6rem; line-height: 1; margin-bottom: 10px; }
.steps li:last-child { background: var(--sage-pale); }
.steps-note { margin-top: var(--s2); font-size: 0.95rem; color: var(--muted); }

.stage-table { width: 100%; border-collapse: collapse; font-size: 1rem; background: var(--paper); }
.stage-table caption { text-align: left; font-weight: 500; padding-bottom: var(--s2); color: var(--muted); }
.stage-table th, .stage-table td { text-align: left; vertical-align: top; padding: var(--s2); border-bottom: 1px solid var(--stone); }
.stage-table thead th { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); }
.stage-table tbody th { font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; white-space: nowrap; }
.stage-table tbody th span { display: block; font-family: var(--f-body); font-size: 0.8rem; color: var(--copper-ink); font-weight: 500; }
@media (max-width: 760px) {
  .stage-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .stage-table, .stage-table tbody, .stage-table tr, .stage-table th, .stage-table td { display: block; width: 100%; }
  .stage-table tr { border: 1px solid var(--stone); border-radius: var(--radius); margin-bottom: var(--s2); }
  .stage-table td, .stage-table th { border-bottom: 0; padding: 8px var(--s2); }
  .stage-table td::before { content: attr(data-label); display: block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
}

/* PAGINI DE DIRECȚIE */
.facts { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); border-top: 2px solid var(--ink); }
.facts > div { padding: var(--s3) var(--s3) var(--s3) 0; border-bottom: 1px solid var(--stone); }
.facts h2 { font-family: var(--f-body); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--copper-ink); margin-bottom: var(--s1); }
.facts p { margin: 0; }
.example { margin: 0; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); padding: var(--s4) var(--s3); }
.example figcaption { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s2); }
.example p { margin: 0; font-family: var(--f-display); font-size: 1.2rem; font-weight: 300; line-height: 1.5; }
.boundary { border-left: 3px solid var(--sage); padding: var(--s1) 0 var(--s1) var(--s3); }
.boundary h2 { font-size: 1.4rem; }

/* FAQ */
.faq { border-top: 1px solid var(--stone); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--stone); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--s2); align-items: center; min-height: 56px; padding: var(--s2) 0; font-family: var(--f-display); font-size: 1.2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--f-body); font-size: 1.5rem; color: var(--copper-ink); flex-shrink: 0; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding-bottom: var(--s3); color: var(--muted); }

/* CTA FINAL */
.cta-band { background: var(--copper-pale); border-top: 1px solid var(--stone); padding: var(--s6) 0; }
.cta-band h2 { max-width: 24ch; }

/* CONTACT */
.contact-main { list-style: none; display: grid; gap: var(--s5); }
.contact-main h2 { font-family: var(--f-body); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-value { overflow-wrap: anywhere; font-family: var(--f-display); font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 300; margin-bottom: var(--s2); }
.contact-value a { color: var(--ink); text-decoration-color: var(--copper); }
.contact-topic { font-size: 0.95rem; color: var(--muted); }
.hint { font-size: 0.9rem; color: var(--muted); margin: 0; }
.warning { background: var(--copper-pale); border-left: 3px solid var(--copper-ink); padding: 12px 16px; font-size: 0.95rem; margin: 0; }

/* SERVICII: stay interviews, BLEND */
.plain-list { list-style: none; }
.card-title { font-family: var(--f-display); font-size: 1.3rem; font-weight: 400; margin: 0 0 var(--s1); }
.case { background: var(--sage); color: #fff; border-radius: var(--radius); padding: var(--s4); }
.case p { color: #fff; }
.case-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; margin: var(--s3) 0 0; background: rgba(255,255,255,.15); }
.case-stats div { background: var(--sage); padding: var(--s2) var(--s2) var(--s2) 0; display: flex; flex-direction: column-reverse; }
.case-stats dd { margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: 1.8rem; color: var(--copper-light); line-height: 1.1; }
.case-stats dt { font-size: 0.9rem; color: #E6E2D8; margin-top: 4px; }
.blend { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--stone); }
.blend li { display: grid; grid-template-columns: 64px 1fr; gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--stone); }
.blend-letter { font-family: var(--f-display); font-size: 2.6rem; font-weight: 300; font-style: italic; color: var(--copper-ink); line-height: 1; }
.blend h3 { margin-bottom: 6px; }
.blend-en { display: block; font-family: var(--f-body); font-size: 0.85rem; color: var(--muted); font-weight: 400; letter-spacing: 0; margin-top: 4px; }
.blend p { margin: 0; color: var(--muted); }

/* DESPRE */
.certs { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--stone); margin-top: var(--s2); }
.certs li { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--stone); }
.certs strong { font-weight: 500; }
.certs span { font-size: 0.9rem; color: var(--muted); }

/* CONFIDENȚIALITATE */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: var(--s5); }
.prose h2:first-child { margin-top: 0; }

/* FOOTER */
.site-footer { background: var(--ink); color: var(--cream); padding: var(--s6) 0 var(--s4); font-size: 0.95rem; }
.footer-grid { display: grid; gap: var(--s5); grid-template-columns: 1fr; padding-bottom: var(--s5); border-bottom: 1px solid rgba(255,255,255,.12); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer .footer-brand .logo { display: inline-block; }
.footer-brand .logo { color: var(--cream); }
.footer-brand .logo span { color: var(--copper-light); }
.footer-tag { font-family: var(--f-display); font-style: italic; font-weight: 300; color: var(--muted-on-ink); max-width: 36ch; margin-top: var(--s2); }
.site-footer h2 { font-family: var(--f-body); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-on-ink); font-weight: 500; margin-bottom: var(--s2); }
.site-footer ul { list-style: none; display: grid; gap: 2px; }
.site-footer a { color: var(--cream); text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.site-footer a:hover { color: var(--copper-light); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); padding-top: var(--s3); color: var(--muted-on-ink); font-size: 0.88rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
