:root {
  --dark: #3a2616;        /* lemn de nuc */
  --brown: #6b4426;
  --accent: #3f5d36;      /* verde de brad */
  --accent-dark: #2f4728;
  --red: #b5432c;         /* mușcate */
  --gold: #d9a441;        /* felinar */
  --text: #3b332c;
  --muted: #74685c;
  --cream: #f7f1e5;
  --light: #fbf8f2;
  --line: #e6dccb;
  --wa: #25d366;
  --wa-soft: #3cc85a;
  --radius: 12px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; margin: 0 0 .5em; line-height: 1.2; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  background: var(--dark);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.top__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.logo i { font-size: 1.7rem; color: var(--gold); }
.logo span {
  display: flex; flex-direction: column; line-height: 1.1;
  font-family: "Playfair Display", serif; font-weight: 700; font-size: 1.5rem; letter-spacing: .02em;
}
.logo small {
  font-family: "Open Sans", sans-serif; font-size: .62rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: #cdb99c; margin-top: 5px;
}

.nav { display: flex; gap: 36px; }
.nav a {
  color: #fff; text-decoration: none; font-size: 1.02rem; position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform .25s;
}
.nav a:hover::after { transform: scaleX(1); }

.menu-toggle {
  display: none; background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; padding: 8px;
}

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(ellipse at 80% 40%, #fffaf0 0%, rgba(255, 250, 240, 0) 60%),
    var(--cream);
  padding: 70px 0 80px;
  border-bottom: 1px solid var(--line);
}
.hero__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: center; }
.hero__kicker {
  color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .2em;
  font-size: .82rem; margin: 0 0 1rem;
}
.hero__kicker i { margin-right: 6px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); color: var(--dark); font-weight: 600; margin-bottom: .35em; }
.hero h1 span { color: var(--brown); font-style: italic; display: block; }
.hero__sub { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--muted); margin: 0 0 1.6rem; max-width: 520px; }
.hero__phone {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 600; color: var(--dark); text-decoration: none;
}
.hero__phone i { font-size: .7em; color: var(--red); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2rem; }
.hero__art img {
  width: 100%; height: auto; border-radius: 18px;
  box-shadow: 0 20px 50px rgba(58, 38, 22, .18);
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff; text-decoration: none;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; border: 2px solid var(--accent);
  transition: background .2s, border-color .2s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--wa { background: var(--wa-soft); border-color: var(--wa-soft); }
.btn--wa:hover { background: #2fb44c; border-color: #2fb44c; }
.btn--wa i { font-size: 1.2rem; }

/* ---------- sections ---------- */
.section { padding: 90px 0; }
.section--cream { background: var(--cream); }

.title { text-align: center; margin-bottom: 56px; }
.title__ornament {
  display: inline-flex; align-items: center; gap: 14px; color: var(--red); font-size: 1.2rem; margin-bottom: 12px;
}
.title__ornament::before, .title__ornament::after {
  content: ""; width: 48px; height: 1px; background: var(--brown); opacity: .5;
}
.title h2 {
  color: var(--dark); font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 0;
}
.title p { color: var(--muted); margin: 16px auto 0; max-width: 620px; font-size: 1.08rem; }

/* about */
.about { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.about .lead { font-family: "Playfair Display", serif; font-size: 1.45rem; color: var(--dark); line-height: 1.45; margin-top: 0; }
.hosts { font-family: "Playfair Display", serif; font-style: italic; color: var(--red); font-weight: 600; font-size: 1.2rem; }
.about__facts {
  list-style: none; margin: 0; padding: 30px 28px;
  background: var(--light); border: 1px solid var(--line); border-radius: 16px;
}
.about__facts li { display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px dashed var(--line); line-height: 1.45; }
.about__facts li:last-child { border-bottom: 0; }
.about__facts i { color: var(--accent); font-size: 1.4rem; width: 30px; text-align: center; margin-top: 3px; }
.about__facts strong { display: block; color: var(--dark); }
.about__facts div { color: var(--muted); font-size: .95rem; }

/* features */
.features {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 48px 24px; text-align: center;
}
.features li { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.features i {
  width: 84px; height: 84px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.1rem; color: var(--brown); background: #fff;
  box-shadow: 0 6px 18px rgba(58, 38, 22, .08); border: 1px solid var(--line);
  transition: transform .25s, color .25s;
}
.features li:hover i { transform: translateY(-4px); color: var(--red); }
.features span { font-size: 1.05rem; line-height: 1.4; font-weight: 600; color: var(--dark); }

/* camere și spații */
.spaces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.space {
  background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(58, 38, 22, .08); transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.space:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(58, 38, 22, .14); }
.space__icon {
  position: relative; height: 150px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff; font-size: 3.4rem;
}
.space__badge {
  position: absolute; top: 34px; left: calc(50% + 26px);
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--red); color: #fff; border: 3px solid #fff;
  font: 700 1.15rem "Playfair Display", serif;
  display: flex; align-items: center; justify-content: center;
}
.space__body { padding: 26px 26px 28px; flex: 1; }
.space h3 { font-size: 1.45rem; color: var(--dark); margin-bottom: .4em; }
.space p { margin: 0 0 18px; color: var(--muted); font-size: .98rem; }
.space ul { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px dashed var(--line); }
.space li { padding: 6px 0; font-weight: 600; color: var(--dark); font-size: .96rem; }
.space li i { color: var(--red); width: 24px; text-align: center; margin-right: 8px; }

#experiente .features i { background: var(--cream); }

/* plimbări cu caii */
.ride {
  display: grid; grid-template-columns: 220px 1fr; align-items: stretch;
  background: var(--dark); color: #e2d6c4; border-radius: 18px; overflow: hidden;
  margin: 0 auto 64px; max-width: 980px;
  box-shadow: 0 14px 40px rgba(58, 38, 22, .18);
}
.ride__icon {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--red) 0%, #8f3220 100%);
  color: #fff; font-size: 5.5rem;
}
.ride__body { padding: 36px 40px; }
.ride__kicker { color: var(--gold); text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 700; margin: 0 0 .5rem; }
.ride h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: .5em; }
.ride p { margin: 0 0 20px; }
.ride ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ride li {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px; padding: 7px 16px; font-weight: 600; font-size: .93rem; color: #fff;
}
.ride li i { color: var(--gold); }

@media (max-width: 700px) {
  .ride { grid-template-columns: 1fr; margin-bottom: 48px; }
  .ride__icon { height: 130px; font-size: 4rem; }
  .ride__body { padding: 26px 22px; }
}

.center-note { text-align: center; margin: 40px 0 0; color: var(--muted); }
.center-note a { color: var(--accent); font-weight: 700; text-decoration: none; }

/* gallery */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 12px;
}
.gallery a { overflow: hidden; border-radius: 8px; position: relative; background: var(--cream); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a::after {
  content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem; background: rgba(58, 38, 22, .4); opacity: 0; transition: opacity .3s;
}
.gallery a:hover img { transform: scale(1.06); }
.gallery a:hover::after { opacity: 1; }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; grid-row: span 2; }

/* booking */
.booking { display: grid; grid-template-columns: 1.4fr .9fr; gap: 40px; align-items: start; }
.booking > * { min-width: 0; }
.form {
  background: #fff; border-radius: 16px; padding: 36px;
  box-shadow: 0 8px 30px rgba(58, 38, 22, .08);
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px;
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; color: var(--dark); font-size: .98rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--dark);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 13px 16px; width: 100%; min-height: 52px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #998d80; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field .invalid { border-color: #c0392b; }
.form__error { grid-column: 1 / -1; margin: 0; color: #c0392b; font-weight: 600; font-size: .95rem; }
.form__error:empty { display: none; }
.btn-wa {
  grid-column: 1 / -1; margin-top: 8px;
  border: 0; cursor: pointer; font: inherit; font-size: 1.1rem; font-weight: 600;
  background: var(--wa-soft); color: #fff; border-radius: 999px; padding: 16px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background .2s;
}
.btn-wa i { font-size: 1.35rem; }
.btn-wa:hover { background: #2fb44c; }

.rules { background: var(--dark); color: #e2d6c4; border-radius: 16px; padding: 34px 30px; }
.rules h3 { color: #fff; font-size: 1.4rem; margin-bottom: 1em; }
.rules ul { list-style: none; padding: 0; margin: 0 0 28px; }
.rules li { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .95rem; line-height: 1.5; }
.rules li i { color: var(--gold); font-size: 1.1rem; width: 22px; margin-top: 3px; text-align: center; }
.rules strong { display: block; color: #fff; }
.rules li a { color: #e2d6c4; text-decoration: none; }
.rules li a:hover { color: var(--gold); }
.rules__call {
  display: inline-flex; align-items: center; gap: 10px; color: var(--dark); text-decoration: none;
  background: var(--gold); padding: 12px 24px; border-radius: 999px; font-weight: 700;
  transition: background .2s;
}
.rules__call:hover { background: #e8b75a; }

/* location */
.location { display: grid; grid-template-columns: .9fr 1.3fr; gap: 40px; align-items: stretch; }
.location > * { min-width: 0; }
.distances { list-style: none; padding: 0; margin: 0; }
.distances li {
  display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line);
}
.distances li i { color: var(--accent); width: 22px; text-align: center; }
.distances li a { text-decoration: none; }
.distances li a:hover { color: var(--accent); }
.distances__link { border: 0 !important; padding-top: 24px !important; }
.distances__link a { color: var(--accent); font-weight: 700; }
.location__map iframe {
  width: 100%; height: 100%; min-height: 380px; border: 0; border-radius: var(--radius); background: var(--line);
}

/* footer */
.foot { background: var(--dark); color: #cdbfa9; padding: 50px 0 0; }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: 40px; }
.foot__contact { display: flex; flex-wrap: wrap; gap: 14px 34px; }
.foot__contact a, .foot__contact span { color: #fff; text-decoration: none; }
.foot__contact i { color: var(--gold); margin-right: 6px; }
.foot__contact a:hover { color: var(--gold); }
.foot__copy { border-top: 1px solid rgba(255, 255, 255, .1); text-align: center; padding: 18px 20px 90px; font-size: .9rem; color: #a08f78; }

/* floating buttons (dreapta jos) */
.float {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  display: flex; flex-direction: column; gap: 12px;
}
.float__btn {
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none; font-size: 1.45rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  transition: transform .15s;
}
.float__btn:hover { transform: scale(1.08); }
.float__btn--wa { background: var(--wa); font-size: 1.85rem; }
.float__btn--tel { background: var(--red); animation: ring 3.5s ease-in-out infinite; }

@keyframes ring {
  0%, 84%, 100% { transform: rotate(0); }
  86% { transform: rotate(-14deg); }
  89% { transform: rotate(12deg); }
  92% { transform: rotate(-8deg); }
  95% { transform: rotate(5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .float__btn--tel { animation: none; }
  html { scroll-behavior: auto; }
}

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(20, 14, 9, .94);
  display: flex; align-items: center; justify-content: center; padding: 40px 70px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 100%; max-width: 100%; border-radius: 6px; }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff; font-size: 1.7rem;
  cursor: pointer; padding: 12px;
}
.lightbox__close { top: 12px; right: 16px; }
.lightbox__prev { left: 12px; }
.lightbox__next { right: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1050px) {
  .features { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--dark); flex-direction: column; gap: 0; padding: 8px 0 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 20px; }
  .nav a::after { display: none; }

  .hero { padding: 40px 0 60px; }
  .hero__inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero__art { order: -1; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }

  .about, .booking, .location, .spaces { grid-template-columns: 1fr; gap: 36px; }
  .spaces { max-width: 560px; margin: 0 auto; gap: 24px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gallery .wide { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .title { margin-bottom: 40px; }
  .logo span { font-size: 1.25rem; }
  .logo i { font-size: 1.4rem; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .about .lead { font-size: 1.25rem; }
  .about__facts { padding: 20px 18px; }
  .features { grid-template-columns: repeat(2, 1fr); gap: 36px 14px; }
  .features i { width: 70px; height: 70px; font-size: 1.7rem; }
  .features span { font-size: .98rem; }
  .form { padding: 22px 18px; gap: 16px 14px; }
  .field input, .field select { padding: 12px; }
  .rules { padding: 28px 22px; }
  .location__map iframe { min-height: 300px; }
  .lightbox { padding: 20px 10px; }
  .lightbox__nav { bottom: 10px; top: auto; }
}

/* ---------- câmpuri de dată (fix Safari iOS) ---------- */
.field--date { position: relative; }
.field input[type="date"] {
  -webkit-appearance: none; appearance: none;
  display: block; min-width: 0; max-width: 100%;
  text-align: left; line-height: 1.3;
}
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }

@supports (-webkit-touch-callout: none) {
  .field--date::after {
    content: "\f133"; font-family: "Font Awesome 6 Free"; font-weight: 400;
    position: absolute; right: 16px; bottom: 15px; color: var(--dark); pointer-events: none;
  }
  .field--date:has(input:invalid)::before {
    content: "zz.ll.aaaa"; position: absolute; left: 14px; bottom: 14px;
    color: #998d80; pointer-events: none;
  }
}

@media (max-width: 640px) {
  .form > .field:nth-child(-n+2) { grid-column: 1 / -1; }
  .float { right: 14px; bottom: 14px; gap: 10px; }
  .float__btn { width: 52px; height: 52px; font-size: 1.25rem; }
  .float__btn--wa { font-size: 1.6rem; }
}

/* ---------- pop-up qualixworks ---------- */
.promo {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20, 14, 9, .7);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: promoFade .3s ease;
}
.promo[hidden] { display: none; }
.promo__box {
  position: relative; background: #fff; border-radius: 18px;
  max-width: 440px; width: 100%; padding: 44px 32px 26px; text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  animation: promoUp .35s ease;
}
.promo__icon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--cream); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
}
.promo h3 { color: var(--dark); font-size: 1.35rem; line-height: 1.35; margin-bottom: .7em; }
.promo p { margin: 0 0 22px; color: var(--muted); }
.promo p strong { color: var(--accent); }
.promo__btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 600;
  padding: 14px 26px; border-radius: 999px; transition: background .2s;
}
.promo__btn:hover { background: var(--accent-dark); }
.promo .promo__site { margin: 14px 0 0; font-weight: 700; color: var(--dark); letter-spacing: .03em; }
.promo .promo__hint { margin: 18px 0 0; font-size: .82rem; color: #9a9a9a; }

.promo__close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--line); background: #fff; color: var(--dark);
  font: 600 .95rem "Open Sans", sans-serif; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.promo__close i { display: none; font-size: 1.1rem; }
.promo__close:disabled { cursor: default; color: var(--muted); }
.promo__close.ready { border-color: var(--dark); }
.promo__close.ready i { display: block; }
.promo__close.ready .promo__count { display: none; }
.promo__close.ready:hover { background: var(--dark); color: #fff; }

@keyframes promoFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes promoUp { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 640px) {
  .promo__box { padding: 40px 22px 22px; }
  .promo h3 { font-size: 1.2rem; }
}
