:root {
  --cream: #f4efe8;
  --cream-2: #ebe3d8;
  --paper: #faf6f1;
  --ink: #3b2f2f;
  --muted: #6b574c;
  --green: #56352d;
  --green-deep: #3b2f2f;
  --green-soft: #57504c;
  --gold: #7a4f33;
  --gold-soft: #8a7365;
  --gold-line: #c9b8aa;
  --water: #6a8fa3;
  --white: #fff;
  --shadow: 0 18px 50px rgba(59, 47, 47, 0.12);
  --radius: 18px;
  --header: 4.5rem;
  --serif: "Cormorant Garamond", "Noto Serif Armenian", "Times New Roman", serif;
  --sans: "Manrope", "Noto Sans Armenian", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

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

a { color: inherit; text-decoration: none; }

button, input, select, textarea {
  font-family: inherit;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  height: 1px;
  width: 2.2rem;
  background: var(--gold-line);
}

.eyebrow::before { width: 1.4rem; }

h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
}

h2 { font-size: clamp(2rem, 4vw, 3.4rem); }

p { margin: 0 0 1rem; color: var(--muted); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  background: var(--green);
  border-bottom: 1px solid color-mix(in srgb, var(--cream) 14%, transparent);
}

.site-header.scrolled {
  background: var(--green-deep);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1200px, calc(100% - 1.5rem));
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  background: var(--paper);
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name strong {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream);
}

.brand-name span {
  margin-top: 0.28rem;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: color-mix(in srgb, var(--cream) 72%, transparent);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--cream);
}

.nav a:hover { color: #ead9cc; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.lang {
  display: flex;
  border: 1px solid color-mix(in srgb, var(--cream) 38%, transparent);
  border-radius: 999px;
  overflow: hidden;
}

.lang button {
  border: 0;
  background: transparent;
  padding: 0.35rem 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  color: color-mix(in srgb, var(--cream) 72%, transparent);
}

.lang button.active {
  background: var(--cream);
  color: var(--green);
}

.header-actions .btn-gold {
  background: var(--cream);
  color: var(--green);
  box-shadow: none;
}

.header-actions .btn-gold:hover {
  background: #efe4d8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-green {
  background: var(--green);
  color: var(--cream);
}

.btn-green:hover { background: var(--green-deep); }

.btn-gold {
  background: var(--gold);
  color: var(--paper);
  box-shadow: 0 10px 24px rgba(166, 130, 91, 0.28);
}

.btn-gold:hover { background: #957250; }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid color-mix(in srgb, var(--cream) 55%, transparent);
}

.btn-lg { padding: 0.95rem 1.45rem; font-size: 0.95rem; }

.btn svg {
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid color-mix(in srgb, var(--cream) 38%, transparent);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--cream);
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: end start;
  overflow: hidden;
  color: var(--cream);
}

.hero video.bg,
.hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

.hero .bg-mobile { display: none; }

@media (max-width: 900px) {
  .hero .bg-desktop { display: none; }
  .hero .bg-mobile { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .hero video.bg { display: none !important; }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/hero-poster.jpg") center/cover no-repeat;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(59, 47, 47, 0.12) 0%, rgba(59, 47, 47, 0.28) 42%, rgba(59, 47, 47, 0.82) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 0 0 5.5rem;
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero-copy .eyebrow { color: var(--cream); }
.hero-copy .eyebrow::before,
.hero-copy .eyebrow::after { background: color-mix(in srgb, var(--cream) 70%, transparent); }

.hero h1 {
  max-width: 16ch;
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  color: var(--cream);
  margin: 0.6rem 0 0.9rem;
}

.hero p.lead {
  max-width: 38rem;
  color: color-mix(in srgb, var(--cream) 86%, transparent);
  font-size: 1.08rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 2.2rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cream) 78%, transparent);
}

.hero-meta b {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--cream);
  font-weight: 500;
}

/* Sections */
section { padding: 5.2rem 0; }

.section-head {
  max-width: 40rem;
  margin-bottom: 2.4rem;
}

.section-head p { font-size: 1.05rem; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.photo-stack {
  display: grid;
  gap: 0.7rem;
}

.photo-stack img,
.photo-stack img:last-child {
  position: static;
  width: 100%;
  height: 14rem;
  object-fit: cover;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (min-width: 961px) {
  .photo-stack {
    grid-template-columns: 1fr 1fr;
  }
  .photo-stack img,
  .photo-stack img:last-child {
    height: 22rem;
  }
}

.quote {
  margin: 1.4rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--green);
  font-style: italic;
}

/* Amenities */
.amenities { background: var(--paper); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card-icon {
  background: var(--cream);
  border: 1px solid color-mix(in srgb, var(--gold) 22%, transparent);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem 1.2rem;
}

.amenity-link {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.amenity-link:hover h3,
.amenity-link:focus-visible h3 {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.6;
}

.card-icon h3 {
  margin: 1rem 0 0.4rem;
  font-size: 1.35rem;
  color: var(--green);
}

.card-icon p { margin: 0; font-size: 0.92rem; }

/* Stays */
.stays-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.stay {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.stay img { height: 15.5rem; width: 100%; object-fit: cover; }

.stay-body { padding: 1.3rem 1.3rem 1.5rem; flex: 1; display: flex; flex-direction: column; }

.stay-body h3 { font-size: 1.7rem; color: var(--green); margin-bottom: 0.35rem; }

.price {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--gold);
  margin: 0.6rem 0 0.2rem;
}

.price small {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.stay ul {
  margin: 0.7rem 0 1.2rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.stay li { padding: 0.18rem 0 0.18rem 1rem; position: relative; }

.stay li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.stay .btn { margin-top: auto; width: 100%; }

/* Gallery */
.gallery { background: var(--green-deep); color: var(--cream); }

.gallery .section-head p,
.gallery h2 { color: var(--cream); }

.gallery .eyebrow { color: var(--gold-soft); }

.masonry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.masonry img,
.masonry img:first-child {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  cursor: zoom-in;
  grid-column: auto;
  grid-row: auto;
}

@media (min-width: 800px) {
  .masonry { grid-template-columns: repeat(3, 1fr); }
}

.stay img,
.photo-stack img {
  cursor: zoom-in;
}

/* Location */
.map-frame {
  border: 0;
  width: 100%;
  height: 22rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  filter: saturate(0.85);
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.4rem;
}

.fact {
  background: var(--paper);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

.fact b { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--green); }

/* CTA band */
.cta-band {
  background:
    linear-gradient(180deg, rgba(59, 47, 47, 0.52), rgba(59, 47, 47, 0.74)),
    url("../img/sunset.jpg") center/cover;
  color: var(--cream);
  text-align: center;
  padding: 5.5rem 1rem;
}

.cta-band h2 { color: var(--cream); margin: 0.5rem 0 0.8rem; }

.cta-band p { color: color-mix(in srgb, var(--cream) 84%, transparent); max-width: 36rem; margin-inline: auto; }

.cta-band .hero-ctas { justify-content: center; }

/* Footer */
footer {
  background: var(--green-deep);
  color: color-mix(in srgb, var(--cream) 80%, transparent);
  padding: 2.4rem 0;
  font-size: 0.9rem;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

footer .socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

footer .btn-ghost {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(26, 32, 22, 0.55);
}

.modal.open { display: grid; }

.modal-card {
  width: min(34rem, 100%);
  background: var(--paper);
  border-radius: 22px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
  max-height: calc(100svh - 2rem);
  overflow: auto;
}

.modal-card h2 { font-size: 2rem; color: var(--green); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-grid .full { grid-column: 1 / -1; }

.form-grid input,
.form-grid select,
.form-grid textarea {
  border: 1px solid var(--gold-line);
  background: var(--white);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font-size: 0.95rem;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
}

.form-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.form-note {
  margin: 0.7rem 0 0;
  font-size: 0.82rem;
}

.form-ok {
  display: none;
  margin-top: 0.8rem;
  padding: 0.8rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--green) 10%, var(--cream));
  color: var(--green);
}

.close-x {
  float: right;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--muted);
}

/* Mobile bar */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 30;
  gap: 0.5rem;
}

.mobile-cta .btn { flex: 1; box-shadow: var(--shadow); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: rgba(18, 22, 16, 0.92);
  padding: 3.5rem 4.2rem 3rem;
}

.lightbox[hidden] { display: none; }

.lightbox img {
  max-width: 100%;
  max-height: calc(100svh - 6.5rem);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.lb-close,
.lb-nav {
  position: absolute;
  border: 0;
  background: color-mix(in srgb, var(--cream) 12%, transparent);
  color: var(--cream);
  cursor: pointer;
  border-radius: 999px;
}

.lb-close {
  top: 1rem;
  right: 1rem;
  width: 2.6rem;
  height: 2.6rem;
  font-size: 1.6rem;
  line-height: 1;
}

.lb-nav {
  top: 50%;
  width: 3rem;
  height: 3rem;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.lb-prev { left: 0.8rem; }
.lb-next { right: 0.8rem; }

.lb-count {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--gold-soft);
  letter-spacing: 0.12em;
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .lightbox { padding: 3.2rem 0.6rem 3rem; }
  .lb-nav { width: 2.4rem; height: 2.4rem; }
}

@media (max-width: 960px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: block; }
  .split, .grid-3, .stays-grid { grid-template-columns: 1fr; }
  .nav.open {
    display: flex;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: var(--green);
    flex-direction: column;
    padding: 1rem 1.2rem 1.4rem;
    border-bottom: 1px solid color-mix(in srgb, var(--cream) 14%, transparent);
    gap: 0.9rem;
  }
  .mobile-cta { display: flex; }
  body { padding-bottom: 5rem; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .brand-name { display: none; }
  .hero-copy { padding-bottom: 3rem; }
  .hero h1 { max-width: none; font-size: 2.15rem; }
  section { padding: 3.2rem 0; }
  .stay img { height: 12rem; }
  .map-frame { height: 16rem; }
}
