/* ============================================================
   La Teodor – Raiul Lavandei · Design System (theme.css)
   Premium editorial · mobile-FIRST · lavandă + verde natural
   Fără chenare/boxe în jurul textului. 1 serif titlu + 1 sans.
   ============================================================ */

/* ---------- 1. Variabile (design tokens) ---------- */
:root {
  /* Paletă — lavandă + verde câmp + auriu golden-hour pe cremă caldă */
  --lavanda-deep:  #4f3f7a;   /* titluri accent, hover profund   */
  --lavanda:       #7a68a8;   /* brand primar                    */
  --lavanda-soft:  #a996ce;   /* accente, linii                  */
  --lavanda-mist:  #efeaf7;   /* fundaluri fine de secțiune      */
  --verde-camp:    #6f7f4c;   /* verde natural (frunză/câmp)      */
  --verde-deep:    #3c4a30;   /* verde profund, footer           */
  --verde-mist:    #eef1e6;   /* fundal verde foarte deschis      */
  --auriu:         #cf9a3f;   /* golden hour — CTA cald, accent   */
  --auriu-deep:    #b07f28;
  --crema:         #faf6ee;   /* fundal pagină, cald off-white    */
  --crema-2:       #f4eee2;   /* fundal alternativ                */
  --alb:           #ffffff;
  --ink:           #2a2632;   /* text principal, near-black cald  */
  --ink-soft:      #5c5568;   /* text secundar                    */
  --ink-faint:     #8b8496;   /* meta, subtiluri                  */

  /* Tipografie — serif editorial de titlu + sans lizibil */
  --font-serif: 'Cormorant Garamond', 'Playfair Display', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-sans:  -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Scală tipografică fluidă (mobile-first, clamp) */
  --fs-hero:  clamp(2.6rem, 9vw, 5.4rem);
  --fs-h1:    clamp(2.1rem, 6.5vw, 3.6rem);
  --fs-h2:    clamp(1.7rem, 5vw, 2.7rem);
  --fs-h3:    clamp(1.3rem, 3.5vw, 1.7rem);
  --fs-lead:  clamp(1.08rem, 2.6vw, 1.35rem);
  --fs-body:  1.02rem;
  --fs-small: 0.86rem;

  /* Spațiere & ritm */
  --sp-1: .5rem;  --sp-2: 1rem;   --sp-3: 1.5rem;  --sp-4: 2.25rem;
  --sp-5: 3.5rem; --sp-6: 5rem;   --sp-7: 7rem;
  --maxw: 1180px;
  --maxw-text: 68ch;
  --radius: 14px;
  --radius-lg: 26px;
  --shadow-soft: 0 18px 50px -28px rgba(56, 44, 90, .45);
  --shadow-card: 0 22px 60px -34px rgba(56, 44, 90, .55);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset fin + baze ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--crema);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;   /* clip, NU hidden — hidden pe root creează un scroll-container (overflow-y:auto) și blochează derularea până jos pe mobil */
}
img { max-width: 100%; height: auto; display: block; }
video, iframe { max-width: 100%; }
figure { margin: 0; }   /* <figure> avea margin default 1em 40px → imaginile din trasee ieșeau mici pe mobil */
/* Subiect înalt în partea de sus a cadrului (ex. struțul) — arată capul, nu-l tăia la crop */
.obj-top { object-position: 50% 14%; }
/* Imagine clicabilă spre galerie/secțiune (indiciu subtil de zoom) */
a.media-link { display: block; cursor: zoom-in; }
.traseu-fig a.media-link, .tile a.media-link { border-radius: inherit; }
a.media-link img { transition: transform .5s var(--ease); }
a.media-link:hover img { transform: scale(1.02); }
/* Tag-chip care e de fapt un link către o secțiune */
.traseu-tag.tag-link { cursor: pointer; }
.traseu-tag.tag-link:hover { background: var(--lavanda); color: #fff; }
input, textarea, select { font-size: 16px; }           /* previne auto-zoom iOS Safari */
button, a, [role="button"] { touch-action: manipulation; } /* elimină delay-ul de 300ms */
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 var(--sp-2);
  color: var(--ink);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }
p  { margin: 0 0 var(--sp-2); max-width: var(--maxw-text); }
::selection { background: var(--lavanda-soft); color: #fff; }

/* ---------- 3. Layout util ---------- */
.wrap    { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: var(--sp-5); }
.section--tight { padding-block: var(--sp-4); }
.section--mist { background: var(--lavanda-mist); }
.section--verde { background: var(--verde-mist); }
.section--crema2 { background: var(--crema-2); }
.center  { text-align: center; }
.stack > * + * { margin-top: var(--sp-3); }

/* Kicker / eyebrow — text mic, majuscule, spațiat (fără boxă) */
.kicker {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--lavanda);
  margin: 0 0 var(--sp-2);
  display: inline-block;
}
.kicker--verde { color: var(--verde-camp); }
.lead { font-size: var(--fs-lead); color: var(--ink-soft); line-height: 1.55; }
.muted { color: var(--ink-faint); }

/* Titlu de secțiune cu subliniere organică (linie, nu chenar) */
.section-title { max-width: 22ch; }
.section-title--center { margin-inline: auto; text-align: center; }

/* ---------- 4. Butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  text-align: center;
  font-family: var(--font-sans);
  font-size: .96rem; font-weight: 650; letter-spacing: .01em;
  padding: .85em 1.6em;
  border-radius: 100px;
  border: 0; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  line-height: 1;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: var(--auriu); color: #241a05;
  box-shadow: 0 12px 30px -12px rgba(207, 154, 63, .8);
}
.btn-primary:hover { background: var(--auriu-deep); color: #fff; transform: translateY(-2px); }
.btn-lavanda {
  background: var(--lavanda); color: #fff;
  box-shadow: 0 12px 30px -14px rgba(122, 104, 168, .9);
}
.btn-lavanda:hover { background: var(--lavanda-deep); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,.14); color: #fff;
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55);
}
.btn-ghost:hover { background: rgba(255,255,255,.26); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--lavanda-deep);
  box-shadow: inset 0 0 0 1.6px var(--lavanda-soft);
}
.btn-outline:hover { background: var(--lavanda); color: #fff; box-shadow: none; }
.btn-sm { padding: .6em 1.15em; font-size: .85rem; }
.btn-lg { padding: 1em 1.9em; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Link cu subliniere animată (fără boxă) */
.link-underline {
  position: relative; font-weight: 600; color: var(--lavanda-deep);
  padding-bottom: 2px;
}
.link-underline::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--auriu); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); }

/* ---------- 5. Header / Navigație (sticky, pe experiențe) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 246, 238, .82);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(122, 104, 168, .14);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-2); min-height: 64px;
}
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-serif); }
.brand-mark {
  width: 34px; height: 34px; flex: none;
  color: var(--lavanda);
}
.brand-name { font-size: 1.22rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1; color: var(--ink); }
.brand-name b { color: var(--lavanda-deep); font-weight: 600; }
.brand-sub { display: block; font-family: var(--font-sans); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); margin-top: 3px; }

.nav-links { display: none; }
.nav-cta { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px; margin-right: -8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Meniu mobil (drawer) */
.nav-drawer {
  position: fixed; inset: 64px 0 0 0; z-index: 55;
  background: var(--crema);
  padding: var(--sp-3) 1.25rem var(--sp-5);
  display: flex; flex-direction: column; gap: .35rem;
  transform: translateY(-6px); opacity: 0; pointer-events: none;
  transition: opacity .28s var(--ease), transform .28s var(--ease);
  overflow-y: auto;
}
.nav-drawer[data-open="true"] { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav-drawer a {
  font-family: var(--font-serif); font-size: 1.5rem; color: var(--ink);
  padding: .5rem 0; border-bottom: 1px solid rgba(122,104,168,.12);
}
.nav-drawer a:hover { color: var(--lavanda-deep); }
.nav-drawer .btn { margin-top: var(--sp-3); justify-content: center; }

/* Desktop nav */
@media (min-width: 900px) {
  .nav-toggle, .nav-drawer { display: none; }
  .nav-links {
    display: flex; align-items: center; gap: 1.4rem; margin-left: auto;
  }
  .nav-links a {
    font-size: .94rem; font-weight: 550; color: var(--ink-soft);
    position: relative; padding: 4px 0;
  }
  .nav-links a::after {
    content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
    background: var(--lavanda); transform: scaleX(0); transform-origin: left;
    transition: transform .28s var(--ease);
  }
  .nav-links a:hover { color: var(--ink); }
  .nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-links a[aria-current="page"] { color: var(--ink); }
  .nav-cta { display: inline-flex; margin-left: 1.4rem; }
}

/* ---------- 6. HERO „sezon live" ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {   /* gradient de lizibilitate, fără boxă */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(30,22,52,.15) 0%, rgba(30,22,52,.05) 40%, rgba(30,22,52,.72) 100%),
    linear-gradient(90deg, rgba(30,22,52,.45) 0%, rgba(30,22,52,0) 60%);
}
.hero-inner { width: 100%; max-width: var(--maxw); margin-inline: auto; padding: 0 1.25rem var(--sp-5); }
.hero h1 {
  color: #fff; font-size: var(--fs-hero); max-width: 15ch;
  text-shadow: 0 2px 30px rgba(20,14,40,.35);
}
.hero .lead { color: rgba(255,255,255,.92); max-width: 38ch; }
.hero .btn-row { margin-top: var(--sp-3); }

/* Badge „sezon live" — pastilă vie, nu chenar în jurul textului */
.season-badge {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-sans); font-weight: 700; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .55em 1.05em; border-radius: 100px;
  margin-bottom: var(--sp-3);
  background: rgba(255,255,255,.16); color: #fff;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4);
}
.season-badge[data-state="open"] { background: rgba(122,104,168,.9); box-shadow: none; }
.season-badge[data-state="soon"] { background: rgba(111,127,76,.9); box-shadow: none; }
.season-badge .dot {
  width: 9px; height: 9px; border-radius: 50%; background: #fff; flex: none;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.6); }
  70%  { box-shadow: 0 0 0 12px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
@media (prefers-reduced-motion: reduce) { .season-badge .dot { animation: none; } }

/* Fâșie de repere sub hero (fără boxe) */
.hero-facts {
  background: var(--verde-deep); color: #fff;
}
.hero-facts .wrap {
  display: grid; grid-template-columns: 1fr; gap: .35rem;
  padding-block: var(--sp-3);
}
.hero-fact { display: flex; align-items: center; gap: .7rem; font-size: .95rem; }
.hero-fact svg { color: var(--auriu); flex: none; }
.hero-fact b { font-weight: 650; }
@media (min-width: 720px) {
  .hero-facts .wrap { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

/* ---------- 7. „Un traseu prin loc" (poveste vizuală) ---------- */
.traseu-intro { max-width: var(--maxw-text); }
.traseu {
  position: relative;
  display: flex; flex-direction: column; gap: var(--sp-5);
  margin-top: var(--sp-5);
}
.traseu-step {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-3);
  align-items: center;
}
.traseu-fig { position: relative; }
.traseu-fig img {
  width: 100%; border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3; object-fit: cover;
  box-shadow: var(--shadow-card);
}
.traseu-num {
  font-family: var(--font-serif); font-size: 1rem; font-weight: 600;
  color: var(--auriu-deep); letter-spacing: .05em;
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: .4rem;
}
.traseu-num::before {
  content: ""; width: 34px; height: 1.5px; background: var(--auriu); display: inline-block;
}
.traseu-body h3 { font-size: clamp(1.5rem, 5vw, 2.1rem); }
.traseu-tags { display: flex; flex-wrap: wrap; gap: .4rem .5rem; margin-top: var(--sp-2); }
.traseu-tag {
  font-size: .82rem; font-weight: 600; color: var(--lavanda-deep);
  background: var(--lavanda-mist); padding: .3em .8em; border-radius: 100px;
}
.section--verde .traseu-tag { color: var(--verde-deep); background: #e3e9d5; }

@media (min-width: 860px) {
  .traseu { gap: var(--sp-6); }
  .traseu-step { grid-template-columns: 1.05fr 1fr; gap: var(--sp-5); }
  .traseu-step:nth-child(even) .traseu-fig { order: 2; }
  .traseu-fig img { aspect-ratio: 5 / 4; }
}

/* ---------- 8. Grilă de intenții (auto-selecție vizitator) ---------- */
.intent-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-3);
  margin-top: var(--sp-4);
}
@media (min-width: 620px) { .intent-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .intent-grid { grid-template-columns: repeat(4, 1fr); } }

/* Card imagine-led, fără chenar în jurul textului */
.intent-card {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius-lg); min-height: 300px;
  color: #fff; isolation: isolate;
  transition: transform .35s var(--ease);
}
.intent-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform .6s var(--ease);
}
.intent-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(30,22,52,0) 30%, rgba(30,22,52,.82) 100%);
}
.intent-card:hover { transform: translateY(-4px); }
.intent-card:hover img { transform: scale(1.06); }
.intent-card-body { position: absolute; left: 0; bottom: 0; padding: var(--sp-3); }
.intent-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: .25rem; }
.intent-card p { color: rgba(255,255,255,.85); font-size: .9rem; margin: 0; }
.intent-card .go {
  margin-top: .6rem; font-size: .85rem; font-weight: 700; letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: .4em; color: #fff;
}
.intent-card .go svg { transition: transform .3s var(--ease); }
.intent-card:hover .go svg { transform: translateX(4px); }

/* ---------- 9. Card „experiență/produs" simplu (imagine + text, fără boxă) ---------- */
.tile-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-4);
  margin-top: var(--sp-4);
}
@media (min-width: 640px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .tile-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.tile img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-soft); }
.tile h3 { margin-top: var(--sp-2); font-size: 1.35rem; }
.tile p  { font-size: .96rem; color: var(--ink-soft); }
.tile .price { font-weight: 700; color: var(--lavanda-deep); }

/* ---------- 10. Bloc „Planifică vizita" (sticky, omniprezent) ---------- */
.plan {
  background: var(--verde-deep); color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  display: grid; gap: var(--sp-3);
}
.plan h2 { color: #fff; }
.plan-facts { display: grid; gap: var(--sp-2); }
.plan-fact { display: flex; gap: .8rem; align-items: flex-start; }
.plan-fact svg { color: var(--auriu); flex: none; margin-top: 3px; }
.plan-fact b { display: block; font-weight: 650; }
.plan-fact span { color: rgba(255,255,255,.78); font-size: .92rem; }
.plan .btn-row { margin-top: var(--sp-1); }
@media (min-width: 860px) {
  .plan { grid-template-columns: 1.1fr 1fr; align-items: center; padding: var(--sp-5); gap: var(--sp-5); }
  .plan-facts { gap: var(--sp-3); }
}

/* Bară sticky de acțiune (mobil) — „program · sună · indicații" */
.plan-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: rgba(60, 74, 48, .96);
  backdrop-filter: blur(10px);
  display: flex; gap: .5rem; padding: .6rem .75rem;
  padding-bottom: calc(.6rem + env(safe-area-inset-bottom, 0));
  box-shadow: 0 -12px 30px -18px rgba(0,0,0,.5);
}
.plan-bar .btn { flex: 1; justify-content: center; font-size: .9rem; padding-inline: .5em; }
.plan-bar .btn-sun { background: var(--auriu); color: #241a05; }
.plan-bar .btn-ind { background: rgba(255,255,255,.16); color: #fff; box-shadow: inset 0 0 0 1.4px rgba(255,255,255,.4); }
@media (min-width: 860px) { .plan-bar { display: none; } }
body { padding-bottom: 68px; }
@media (min-width: 860px) { body { padding-bottom: 0; } }

/* ---------- 11. Citate / social proof (fără boxă) ---------- */
.quote {
  font-family: var(--font-serif); font-size: clamp(1.5rem, 4.5vw, 2.3rem);
  line-height: 1.3; color: var(--ink); max-width: 24ch;
  font-weight: 500;
}
.quote--lg { max-width: 20ch; }
.stars { color: var(--auriu); letter-spacing: .1em; font-size: 1.1rem; }
.review-grid { display: grid; gap: var(--sp-4); margin-top: var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 760px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review p { font-size: 1.02rem; color: var(--ink); }
.review cite { font-style: normal; font-weight: 650; color: var(--ink-soft); font-size: .9rem; }

/* Fâșie de repere de încredere (logo-text, fără chenar) */
.trust-row { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; margin-top: var(--sp-3); }
.trust-item { display: flex; align-items: center; gap: .5rem; color: var(--ink-soft); font-size: .9rem; font-weight: 600; }
.trust-item svg { color: var(--verde-camp); flex: none; }

/* ---------- 12. Newsletter (captare lead, fără popup) ---------- */
.news { display: grid; gap: var(--sp-2); max-width: min(44ch, 100%); }
.news-form { display: flex; gap: .5rem; flex-wrap: wrap; }
.news-form input {
  flex: 1 1 200px; min-width: 0;
  font: inherit; padding: .8em 1.1em; border-radius: 100px;
  border: 1.5px solid var(--lavanda-soft); background: #fff; color: var(--ink);
}
.news-form input:focus { outline: 2px solid var(--lavanda); outline-offset: 1px; border-color: transparent; }

/* ---------- 13. Footer ---------- */
.site-footer {
  background: var(--verde-deep); color: rgba(255,255,255,.82);
  padding-block: var(--sp-5) var(--sp-3);
  font-size: .95rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-4);
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--sp-5); } }
.site-footer h4 { color: #fff; font-family: var(--font-sans); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin-bottom: var(--sp-2); }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: #fff; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name b { color: var(--lavanda-soft); }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-social { display: flex; gap: .8rem; margin-top: var(--sp-2); }
.footer-social a { display: inline-flex; }
.footer-bottom {
  margin-top: var(--sp-4); padding-top: var(--sp-3);
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: space-between; align-items: center;
}
.footer-credit { font-size: .7rem; opacity: .4; }
.footer-credit a { color: inherit; text-decoration: underline; }

/* ---------- 14. Micro-animații de intrare ----------
   ROBUST: conținutul e VIZIBIL implicit. Ascunderea + reveal la scroll se
   aplică DOAR când JS e activ (html.js), ca pagina să nu apară niciodată
   goală dacă JS întârzie / e dezactivat / crawler nu-l rulează. */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal { opacity: 0; transform: translateY(22px); }
html.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- 15. Accesibilitate ---------- */
:focus-visible { outline: 3px solid var(--lavanda); outline-offset: 2px; border-radius: 4px; }
.skip-link {
  position: absolute; left: -999px; top: .5rem;
  background: var(--lavanda-deep); color: #fff; padding: .6em 1em; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: .5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ============================================================
   16. RAFINĂRI MOBILE (feedback 2026-07-03)
   ============================================================ */

/* Denumirea brandului pe UN singur rând (header + footer) */
.brand-name { white-space: nowrap; }
.brand-dash { color: var(--ink-faint); font-weight: 400; padding: 0 .12em; }
.site-header .brand-name { font-size: clamp(.76rem, 3.2vw, 1.18rem); }
.site-header .nav-toggle { flex: none; }      /* hamburger-ul NU e împins niciodată off-screen */
.site-header .brand { min-width: 0; }          /* brandul cedează spațiu, nu împinge meniul */
/* Header auto-hide: dispare la scroll în jos, reapare la scroll în sus */
.site-header { transition: transform .32s var(--ease); }
.site-header.is-hidden { transform: translateY(-100%); }
/* Când meniul mobil e deschis: header FIXAT de viewport (sticky se rupe cu body{overflow:hidden}), ca X-ul de închidere să fie mereu vizibil */
.site-header.menu-open { position: fixed; top: 0; left: 0; right: 0; transform: none; }

/* Numere de telefon: nu se rup pe două rânduri */
/* (scos tel:nowrap — făcea butoanele cu text lung + număr să depășească;
   numărul rămâne întreg prin &nbsp;, iar butonul se poate așeza pe 2 rânduri) */

/* HERO: mai lizibil (umbră mai puternică pe titlu) */
.hero h1 { text-shadow: 0 2px 26px rgba(20,14,40,.6), 0 1px 4px rgba(20,14,40,.5); }

/* Meniu mobil bulletproof: acoperă tot ecranul, sub header, derulabil.
   height explicit (100dvh) — cu inset:0 singur browserul dimensiona drawer-ul
   după conținut (colaps la ~136px = doar primul link vizibil). */
.nav-drawer { inset: 0; top: 0; bottom: auto; height: 100vh; height: 100dvh;
  padding: 3.5rem 1.25rem var(--sp-4); z-index: 58; gap: .1rem; }

/* Bara sticky: cele 3 butoane încap pe orice ecran */
.plan-bar { gap: .4rem; padding: .55rem .6rem; padding-bottom: calc(.55rem + env(safe-area-inset-bottom, 0)); }
.plan-bar .btn { flex: 1 1 0; min-width: 0; font-size: .82rem; padding: .72em .4em; gap: .32em; white-space: nowrap; }
.plan-bar .btn svg { flex: none; }

@media (max-width: 560px) {
  /* Hero mai mic + gradient de lizibilitate mai puternic */
  :root { --fs-hero: clamp(1.95rem, 10.5vw, 3rem); }
  .hero { min-height: min(80vh, 640px); }
  .hero::after { background:
    linear-gradient(180deg, rgba(30,22,52,.30) 0%, rgba(30,22,52,.12) 36%, rgba(30,22,52,.84) 100%),
    linear-gradient(90deg, rgba(30,22,52,.52) 0%, rgba(30,22,52,0) 62%); }
  .hero .lead { text-shadow: 0 1px 12px rgba(20,14,40,.55); }

  /* Condensare verticală */
  .section { padding-block: var(--sp-4); }
  .traseu { gap: var(--sp-4); }
  .footer-grid { gap: var(--sp-3); }
  .footer-list { gap: .4rem; }
  .site-footer { padding-block: var(--sp-4) var(--sp-3); }
  .nav-drawer a { font-size: 1.1rem; padding: .28rem 0; }
  .news-form { gap: .5rem; }
  .news-form input { flex: 1 1 100%; }
  /* Blocurile verzi „Planifică vizita" — text centrat pe mobil */
  .plan { text-align: center; }
  .plan .btn-row { justify-content: center; }
  .plan-facts { max-width: 32ch; margin-inline: auto; }
  .plan-fact { flex-direction: column; align-items: center; gap: .3rem; text-align: center; }
}

/* ---------- 17. Rețele sociale mai vizibile (footer + meniu) ---------- */
.social-label { font-family: var(--font-sans); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.72); margin: var(--sp-3) 0 .55rem; }
.footer-social { gap: .55rem; flex-wrap: wrap; align-items: center; margin-top: 0; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.footer-social a:hover { background: var(--lavanda); transform: translateY(-3px); }
.footer-social svg { width: 22px; height: 22px; }

/* Rând social în meniul mobil (drawer) */
.drawer-social { display: flex; gap: .7rem; margin-top: auto; padding-top: var(--sp-3); }
.drawer-social a {
  width: 46px; height: 46px; border-radius: 50%; background: var(--lavanda-mist); border-bottom: 0;
  display: inline-flex; align-items: center; justify-content: center; color: var(--lavanda-deep);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.drawer-social a:hover { background: var(--lavanda); color: #fff; transform: translateY(-2px); }
.drawer-social svg { width: 24px; height: 24px; }
