/* cauto.ro — stiluri de bază (din designul MVP) */

/* Fonturi găzduite local (licență SIL OFL 1.1 — vezi assets/fonts/OFL-*.txt) */
@font-face {
  font-family: 'Figtree';
  src: url('../fonts/figtree-var.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-var.woff2') format('woff2');
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #FFFAF4;
  --surface: #FFFFFF;
  --sand: #F4EEE6;
  --line: #EFE6DA;
  --line-strong: #E5DACB;
  --ink: #1F2A2C;
  --ink-2: #3D4748;
  --muted: #4F5A5B;
  --teal: #1E5F57;
  --teal-dark: #15453F;
  --teal-tint: #E4F0EC;
  --teal-on: #D5E8E2;
  --peach: #FBE3D3;
  --peach-ink: #8A3F22;
  --rust: #A4502F;
  --brand-dot: #C2603A;
  --honey: #FCEFC9;
  --honey-ink: #7A5A10;
  --star: #E0A21B;
  --danger: #B3261E;
  --danger-tint: #FCE8E6;
  --radius: 22px;
  --font-display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow: 0 18px 40px -26px rgba(31, 42, 44, 0.32);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.display { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }
.eyebrow { font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rust); }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip-link:focus { left: 8px; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-word { font-family: var(--font-display); font-weight: 700; font-size: 23px; letter-spacing: -0.02em; }
.brand-word span { color: var(--brand-dot); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: 999px; border: 0;
  font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--teal); color: #FFFFFF; }
.btn-primary:hover { background: var(--teal-dark); color: #FFFFFF; }
.btn-soft { background: var(--peach); color: var(--peach-ink); }
.btn-soft:hover { background: #F7D2BC; color: var(--peach-ink); }
.btn-outline { background: transparent; border: 1.5px solid var(--teal); color: var(--teal); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--sand); color: var(--ink); }
.btn-neutral { background: var(--surface); border: 1.5px solid #D9CDBD; color: var(--ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 250, 244, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.main-nav { display: flex; align-items: center; gap: 26px; font-weight: 500; font-size: 16px; }
.main-nav a { color: var(--ink); text-decoration: none; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--teal); }
.main-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.header-actions form { margin: 0; }
.header-actions .btn { white-space: nowrap; }
.nav-icon-btn { position: relative; padding: 0 14px; }
.nav-icon-btn .nav-badge { margin-left: 2px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 14px; background: var(--sand); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }

/* Meniul contului (dropdown) */
.account-menu { position: relative; }
.account-trigger { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px 0 4px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); cursor: pointer; font-weight: 600; font-size: 15px; user-select: none; }
.account-trigger::-webkit-details-marker { display: none; }
.account-trigger:hover { border-color: #D9CDBD; }
.account-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--teal-tint); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex: 0 0 auto; }
.account-chevron { color: var(--muted); transition: transform .15s; }
.account-menu[open] .account-chevron { transform: rotate(180deg); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 260px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 50px -24px rgba(31, 42, 44, 0.35); display: flex; flex-direction: column; }
.menu-head { display: flex; flex-direction: column; padding: 10px 12px 12px; border-bottom: 1px solid #F3ECE2; margin-bottom: 6px; line-height: 1.35; }
.menu-head .muted { font-size: 13px; }
.menu-panel a, .menu-panel button { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 12px; color: var(--ink); text-decoration: none; font: inherit; font-size: 15px; font-weight: 500; background: none; border: 0; width: 100%; text-align: left; cursor: pointer; white-space: nowrap; }
.menu-panel a svg, .menu-panel button svg { color: var(--muted); flex: 0 0 auto; }
.menu-panel a:hover, .menu-panel button:hover, .menu-panel a:focus-visible, .menu-panel button:focus-visible { background: var(--bg); color: var(--ink); }
.menu-panel form { margin: 0; }
.menu-sep { height: 1px; background: #F3ECE2; margin: 6px 4px; }
.menu-label { padding: 6px 12px 2px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rust); }

/* sub 1100px ascundem textul „Mesaje” (rămâne iconița cu numărul de necitite) */
@media (max-width: 1100px) {
  .nav-icon-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .main-nav { gap: 20px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .main-nav, .header-actions { display: none; }
  .site-header.is-open .container { flex-wrap: wrap; }
  .site-header.is-open .main-nav,
  .site-header.is-open .header-actions { display: flex; flex-direction: column; align-items: stretch; width: 100%; gap: 4px; }
  .site-header.is-open .main-nav a { min-height: 44px; display: flex; align-items: center; padding: 0 12px; border-radius: 12px; }
  .site-header.is-open .main-nav a[aria-current="page"] { background: var(--teal-tint); text-decoration: none; }
  .site-header.is-open .header-actions { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
  .site-header.is-open .header-actions .btn { width: 100%; justify-content: flex-start; padding: 0 12px; }
  .site-header.is-open .menu-panel a, .site-header.is-open .menu-panel button { padding: 0 12px; }
  .site-header.is-open .account-trigger { padding: 4px 12px 4px 4px; min-height: 52px; }
  .site-header.is-open .nav-icon-label { position: static; width: auto; height: auto; clip: auto; }
  /* pe mobil, meniul contului apare desfășurat în listă */
  .site-header.is-open .account-trigger { width: 100%; border: 0; padding: 4px 12px 4px 4px; background: none; pointer-events: none; }
  .site-header.is-open .account-chevron { display: none; }
  .site-header.is-open .menu-panel { position: static; box-shadow: none; border: 0; padding: 0; min-width: 0; }
  .site-header.is-open .menu-head { display: none; }
}

/* ---------- Flash ---------- */
.flash { margin: 16px auto 0; max-width: 1200px; padding: 0 24px; }
.flash-box { display: flex; gap: 10px; align-items: flex-start; padding: 14px 18px; border-radius: 16px; font-size: 15px; }
.flash-success { background: var(--teal-tint); color: var(--teal-dark); }
.flash-error { background: var(--danger-tint); color: var(--danger); }
.flash-info { background: var(--honey); color: var(--honey-ink); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-weight: 600; font-size: 15px; }
.field-hint { font-size: 13px; color: var(--muted); }
.field-error { font-size: 14px; color: var(--danger); font-weight: 500; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: 14px;
  background: var(--surface); font: inherit; font-size: 16px; color: var(--ink);
}
.textarea { padding: 12px 14px; min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); }
.field.has-error .input { border-color: var(--danger); }
.check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding-top: 10px; font-size: 15px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--teal); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 480px) { .grid-2 { grid-template-columns: 1fr; } }
.divider { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.divider::before, .divider::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--line-strong); }

/* Role cards (radio) */
.role-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; border: 0; }
.role-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 20px; border: 1.5px solid var(--line-strong); background: var(--surface); cursor: pointer; }
.role-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.role-card strong { font-size: 17px; }
.role-card span { font-size: 14px; color: var(--muted); }
.role-card:has(input:checked) { border: 2px solid var(--teal); background: var(--teal-tint); }
.role-card.role-nanny:has(input:checked) { border-color: var(--rust); background: var(--peach); }
.role-card:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }

/* ---------- Auth layout ---------- */
.auth-wrap { min-height: 100vh; display: flex; flex-wrap: wrap; }
.auth-aside { flex: 1 1 420px; position: relative; overflow: hidden; background: var(--teal); color: #FFFFFF; padding: 40px 48px; display: flex; flex-direction: column; gap: 40px; }
.auth-aside::before { content: ""; position: absolute; right: -120px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; background: #24706A; }
.auth-aside > * { position: relative; }
.auth-aside .brand { color: #FFFFFF; }
.auth-aside .brand-word span { color: #F7C3A6; }
.auth-aside h2 { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1.08; letter-spacing: -0.02em; max-width: 460px; }
.auth-aside ul { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 17px; color: var(--teal-tint); max-width: 460px; }
.auth-aside li { display: flex; gap: 12px; align-items: flex-start; }
.auth-aside .legal { margin-top: auto; font-size: 14px; color: #BFDAD3; }
.auth-main { flex: 1.3 1 520px; padding: 40px 24px 64px; display: flex; justify-content: center; }
.auth-card { width: 100%; max-width: 480px; display: flex; flex-direction: column; gap: 22px; }
.auth-card h1 { font-family: var(--font-display); font-weight: 700; font-size: 34px; letter-spacing: -0.02em; }
.auth-card form { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; font-size: 14px; }
.notice-peach { background: var(--peach); color: #3D2A20; }
.notice-teal { background: var(--teal-tint); color: var(--ink); }

@media (max-width: 760px) {
  .auth-aside { padding: 24px; gap: 20px; flex-basis: 100%; }
  .auth-aside h2 { font-size: 28px; }
  .auth-aside ul, .auth-aside .legal { display: none; }
  .auth-main { padding: 28px 20px 48px; }
}

/* ---------- Landing ---------- */
.hero { padding: 72px 0 88px; }
.hero .container { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--teal-tint); color: var(--teal); font-weight: 600; font-size: 14px; }
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 5.2vw, 60px); line-height: 1.04; letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-lead { max-width: 540px; font-size: 19px; color: var(--muted); }
.search-box { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px; background: var(--surface); border: 1px solid #EBE1D4; border-radius: 22px; box-shadow: var(--shadow); margin: 0; }
.search-box label { flex: 1 1 160px; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 8px 14px; }
.search-box label + label { border-left: 1px solid var(--line); }
.search-box .lbl { font-size: 13px; font-weight: 600; color: var(--muted); }
.search-box input, .search-box select { border: 0; outline: none; background: transparent; font: inherit; font-size: 16px; color: var(--ink); padding: 2px 0; min-height: 28px; }
.search-box .btn { min-height: 56px; border-radius: 16px; }
@media (max-width: 640px) {
  .search-box { flex-direction: column; gap: 0; padding: 6px; }
  /* în coloană, flex-basis (160px) ar deveni ÎNĂLȚIMEA câmpului — de aici spațiile mari */
  .search-box label { flex: 0 0 auto; padding: 10px 14px; }
  .search-box label + label { border-left: 0; border-top: 1px solid var(--line); }
  .search-box .btn { margin-top: 6px; min-height: 52px; }
}
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; color: var(--muted); }
.ticks li { display: flex; align-items: center; gap: 8px; }

.hero-visual { flex: 1 1 420px; min-width: 0; position: relative; min-height: 460px; }
.hero-visual .blob { position: absolute; inset: 30px 10px 10px 40px; border-radius: 48px; background: var(--peach); }
.hero-visual .dot { position: absolute; top: 0; right: 30px; width: 150px; height: 150px; border-radius: 50%; background: var(--teal-tint); }
.float-card { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: 0 24px 50px -28px rgba(31, 42, 44, 0.35); }
.float-card.one { top: 60px; left: 0; right: 70px; display: flex; gap: 16px; align-items: center; }
.float-card.two { top: 220px; left: 70px; right: 0; display: flex; flex-direction: column; gap: 10px; }
.float-badge { position: absolute; bottom: 30px; left: 24px; background: var(--teal); color: #FFFFFF; border-radius: 20px; padding: 16px 20px; display: flex; align-items: center; gap: 12px; }
@media (max-width: 640px) { .hero-visual { display: none; } .hero { padding: 40px 0 56px; } }

.avatar { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; }
.avatar-lg { width: 72px; height: 72px; border-radius: 22px; font-size: 26px; }
.av-honey { background: #F6D9A8; color: #6B4A12; }
.av-sage { background: #CFE3DC; color: var(--teal); }
.av-lilac { background: #E3DAF0; color: #4B3A73; }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.badge-trusted { background: var(--teal); color: #FFFFFF; }
.badge-recommended { background: var(--peach); color: var(--peach-ink); }
.badge-verified { background: #E9EEEC; color: #2F4A45; }

.section { padding: 88px 0; }
.section-white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -0.02em; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.step { padding: 30px; border-radius: 26px; background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.step-num { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.step h3 { font-size: 21px; font-family: var(--font-body); }
.step p { color: var(--muted); }

.trust .container { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.trust-copy { flex: 1 1 400px; display: flex; flex-direction: column; gap: 18px; }
.trust-copy h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -0.02em; }
.ladder { flex: 1 1 480px; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ladder li { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.ladder li.top { background: var(--teal); color: #FFFFFF; border-color: var(--teal); }
.ladder li.top .muted { color: var(--teal-on); }
.ladder .ico { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

.cta-band { border-radius: 36px; background: var(--teal); color: #FFFFFF; padding: 56px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta-band h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.02em; max-width: 620px; }
.cta-band p { color: var(--teal-on); margin-top: 14px; max-width: 560px; font-size: 18px; }
@media (max-width: 640px) { .cta-band { padding: 32px 24px; border-radius: 28px; } .section { padding: 56px 0; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-top: 32px; padding-bottom: 40px; font-size: 15px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer a { color: var(--muted); }

/* ---------- Simple pages ---------- */
.page-narrow { max-width: 640px; margin: 0 auto; padding: 80px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.page-narrow h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4vw, 40px); letter-spacing: -0.02em; }
.icon-tile { width: 88px; height: 88px; border-radius: 28px; background: var(--teal-tint); display: flex; align-items: center; justify-content: center; }

.auth-card .flash { margin: 0; padding: 0; max-width: none; }
[hidden] { display: none !important; }

/* =========================================================
   Modulul 2 — cont, editor profil, verificare, admin
   ========================================================= */
.page-pad { padding-top: 40px; padding-bottom: 64px; }
.h1 { font-size: clamp(28px, 3.6vw, 40px); }
.dash-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-weight: 600; font-size: 15px; text-decoration: none; align-self: flex-start; }
.link-btn { background: none; border: 0; padding: 0; min-height: 32px; font: inherit; font-weight: 600; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.notice-peach .link-btn { color: var(--peach-ink); }

.dash-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.dash-grid > .card:first-child, .dash-grid > form.card { flex: 999 1 460px; }
.dash-grid > aside { flex: 1 1 280px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 26px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card-tint { background: var(--teal-tint); border-color: transparent; }
.card-row { display: flex; gap: 16px; align-items: center; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.avatar-photo { width: 72px; height: 72px; border-radius: 22px; object-fit: cover; flex: 0 0 auto; }
.progress { height: 10px; border-radius: 99px; background: #EBE1D4; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--teal); border-radius: 99px; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.checklist li { display: flex; align-items: center; gap: 12px; min-height: 48px; border-bottom: 1px solid #F3ECE2; font-size: 16px; }
.checklist li:last-child { border-bottom: 0; }
.checklist .grow { flex: 1 1 auto; }
.checklist .tick { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-strong); display: flex; align-items: center; justify-content: center; color: #FFFFFF; }
.checklist li.is-done .tick { background: var(--teal); border-color: var(--teal); }
.checklist li.is-done .grow { color: var(--muted); }
.checklist a { font-weight: 600; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.mini-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.profile-form { display: flex; flex-direction: column; gap: 20px; margin: 0; }
.form-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 26px; display: flex; flex-direction: column; gap: 18px; min-width: 0; scroll-margin-top: 90px; }
.form-card-title { float: left; width: 100%; padding: 0; display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.form-card-title + * { clear: both; }
.num { width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; flex: 0 0 auto; }
.num-teal { background: var(--teal-tint); color: var(--teal); }
.num-peach { background: var(--peach); color: var(--rust); }
.num-honey { background: var(--honey); color: var(--honey-ink); }
.num-sage { background: #E9EEEC; color: #2F4A45; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.sub-fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sub-fieldset > legend { padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 15px; cursor: pointer; }
.chip input:checked + span { border: 1.5px solid var(--teal); background: var(--teal-tint); color: var(--teal); font-weight: 600; }
.chip input:checked + span::before { content: "✓"; margin-right: 6px; }
.chip input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.sub-fieldset.has-error .chip span { border-color: var(--danger); }

.photo-row { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.photo-preview { flex: 0 0 auto; width: 128px; height: 128px; border-radius: 36px; overflow: hidden; display: flex; }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.file-input { font: inherit; font-size: 15px; padding: 10px; border: 1.5px dashed var(--line-strong); border-radius: 14px; background: var(--bg); width: 100%; }
.file-input::file-selector-button { font: inherit; font-weight: 600; margin-right: 12px; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--teal); color: #FFFFFF; cursor: pointer; }
.has-error .file-input { border-color: var(--danger); }
.remove-photo { margin-top: 12px; }

.table-scroll { overflow-x: auto; }
.avail-table { border-collapse: separate; border-spacing: 6px; min-width: 460px; width: 100%; text-align: center; font-size: 14px; }
.avail-table thead th { font-weight: 600; }
.avail-table tbody th { text-align: left; font-weight: 500; color: var(--muted); white-space: nowrap; padding-right: 6px; }
.avail-cell { position: relative; display: block; height: 44px; border-radius: 10px; background: var(--sand); cursor: pointer; }
.avail-cell input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.avail-cell:has(input:checked) { background: var(--teal); }
.avail-cell:has(input:checked)::after { content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #FFFFFF; font-weight: 700; }
.avail-cell:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }

.form-footer { position: sticky; bottom: 0; z-index: 5; display: flex; gap: 10px; align-items: center; padding: 14px 0; background: linear-gradient(to top, var(--bg) 70%, rgba(255,250,244,0)); }

.admin-list { display: flex; flex-direction: column; gap: 14px; }
.prose { max-width: 760px; }
.prose p, .prose ul { margin: 0 0 16px; color: var(--ink-2); }
.prose h1 { margin-bottom: 20px; }
.upload-status { font-size: 14px; color: var(--teal); font-weight: 500; min-height: 1em; }
.upload-status.is-error { color: var(--danger); }
.diag-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.diag-table th, .diag-table td { padding: 12px 8px; border-bottom: 1px solid #F3ECE2; text-align: left; vertical-align: middle; }
.diag-table tr:last-child th, .diag-table tr:last-child td { border-bottom: 0; }
.diag-table th { font-weight: 600; }
.diag-table code { font-size: 13px; word-break: break-all; }
.badge-bad { background: var(--danger-tint); color: var(--danger); }

/* =========================================================
   Modulul 3 — căutare, carduri, profil public
   ========================================================= */
.star-fill { color: var(--star); fill: var(--star); stroke: var(--star); }
.rating { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: 15px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.crumbs a { color: var(--muted); }
.search-head { margin-bottom: 20px; }
.search-head .h1 { margin: 2px 0 6px; }

.search-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); grid-template-areas: "bar bar" "filters results"; gap: 20px 28px; align-items: start; margin: 0; }
.search-bar { grid-area: bar; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.search-city { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--muted); }
.search-city input { flex: 1 1 auto; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 16px; color: var(--ink); }
.search-city:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); }
.search-sort select { min-height: 50px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); font: inherit; font-size: 15px; color: var(--ink); }
.filters-toggle { display: none; min-height: 50px; }
.search-bar .btn-primary { min-height: 50px; }

.filters { grid-area: filters; position: sticky; top: 88px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 22px; max-height: calc(100vh - 110px); overflow-y: auto; }
.filters-head { display: flex; justify-content: space-between; align-items: center; }
.filters-head h2 { font-size: 18px; font-family: var(--font-body); }
.filters-head a { font-weight: 600; font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.filters fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.filters legend { padding: 0; margin-bottom: 8px; font-weight: 600; font-size: 15px; }
.filters .check { padding-top: 0; align-items: center; min-height: 40px; }
.filters .check input { margin: 0; }
.filters .chip span { min-height: 40px; padding: 0 13px; font-size: 14px; }
.filters .chip input:checked + span::before { content: none; }

.results { grid-area: results; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.n-card { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 22px; display: flex; gap: 20px; transition: border-color .15s, box-shadow .15s; }
.n-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.n-card-photo { flex: 0 0 auto; width: 104px; height: 104px; border-radius: 28px; overflow: hidden; display: flex; }
.n-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.n-card-photo .avatar { width: 100%; height: 100%; font-size: 34px; }
.n-card-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.n-card-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; }
.n-card-id { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.n-card-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.n-card-name h2 { font-family: var(--font-body); font-size: 20px; }
.n-card-name h2 a { color: var(--ink); text-decoration: none; }
.n-card-name h2 a:hover { color: var(--teal); }
.n-card-meta { font-size: 15px; }
.n-card-price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.n-card-price strong { font-size: 18px; }
.n-card-price strong .muted { font-weight: 400; font-size: 14px; }
.n-card-bio { color: var(--ink-2); font-size: 16px; }
.n-card-actions { display: flex; gap: 10px; margin-top: 2px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; background: var(--sand); font-size: 13px; font-weight: 500; }
.tag-teal { background: var(--teal-tint); color: var(--teal); font-weight: 600; }
.badge svg { flex: 0 0 auto; }
.safety-tip { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: 22px; background: var(--teal-tint); font-size: 15px; }
.empty { align-items: center; text-align: center; padding: 48px 24px; }
.pager { display: flex; justify-content: center; gap: 8px; padding-top: 8px; flex-wrap: wrap; }
.pager-item { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 6px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; font-weight: 600; background: var(--surface); }
.pager-item.is-current { background: var(--teal); border-color: var(--teal); color: #FFFFFF; }
.pager-gap { display: inline-flex; align-items: center; color: var(--muted); }

@media (max-width: 900px) {
  .search-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "bar" "filters" "results"; }
  .filters-toggle { display: inline-flex; }
  .filters { display: none; position: static; max-height: none; }
  .filters.is-open { display: flex; }
  .search-layout:not(.js) .filters { display: flex; }      /* fără JavaScript: filtrele rămân vizibile */
}
@media (max-width: 560px) {
  .n-card { flex-direction: column; padding: 18px; gap: 14px; }
  .n-card-photo { width: 72px; height: 72px; border-radius: 22px; }
  .n-card-photo .avatar { font-size: 24px; }
  .n-card-price { align-items: flex-start; text-align: left; }
  .n-card-actions .btn { flex: 1 1 auto; }
  .search-sort { flex: 1 1 auto; }
  .search-sort select { width: 100%; }
}

/* Pagina principală: bone verificate */
.section-sand { background: #F4EEE6; }
.section-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.featured-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.f-card { background: var(--surface); border: 1px solid #EBE1D4; border-radius: 26px; padding: 22px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink); }
.f-card:hover { color: var(--ink); box-shadow: var(--shadow); }
.f-card-top { display: flex; gap: 14px; align-items: center; }
.f-card-top img, .f-card-top .avatar { width: 64px; height: 64px; border-radius: 20px; object-fit: cover; flex: 0 0 auto; font-size: 22px; }
.f-card-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid #F0E8DD; font-size: 15px; }
.f-card-foot span { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }

/* Profil public */
.preview-bar { background: var(--honey); color: var(--honey-ink); font-size: 15px; }
.preview-bar .container { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding-top: 12px; padding-bottom: 12px; }
.preview-bar a { color: var(--honey-ink); font-weight: 600; }
.profile-layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; margin-top: 12px; }
.profile-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.profile-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 88px; }
.profile-hero { padding: 0; overflow: hidden; gap: 0; }
.profile-cover { height: 110px; background: radial-gradient(circle at 85% -20%, #F7D2BC 0 90px, transparent 91px), radial-gradient(circle at 70% 110%, var(--teal-tint) 0 45px, transparent 46px), var(--peach); }
.profile-id { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; padding: 0 26px; margin-top: -52px; }
.profile-photo { width: 132px; height: 132px; border-radius: 36px; border: 5px solid var(--surface); object-fit: cover; font-size: 44px; flex: 0 0 auto; background: var(--surface); }
.profile-id-text { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding-bottom: 4px; }
.profile-name { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.profile-name h1 { font-size: clamp(28px, 3.4vw, 36px); }
.profile-id-text .muted { font-size: 15px; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 20px 26px 26px; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 8px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); text-align: center; }
.stat strong { display: inline-flex; align-items: center; gap: 5px; font-size: 20px; }
.stat span { font-size: 13px; color: var(--muted); }
.card-title { font-family: var(--font-display); font-weight: 600; font-size: 22px; }
.card-title-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px; }
.bio { color: var(--ink-2); font-size: 17px; }
.avail-readonly td { padding: 0; }
.avail-dot { display: block; height: 36px; border-radius: 10px; background: var(--sand); }
.avail-dot.is-on { background: var(--teal); }
.legend { display: flex; gap: 18px; font-size: 14px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 14px; height: 14px; border-radius: 4px; background: var(--sand); border: 1px solid var(--line-strong); display: inline-block; }
.lg-on { background: var(--teal); border-color: var(--teal); }
.empty-inline { padding: 18px; border-radius: 18px; background: var(--bg); display: flex; flex-direction: column; gap: 6px; }
.review { display: flex; flex-direction: column; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid #F0E8DD; }
.review:last-child { border-bottom: 0; padding-bottom: 0; }
.review-head { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.35; }
.review-av { width: 42px; height: 42px; border-radius: 50%; background: #CFE3DC; color: var(--teal); font-size: 15px; }
.review-reply { padding: 12px 14px; border-radius: 14px; background: var(--sand); font-size: 15px; }
.contact-card .price { font-family: var(--font-display); font-size: 30px; }
.contact-card .price .muted { font-family: var(--font-body); font-size: 15px; font-weight: 400; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.facts li { display: flex; gap: 10px; align-items: flex-start; }
.facts svg { flex: 0 0 auto; color: var(--teal); margin-top: 2px; }
.small-center { font-size: 14px; text-align: center; }
.report-link { align-self: center; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .profile-side { position: static; } }
@media (max-width: 480px) { .stat-row { padding: 16px; gap: 8px; } .stat strong { font-size: 17px; } .profile-id { padding: 0 18px; } }

/* =========================================================
   Modulul 4 — recenzii
   ========================================================= */
.rate-row { margin: 0; padding: 12px 0; border: 0; border-bottom: 1px solid #F3ECE2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; min-width: 0; }
.rate-row:last-of-type { border-bottom: 0; }
.rate-row > legend { float: left; padding: 0; display: flex; flex-direction: column; line-height: 1.35; font-size: 16px; }
.rate-row > legend .muted { font-size: 14px; }
.rate-row .field-error { flex-basis: 100%; }
.stars-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 0; }
.stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-input label { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #E5DACB; }
.stars-input label svg { fill: currentColor; stroke: currentColor; }
.stars-input input:checked ~ label,
.stars-input label:hover, .stars-input label:hover ~ label { color: var(--star); }
.stars-input input:focus-visible + label { outline: 3px solid var(--teal); outline-offset: -2px; border-radius: 10px; }
.rate-row.has-error .stars-input label { color: #F2C4BF; }
.section-sub { font-family: var(--font-body); font-size: 18px; margin: 8px 0 -4px; }
.review-card p { color: var(--ink-2); }
.reply-form { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; border-top: 1px solid #F0E8DD; margin: 0; }
.rating-summary { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding: 18px; border-radius: 18px; background: var(--bg); }
.rating-big { flex: 0 0 auto; min-width: 110px; display: flex; flex-direction: column; align-items: center; }
.rating-big strong { font-family: var(--font-display); font-size: 50px; line-height: 1; }
.rating-big span { font-size: 14px; color: var(--muted); }
.rating-bars { flex: 1 1 260px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.rbar { display: flex; align-items: center; gap: 10px; }
.rbar-label { flex: 0 0 140px; }
.rbar-track { flex: 1 1 auto; height: 8px; border-radius: 99px; background: #EBE1D4; overflow: hidden; }
.rbar-track span { display: block; height: 100%; background: var(--teal); }
.review-cta { align-self: flex-start; }
.notice-link { text-decoration: none; color: var(--ink); margin-bottom: 20px; align-items: center; }
.notice-link:hover { color: var(--ink); }
.notice-go { margin-left: auto; font-weight: 600; color: var(--teal); }
@media (max-width: 480px) { .rbar-label { flex-basis: 110px; } .stars-input label { width: 40px; } }

/* =========================================================
   Modulul 5 — mesaje, favorite, raportări
   ========================================================= */
.nav-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--brand-dot); color: #FFFFFF; font-size: 12px; font-weight: 700; }
.conv-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.conv-list li + li { border-top: 1px solid #F3ECE2; }
.conv-item { display: flex; align-items: center; gap: 14px; padding: 16px 20px; text-decoration: none; color: var(--ink); min-height: 76px; }
.conv-item:hover { background: var(--bg); color: var(--ink); }
.conv-av { width: 52px; height: 52px; border-radius: 16px; object-fit: cover; flex: 0 0 auto; font-size: 18px; }
.conv-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.conv-top { display: flex; justify-content: space-between; gap: 10px; }
.conv-time { font-size: 13px; flex: 0 0 auto; }
.conv-snippet { font-size: 15px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-item.is-unread .conv-snippet { color: var(--ink); font-weight: 600; }
.unread-dot { flex: 0 0 auto; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 99px; background: var(--teal); color: #FFFFFF; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

.thread-wrap { max-width: 820px; display: flex; flex-direction: column; }
.thread-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.thread-who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.thread { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 18px; display: flex; flex-direction: column; gap: 10px; min-height: 300px; max-height: 62vh; overflow-y: auto; }
.thread-day { align-self: center; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--sand); padding: 3px 12px; border-radius: 99px; margin: 6px 0; }
.msg { display: flex; flex-direction: column; max-width: 78%; }
.msg-mine { align-self: flex-end; align-items: flex-end; }
.msg-theirs { align-self: flex-start; }
.msg-bubble { padding: 10px 14px; border-radius: 18px; font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.msg-mine .msg-bubble { background: var(--teal); color: #FFFFFF; border-bottom-right-radius: 6px; }
.msg-theirs .msg-bubble { background: var(--sand); color: var(--ink); border-bottom-left-radius: 6px; }
.msg-meta { font-size: 12px; color: var(--muted); margin-top: 3px; padding: 0 4px; }
.msg-meta a { color: var(--muted); }
.composer { position: sticky; bottom: 0; display: flex; gap: 10px; align-items: flex-end; margin: 12px 0 0; padding: 10px 0; background: var(--bg); }
.composer textarea { flex: 1 1 auto; min-height: 50px; max-height: 180px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--surface); font: inherit; font-size: 16px; color: var(--ink); resize: none; }
.composer textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); }
.composer .btn { min-height: 50px; }
.start-msg { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.fav-btn svg { transition: fill .15s; }
.fav-btn.is-on { color: var(--brand-dot); border-color: #F2C9B5; }
.fav-btn.is-on svg { fill: var(--brand-dot); }
.review-report { font-size: 13px; color: var(--muted); align-self: flex-start; }
@media (max-width: 560px) { .msg { max-width: 88%; } .thread { max-height: 58vh; padding: 12px; } }

/* =========================================================
   Invitații
   ========================================================= */
.stack-form { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.share-box { display: flex; flex-direction: column; gap: 12px; }
.share-row { display: flex; gap: 8px; }
.share-input { flex: 1 1 auto; min-width: 0; font-size: 14px; background: var(--bg); color: var(--ink-2); }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-whatsapp { background: #1F8F4E; color: #FFFFFF; }
.btn-whatsapp:hover { background: #17763F; color: #FFFFFF; }
.invite-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.invite-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 8px; padding-bottom: 10px; border-bottom: 1px solid rgba(30,95,87,.12); }
.invite-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.invite-email { overflow-wrap: anywhere; min-width: 0; }
.landing-card { gap: 20px; padding: 32px; }
.landing-top { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.landing-photo { width: 112px; height: 112px; border-radius: 32px; object-fit: cover; font-size: 38px; flex: 0 0 auto; }
.landing-top .h1 { margin: 4px 0; }
.landing-quote { margin: 0; padding: 16px 20px; border-left: 4px solid var(--peach); background: var(--bg); border-radius: 0 16px 16px 0; font-size: 17px; color: var(--ink-2); }
.landing-quote cite { display: block; margin-top: 6px; font-style: normal; font-size: 14px; color: var(--muted); }
.landing-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.landing-trust { list-style: none; margin: 20px 0 0; padding: 0 8px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--muted); }
.landing-trust li { display: flex; gap: 10px; align-items: flex-start; }
.landing-trust svg { flex: 0 0 auto; color: var(--teal); margin-top: 2px; }
@media (max-width: 560px) { .landing-card { padding: 22px; } .landing-actions .btn { width: 100%; } .share-row { flex-direction: column; } }

/* când cardul e îngust și prețul trece sub nume, îl aliniem la stânga */
.n-card-body { container-type: inline-size; }
@container (max-width: 560px) {
  .n-card-price { align-items: flex-start; text-align: left; flex-direction: row; flex-wrap: wrap; gap: 4px 14px; }
}

/* =========================================================
   Grila de disponibilitate — se rearanjează după spațiu
   ========================================================= */
.avail { container-type: inline-size; }
.avail-grid { display: grid; grid-template-columns: minmax(96px, auto) repeat(7, minmax(36px, 1fr)); gap: 6px; align-items: center; }
.avail-grid > * { grid-row: var(--dr); grid-column: var(--dc); }
.avail-day { text-align: center; font-weight: 600; font-size: 14px; }
.avail-day .lbl-long { display: none; }
.avail-slot { font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; padding-right: 4px; }
.avail-grid .avail-dot { height: 36px; }
.avail-grid .avail-cell { height: 44px; }

/* îngust (telefon sau card mic): zilele devin rânduri, intervalele coloane */
@container (max-width: 520px) {
  .avail-grid { grid-template-columns: minmax(78px, auto) repeat(3, minmax(0, 1fr)); gap: 6px 8px; }
  .avail-grid > * { grid-row: var(--mr); grid-column: var(--mc); }
  .avail-day { text-align: left; font-size: 15px; }
  .avail-day .lbl-short { display: none; }
  .avail-day .lbl-long { display: inline; }
  .avail-slot { text-align: center; white-space: normal; line-height: 1.2; font-size: 13px; padding: 0 0 2px; }
  .avail-grid .avail-dot { height: 30px; }
  .avail-grid .avail-cell { height: 44px; }
}
.avail-fill { font-family: inherit; background: none; border: 0; padding: 4px 6px; border-radius: 10px; cursor: pointer; color: inherit; min-height: 36px; line-height: 1.2; }
.avail-fill:hover { background: var(--sand); }
.avail-slot.avail-fill { color: var(--muted); text-align: left; font-size: 14px; font-weight: 500; }
.avail-day.avail-fill { font-weight: 600; font-size: 14px; }
.avail-hint { margin-top: 10px; font-size: 13px; color: var(--muted); }
@container (max-width: 520px) {
  .avail-slot.avail-fill { text-align: center; font-size: 13px; padding: 4px 2px; }
  .avail-day.avail-fill { text-align: left; font-size: 15px; padding-left: 0; }
}

/* =========================================================
   Profil extins — disponibilitate, preț lunar, fapte
   ========================================================= */
.dot-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2E9E6B; box-shadow: 0 0 0 3px rgba(46,158,107,.18); margin-right: 6px; vertical-align: middle; }
.tag-avail { background: #E2F4EA; color: #1F6B47; font-weight: 600; }
.tag-soon { background: var(--honey); color: var(--honey-ink); font-weight: 600; }
.tag-busy { background: #ECEAE6; color: #5E5A54; font-weight: 600; }
.contact-card > .tag { align-self: flex-start; }
.price-block { display: flex; flex-direction: column; gap: 2px; }
.price-2 { font-family: var(--font-display); font-size: 20px; color: var(--ink-2); }
.price-2 .muted { font-family: var(--font-body); font-size: 14px; font-weight: 400; }
.profile-facts { margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.profile-facts div { display: flex; gap: 12px; }
.profile-facts dt { flex: 0 0 90px; color: var(--muted); }
.profile-facts dd { margin: 0; color: var(--ink-2); }
.filter-now { font-weight: 600; padding: 10px 12px !important; border-radius: 14px; background: #F1F8F4; }
.radio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.radio-card { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 18px; border: 1.5px solid var(--line-strong); background: var(--surface); cursor: pointer; }
.radio-card input { margin: 3px 0 0; width: 20px; height: 20px; accent-color: var(--teal); flex: 0 0 auto; }
.radio-card span { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.radio-card .muted { font-size: 13px; }
.radio-card:has(input:checked) { border: 2px solid var(--teal); background: var(--teal-tint); }
.radio-cards.has-error .radio-card { border-color: var(--danger); }
.avail-confirm { margin-bottom: 20px; }
.is-suggested .input { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); }
.footer-left { display: flex; flex-direction: column; gap: 2px; }
.footer-small { font-size: 13px; color: var(--muted); }

/* =========================================================
   Pagini juridice
   ========================================================= */
.legal { max-width: 820px; }
.legal h1 { margin-bottom: 8px; }
.legal-meta { font-size: 14px; color: var(--muted); margin-bottom: 24px !important; }
.legal h2 { font-family: var(--font-display); font-size: 24px; letter-spacing: -0.01em; margin: 36px 0 12px; scroll-margin-top: 90px; }
.legal h3 { font-family: var(--font-body); font-size: 18px; margin: 20px 0 8px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal-toc { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; margin: 0 0 8px; font-size: 15px; }
.legal-toc ol { margin: 0; columns: 2; column-gap: 28px; }
.legal-toc li { break-inside: avoid; }
.legal-summary { background: var(--teal-tint); border-radius: 18px; padding: 18px 22px; margin: 0 0 20px; }
.legal-summary ul { margin: 8px 0 0; }
.legal-urgent { background: #FCE8E6; }
.legal-urgent strong:first-child { color: var(--danger); }
.legal-table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 16px; background: var(--surface); border-radius: 14px; overflow: hidden; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal-table th { background: var(--sand); font-weight: 600; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal code { font-size: 14px; background: var(--sand); padding: 1px 6px; border-radius: 6px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 8px; }
.contact-grid .card p { margin: 0; }
.legal-facts dt { flex-basis: 130px; }
@media (max-width: 640px) { .legal-toc ol { columns: 1; } .legal-table { font-size: 14px; } .legal-table th, .legal-table td { padding: 10px; } }
