/* ==========================================================================
   Maty Balonas - Bumbesti-Pitic, Gorj
   Design system: "Arcada" (silueta panourilor de fundal reale ale clientului)
   Paleta: ivory / velvet / gold / rose / eucalypt / charcoal
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --ivory:      #F6EFE4;
  --ivory-warm: #FBF7F0;
  --velvet:     #241F1C;
  --velvet-up:  #2E2825;
  /* Auriul de baza (#A9793B) e un ton mediu: da 3.35:1 pe ivoriu si 4.26:1 pe
     velvet. Trece pragul de 3:1 pentru text MARE, iconite, chenare si linii,
     dar pica pragul AA de 4.5:1 pentru text mic. De aceea are doua tinte,
     folosite exclusiv pentru text mic, una pe fond deschis, alta pe fond inchis. */
  --gold:       #A9793B;  /* titluri mari, iconite, contururi, marcaje */
  --gold-deep:  #8A5F2A;  /* text mic pe ivoriu   -> 4.90:1 */
  --gold-soft:  #C08F4E;  /* text mic pe velvet   -> 5.65:1 */
  --rose:       #D9A9A0;
  --eucalypt:   #6B7B5E;
  --charcoal:   #3A3530;
  --wa:         #25D366;

  --ink:        var(--charcoal);
  --ink-muted:  #6A625A;

  --font-display: "Ibarra Real Nova", Georgia, "Times New Roman", serif;
  --font-body:    Figtree, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --shell:      min(1180px, 100% - 2.5rem);
  --radius:     4px;
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft:  cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
  :root { --shell: min(1180px, 100% - 5rem); }
}

/* --------------------------------------------------------------------------
   2. Baza
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* compenseaza header-ul sticky la navigarea pe ancore */
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* previne contopirea literelor fi / fl / ff */
  font-variant-ligatures: no-common-ligatures;
  font-feature-settings: "liga" 0, "clig" 0, "dlig" 0;
  /* "clip", NU "hidden": hidden ar transforma body-ul in container de derulare
     si ar strica position:sticky pe header */
  overflow-x: clip;
}

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

a { color: inherit; }

button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  /* fonturile de display pot avea ligaturi discretionare proprii */
  font-variant-ligatures: no-common-ligatures;
  font-feature-settings: "liga" 0, "clig" 0, "dlig" 0;
}

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--gold); color: var(--ivory); }

/* Focus vizibil peste tot */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-velvet :focus-visible,
.footer :focus-visible {
  outline-color: var(--gold-soft);
}

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

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 200;
  background: var(--velvet);
  color: var(--ivory);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.shell { width: var(--shell); margin-inline: auto; }

/* --------------------------------------------------------------------------
   3. Tipografie utilitara
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--ink-muted);
}
/* Marcaj patrat plin (NU o bara orizontala: s-ar citi ca o liniuta de dialog) */
.eyebrow::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  background: var(--gold);
  flex: none;
}
.on-velvet .eyebrow { color: rgba(246, 239, 228, 0.72); }
.on-velvet .eyebrow::before { background: var(--gold-soft); }

.display-xl {
  font-size: clamp(2.6rem, 8vw, 5.6rem);
  line-height: 1.02;
}
.display-lg { font-size: clamp(2rem, 4.6vw, 3.25rem); }
.display-md { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; }

/* Cuvintele-cheie emotionale din titluri, in italic auriu */
.accent {
  font-style: italic;
  color: var(--gold);
}
.on-velvet .accent { color: var(--gold-soft); }

.lede {
  font-size: clamp(1.0625rem, 1.35vw, 1.1875rem);
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 46ch;
}
.on-velvet .lede { color: rgba(246, 239, 228, 0.74); }

.stamp {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.on-velvet .stamp { color: var(--gold-soft); }

.on-velvet { color: var(--ivory); }

/* --------------------------------------------------------------------------
   4. Arcada - elementul semnatura
   Silueta de clepsidra/pocal a panourilor reale de fundal ale clientului.
   Definita ca clipPath in unitati objectBoundingBox => scaleaza la orice marime.
   -------------------------------------------------------------------------- */
.arcada-defs {
  position: absolute;
  width: 0; height: 0;
  overflow: hidden;
  pointer-events: none;
}

.arcada {
  /* fallback daca clip-path pe referinta SVG nu e suportat */
  border-radius: 140px 140px var(--radius) var(--radius);
  overflow: hidden;
}

@supports (clip-path: url(#arcada-hero)) {
  .arcada { border-radius: 0; }
  .arcada--hero    { clip-path: url(#arcada-hero); }
  .arcada--card    { clip-path: url(#arcada-card); }
  .arcada--card-alt{ clip-path: url(#arcada-card-alt); }
}

/* Marca mica din header / footer */
.mark { flex: none; }
.mark path { fill: var(--gold); }

/* --------------------------------------------------------------------------
   5. Butoane
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.22s var(--ease-soft),
              color 0.22s var(--ease-soft),
              border-color 0.22s var(--ease-soft),
              transform 0.22s var(--ease-out);
}
.btn:active { transform: translateY(1px); }

.btn--solid {
  background: var(--velvet);
  color: var(--ivory);
}
.btn--solid:hover { background: #100D0B; }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(58, 53, 48, 0.28);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
}
.on-velvet .btn--outline {
  color: var(--ivory);
  border-color: rgba(246, 239, 228, 0.32);
}
.on-velvet .btn--outline:hover {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}

.btn--wa {
  background: var(--wa);
  color: #FFFFFF;
  box-shadow: 0 1px 2px rgba(36, 31, 28, 0.18);
}
.btn--wa:hover { background: #1EB855; }

.btn .icon { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ivory);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease-soft), box-shadow 0.25s var(--ease-soft);
}
.site-header.is-stuck {
  border-bottom-color: rgba(58, 53, 48, 0.12);
  box-shadow: 0 6px 24px -18px rgba(36, 31, 28, 0.55);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
  padding-block: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  margin-right: auto;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  letter-spacing: 0.005em;
  line-height: 1;
}
.brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 0.28rem;
}

.nav-list {
  display: none;
  align-items: center;
  gap: 0.35rem;
}
.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.85rem;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.2s var(--ease-soft), background-color 0.2s var(--ease-soft);
}
.nav-list a:hover { color: var(--gold-deep); background: rgba(169, 121, 59, 0.08); }

.header-actions { display: none; align-items: center; gap: 0.5rem; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.2s var(--ease-soft);
}
.header-phone:hover { color: var(--gold-deep); }
.header-phone .icon { width: 1rem; height: 1rem; fill: var(--gold); flex: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(58, 53, 48, 0.2);
  border-radius: 999px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 17px; height: 1.5px;
  background: var(--ink);
  position: relative;
}
/* barele hamburgerului: exceptie legitima de la regula "fara liniute" */
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.24s var(--ease-out), opacity 0.16s linear;
}
.nav-toggle span::before { top: -5.5px; }
.nav-toggle span::after  { top: 5.5px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(58, 53, 48, 0.1);
  padding-block: 0.75rem 1.25rem;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { display: grid; gap: 0.15rem; }
.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 0.5rem;
  font-size: 1.0625rem;
  text-decoration: none;
  border-radius: var(--radius);
}
.mobile-nav a:hover { color: var(--gold-deep); }
.mobile-nav .mobile-cta { display: grid; gap: 0.5rem; margin-top: 1rem; }

@media (min-width: 900px) {
  .nav-list, .header-actions { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav, .mobile-nav.is-open { display: none; }
}

/* --------------------------------------------------------------------------
   7. Sectiuni
   -------------------------------------------------------------------------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--velvet { background: var(--velvet); }

.section-head { max-width: 54ch; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head h2 { margin-bottom: 1.1rem; }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero { padding-block: clamp(2.75rem, 6vw, 5.5rem) clamp(1rem, 3vw, 2rem); }

.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.hero-copy .eyebrow { margin-bottom: 1.5rem; }
.hero-copy h1 { margin-bottom: 1.5rem; max-width: 15ch; }
.hero-copy .lede { margin-bottom: 2rem; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.15rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero-figure {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
}
.hero-figure .arcada {
  aspect-ratio: 3 / 4;
  background: #E6DCCC;
}
.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero-caption {
  margin-top: 1rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 0.82fr; gap: clamp(3rem, 6vw, 5rem); }
  .hero-figure { max-width: 520px; }
}

/* --------------------------------------------------------------------------
   9. Divider "curtain" - trei panouri Arcada (panou lateral, central, lateral)
   Reproduce fundalul real din trei panouri al clientului.
   -------------------------------------------------------------------------- */
.curtain {
  width: var(--shell);
  margin-inline: auto;
  padding-block: clamp(2rem, 5vw, 3.5rem);
}
.curtain svg {
  display: block;
  width: min(100%, 560px);
  margin-inline: auto;
  height: auto;
}
.curtain .panel {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.25;
  /* fill-box e obligatoriu ca procentele din transform-origin sa se raporteze
     la forma, nu la sistemul de coordonate al SVG-ului */
  transform-box: fill-box;
  transform-origin: 50% 100%;
}
.curtain .panel--mid { stroke-width: 1.5; }
.curtain .clasp { fill: var(--gold); }

/* --------------------------------------------------------------------------
   10. Servicii
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
@media (min-width: 620px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .services-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }

.service {
  display: flex;
  flex-direction: column;
}
.service-figure {
  aspect-ratio: 3 / 4;
  background: #E6DCCC;
  margin-bottom: 1.4rem;
}
.service-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.service:hover .service-figure img { transform: scale(1.035); }

.service .stamp { display: block; margin-bottom: 0.7rem; }
.service h3 { font-size: 1.375rem; margin-bottom: 0.7rem; }
.service p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-muted);
  margin-bottom: 1.1rem;
}
.service-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  align-self: flex-start;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease-soft), gap 0.2s var(--ease-out);
}
.service-link:hover { border-bottom-color: var(--gold-deep); gap: 0.65rem; }
.service-link .icon { width: 0.85em; height: 0.85em; fill: currentColor; }

/* --------------------------------------------------------------------------
   10b. Despre noi
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.about-figure { width: 100%; max-width: 420px; margin-inline: auto; }
.about-figure .arcada { aspect-ratio: 3 / 4; background: #E6DCCC; }
.about-figure img { width: 100%; height: 100%; object-fit: cover; }

.about-copy .eyebrow { margin-bottom: 1.1rem; }
.about-copy h2 { margin-bottom: 1.5rem; max-width: 20ch; }
.about-body p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-muted);
  margin-bottom: 1.1rem;
  max-width: 60ch;
}
.about-body p:last-child { margin-bottom: 0; }

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 0.82fr 1fr; }
  .about-figure { max-width: 100%; }
}

/* --------------------------------------------------------------------------
   11. Portofoliu
   -------------------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}
.filter {
  min-height: 44px;
  padding: 0 1.05rem;
  background: transparent;
  border: 1px solid rgba(58, 53, 48, 0.22);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-soft),
              border-color 0.2s var(--ease-soft),
              color 0.2s var(--ease-soft);
}
.filter:hover { border-color: var(--gold); color: var(--gold-deep); }
.filter[aria-pressed="true"] {
  background: var(--velvet);
  border-color: var(--velvet);
  color: var(--ivory);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.75rem;
}
@media (min-width: 640px)  { .gallery { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 1040px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 1.15rem; } }

.gallery-item[hidden] { display: none; }

.gallery-btn {
  display: block;
  width: 100%;
  padding: 0;
  background: #E6DCCC;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4 / 5;
}
.gallery-btn img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out), opacity 0.3s var(--ease-soft);
}
.gallery-btn:hover img { transform: scale(1.045); opacity: 0.94; }

.gallery-tag {
  position: absolute;
  left: 0.5rem; bottom: 0.5rem;
  padding: 0.3rem 0.55rem;
  background: rgba(36, 31, 28, 0.82);
  color: var(--ivory);
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s var(--ease-soft), transform 0.25s var(--ease-out);
}
.gallery-btn:hover .gallery-tag,
.gallery-btn:focus-visible .gallery-tag { opacity: 1; transform: none; }

.gallery-count {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   12. Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  background: rgba(20, 17, 15, 0.94);
}
.lightbox.is-open { display: flex; }

.lightbox-figure {
  margin: 0;
  max-width: min(100%, 900px);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 74vh;
  width: auto;
  margin-inline: auto;
  object-fit: contain;
  border-radius: var(--radius);
  background: #1A1614;
}
.lightbox-figure figcaption {
  color: rgba(246, 239, 228, 0.8);
  font-size: 0.875rem;
  line-height: 1.55;
  text-align: center;
  max-width: 60ch;
  margin-inline: auto;
}

.lightbox-btn {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: rgba(246, 239, 228, 0.1);
  border: 1px solid rgba(246, 239, 228, 0.24);
  border-radius: 999px;
  color: var(--ivory);
  cursor: pointer;
  transition: background-color 0.2s var(--ease-soft);
}
.lightbox-btn:hover { background: rgba(246, 239, 228, 0.2); }
/* regulile de autor bat foaia UA, deci [hidden] are nevoie de o regula explicita */
.lightbox-btn[hidden] { display: none; }
.lightbox-btn svg { width: 20px; height: 20px; fill: currentColor; }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev  { left: 0.75rem;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 0.75rem; top: 50%; transform: translateY(-50%); }

@media (min-width: 768px) {
  .lightbox-prev { left: 1.75rem; }
  .lightbox-next { right: 1.75rem; }
}

body.is-locked { overflow: hidden; }

/* --------------------------------------------------------------------------
   13. Cum lucram
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: 2.25rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  counter-reset: step;
}
@media (min-width: 640px)  { .steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

/* chenar real de card (border-top), NU un pseudo-element in forma de liniuta:
   nu exista niciun risc sa se citeasca drept em dash inaintea unei etichete */
.step {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(246, 239, 228, 0.18);
}
.step-no {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold-soft);
  margin-bottom: 0.9rem;
  line-height: 1;
}
.step h3 { font-size: 1.25rem; margin-bottom: 0.6rem; color: var(--ivory); }
.step p { font-size: 0.9375rem; line-height: 1.7; color: rgba(246, 239, 228, 0.7); }

/* --------------------------------------------------------------------------
   14. Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.85fr 1fr; } }

.contact-list { display: grid; gap: 1.25rem; margin-bottom: 2rem; }
.contact-row { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-row .icon {
  width: 1.15rem; height: 1.15rem;
  fill: var(--gold);
  flex: none;
  margin-top: 0.32rem;
}
.contact-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.2rem;
}
.contact-value {
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease-soft), border-color 0.2s var(--ease-soft);
}
a.contact-value:hover { color: var(--gold-deep); border-bottom-color: var(--gold-deep); }

.socials { display: flex; gap: 0.6rem; }
.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border: 1px solid rgba(58, 53, 48, 0.22);
  border-radius: 999px;
  transition: border-color 0.2s var(--ease-soft), background-color 0.2s var(--ease-soft);
}
.social:hover { border-color: var(--gold); background: rgba(169, 121, 59, 0.08); }
.social svg { width: 19px; height: 19px; fill: var(--charcoal); }
.social:hover svg { fill: var(--gold); }

/* Harta click-to-load (GDPR: IP-ul nu ajunge la Google fara actiunea vizitatorului) */
.map-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #E9E0D2;
  border: 1px solid rgba(58, 53, 48, 0.12);
}
.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  text-align: center;
  padding: 1.5rem;
}
.map-placeholder .map-pin { width: 26px; height: 26px; fill: var(--gold); }
.map-placeholder p { font-size: 0.9375rem; color: var(--ink-muted); max-width: 30ch; }
.map-frame { width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------------------------
   15. Buton flotant WhatsApp
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: var(--wa);
  border-radius: 999px;
  box-shadow: 0 10px 26px -10px rgba(20, 17, 15, 0.55);
}
.wa-float svg { width: 29px; height: 29px; fill: #FFFFFF; position: relative; z-index: 1; }
.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--wa);
  animation: wa-pulse 2.4s var(--ease-soft) infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
@media (min-width: 768px) {
  .wa-float { right: 1.75rem; bottom: 1.75rem; }
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--velvet);
  color: var(--ivory);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer-top {
  display: grid;
  gap: 2.25rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(246, 239, 228, 0.12);
}
@media (min-width: 780px) {
  .footer-top { grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; }
}
.footer .brand-name { color: var(--ivory); }
.footer-tagline {
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(246, 239, 228, 0.7);
  max-width: 34ch;
}
.footer-col h2 {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 239, 228, 0.55);
  margin-bottom: 1rem;
}
.footer-col li a,
.footer-col li span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 0.9375rem;
  color: rgba(246, 239, 228, 0.82);
  text-decoration: none;
  transition: color 0.2s var(--ease-soft);
}
.footer-col li a:hover { color: var(--gold-soft); }

.footer-legal {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.legal-line {
  font-size: 0.75rem;
  line-height: 1.9;
  color: rgba(246, 239, 228, 0.6);
}
.legal-line a {
  color: rgba(246, 239, 228, 0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(246, 239, 228, 0.22);
}
.legal-line a:hover { color: var(--ivory); border-bottom-color: var(--ivory); }
.legal-sep { color: rgba(246, 239, 228, 0.32); padding-inline: 0.45rem; }

.credit-line { font-size: 0.75rem; color: rgba(246, 239, 228, 0.6); }
.credit {
  color: var(--gold-soft);
  font-weight: 600;
  text-decoration: none;
}
.credit:hover { text-decoration: underline; }

/* Pictogramele ANPC au deja fundal alb propriu: fara cip alb suplimentar */
.anpc { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.anpc img { height: 42px; width: auto; }

@media (min-width: 780px) {
  .footer-legal {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
  .footer-legal .legal-stack { display: grid; gap: 0.25rem; }
}

/* --------------------------------------------------------------------------
   17. Pagini legale
   -------------------------------------------------------------------------- */
.legal-page { padding-block: clamp(3rem, 7vw, 5rem); }
.legal-page .shell { max-width: 72ch; }
.legal-page h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.75rem; }
.legal-page .updated {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 2.5rem;
}
.legal-page h2 {
  font-size: 1.375rem;
  margin-top: 2.5rem;
  margin-bottom: 0.85rem;
}
.legal-page p { margin-bottom: 1rem; color: var(--ink-muted); line-height: 1.75; }
.legal-page strong { color: var(--ink); font-weight: 600; }
.legal-page ul.bullets { display: grid; gap: 0.6rem; margin-bottom: 1.25rem; }
.legal-page ul.bullets li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--ink-muted);
  line-height: 1.75;
}
/* marcaj patrat, nu liniuta */
.legal-page ul.bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.68em;
  width: 0.375rem; height: 0.375rem;
  background: var(--gold);
}
.legal-page a { color: var(--gold-deep); }
.legal-page .data-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}
.legal-page .data-table th,
.legal-page .data-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.9rem 0.7rem 0;
  border-bottom: 1px solid rgba(58, 53, 48, 0.12);
}
.legal-page .data-table th {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  width: 42%;
}
.legal-page .anpc { margin-top: 1.5rem; }
.legal-page .anpc img {
  height: 42px;
  width: auto;
  border: 1px solid rgba(58, 53, 48, 0.12);
  border-radius: 6px;
}
.table-scroll { overflow-x: auto; }

/* --------------------------------------------------------------------------
   18. Miscare - scroll-driven, cu respect pentru prefers-reduced-motion
   Starea implicita e VIZIBILA: daca browserul nu suporta animation-timeline,
   continutul se vede normal.
   -------------------------------------------------------------------------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes curtain-rise {
  from { opacity: 0; transform: scaleY(0.9); }
  to   { opacity: 1; transform: none; }
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .hero-figure {
    animation: hero-in 0.75s var(--ease-out) both;
  }
  .hero-copy > *:nth-child(1) { animation-delay: 0.02s; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.14s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.2s; }
  .hero-copy > *:nth-child(5) { animation-delay: 0.26s; }
  .hero-figure { animation-delay: 0.12s; }

  @supports (animation-timeline: view()) {
    .reveal {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 8% cover 26%;
    }
    .curtain .panel {
      animation: curtain-rise linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 34%;
    }
    .curtain .panel--left  { animation-delay: 0s; }
    .curtain .panel--mid   { animation-range: entry 14% cover 38%; }
    .curtain .panel--right { animation-range: entry 18% cover 42%; }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .wa-float::after { display: none; }
}
