:root {
  --paper: #f5f0e6;
  --paper-2: #ece4d4;
  --ink: #1f2a22;
  --ink-soft: #4d564f;
  --pine: #26432f;
  --pine-deep: #1b3022;
  --bark: #4b2d18;
  --amber: #b8722c;
  --line: #d8ccb6;

  --serif: "Alegreya", Georgia, serif;
  --sans: "Alegreya Sans", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--pine); text-underline-offset: 3px; }
a:hover { color: var(--amber); }

h1, h2, h3 { font-weight: 500; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -.01em; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.kicker {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .6em;
}

.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- butoane ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  padding: .8em 1.4em;
  background: var(--pine);
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
  transition: background .2s;
}
.btn:hover { background: var(--bark); color: #fff; }
.btn--light { background: var(--paper); color: var(--pine-deep); }
.btn--light:hover { background: #fff; color: var(--pine-deep); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }

.link-arrow {
  font-family: var(--sans);
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow::after { content: " \2193"; }

/* ---------- header ---------- */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  color: #fff;
  transition: background .3s, color .3s, box-shadow .3s;
}
.topbar.is-solid {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.15rem;
}
.brand img {
  width: 58px; height: auto;
  filter: brightness(0) invert(1);
  transition: filter .3s;
}
.topbar.is-solid .brand img { filter: none; }

.nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0; padding: 0;
  font-family: var(--sans);
  font-size: 1rem;
}
.nav a { color: inherit; text-decoration: none; }
.nav a:hover { color: var(--amber); }
.nav-cta {
  border: 1px solid currentColor;
  padding: .35em .9em;
  border-radius: 3px;
}
.nav-toggle {
  display: none;
  font: 500 1rem var(--sans);
  background: none;
  border: 1px solid currentColor;
  color: inherit;
  padding: .35em .9em;
  border-radius: 3px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav ul {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    color: var(--ink);
    padding: 8px var(--gutter) 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
  }
  .nav ul.is-open { display: flex; }
  .nav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav li:last-child a { border: 0; margin-top: 12px; text-align: center; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(20,28,20,.55) 0%, rgba(20,28,20,.2) 45%, rgba(20,28,20,0) 65%),
    linear-gradient(to top, rgba(20,28,20,.72) 0%, rgba(20,28,20,.25) 38%, rgba(20,28,20,0) 60%),
    linear-gradient(to bottom, rgba(20,28,20,.35) 0%, rgba(20,28,20,0) 18%);
}
.hero-text {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(40px, 8vh, 80px);
}
.hero-place {
  font-family: var(--sans);
  font-size: .95rem;
  letter-spacing: .04em;
  opacity: .9;
  margin-bottom: .4em;
}
.hero h1 {
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: .95;
  margin-bottom: .25em;
}
.hero-text { text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.hero-lede {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  max-width: 34ch;
  margin-bottom: 1.4em;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

/* ---------- intro ---------- */

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  padding-block: clamp(64px, 10vw, 128px);
}
.intro-copy p { max-width: 60ch; }
.note {
  font-style: italic;
  color: var(--bark);
  border-left: 2px solid var(--amber);
  padding-left: 14px;
}

.facts {
  margin: 0;
  align-self: start;
  border-top: 2px solid var(--ink);
}
.facts div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.facts dt { font-family: var(--sans); color: var(--ink-soft); font-size: 1rem; }
.facts dd { margin: 0; font-size: 1.25rem; text-align: right; }
.facts .price dd { font-size: 1.6rem; font-weight: 500; color: var(--bark); }
.facts small { display: block; font-size: .85rem; color: var(--ink-soft); }

/* ---------- foto lată ---------- */

.wide-photo { margin: 0; }
.wide-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  max-height: 86vh;
  object-fit: cover;
  object-position: 50% 30%;
}
.wide-photo figcaption {
  max-width: var(--max);
  margin: 10px auto 0;
  padding-inline: var(--gutter);
  font-style: italic;
  font-size: .95rem;
  color: var(--ink-soft);
}

/* ---------- afară ---------- */

.outside { padding-block: clamp(64px, 10vw, 128px); }

.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head--row .muted { max-width: 36ch; margin: 0; }

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.feature:last-child { margin-bottom: 0; }
.feature img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  max-height: 600px;
}
.feature div { max-width: 44ch; }
.feature--flip img { order: 2; }
.feature--flip div { justify-self: end; }
.num {
  font-family: var(--sans);
  font-size: .85rem;
  color: var(--amber);
  margin-right: 8px;
  vertical-align: middle;
}
.aside { font-size: 1rem; color: var(--ink-soft); }

/* ---------- înăuntru ---------- */

.inside {
  background: var(--pine-deep);
  color: #ebe6da;
  padding-block: clamp(64px, 10vw, 128px);
}
.inside h2, .inside h3 { color: #fff; }
.inside .kicker { color: #d9a25e; }

.inside-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}
.inside-grid figure { margin: 0; }
.inside-grid img { width: 100%; height: 100%; object-fit: cover; }
.ig-a { grid-column: 1 / 9; grid-row: 1; aspect-ratio: 4 / 3; }
.ig-b { grid-column: 9 / 13; grid-row: 1; }
.ig-c { grid-column: 1 / 6; grid-row: 2; aspect-ratio: 4 / 5; }
.ig-text { grid-column: 7 / 13; grid-row: 2; align-self: center; padding-block: 24px; }
.ig-text h3 { margin-top: .6em; }

.plain-list {
  list-style: none;
  padding: 0;
  margin: 1.4em 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--sans);
  font-size: .95rem;
}
.plain-list li {
  border: 1px solid rgba(235,230,218,.35);
  padding: .25em .75em;
  border-radius: 2px;
}

/* ---------- galerie ---------- */

.gallery { padding-block: clamp(64px, 10vw, 128px); }
.masonry { columns: 3; column-gap: 14px; }
.masonry a {
  display: block;
  margin-bottom: 14px;
  break-inside: avoid;
  overflow: hidden;
}
.masonry img { width: 100%; transition: transform .5s ease, opacity .3s; }
.masonry a:hover img { transform: scale(1.03); }

/* ---------- împrejurimi ---------- */

.around {
  background: var(--paper-2);
  padding-block: clamp(64px, 10vw, 128px);
}
.around-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.distances {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0 .8em;
}
.distances th, .distances td {
  padding: 10px 0;
  border-bottom: 1px dotted #b7a98f;
  text-align: left;
  font-weight: 400;
}
.distances td {
  text-align: right;
  font-family: var(--sans);
  white-space: nowrap;
  padding-left: 16px;
}

.map iframe {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 0;
  filter: saturate(.75) sepia(.12);
}
.map-address { font-size: .95rem; margin-top: 10px; color: var(--ink-soft); }

/* ---------- reguli ---------- */

.rules { padding-block: clamp(64px, 9vw, 112px); }
.rules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  border-top: 2px solid var(--ink);
  padding-top: 24px;
}
.rules-grid h3 { font-size: 1.15rem; font-weight: 700; }
.rules-grid p { font-size: 1.02rem; color: var(--ink-soft); }

/* ---------- footer ---------- */

.footer {
  background: var(--pine-deep);
  color: #b9b8a8;
  font-family: var(--sans);
  font-size: .95rem;
  padding-block: 36px;
}
.footer strong { color: #fff; font-weight: 500; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer p { margin: 0; }

/* ---------- butoane contact ---------- */

.contact-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cf-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  transition: transform .2s, box-shadow .2s;
}
.cf-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.cf-whatsapp { background: #25d366; font-size: 1.85rem; }
.cf-phone { background: var(--pine); }

@media (max-width: 700px) {
  .contact-float { right: 14px; bottom: 14px; gap: 10px; }
  .cf-btn { width: 50px; height: 50px; }
}

/* ---------- lightbox ---------- */

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
}
.lightbox::backdrop { background: rgba(14,18,14,.94); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox button {
  position: absolute;
  background: none;
  border: 0;
  color: #fff;
  font-size: 2.6rem;
  line-height: 1;
  padding: 12px 18px;
  cursor: pointer;
  opacity: .8;
}
.lightbox button:hover { opacity: 1; }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .intro, .around-grid { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .feature { grid-template-columns: 1fr; }
  .feature--flip img { order: 0; }
  .feature--flip div { justify-self: start; }
  .feature img { aspect-ratio: 4 / 3; }

  .ig-a, .ig-b, .ig-c, .ig-text { grid-column: 1 / -1; grid-row: auto; }
  .ig-b, .ig-c { aspect-ratio: 4 / 3; }

  .rules-grid { grid-template-columns: 1fr; gap: 8px; }
  .masonry { columns: 2; column-gap: 8px; }
  .masonry a { margin-bottom: 8px; }
  .hero-img { object-position: 55% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .masonry img { transition: none; }
}

.feature img.pos-left { object-position: 20% 50%; }
