@charset "UTF-8";
/* ==========================================================================
   Nails by Ramona Oprea
   Static, fara dependente. Mobile-first.
   ========================================================================== */

/* --- Fonturi autogazduite (subsetate pe textul paginii) ------------------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-ro.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "InterVar";
  src: url("../fonts/inter-ro.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* --- Simboluri ----------------------------------------------------------- */
:root {
  /* Paleta: alb cald, negru cald, un singur accent.
     Bordoul e ales pentru ca trece AA peste tot (9,76:1 pe porcelain), spre
     deosebire de nude sau roz prafuit, care raman sub 2,5:1. */
  --porcelain: #faf6f1;
  --blush: #f2e7e1;
  --ink: #1c1715;
  --ink-soft: #5a4f49;
  /* 5,14:1 pe porcelain si 4,56:1 pe blush. Varianta mai deschisa (#8A7D76)
     cadea sub AA pe ambele fundaluri. */
  --ink-faint: #73665f;
  --line: #e2d6ce;
  --burgundy: #6e2639;
  --burgundy-deep: #5a1f2e;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-text: "InterVar", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Curbe proprii: cele din CSS sunt prea moi ca sa para intentionate. */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --t-press: 140ms;
  --t-ui: 200ms;
  --t-panel: 300ms;

  --gutter: clamp(1.25rem, 5vw, 5rem);
  --wrap: 1240px;
  --radius: 2px;

  --fab-size: 3.5rem;
}

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* antetul lipicios nu trebuie sa acopere tinta ancorei */
  scroll-padding-top: 5.5rem;
}

body {
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

/* .menu, .lightbox etc. au display propriu, care ar bate display:none din
   foaia browserului. Fara asta, dialogurile se vad inainte sa porneasca JS. */
[hidden] { display: none !important; }

/* padding: 0 — altfel padding-ul implicit al browserului (1px 6px) decaleaza
   butoanele folosite ca linkuri fata de linkurile reale de langa ele */
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 3px;
  border-radius: 1px;
}
:focus:not(:focus-visible) { outline: none; }

::selection { background: var(--burgundy); color: var(--porcelain); }

/* --- Utilitare ----------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 0; left: 50%;
  translate: -50% -120%;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--porcelain);
  text-decoration: none;
  transition: translate var(--t-ui) var(--ease-out);
}
.skip-link:focus { translate: -50% 0; }

/* --- Tipografie ---------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.5rem, 1.5rem + 4.5vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.h2 {
  font-size: clamp(2rem, 1.35rem + 2.7vw, 3.5rem);
  line-height: 1.06;
}

.h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  line-height: 1.2;
}

/* eticheta mica de sectiune - singurul loc cu majuscule distantate */
.eyebrow {
  font-family: var(--font-text);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.lede {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem);
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}

p { text-wrap: pretty; }

/* --- Butoane ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: var(--radius);
  /* doar transform si opacity se animeaza; culoarea e scurta si ieftina */
  transition: transform var(--t-press) var(--ease-out),
              background-color var(--t-ui) ease,
              color var(--t-ui) ease,
              border-color var(--t-ui) ease;
}
.btn:active { transform: scale(0.97); }

.btn--solid {
  background: var(--burgundy);
  color: var(--porcelain);
  border: 1px solid var(--burgundy);
}
.btn--ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}
.btn--on-ink {
  border: 1px solid rgba(250, 246, 241, 0.3);
  color: var(--porcelain);
}

@media (hover: hover) and (pointer: fine) {
  .btn--solid:hover { background: var(--burgundy-deep); border-color: var(--burgundy-deep); }
  .btn--ghost:hover { border-color: var(--ink); }
  .btn--on-ink:hover { border-color: var(--porcelain); background: rgba(250, 246, 241, 0.08); }
}

/* legatura subtila, subliniata la trecere */
.link {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 2px;
  transition: background-size var(--t-ui) var(--ease-out), color var(--t-ui) ease;
}
@media (hover: hover) and (pointer: fine) {
  .link:hover { color: var(--burgundy); }
}
.link--quiet { background-size: 0% 1px; }
.link--quiet:hover { background-size: 100% 1px; }

/* ==========================================================================
   ANTET
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color var(--t-panel) ease,
              border-color var(--t-panel) ease,
              backdrop-filter var(--t-panel) ease;
  border-bottom: 1px solid transparent;
}
.header[data-stuck] {
  background: rgba(250, 246, 241, 0.96);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
  transition: color var(--t-panel) ease;
}
.brand__text { display: inline-flex; flex-direction: column; line-height: 1; }

/* Monograma e folosita ca masca, nu ca imagine: ia culoarea textului, deci
   trece singura de la tus (fundal deschis) la porcelan (peste fotografie).
   Aurul original ar fi fost ilizibil pe porcelan. */
.brand__logo { display: none; }
@supports ((-webkit-mask-image: url("#")) or (mask-image: url("#"))) {
  .brand__logo {
    display: block;
    flex: none;
    width: 2.25rem;
    aspect-ratio: 160 / 114;
    background: currentColor;
    -webkit-mask: url("../img/logo-mask-128.png") center / contain no-repeat;
    mask: url("../img/logo-mask-128.png") center / contain no-repeat;
  }
}
.brand__top {
  font-family: var(--font-text);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.3rem;
  transition: color var(--t-panel) ease;
}
.brand__name {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.35rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav { display: none; }

@media (min-width: 900px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 2.25rem;
  }
  .nav__list {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .nav__link {
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--ink-soft);
    transition: color var(--t-ui) ease;
  }
  .nav__link:hover { color: var(--ink); }
  .header__cta { display: inline-flex; }
}

.header__cta { display: none; }

/* Buton de apel, doar pe mobil: pune telefonul la un singur tap din orice
   punct al paginii, fara sa deschizi meniul. 44x44 - pragul de zona tactila. */
.header__tel {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: auto;
  margin-right: 0.15rem;
  color: inherit;
  border-radius: 50%;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-ui) ease;
}
.header__tel:active { transform: scale(0.94); }
.header__tel svg { width: 1.25rem; height: 1.25rem; }
@media (hover: hover) and (pointer: fine) {
  .header__tel:hover { background: rgba(110, 38, 57, 0.1); }
}
@media (min-width: 900px) { .header__tel { display: none; } }

/* --- Buton meniu (hamburger) --------------------------------------------- */
.burger {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.6rem;
  transition: transform var(--t-press) var(--ease-out);
}
.burger:active { transform: scale(0.94); }
@media (min-width: 900px) { .burger { display: none; } }

.burger__box { position: relative; width: 22px; height: 12px; }
.burger__line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--t-panel) var(--ease-out), opacity 120ms ease;
}
.burger__line:nth-child(1) { top: 0; }
.burger__line:nth-child(2) { bottom: 0; }

[data-menu-open] .burger__line:nth-child(1) { transform: translateY(5.25px) rotate(45deg); }
[data-menu-open] .burger__line:nth-child(2) { transform: translateY(-5.25px) rotate(-45deg); }

/* --- Meniu mobil --------------------------------------------------------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem var(--gutter) max(2rem, env(safe-area-inset-bottom));
  background: var(--porcelain);
  /* interuptibil: tranzitie, nu keyframes */
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  transition: opacity var(--t-panel) var(--ease-out),
              transform var(--t-panel) var(--ease-out),
              visibility 0s linear var(--t-panel);
}
.menu[data-open] {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition-delay: 0s;
}
@media (min-width: 900px) { .menu { display: none; } }

.menu__list { list-style: none; padding: 0; margin: 0; }
.menu__item + .menu__item { margin-top: 0.4rem; }
.menu__link {
  display: block;
  padding: 0.35rem 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 3vw, 2.75rem);
  text-decoration: none;
  /* animatia de intrare porneste cand panoul se deschide */
  opacity: 0;
  transform: translateY(10px);
}
.menu[data-open] .menu__link {
  animation: menu-in 420ms var(--ease-out) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes menu-in {
  to { opacity: 1; transform: none; }
}

.menu__foot {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
}
.menu__tel {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-decoration: none;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding-top: 4.25rem; }

.hero__media {
  position: relative;
  background: var(--ink);
}
.hero__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero__body {
  padding: clamp(2rem, 7vw, 3.5rem) 0 clamp(2.5rem, 8vw, 4rem);
}

.hero__title { margin-bottom: 1.25rem; }
.hero__lede { max-width: 34ch; margin-bottom: 2rem; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}
.hero__tel {
  font-size: 0.95rem;
  color: var(--ink-soft);
  text-decoration: none;
}
/* numarul e o tinta de atins cu degetul, nu doar un link in text */
.hero__tel a { display: inline-block; padding-block: 0.7rem; }

/* nota reala din fisa Google - un singur rand, fara insigne */
.rating {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.rating__stars { display: flex; gap: 2px; color: var(--burgundy); }
.rating__stars svg { width: 13px; height: 13px; }
.rating strong { color: var(--ink); font-weight: 600; }

@media (min-width: 900px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: stretch;
    min-height: 100svh;
    padding-top: 0;
  }
  .hero__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 7rem var(--gutter) 4rem;
    max-width: calc(var(--wrap) / 2 + var(--gutter));
    margin-left: auto;
    width: 100%;
  }
  /* <picture> e un simplu container inline; fara inaltime proprie, object-fit
     de pe <img> nu are la ce sa se raporteze si poza nu umple coloana. */
  .hero__media,
  .hero__media picture { height: 100%; }
  .hero__media img { height: 100%; }

  /* Sigla sta peste fotografie, nu peste fundal: are nevoie de culoare deschisa
     cat timp antetul e transparent. Numai pe paginile cu hero — pe cele de text
     fundalul e porcelan si siglă deschisă ar fi invizibilă. */
  [data-hero] .header:not([data-stuck]) .brand { color: var(--porcelain); }
  [data-hero] .header:not([data-stuck]) .brand__top { color: rgba(250, 246, 241, 0.72); }
}

/* ==========================================================================
   SECTIUNI
   ========================================================================== */
.section { padding-block: clamp(4rem, 10vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 7vw, 5rem); }
.section--blush { background: var(--blush); }
.section--ink { background: var(--ink); color: var(--porcelain); }
.section--ink .lede { color: rgba(250, 246, 241, 0.72); }
.section--ink .eyebrow { color: #d9a7b4; }

.section__head { margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section__head .eyebrow { display: block; margin-bottom: 1rem; }
.section__note {
  margin-top: 1.25rem;
  max-width: 48ch;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

/* ==========================================================================
   DESPRE  (foto stanga, text dreapta, decalat)
   ========================================================================== */
.about__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
}
.about__figure { margin: 0; }
.about__figure img { width: 100%; border-radius: var(--radius); }
.about__text > * + * { margin-top: 1.25rem; }

@media (min-width: 880px) {
  .about__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(3rem, 6vw, 5rem);
  }
  /* decalajul vertical e ce rupe simetria */
  .about__text { padding-top: 3.5rem; }
}

/* ==========================================================================
   GALERIE  (zidarie reala, pe coloane)
   ========================================================================== */
.gallery__grid {
  columns: 2;
  column-gap: clamp(0.6rem, 2vw, 1.25rem);
}
@media (min-width: 900px) { .gallery__grid { columns: 3; } }

.gallery__item {
  break-inside: avoid;
  margin-bottom: clamp(0.6rem, 2vw, 1.25rem);
  padding: 0;
  width: 100%;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--blush);
  transition: transform var(--t-press) var(--ease-out);
}
.gallery__item:active { transform: scale(0.985); }
.gallery__item img {
  width: 100%;
  height: auto;
  transition: transform 500ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .gallery__item:hover img { transform: scale(1.035); }
}

.gallery__foot {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  font-size: 0.9375rem;
}

/* ==========================================================================
   SERVICII  (lista de salon, nu carduri)
   ========================================================================== */
.menu-group + .menu-group { margin-top: clamp(2.75rem, 6vw, 4.5rem); }

.menu-group__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  padding-bottom: 0.9rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.menu-list { list-style: none; padding: 0; margin: 0; }

.menu-row {
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.menu-row__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}
.menu-row__name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.02rem + 0.35vw, 1.3rem);
  font-weight: 400;
  line-height: 1.25;
}
.menu-row__price {
  flex: none;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  color: var(--burgundy);
  white-space: nowrap;
}
.menu-row__desc {
  margin-top: 0.4rem;
  max-width: 62ch;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

/* preturile apar doar daca au fost completate (vezi data-prices pe <body>) */
body:not([data-prices]) .menu-row__price { display: none; }

@media (min-width: 880px) {
  .menu-group {
    display: grid;
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
  }
  .menu-group__title {
    border-bottom: 0;
    padding-bottom: 0;
    position: sticky;
    top: 7rem;
  }
  .menu-group__list-wrap > .menu-list > .menu-row:first-child { padding-top: 0; }
}

/* ==========================================================================
   IGIENA  (bloc narativ pe fond inchis)
   ========================================================================== */
.hygiene__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}
.hygiene__figure { margin: 0; }
.hygiene__figure img { width: 100%; border-radius: var(--radius); }
.hygiene__text > * + * { margin-top: 1.25rem; }

@media (min-width: 880px) {
  .hygiene__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 5.5rem);
  }
}

/* ==========================================================================
   PASI
   ========================================================================== */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }

.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  padding-block: clamp(1.5rem, 4vw, 2.25rem);
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }

.step__num {
  counter-increment: step;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
  line-height: 0.9;
  color: var(--burgundy);
  /* fara cifre tabulare, „01" si „02" au latimi diferite, iar coloana auto
     de pe mobil decaleaza titlul fiecarui pas cu cativa pixeli */
  font-variant-numeric: tabular-nums;
  min-width: 2.2ch;
}
.step__num::before { content: counter(step, decimal-leading-zero); }

.step__title { margin-bottom: 0.4rem; }
.step__text { color: var(--ink-soft); max-width: 56ch; }

@media (min-width: 720px) {
  .step { grid-template-columns: 5rem minmax(0, 1fr); gap: 2.5rem; }
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact__grid {
  display: grid;
  gap: clamp(2.25rem, 5vw, 3.5rem);
}
@media (min-width: 880px) {
  .contact__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(3rem, 6vw, 5rem);
  }
}

.contact__block + .contact__block { margin-top: 2rem; }
.contact__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.5rem;
}
.contact__big {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.15rem);
  line-height: 1.2;
  text-decoration: none;
}

/* starea deschis/inchis, calculata la ora Romaniei */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9375rem;
  font-weight: 500;
}
.status__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink-faint);
  flex: none;
}
.status[data-open="true"] { color: #2f6b45; }
.status[data-open="true"] .status__dot { background: #2f6b45; }
.status[data-open="false"] { color: var(--burgundy); }
.status[data-open="false"] .status__dot { background: var(--burgundy); }

.hours { margin-top: 1rem; border-collapse: collapse; width: 100%; max-width: 24rem; }
.hours th, .hours td {
  padding: 0.5rem 0;
  text-align: left;
  font-weight: 400;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--line);
}
.hours td { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.hours tr[data-today] th, .hours tr[data-today] td { color: var(--ink); font-weight: 600; }

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.contact__hint { margin-top: 0.9rem; font-size: 0.875rem; color: var(--ink-faint); }

/* harta se incarca doar dupa consimtamant */
.map {
  margin-top: 1.5rem;
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--blush);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.9rem;
  justify-items: center;
  padding: 1.5rem;
  text-align: center;
}
.map__placeholder p { font-size: 0.9rem; color: var(--ink-soft); max-width: 32ch; }

/* ==========================================================================
   SUBSOL
   ========================================================================== */
.footer {
  background: var(--ink);
  color: rgba(250, 246, 241, 0.74);
  padding-block: clamp(2.5rem, 6vw, 4rem);
  font-size: 0.875rem;
}
.footer a { color: var(--porcelain); }
.footer__top {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(250, 246, 241, 0.14);
}
/* monograma proprie a Ramonei; aurul ei isi gaseste locul doar aici, pe
   subsolul inchis — in rest paleta are un singur accent */
.footer__logo {
  width: 104px;
  height: auto;
  margin-bottom: 0.9rem;
}

.footer__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--porcelain);
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1.5rem;
  list-style: none;
  padding: 0;
}
.footer__bottom {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: rgba(250, 246, 241, 0.55);
}
@media (min-width: 720px) {
  .footer__top { grid-template-columns: 1fr auto; align-items: start; }
}

/* ==========================================================================
   PAGINI DE TEXT (politici)
   ========================================================================== */
.page-head {
  padding-top: calc(4.25rem + clamp(2.5rem, 7vw, 5rem));
  padding-bottom: clamp(1.75rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}
.page-head .eyebrow { display: block; margin-bottom: 1rem; }
.page-head__meta { margin-top: 1rem; font-size: 0.875rem; color: var(--ink-faint); }

.prose {
  max-width: 68ch;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.prose > * + * { margin-top: 1.1rem; }

.prose h2 {
  font-size: clamp(1.4rem, 1.2rem + 0.9vw, 1.9rem);
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.prose h2:first-of-type { margin-top: 1.5rem; }
.prose h3 {
  font-size: clamp(1.1rem, 1.05rem + 0.3vw, 1.25rem);
  margin-top: 1.75rem;
}

.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.5rem; }
.prose li::marker { color: var(--burgundy); }

/* :not(.btn) — altfel regula bate .btn--solid si butonul iese bordo pe bordo */
.prose a:not(.btn) { color: var(--burgundy); text-underline-offset: 3px; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  margin-top: 1.25rem;
}
.prose th, .prose td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.75rem 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.prose th { font-weight: 600; }
.prose thead th { color: var(--ink-faint); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* tabelele late incap pe telefon prin derulare orizontala */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll table { min-width: 34rem; }

.callout {
  margin-top: 2rem;
  padding: 1.1rem 1.25rem;
  background: var(--blush);
  border-left: 2px solid var(--burgundy);
  border-radius: var(--radius);
  font-size: 0.9375rem;
}

.toc { margin-top: 1.5rem; padding-left: 1.25rem; font-size: 0.9375rem; }

/* ==========================================================================
   BUTON FLOTANT WHATSAPP
   ========================================================================== */
.fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(max(1rem, env(safe-area-inset-bottom)) + var(--fab-offset, 0px));
  z-index: 80;
  display: grid;
  place-items: center;
  width: var(--fab-size);
  height: var(--fab-size);
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--porcelain);
  box-shadow: 0 6px 22px rgba(28, 23, 21, 0.22);
  /* ascuns pana la o derulare scurta */
  opacity: 0;
  transform: scale(0.9) translateY(8px);
  pointer-events: none;
  transition: opacity var(--t-panel) var(--ease-out),
              transform var(--t-panel) var(--ease-out),
              bottom var(--t-panel) var(--ease-out),
              background-color var(--t-ui) ease;
}
.fab[data-show] {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.fab:active { transform: scale(0.94); }
.fab svg { width: 1.6rem; height: 1.6rem; }
@media (hover: hover) and (pointer: fine) {
  .fab:hover { background: var(--burgundy-deep); }
}

.fab__tip {
  position: absolute;
  right: calc(100% + 0.65rem);
  top: 50%;
  translate: 0 -50%;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--porcelain);
  font-size: 0.8125rem;
  white-space: nowrap;
  opacity: 0;
  transform: scale(0.97);
  transform-origin: right center;
  pointer-events: none;
  transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .fab:hover .fab__tip { opacity: 1; transform: none; }
}
.fab:focus-visible .fab__tip { opacity: 1; transform: none; }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-rows: auto 1fr auto;
  /* La 0,94 continutul paginii inca se ghicea prin fundal — mai ales thumbnail-urile
     galeriei. Fundal aproape opac + blur: pagina dispare complet, iar culoarea
     reala a unghiilor se poate judeca fara interferente. */
  background: rgba(16, 13, 12, 0.975);
  backdrop-filter: blur(18px) saturate(80%);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-panel) var(--ease-out),
              visibility 0s linear var(--t-panel);
}
.lightbox[data-open] { opacity: 1; visibility: visible; transition-delay: 0s; }

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: max(0.75rem, env(safe-area-inset-top)) 1rem 0.75rem;
  color: rgba(250, 246, 241, 0.75);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0 1rem;
  min-height: 0;
  touch-action: pan-y;
}
.lightbox__fig { margin: 0; display: grid; place-items: center; min-height: 0; }
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.lightbox__img[data-ready] { opacity: 1; transform: none; }
/* in timpul tragerii urmarim degetul, fara tranzitie */
.lightbox__fig[data-dragging] .lightbox__img { transition: none; }

.lightbox__cap {
  padding: 1rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  text-align: center;
  font-size: 0.875rem;
  color: rgba(250, 246, 241, 0.7);
  max-width: 60ch;
  margin-inline: auto;
}

.lb-btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  color: var(--porcelain);
  background: rgba(250, 246, 241, 0.1);
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-ui) ease;
}
.lb-btn:active { transform: scale(0.92); }
.lb-btn svg { width: 1.1rem; height: 1.1rem; }
@media (hover: hover) and (pointer: fine) {
  .lb-btn:hover { background: rgba(250, 246, 241, 0.2); }
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  z-index: 2;
}
.lightbox__nav--prev { left: 0.5rem; }
.lightbox__nav--next { right: 0.5rem; }
@media (max-width: 599px) {
  /* pe telefon se navigheaza prin glisare; sagetile ar acoperi fotografia */
  .lightbox__nav { display: none; }
}

/* ==========================================================================
   BANNER COOKIE-URI
   ========================================================================== */
.cookies {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 110;
  background: var(--porcelain);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(28, 23, 21, 0.09);
  padding: 1.25rem var(--gutter) max(1.25rem, env(safe-area-inset-bottom));
  transform: translateY(100%);
  visibility: hidden;
  transition: transform var(--t-panel) var(--ease-drawer),
              visibility 0s linear var(--t-panel);
}
.cookies[data-open] { transform: none; visibility: visible; transition-delay: 0s; }

.cookies__inner { max-width: var(--wrap); margin-inline: auto; }
.cookies__text { font-size: 0.9375rem; color: var(--ink-soft); max-width: 68ch; }
.cookies__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1rem;
}
/* fara tipare intunecate: aceeasi greutate vizuala pentru toate trei */
.cookies__actions .btn { flex: 1 1 auto; min-width: 8.5rem; }
@media (min-width: 720px) {
  .cookies__actions .btn { flex: 0 0 auto; }
}

.cookies__settings {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.cookies[data-view="main"] .cookies__settings { display: none; }
.cookies[data-view="settings"] .cookies__actions--main { display: none; }

.cat { display: grid; gap: 0.25rem; padding-block: 0.9rem; }
.cat + .cat { border-top: 1px solid var(--line); }
.cat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cat__name { font-weight: 600; font-size: 0.9375rem; }
.cat__desc { font-size: 0.875rem; color: var(--ink-soft); }

/* comutator */
.switch { position: relative; display: inline-flex; flex: none; }
.switch input {
  position: absolute; inset: 0;
  opacity: 0;
  width: 100%; height: 100%;
  margin: 0;
  cursor: pointer;
}
.switch__track {
  width: 2.75rem; height: 1.5rem;
  border-radius: 1rem;
  background: var(--line);
  transition: background-color var(--t-ui) var(--ease-out);
  display: grid;
  align-items: center;
  padding: 2px;
}
.switch__thumb {
  width: 1.125rem; height: 1.125rem;
  border-radius: 50%;
  background: var(--porcelain);
  box-shadow: 0 1px 3px rgba(28, 23, 21, 0.25);
  transition: transform var(--t-ui) var(--ease-out);
}
.switch input:checked + .switch__track { background: var(--burgundy); }
.switch input:checked + .switch__track .switch__thumb { transform: translateX(1.25rem); }
.switch input:disabled + .switch__track { opacity: 0.55; }
.switch input:focus-visible + .switch__track {
  outline: 2px solid var(--burgundy);
  outline-offset: 3px;
}

/* ==========================================================================
   APARITII LA DERULARE
   Starea de repaus e DOAR opacity. O perdea cu clip-path pusa aici ar avea
   arie vizibila zero si ar impiedica chiar IntersectionObserver-ul s-o ridice.
   ========================================================================== */
.reveal { opacity: 0; }
.reveal[data-shown] {
  animation: reveal-rise 620ms var(--ease-out) var(--d, 0ms) forwards;
}
@keyframes reveal-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* Esalonare. Declarata aici, nu prin style="--d:..." in HTML, ca sa putem
   interzice complet stilurile inline din CSP. */
.d-1 { --d: 60ms; }
.d-2 { --d: 120ms; }
.d-3 { --d: 180ms; }

.menu__item:nth-child(1) .menu__link { --d: 40ms; }
.menu__item:nth-child(2) .menu__link { --d: 80ms; }
.menu__item:nth-child(3) .menu__link { --d: 120ms; }
.menu__item:nth-child(4) .menu__link { --d: 160ms; }

.gallery__item:nth-child(3n + 2) { --d: 60ms; }
.gallery__item:nth-child(3n + 3) { --d: 120ms; }

.step:nth-child(2) { --d: 70ms; }
.step:nth-child(3) { --d: 140ms; }

.contact__grid > :nth-child(2) { --d: 80ms; }

/* varianta pentru figuri: perdea de jos in sus. Doar pe elemente FARA
   controale - clip-path taie si zona de clic. */
.reveal--curtain[data-shown] {
  animation: reveal-curtain 760ms var(--ease-out) var(--d, 0ms) forwards;
}
@keyframes reveal-curtain {
  from { opacity: 0; clip-path: inset(0 0 72% 0); transform: scale(1.015); }
  to { opacity: 1; clip-path: inset(0 0 0 0); transform: none; }
}

/* fara JS totul ramane vizibil */
html:not(.js) .reveal { opacity: 1; }

/* ==========================================================================
   MISCARE REDUSA
   Mai putina miscare, nu zero: pastram opacitatea, scoatem deplasarea.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1; }
  .reveal[data-shown] { animation: none; }
  .menu[data-open] .menu__link { animation: none; opacity: 1; transform: none; }
  .gallery__item:hover img { transform: none; }
  .btn:active, .fab:active, .lb-btn:active, .gallery__item:active { transform: none; }
}

/* ==========================================================================
   TIPAR
   ========================================================================== */
@media print {
  .header, .fab, .cookies, .lightbox, .menu, .map { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1 !important; }
}
