/* ===== Tokens ===== */
:root {
  --paper: #F2EEE5;
  --surface: #FBF9F4;
  --ink: #0E2219;
  --ink-2: #4D5A52;
  --stone: #968D7E;
  --line: #DDD5C6;
  --pine: #0E2F1D;
  --pine-2: #174A2F;
  --pine-tint: #E1E7DD;
  --crown: #B08D4C;
  --crown-ink: #7E6130;
  --crown-tint: #F1E5CC;
  --busy: #E4DFD4;
  --danger: #A3352B;
  --danger-tint: #F5DEDA;
  --ok: #1F5A39;
  --radius-s: 6px;
  --radius-m: 10px;
  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Marcellus", "Trajan Pro", Georgia, serif;
  --brand-font: "Cinzel", "Trajan Pro", Georgia, serif;
  --wrap: 1160px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.55 var(--font);
  font-feature-settings: "tnum" 1;
}
img { max-width: 100%; display: block; }
a { color: var(--pine); text-underline-offset: 3px; }
a:hover { color: var(--pine-2); }
:focus-visible { outline: 3px solid var(--crown); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: 0; color: var(--pine); }
h1, h2 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: 68ch; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== Header ===== */
.top { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 20; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { color: var(--pine); text-decoration: none; display: flex; align-items: center; gap: 10px; line-height: 1; }
.brand img { width: 44px; height: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-name { font: 700 1.2rem var(--brand-font); letter-spacing: .06em; }
.brand-city { font: 600 .62rem var(--font); letter-spacing: .42em; color: var(--crown-ink); padding-left: 2px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--pine); }
.nav a.btn, .nav a.btn:hover { color: #fff; }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 1rem var(--font); padding: 12px 22px; border-radius: 999px; border: 2px solid var(--pine);
  background: var(--pine); color: #fff; text-decoration: none; cursor: pointer; transition: background .15s;
}
.btn:hover { background: var(--pine-2); border-color: var(--pine-2); color: #fff; }
.btn.ghost { background: transparent; color: var(--pine); }
.btn.ghost:hover { background: var(--pine-tint); color: var(--pine-2); }
.btn.small { padding: 7px 14px; font-size: .9rem; }
.btn.danger { background: var(--danger); border-color: var(--danger); }
.btn.danger.ghost { background: transparent; color: var(--danger); }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ===== Hero ===== */
.hero { padding: clamp(40px, 7vw, 88px) 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.hero .lead { font-size: 1.2rem; color: var(--ink-2); margin: 18px 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { margin-top: 28px; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }

/* Banda orelor de azi */
.today { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 20px; }
.today-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; gap: 10px; }
.today-head h2 { font-size: 1.1rem; margin: 0; }
.today-row { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.today-row:hover .today-name { color: var(--pine); }
.today-name { font-weight: 600; display: flex; justify-content: space-between; gap: 8px; font-size: .95rem; }
.today-name span { color: var(--ink-2); font-weight: 400; }
.hours { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; }
.hours i { height: 18px; background: var(--pine); border-radius: 2px; }
.hours i.busy { background: var(--busy); }
.hours-scale { display: flex; justify-content: space-between; font-size: .75rem; color: var(--stone); margin-top: 6px; }
.legend { display: flex; gap: 16px; font-size: .82rem; color: var(--ink-2); margin-top: 12px; flex-wrap: wrap; }
.legend b { display: inline-block; width: 12px; height: 12px; border-radius: 2px; vertical-align: -1px; margin-right: 6px; }

/* ===== Hero image ===== */
.hero-photo { margin-top: 48px; aspect-ratio: 21/8; border-radius: var(--radius-m); overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Imaginile umplu containerul */
.hero-photo .ph, .space-photo .ph, .gallery .ph { height: 100%; }

/* Imagini lipsă: fundal discret până la încărcarea pozelor reale */
.ph { background: repeating-linear-gradient(135deg, var(--pine-tint) 0 14px, #EAE4D7 14px 28px); position: relative; }
.ph img.missing { opacity: 0; }
.ph[data-label]::after { content: attr(data-label); position: absolute; left: 14px; bottom: 12px; font-size: .8rem; color: var(--ink-2); background: var(--surface); padding: 3px 8px; border-radius: 4px; }

/* ===== Sections ===== */
section.block { padding: 72px 0; border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--ink-2); }

/* Spații: rânduri, nu carduri identice */
.space { display: grid; grid-template-columns: 340px 1fr auto; gap: 32px; padding: 28px 0; border-top: 1px solid var(--line); align-items: start; }
.space:first-child { border-top: 0; padding-top: 0; }
.space-photo { aspect-ratio: 4/3; border-radius: var(--radius-s); overflow: hidden; }
.space-photo img { width: 100%; height: 100%; object-fit: cover; }
.space h3 { font-size: 1.45rem; }
.space .facts { display: flex; gap: 18px; color: var(--ink-2); font-size: .95rem; margin-bottom: 10px; flex-wrap: wrap; }
.space ul { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.space li { font-size: .85rem; background: var(--pine-tint); color: var(--pine-2); padding: 3px 10px; border-radius: 999px; }
.price { text-align: right; min-width: 140px; }
.price strong { font-size: 2rem; font-weight: 700; display: block; line-height: 1; }
.price span { color: var(--ink-2); font-size: .9rem; display: block; margin: 4px 0 14px; }
@media (max-width: 900px) {
  .space { grid-template-columns: 1fr; gap: 16px; }
  .price { text-align: left; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
  .price span { margin: 0; }
}

/* Dotări */
.amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0; margin-top: 8px; border-top: 1px solid var(--line); }
.amenities div { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; align-items: center; }
.amenities div::before { content: ""; width: 8px; height: 8px; background: var(--crown); border-radius: 50%; flex: none; }

/* Zona */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; margin-top: 28px; }
.highlights h3 { font-size: 1.02rem; margin-bottom: 4px; }
.highlights p { font-size: .95rem; color: var(--ink-2); margin: 0; }
.map { border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--line); min-height: 360px; background: var(--surface); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: clamp(180px, 22vw, 300px); gap: 10px; margin-top: 40px; }
.gallery > div { border-radius: var(--radius-s); overflow: hidden; min-width: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) { .area-grid, .highlights { grid-template-columns: 1fr; } .gallery { grid-template-columns: 1fr 1fr; } .gallery > div:first-child { grid-column: span 2; } }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--ink-2); font-size: .95rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer strong { color: var(--ink); }

/* ===== Rezervare ===== */
.book-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; padding: 40px 0 80px; align-items: start; }
.book-layout > * { min-width: 0; }
@media (max-width: 960px) { .book-layout { grid-template-columns: 1fr; } }
.step { margin-bottom: 40px; }
.step-title { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.step-title .n { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--pine); color: var(--pine); display: grid; place-items: center; font-weight: 700; font-size: .95rem; flex: none; }
.step-title h2 { font-size: 1.3rem; margin: 0; }
.step.done .step-title .n { background: var(--pine); color: #fff; }

.space-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.space-pick button {
  text-align: left; font: inherit; color: inherit; background: var(--surface); border: 2px solid var(--line);
  border-radius: var(--radius-m); padding: 14px 16px; cursor: pointer;
}
.space-pick button:hover { border-color: var(--stone); }
.space-pick button[aria-pressed="true"] { border-color: var(--pine); background: var(--pine-tint); }
.space-pick strong { display: block; font-weight: 600; }
.space-pick span { font-size: .88rem; color: var(--ink-2); }

.cal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 16px; max-width: 520px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cal-head strong { font-size: 1.05rem; text-transform: capitalize; }
.cal-nav { background: none; border: 1px solid var(--line); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; color: var(--ink); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { text-align: center; font-size: .78rem; color: var(--stone); padding: 4px 0; }
.cal-day {
  aspect-ratio: 1; border: 0; border-radius: var(--radius-s); background: transparent; font: 500 .98rem var(--font);
  color: var(--ink); cursor: pointer; position: relative; display: grid; place-items: center;
}
.cal-day .bar { position: absolute; left: 22%; right: 22%; bottom: 7px; height: 3px; border-radius: 2px; background: var(--pine); }
.cal-day.few .bar { background: var(--crown); }
.cal-day:hover:not(:disabled) { background: var(--pine-tint); }
.cal-day:disabled { color: var(--stone); cursor: default; opacity: .55; }
.cal-day.full { text-decoration: line-through; }
.cal-day.today { box-shadow: inset 0 0 0 1px var(--stone); }
.cal-day[aria-pressed="true"] { background: var(--pine); color: #fff; }
.cal-day[aria-pressed="true"] .bar { background: var(--crown); }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot {
  font: 600 1rem var(--font); padding: 12px 6px 10px; border-radius: var(--radius-s); border: 2px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer; text-align: center; line-height: 1.2;
}
.slot small { display: block; font-weight: 400; font-size: .75rem; color: var(--ink-2); margin-top: 2px; }
.slot:hover:not(:disabled) { border-color: var(--pine); }
.slot:disabled { background: var(--busy); border-color: var(--busy); color: var(--stone); cursor: not-allowed; text-decoration: line-through; }
.slot.sel { background: var(--crown-tint); border-color: var(--crown); }
.slot.sel.edge { background: var(--crown); border-color: var(--crown); color: var(--ink); }
.hint { font-size: .92rem; color: var(--ink-2); margin: 10px 0 0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
label.f { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: .95rem; }
label.f em { font-style: normal; color: var(--stone); font-weight: 400; font-size: .85rem; margin-top: -4px; }
input, select, textarea {
  font: 400 1rem var(--font); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--radius-s); padding: 11px 12px; width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--pine); outline: none; box-shadow: 0 0 0 3px var(--pine-tint); }
textarea { min-height: 84px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--pine); }
.hp { position: absolute; left: -9999px; }

.summary { position: sticky; top: 84px; background: var(--ink); color: #EEF1EC; border-radius: var(--radius-m); padding: 24px; }
.summary h2 { font-size: 1.3rem; color: #fff; }
.summary dl { margin: 0 0 18px; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: .95rem; }
.summary dt { color: #B9C4B8; }
.summary dd { margin: 0; text-align: right; }
.summary .total { border-top: 1px solid #2A4636; padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.summary .total strong { font-size: 1.9rem; color: #fff; }
.summary .btn { width: 100%; background: var(--crown); border-color: var(--crown); color: var(--ink); }
.summary .btn:hover { background: #C4A161; border-color: #C4A161; }
.summary .note { font-size: .82rem; color: #B9C4B8; margin: 12px 0 0; }
@media (max-width: 960px) { .summary { position: static; } }

.alert { padding: 12px 16px; border-radius: var(--radius-s); margin: 12px 0; font-size: .95rem; }
.alert.err { background: var(--danger-tint); color: var(--danger); }
.alert.ok { background: var(--pine-tint); color: var(--pine-2); }
.alert.warn { background: var(--crown-tint); color: var(--crown-ink); }

/* Rezultat plată */
.result { max-width: 620px; margin: 64px auto 96px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 36px; }
.result .icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 18px; background: var(--pine-tint); color: var(--pine); }
.result.bad .icon { background: var(--danger-tint); color: var(--danger); }
.result dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 20px 0; }
.result dt { color: var(--ink-2); }
.result dd { margin: 0; font-weight: 600; }
.ticket { font-size: 1.6rem; font-weight: 700; letter-spacing: .04em; color: var(--pine); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.ph[data-label=""]::after { display: none; }

/* Miniaturi spațiu */
.space-thumbs { display: flex; gap: 6px; margin-top: 8px; }
.space-thumbs button { flex: 1; max-width: 72px; aspect-ratio: 4/3; padding: 0; border: 2px solid transparent; border-radius: 5px; overflow: hidden; cursor: pointer; background: none; }
.space-thumbs button[aria-pressed="true"] { border-color: var(--pine); }
.space-thumbs .ph { height: 100%; }
.space-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* Galerie spații comune: o poză mare și trei mici */
.common-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, clamp(160px, 18vw, 260px)); gap: 10px; }
.common-gallery > div { border-radius: var(--radius-s); overflow: hidden; min-width: 0; height: 100%; }
.common-gallery > div:first-child { grid-row: span 2; }
.common-gallery > div:nth-child(4) { grid-column: span 2; }
.common-gallery img { width: 100%; height: 100%; object-fit: cover; }
.section-head p { max-width: 56ch; }
@media (max-width: 720px) {
  .common-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 160px; }
  .common-gallery > div:first-child { grid-column: span 2; grid-row: auto; height: 220px; }
  .common-gallery > div:nth-child(4) { grid-column: span 2; }
}

/* Logo în subsol */
.footer-logo { width: 200px; height: auto; margin-bottom: 8px; }
.price strong { font-family: var(--serif); font-weight: 400; color: var(--pine); }
.ticket { font-family: var(--brand-font); }

/* Mobil și aplicație instalată */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta { display: flex; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 30; box-shadow: 0 10px 30px rgba(14,47,29,.28); }
  body:has(.mobile-cta) footer { padding-bottom: 110px; }
  .brand img { width: 38px; }
  .brand-name { font-size: 1.05rem; }
}
@media (display-mode: standalone) {
  .top { padding-top: env(safe-area-inset-top); }
}

/* Prima pagină: logo, apoi poza principală */
.hero-brand { padding-top: clamp(28px, 5vw, 56px); text-align: center; }
.hero-logo { margin: 0 auto clamp(24px, 4vw, 40px); }
.hero-logo img { width: clamp(220px, 34vw, 380px); height: auto; margin: 0 auto; }
.hero-brand .hero-photo { margin-top: 0; aspect-ratio: 21/9; }
.hero-intro { max-width: 640px; margin: 36px auto 0; }
.hero-intro .lead { font: 400 clamp(1.5rem, 2.6vw, 2rem)/1.25 var(--serif); color: var(--pine); margin: 0 0 10px; max-width: none; }
.hero-intro p { margin-left: auto; margin-right: auto; }
.hero-intro .hero-actions { justify-content: center; margin-top: 22px; }
.home .top .brand { visibility: hidden; }
.home .top.scrolled .brand { visibility: visible; }
.nav a[aria-current="page"] { color: var(--pine); box-shadow: inset 0 -2px 0 var(--crown); }
@media (max-width: 720px) { .hero-brand .hero-photo { aspect-ratio: 4/3; } }

/* Alegerea abonamentului */
.plan-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.plan-pick button { text-align: left; font: inherit; color: inherit; background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius-m); padding: 14px 16px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.plan-pick button:hover { border-color: var(--stone); }
.plan-pick button[aria-pressed="true"] { border-color: var(--pine); background: var(--pine-tint); }
.plan-pick strong { font: 400 1.15rem var(--serif); color: var(--pine); }
.plan-pick span { font-size: .86rem; color: var(--ink-2); line-height: 1.35; }
.plan-pick em { font-style: normal; font-weight: 600; font-size: .9rem; color: var(--crown-ink); margin-top: 4px; }
.space-pick button:disabled { opacity: .45; cursor: not-allowed; }
.cal-day.inrange, .cal-day.inrange:hover:not(:disabled) { background: var(--crown-tint); color: var(--ink); border-radius: 0; }
.cal-day.pick, .cal-day.pick:hover:not(:disabled) { background: var(--pine); color: #fff; }
.cal-day.pick .bar { background: var(--crown); }

/* Tabel prețuri pe prima pagină */
.prices-wrap { overflow-x: auto; margin-top: 8px; }
table.prices { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.prices th, .prices td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prices thead th { font-weight: 600; font-size: .9rem; color: var(--ink-2); background: #F6F2EA; }
.prices tbody th { font: 400 1.15rem var(--serif); color: var(--pine); }
.prices tbody th small { display: block; font: 400 .85rem var(--font); color: var(--ink-2); margin-top: 2px; }
.prices td { font-weight: 600; white-space: nowrap; }
.prices td a { font-weight: 500; font-size: .9rem; }
.prices tr:last-child > * { border-bottom: 0; }
.price-note { font-size: .9rem; color: var(--ink-2); margin-top: 10px; }

/* Promoție */
.promo-price { color: var(--pine); }
.old-price { color: var(--stone); font-weight: 400; font-size: .85em; margin-left: 4px; text-decoration-thickness: 1.5px; }
.summary .promo-price { color: #fff; }
.summary .old-price { color: #B9C4B8; }
.promo-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; background: var(--crown-tint); border: 1px solid #E3D2AC; border-left: 4px solid var(--crown); border-radius: var(--radius-s); padding: 12px 16px; margin: 0 0 18px; color: var(--crown-ink); }
.promo-banner strong { font: 400 1.15rem var(--serif); color: var(--pine); }
.price strong .old-price { font-family: var(--font); font-size: .95rem; display: block; margin: 2px 0 0; }
.price strong .promo-price { display: inline; font-size: inherit; color: var(--pine); margin: 0; }
.price strong .old-price { color: var(--stone); }

/* Subsol: linkuri legale */
.footer-legal { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 8px; font-size: .9rem; }
.footer-legal a { color: var(--ink-2); }
.footer-legal .anpc img { width: 201px; height: 50px; }
.footer-legal .anpc span { border: 1px solid var(--line); border-radius: 4px; padding: 6px 10px; font-size: .8rem; }

/* Pagini legale */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 0 96px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 6px; }
.legal .updated { color: var(--ink-2); font-size: .92rem; margin-bottom: 32px; }
.legal h2 { font-size: 1.45rem; margin: 36px 0 10px; }
.legal h3 { font-size: 1.05rem; margin: 20px 0 6px; color: var(--ink); }
.legal p, .legal li { max-width: none; line-height: 1.65; }
.legal ul { padding-left: 22px; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal .box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 16px 20px; margin: 0 0 18px; }
.legal .box p { margin: 0; }
.legal [data-f]:empty::before, .legal .missing { content: "[de completat în admin]"; color: var(--danger); }

/* Newsletter în subsol */
.newsletter { flex-basis: 100%; display: grid; grid-template-columns: minmax(200px, 1fr) minmax(280px, 1.4fr); gap: 8px 28px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 18px 20px; margin-top: 8px; }
.newsletter strong { display: block; font: 400 1.3rem var(--serif); color: var(--pine); }
.newsletter span { color: var(--ink-2); }
.nl-row { display: flex; gap: 8px; }
.nl-row input[type=email] { flex: 1; min-width: 0; }
.nl-consent { grid-column: 2; font-size: .82rem; color: var(--ink-2); }
.nl-consent input { width: 16px; height: 16px; }
.nl-msg { grid-column: 2; margin: 0; font-size: .9rem; min-height: 0; }
.nl-msg.ok { color: var(--ok); } .nl-msg.err { color: var(--danger); }
@media (max-width: 720px) { .newsletter { grid-template-columns: 1fr; } .nl-consent, .nl-msg { grid-column: 1; } }

/* Banner cookie-uri */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; max-width: 720px; margin: 0 auto; background: var(--ink); color: #EEF1EC; border-radius: var(--radius-m); padding: 16px 18px; display: flex; gap: 14px 20px; align-items: center; flex-wrap: wrap; box-shadow: 0 18px 50px rgba(14,47,29,.35); }
.cookie-banner p { margin: 0; flex: 1 1 320px; font-size: .92rem; }
.cookie-banner a { color: var(--crown); }
.cookie-banner div { display: flex; gap: 8px; }
.cookie-banner .btn.ghost { color: #EEF1EC; border-color: #4A6355; }
.cookie-banner .btn:not(.ghost) { background: var(--crown); border-color: var(--crown); color: var(--ink); }
@media (max-width: 720px) { body:has(.mobile-cta) .cookie-banner { bottom: calc(84px + env(safe-area-inset-bottom)); } }

/* Navigare spre clădire */
.route { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.route-btn { flex: 1 1 200px; }

/* Fără cuvinte rămase singure pe ultimul rând */
p, li, h1, h2, h3, .lead { text-wrap: pretty; }

/* Pagina de acces */
.access-page { max-width: 560px; }
.access-form { display: grid; gap: 14px; margin-top: 18px; }
.codes { display: grid; gap: 10px; margin: 6px 0 16px; }
.codes div { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--pine); color: #fff; border-radius: var(--radius-m); padding: 14px 18px; }
.codes span { color: #C7D1C5; }
.codes strong { font: 700 clamp(1.6rem, 6vw, 2.2rem)/1 var(--font); letter-spacing: .12em; color: var(--crown); }
