/* ═══════════════════════════════════════════════════════════
   Cabana Mălăiești · 1720 m · Munții Bucegi
   Design: dimineață alpină — verde de brad, crem cald, lemn
   ═══════════════════════════════════════════════════════════ */

:root {
  --paper:      #f5f2e6;   /* crem cald — fundal principal */
  --paper-2:    #ece8d8;   /* crem umbrit — secțiuni alternate */
  --paper-3:    #e2decb;   /* crem adânc — finalul gradientului din contact */
  --card:       #fffdf4;   /* alb cald — carduri */
  --ink:        #22382c;   /* verde-închis — text principal */
  --ink-dim:    #5b6b5c;   /* verde-gri — text secundar */
  --pine:       #2c5e46;   /* verde de brad — accente, butoane */
  --pine-deep:  #1c3a2d;   /* verde adânc — footer, hover */
  --moss:       #6f8f5f;   /* verde mușchi */
  --honey:      #b07c33;   /* miere / lemn — accent cald */
  --ember:      #b4452c;   /* cărămiziu — avertizări, marcaje */
  --line:       rgba(34, 56, 44, .14);
  --nav-bg:     rgba(245, 242, 230, .92);
  --menu-bg:    rgba(245, 242, 230, .97);

  --serif: "Cormorant Garamond", "Georgia", serif;
  --sans:  "Manrope", "Segoe UI", system-ui, sans-serif;

  --wrap: 1120px;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.only-wide { display: none; }
@media (min-width: 700px) { .only-wide { display: inline; } }

/* ───────────── Navigare ───────────── */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s;
}

/* Blur-ul stă pe un pseudo-element: un filtru direct pe .nav ar transforma
   bara în „containing block” pentru meniul mobil fixed și l-ar reteza. */
.nav--solid {
  padding: 10px 28px;
  box-shadow: 0 1px 0 var(--line);
}
.nav--solid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Peste scena din hero (mereu luminoasă) culorile sunt fixe;
   pe bara solidă trec pe tokenuri, ca să meargă și în tema întunecată. */
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #22382c;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.nav__brand svg { color: #2c5e46; }
.nav__brand em { font-style: italic; color: #2c5e46; }
.nav--solid .nav__brand { color: var(--ink); }
.nav--solid .nav__brand svg,
.nav--solid .nav__brand em { color: var(--pine); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  color: #3f5546;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: color .25s;
}
.nav--solid .nav__links a { color: var(--ink-dim); }
.nav__links a:hover { color: var(--pine); }

.nav__cta {
  color: #f7f4e9 !important;
  background: #2c5e46;
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 700 !important;
  transition: background .25s, transform .25s !important;
}
.nav__cta:hover { background: #1c3a2d; transform: translateY(-1px); }

.nav__side {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang {
  display: flex;
  border: 1.5px solid rgba(44, 94, 70, .45);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 253, 244, .55);
}
.lang button {
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 6px 12px;
  color: #3f5546;
  transition: background .25s, color .25s;
}
.lang button:hover { color: var(--pine); }
.lang button.is-active {
  background: #2c5e46;
  color: #f7f4e9;
}
.nav--solid .lang {
  border-color: var(--line);
  background: transparent;
}
.nav--solid .lang button { color: var(--ink-dim); }
.nav--solid .lang button.is-active {
  background: var(--pine);
  color: var(--paper);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}
.nav__burger span {
  width: 24px; height: 2px;
  background: #22382c;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s;
}
.nav--solid .nav__burger span,
.nav--open .nav__burger span { background: var(--ink); }

@media (max-width: 820px) {
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    background: var(--menu-bg);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s var(--ease);
  }
  .nav__links a { font-size: 1.3rem; color: var(--ink-dim); }
  .nav--open .nav__links { opacity: 1; pointer-events: auto; }
  .nav--open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav--open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav--open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ───────────── Hero ───────────── */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__scene { position: absolute; inset: 0; }
.hero__svg {
  width: 100%; height: 100%;
  display: block;
}

.cloud { animation: drift 34s linear infinite alternate; }
.cloud--slow { animation-duration: 48s; animation-direction: alternate-reverse; }
@keyframes drift {
  from { transform: translateX(-46px); }
  to   { transform: translateX(46px); }
}

.mist { animation: drift 28s linear infinite alternate; }
.mist--slow { animation-duration: 42s; animation-direction: alternate-reverse; }

.birds path { animation: glideBirds 7s ease-in-out infinite alternate; }
@keyframes glideBirds {
  from { transform: translate(0, 0); }
  to   { transform: translate(30px, -12px); }
}

.windows rect { animation: flicker 5s ease-in-out infinite; }
.windows rect:nth-child(2n) { animation-delay: 2.2s; }
@keyframes flicker {
  0%, 100% { opacity: 1; }
  50%      { opacity: .7; }
}

.smoke circle { animation: rise 6s ease-in infinite; }
.smoke circle:nth-child(2) { animation-delay: 2s; }
.smoke circle:nth-child(3) { animation-delay: 4s; }
@keyframes rise {
  0%   { transform: translateY(0);     opacity: .5; }
  100% { transform: translateY(-46px); opacity: 0; }
}

.flag { transform-origin: 1122px 598px; animation: wave 3.4s ease-in-out infinite; }
@keyframes wave {
  0%, 100% { transform: skewY(0deg); }
  50%      { transform: skewY(4deg); }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 120px 24px 150px;
}
@media (max-width: 700px) {
  .hero__content { padding-bottom: 270px; }
}
.hero__content::before {
  content: "";
  position: absolute;
  inset: -30px -90px;
  z-index: -1;
  background: radial-gradient(ellipse 58% 52% at 50% 46%,
              rgba(245, 242, 230, .75) 0%,
              rgba(245, 242, 230, .35) 45%,
              rgba(245, 242, 230, 0) 72%);
  pointer-events: none;
}

/* Textele din hero stau pe scena SVG, mereu luminoasă — culorile lor sunt
   fixe, nu tokenuri de temă, ca să rămână lizibile și în tema întunecată. */
.hero__eyebrow {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: #b07c33;
  margin-bottom: 18px;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.2rem, 11vw, 7.5rem);
  line-height: .95;
  letter-spacing: .01em;
  color: #1c3a2d;
  text-shadow: 0 2px 24px rgba(245, 242, 230, .8);
}
.hero__title span {
  font-style: italic;
  color: #2c5e46;
}

.hero__alt {
  margin-top: 20px;
  font-size: 1.02rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #44574a;
  font-weight: 600;
}
.hero__alt .count { color: #2c5e46; font-weight: 700; }

.hero__lede {
  margin: 22px auto 0;
  max-width: 560px;
  color: #44574a;
  font-size: 1.08rem;
}

.hero__actions {
  margin-top: 38px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .03em;
  text-decoration: none;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, border-color .25s, color .25s;
  cursor: pointer;
  border: 0;
  font-family: var(--sans);
}
/* Butoanele au culori fixe: verde închis pe orice fundal, în orice temă. */
.btn--primary {
  background: #2c5e46;
  color: #f7f4e9;
  box-shadow: 0 8px 26px rgba(44, 94, 70, .32);
}
.btn--primary:hover {
  background: #1c3a2d;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(28, 58, 45, .38);
}
.btn--ghost {
  color: #1c3a2d;
  border: 1.5px solid rgba(44, 94, 70, .5);
  background: rgba(255, 253, 244, .5);
}
.btn--ghost:hover { border-color: #2c5e46; color: #2c5e46; transform: translateY(-2px); }
.btn--full { width: 100%; }

.hero__scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__mouse {
  display: block;
  width: 24px; height: 40px;
  border: 2px solid rgba(247, 244, 233, .75);
  border-radius: 14px;
  position: relative;
}
.hero__mouse::after {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: #f7f4e9;
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0%   { transform: translateY(0);    opacity: 1; }
  70%  { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 0; }
}

/* ───────────── Secțiuni generice ───────────── */

.section { padding: 110px 0; position: relative; }

.kicker {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: 14px;
}

.section__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.12;
  margin-bottom: 20px;
  color: var(--pine-deep);
}
.section__title em { font-style: italic; color: var(--pine); }

.section__lede {
  max-width: 640px;
  color: var(--ink-dim);
  font-size: 1.06rem;
  margin-bottom: 56px;
}
.section__lede code {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: .9em;
  color: var(--pine);
}

/* ───────────── Povestea (timeline) ───────────── */

.section--story { background: var(--paper); }

.timeline {
  list-style: none;
  position: relative;
  padding-left: 34px;
  max-width: 720px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--pine) 0%, rgba(44, 94, 70, .15) 100%);
}

.timeline__item {
  position: relative;
  padding: 0 0 44px 24px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -34px; top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--pine);
  box-shadow: 0 0 0 4px rgba(44, 94, 70, .12);
  margin-left: 2px;
}

.timeline__year {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--honey);
  display: block;
  margin-bottom: 6px;
}
.timeline__body h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.timeline__body p { color: var(--ink-dim); font-size: .98rem; }

/* ───────────── Gazdele ───────────── */

.section--hosts { background: var(--paper-2); }

.hosts {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) {
  .hosts { grid-template-columns: 1fr; }
  .hosts__portrait { max-width: 340px; margin: 0 auto; }
}

.hosts__portrait {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(34, 56, 44, .1);
}
.hosts__portrait svg, .hosts__portrait img { width: 100%; height: auto; display: block; }
.hosts__portrait figcaption {
  padding: 18px 22px;
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--line);
}
.hosts__portrait figcaption strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--pine-deep);
}
.hosts__portrait figcaption span {
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.hosts__text { display: grid; gap: 20px; }
.hosts__text p { color: var(--ink-dim); font-size: 1.02rem; }
.hosts__text strong { color: var(--ink); }

.hosts__motto {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.4;
  color: var(--pine);
  border-left: 3px solid var(--honey);
  padding: 6px 0 6px 22px;
  margin: 6px 0;
}

.hosts__facts {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--ink-dim);
  font-size: .95rem;
}
.hosts__facts li {
  padding: 5px 0 5px 26px;
  position: relative;
}
.hosts__facts li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--pine);
  font-weight: 700;
}
.hosts__facts strong { color: var(--ink); }

/* ───────────── Carduri ───────────── */

.cards {
  display: grid;
  gap: 24px;
}
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cards--3 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 30px;
  box-shadow: 0 6px 18px rgba(34, 56, 44, .06);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(44, 94, 70, .4);
  box-shadow: 0 18px 40px rgba(34, 56, 44, .14);
}

.card__icon {
  width: 52px; height: 52px;
  color: var(--pine);
  margin-bottom: 20px;
}
.card__icon svg { width: 100%; height: 100%; }

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.card p { color: var(--ink-dim); font-size: .97rem; }

.card__link {
  display: inline-block;
  margin-top: 14px;
  color: var(--pine);
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
}
.card__link:hover { text-decoration: underline; }

.checklist {
  list-style: none;
  margin-top: 8px;
  color: var(--ink-dim);
  font-size: .95rem;
}
.checklist li {
  padding: 5px 0 5px 26px;
  position: relative;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--pine);
  font-weight: 700;
}
.checklist strong { color: var(--ink); }

/* ───────────── Statistici ───────────── */

.section--facilities { background: var(--paper); }

.stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.stat {
  padding: 26px 10px;
  border-top: 2px solid rgba(44, 94, 70, .25);
}
.stat__num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.8rem;
  color: var(--pine);
  line-height: 1.1;
}
.stat__label {
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ───────────── Camere ───────────── */

.section--rooms { background: var(--paper-2); }

.room__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.room__head h3 { margin-bottom: 0; }
.room__cap {
  flex-shrink: 0;
  background: rgba(44, 94, 70, .12);
  color: var(--pine);
  border: 1px solid rgba(44, 94, 70, .3);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}
.room > p { color: var(--ink-dim); font-size: .97rem; margin-bottom: 12px; }

.avail {
  margin-top: 40px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 6px 18px rgba(34, 56, 44, .06);
}
.avail__icon { width: 46px; height: 46px; color: var(--pine); flex-shrink: 0; }
.avail__icon svg { width: 100%; height: 100%; }
.avail__text { flex: 1; min-width: 260px; }
.avail__text h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.avail__text p { color: var(--ink-dim); font-size: .97rem; }
.avail__group {
  margin-top: 10px;
  font-style: italic;
  color: var(--honey) !important;
}
.avail__cal { flex-basis: 100%; }
.avail__cal iframe {
  width: 100%;
  height: 420px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.disclaimer--soft {
  border-left-color: var(--honey);
  background: rgba(176, 124, 51, .08);
}

/* ───────────── Trasee ───────────── */

.section--trails { background: var(--paper); }

.trails {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 860px) { .trails { grid-template-columns: 1fr; } }

.trail {
  display: flex;
  gap: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 6px 18px rgba(34, 56, 44, .06);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.trail:hover {
  transform: translateY(-4px);
  border-color: rgba(44, 94, 70, .4);
  box-shadow: 0 16px 36px rgba(34, 56, 44, .13);
}

.trail__marker { flex-shrink: 0; padding-top: 4px; }

/* marcaje turistice */
.mark {
  display: block;
  width: 40px; height: 40px;
  background: #fff;
  border: 1px solid rgba(34, 56, 44, .2);
  border-radius: 6px;
  position: relative;
  box-shadow: 0 3px 10px rgba(34, 56, 44, .18);
}
.mark--stripe::after {
  content: "";
  position: absolute;
  left: 50%; top: 5px; bottom: 5px;
  width: 11px;
  transform: translateX(-50%);
}
.mark--stripe.mark--blue::after { background: #1d4fd7; }
.mark--stripe.mark--red::after  { background: #c0341d; }
.mark--triangle::after {
  content: "";
  position: absolute;
  left: 50%; top: 52%;
  transform: translate(-50%, -50%);
  width: 0; height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 20px solid;
}
.mark--triangle.mark--blue::after { border-bottom-color: #1d4fd7; }
.mark--triangle.mark--red::after  { border-bottom-color: #c0341d; }

.trail__body h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.trail__body h3 small {
  font-weight: 600;
  color: var(--honey);
  font-size: .85em;
}
.trail__body p { color: var(--ink-dim); font-size: .95rem; margin-bottom: 12px; }

.trail__meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: .85rem;
  color: var(--ink-dim);
}
.trail__meta strong { color: var(--ink); font-weight: 600; }

.trail__maplink {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1.5px solid rgba(44, 94, 70, .45);
  color: var(--pine);
  border-radius: 999px;
  padding: 8px 18px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.trail__maplink:hover {
  background: var(--pine);
  border-color: var(--pine);
  color: #f7f4e9;
}

/* ── Harta traseelor (modal) ── */

.tmodal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.tmodal[hidden] { display: none; }
.tmodal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 26, 19, .6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.tmodal__panel {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
  max-width: 880px;
  width: 100%;
  max-height: 92svh;
  overflow-y: auto;
  padding: 28px 28px 22px;
  animation: tmodalIn .35s var(--ease);
}
@keyframes tmodalIn {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.tmodal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background .25s, color .25s, transform .25s;
}
.tmodal__close:hover {
  background: var(--pine);
  color: #f7f4e9;
  transform: rotate(90deg);
}
.tmodal__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--pine-deep);
  padding-right: 48px;
  margin-bottom: 6px;
}
.tmodal__title small { color: var(--honey); font-size: .8em; }
.tmodal__meta {
  color: var(--ink-dim);
  font-size: .92rem;
  margin-bottom: 18px;
}
.tmodal__meta strong { color: var(--ink); }
.tmodal__map {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #f2eeda;
}
.tmodal__map svg { width: 100%; height: auto; display: block; }
.tmodal__note {
  margin-top: 14px;
  font-size: .85rem;
  color: var(--ink-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: space-between;
}
.tmodal__note a { color: var(--pine); font-weight: 700; text-decoration: none; }
.tmodal__note a:hover { text-decoration: underline; }

.tmap__label {
  font-family: var(--serif);
  font-size: 15px;
  fill: #22382c;
}
.tmap__label--big { font-size: 17px; font-weight: 600; }
.tmap__label--dim { fill: #5b6b5c; font-size: 13px; }

.tmap__route {
  stroke-opacity: .18;
  transition: stroke-opacity .3s;
}
.tmap__route.is-active {
  stroke-opacity: 1;
  stroke-width: 5.5;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: tmapDraw 1.6s ease .15s forwards;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .3));
}
@keyframes tmapDraw {
  to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tmodal__panel { animation: none; }
  .tmap__route.is-active {
    animation: none;
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }
}

.disclaimer {
  margin-top: 40px;
  padding: 18px 24px;
  border-left: 3px solid var(--ember);
  background: rgba(180, 69, 44, .07);
  border-radius: 0 12px 12px 0;
  color: var(--ink-dim);
  font-size: .92rem;
  max-width: 760px;
}

/* ───────────── Galerie ───────────── */

.section--gallery { background: var(--paper-2); }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .gallery { grid-template-columns: 1fr; } }

.gallery__item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 6px 18px rgba(34, 56, 44, .08);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.gallery__item:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 20px 46px rgba(34, 56, 44, .18);
}
.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption {
  padding: 14px 18px;
  font-size: .88rem;
  color: var(--ink-dim);
  letter-spacing: .02em;
}

/* ───────────── Info ───────────── */

.section--info { background: var(--paper); }

/* ───────────── Întrebări frecvente ───────────── */

.section--faq { background: var(--paper-2); }

.faq {
  max-width: 760px;
  display: grid;
  gap: 14px;
}
.faq__item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(34, 56, 44, .05);
  transition: border-color .3s;
}
.faq__item[open] { border-color: rgba(44, 94, 70, .4); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 22px;
  font-weight: 700;
  font-size: 1.02rem;
  position: relative;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--pine);
  transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item > p {
  padding: 0 22px 20px;
  color: var(--ink-dim);
  font-size: .97rem;
}

/* ───────────── Contact ───────────── */

.section--contact {
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper-3) 100%);
}

.contact {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.contact__form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 10px 30px rgba(34, 56, 44, .1);
}

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: .97rem;
  transition: border-color .25s, box-shadow .25s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--pine);
  box-shadow: 0 0 0 3px rgba(44, 94, 70, .15);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(91, 107, 92, .55); }

.field--row {
  display: grid;
  grid-template-columns: 1fr 1fr .7fr;
  gap: 14px;
}
@media (max-width: 560px) { .field--row { grid-template-columns: 1fr; } }

.contact__note {
  margin-top: 14px;
  font-size: .82rem;
  color: var(--ink-dim);
  text-align: center;
}

.contact__status {
  margin-top: 16px;
  padding: 13px 18px;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 600;
  text-align: center;
}
.contact__status--ok {
  background: rgba(44, 94, 70, .12);
  color: var(--pine);
  border: 1px solid rgba(44, 94, 70, .35);
}
.contact__status--err {
  background: rgba(180, 69, 44, .1);
  color: var(--ember);
  border: 1px solid rgba(180, 69, 44, .35);
}

.contact__aside { display: grid; gap: 28px; }

.contact__details h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--pine);
  margin: 18px 0 8px;
}
.contact__details h3:first-child { margin-top: 0; }
.contact__details p { color: var(--ink-dim); font-size: .97rem; }
.contact__details a { color: var(--pine); text-decoration: none; font-weight: 600; }
.contact__details a:hover { text-decoration: underline; }
.contact__hint { font-size: .85rem !important; font-style: italic; margin-top: 6px; }

.contact__map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(34, 56, 44, .1);
  position: relative;
}
.contact__map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}
.contact__maplink {
  display: block;
  padding: 12px 18px;
  font-size: .88rem;
  color: var(--pine);
  font-weight: 600;
  text-decoration: none;
  background: var(--card);
}
.contact__maplink:hover { text-decoration: underline; }

/* ───────────── Footer ───────────── */

.footer {
  padding: 54px 0;
  background: var(--pine-deep);
  color: #e9efe2;
  text-align: center;
}
.footer__inner { display: grid; gap: 14px; justify-items: center; }
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.15rem;
}
.footer__brand svg { color: #cfe0b8; }
.footer__brand em { font-style: italic; color: #cfe0b8; }
.footer__motto {
  font-family: var(--serif);
  font-style: italic;
  color: rgba(233, 239, 226, .85);
  font-size: 1.05rem;
}
.footer__legal { font-size: .82rem; color: rgba(233, 239, 226, .55); }

/* ───────────── Capra neagră (element ambiental) ───────────── */

.capra {
  position: fixed;
  bottom: 10px;
  left: 0;
  z-index: 90;
  pointer-events: none;
  will-change: transform;
  transition: transform 6s linear;
}
.capra__flip {
  display: block;
  transition: transform .4s ease;
}
.capra--facing-left .capra__flip { transform: scaleX(-1); }

.capra__viewport {
  width: 64px;
  height: 52px;
  overflow: hidden;
}
.capra__strip {
  display: block;
  width: 256px;
  height: 52px;
}
.capra--walking .capra__strip {
  animation: capraWalkCycle .6s steps(4) infinite;
}
.capra--walking .capra__body { animation: capraHop .3s ease-in-out infinite alternate; }
/* Capul+gâtul se apleacă spre iarbă la păscut — corpul rămâne orizontal. */
.capra__head { transform-origin: 39px 15px; }
.capra--grazing .capra__head {
  animation: capraGraze 2.8s ease-in-out infinite;
}
@keyframes capraWalkCycle {
  to { transform: translateX(-256px); }
}
@keyframes capraHop {
  from { transform: translateY(0); }
  to   { transform: translateY(-2px); }
}
@keyframes capraGraze {
  0%, 100% { transform: rotate(0deg); }
  40%, 70% { transform: rotate(40deg); }
}

/* ───────────── Animații la scroll ───────────── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .cloud, .mist, .mist--slow, .birds path, .windows rect, .smoke circle,
  .flag, .hero__mouse::after { animation: none !important; }
}
