/* ===========================================================
   Jamie Trickett Stays — Design System
   Warm off-white, deep navy & amber — editorial boutique-hospitality brand
   =========================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Base — warm off-white, not pure white */
  --bg:          #faf9f6;   /* page background */
  --surface:     #ffffff;   /* cards */
  --surface-2:   #f4f1ea;   /* elevated / input fills */
  --surface-alt: #f8f6f1;   /* alt sections */
  --line:        rgba(26,22,16,.13);   /* hairline borders */
  --line-soft:   rgba(26,22,16,.07);

  /* Deep navy — buttons & nav accents */
  --accent:      #04162a;
  /* Muted terracotta/amber — icon accents & small uppercase labels */
  --accent-2:    #a1743c;
  --accent-soft: rgba(161,116,60,.12);
  --accent-line: rgba(4,22,42,.22);

  /* Text */
  --ink:         #181613;   /* headings — warm near-black */
  --body:        #4a453c;   /* body copy — warm dark gray */
  --muted:       #7b756a;   /* secondary text — warm gray */

  /* UI — sharp, editorial geometry */
  --radius:      3px;
  --radius-sm:   2px;
  --shadow:      0 1px 2px rgba(20,20,10,.04), 0 14px 32px -18px rgba(20,20,10,.2);
  --shadow-lg:   0 26px 60px -26px rgba(20,20,10,.24);
  --maxw:        1280px;
  --gap:         clamp(1.25rem, 3vw, 2.25rem);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
::selection { background: var(--accent); color: #fff; }

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: .8rem 1.2rem;
  z-index: 1000;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  left: 1.2rem;
  top: 1.2rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.005em;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tint { background: var(--surface-alt); border-block: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 1rem;
}

.section-head { max-width: 660px; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h1, .section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.section-head p { margin-top: 1rem; color: var(--muted); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  line-height: 1;
  padding: 1.15rem 1.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}

/* solid navy — the site's one strong action color */
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #0b2947; }

/* also solid navy, reserved for the single strongest CTA per section */
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #0b2947; }

/* outline on light */
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--accent-line); }
.btn--ghost:hover { border-color: var(--accent); background: var(--accent); color: #fff; }

/* outline over the hero photo */
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* outline over a dark photo — used on the "Our Homes" collection cards */
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--block { width: 100%; }
.btn--lg { padding: 1.25rem 2.2rem; }
/* extra-tall CTA used for the Check Availability / monthly-rate buttons in the booking sidebar */
.btn--stay { padding: 1.35rem 2.2rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,249,246,.9);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
  min-height: 86px;
  padding-block: .5rem;
}
.brand { display: flex; align-items: center; gap: .75rem; color: var(--ink); }
.brand .mark { color: var(--ink); flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; gap: .18rem; line-height: 1; }
.brand__text strong { font-family: var(--font-display); font-weight: 500; font-size: 1.16rem; text-transform: uppercase; letter-spacing: .04em; }
.brand__text small { font-family: var(--font-body); font-weight: 500; font-size: .58rem; letter-spacing: .38em; text-transform: uppercase; color: var(--muted); }

.nav-menu { display: flex; align-items: center; gap: 2.3rem; margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 2.1rem; }
.nav-links > a, .nav-drop-label {
  position: relative; font-size: .72rem; font-weight: 500; color: var(--ink);
  text-transform: uppercase; letter-spacing: .12em; transition: color .15s ease;
}
.nav-links > a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--accent-2); transition: width .22s ease; }
.nav-links > a:hover { color: var(--accent-2); }
.nav-links > a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: .75rem; }
.nav-cta .btn { padding: 1.05rem 1.6rem; }

/* Homes dropdown */
.has-dropdown { position: relative; }
.nav-drop-label { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; }
.nav-drop-label svg { width: 9px; height: 9px; transition: transform .18s ease; }
.has-dropdown:hover .nav-drop-label, .has-dropdown:focus-within .nav-drop-label { color: var(--accent-2); }
.has-dropdown:hover .nav-drop-label svg, .has-dropdown:focus-within .nav-drop-label svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 6px);
  min-width: 260px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); padding: .7rem; display: grid; gap: .1rem;
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 60;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown__group { display: block; padding: .6rem .7rem .3rem; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); }
.dropdown a { display: block; padding: .55rem .7rem; border-radius: 8px; font-size: .92rem; color: var(--body); }
.dropdown a:hover { background: var(--surface-2); color: var(--ink); }

.nav-toggle { display: none; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; color: var(--ink); cursor: pointer; padding: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  display: flex; align-items: center; min-height: min(660px, 78vh);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,17,33,.32) 0%, rgba(11,17,33,.62) 60%, rgba(11,17,33,.88) 100%),
    radial-gradient(120% 90% at 12% 25%, rgba(11,17,33,.3), transparent 60%);
}
/* text sits at the container's left gutter — the container keeps its full width
   so the hero copy lines up with the nav logo above it */
.hero__inner { padding-block: clamp(3.5rem, 9vw, 5rem) clamp(5.5rem, 11vw, 7.5rem); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  font-weight: 400;
  max-width: 680px;
}
/* thin rule between the headline and the subhead, as in the reference */
.hero h1::after {
  content: ""; display: block; width: 340px; max-width: 100%; height: 1px;
  background: rgba(255,255,255,.4); margin-top: clamp(1.4rem, 3vw, 1.9rem);
}
.hero p.lede { margin-top: 1.4rem; font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,.9); max-width: 430px; }
.hero__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .85rem; }

/* Search bar — overlaps the hero's bottom edge */
.search-bar-wrap {
  position: relative; z-index: 5; max-width: 1150px;
  margin: clamp(-84px, -8vw, -62px) auto 0; padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}
.search-bar {
  background: var(--surface); border-radius: var(--radius-sm);
  box-shadow: 0 18px 50px -24px rgba(20,20,10,.35), 0 2px 6px rgba(20,20,10,.05);
  padding: clamp(1.4rem, 2.6vw, 1.9rem) clamp(1.4rem, 2.6vw, 2rem);
  display: grid; grid-template-columns: 1.25fr 1fr 1fr .9fr auto; align-items: center; gap: 0;
}
.search-field { display: grid; gap: .7rem; min-width: 0; padding-inline: clamp(1rem, 2vw, 1.75rem); }
.search-field:first-child { padding-left: 0; }
.search-field + .search-field { border-left: 1px solid var(--line); }
.search-field label {
  font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.search-field__control { display: flex; align-items: center; gap: .5rem; border-bottom: 1px solid var(--line); padding-bottom: .5rem; }
.search-field__icon { width: 15px; height: 15px; flex-shrink: 0; color: var(--accent-2); }
.search-field select, .search-field input[type="date"] {
  font-family: var(--font-body); font-size: .92rem; color: var(--ink);
  border: 0; background: transparent; padding: 0; width: 100%; min-width: 0;
}
.search-field select {
  appearance: none; cursor: pointer; padding-right: 1.1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23181613' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center; background-size: 13px;
}
.search-field select:focus, .search-field input:focus { outline: none; }
.search-field:focus-within .search-field__control { border-bottom-color: var(--accent); }
.search-bar__submit { margin-left: clamp(1rem, 2vw, 1.75rem); align-self: stretch; padding-inline: 2.1rem; }
.search-bar__hint { text-align: center; margin-top: 1.1rem; font-size: .8rem; color: var(--muted); }

@media (max-width: 900px) {
  .search-bar { grid-template-columns: 1fr 1fr; gap: 1.4rem 0; }
  .search-field:nth-child(odd) { padding-left: 0; }
  .search-field:nth-child(odd) { border-left: 0; }
  .search-bar__submit { grid-column: 1 / -1; width: 100%; margin-left: 0; padding-block: 1.15rem; }
}
@media (max-width: 560px) {
  .search-bar-wrap { margin-top: 1.5rem; }
  .search-bar { grid-template-columns: 1fr; }
  .search-field { padding-inline: 0; border-left: 0 !important; }
}

/* ---------- Property cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-line); }
.card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11,17,33,.55)); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.card__tag {
  position: absolute; top: .9rem; left: .9rem; z-index: 1;
  background: rgba(255,255,255,.92); color: #111;
  font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: .4rem .8rem; border-radius: var(--radius-sm);
  border: 1px solid rgba(0,0,0,.08);
  backdrop-filter: blur(6px);
}
.card__body { padding: 1.6rem 1.6rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.card__loc { display: flex; align-items: center; gap: .4rem; color: var(--accent-2); font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.card h3 { font-size: 1.4rem; margin-top: .55rem; }
.card__meta, .card__sleeps { color: var(--muted); font-size: .92rem; margin-top: .35rem; }
.card__amen { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  background: var(--surface-2); color: var(--body);
  font-size: .8rem; font-weight: 500;
  padding: .4rem .8rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.card .btn { margin-top: 1.6rem; }
.card__foot {
  margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid var(--line);
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
}
.card__price { color: var(--ink); font-size: .9rem; }
.card__price strong { font-family: var(--font-display); font-size: 1.22rem; font-weight: 560; color: var(--ink); }
.card__price span { color: var(--muted); font-size: .84rem; margin-left: .18rem; }
.card__price--plain { font-family: var(--font-display); font-size: 1rem; color: var(--muted); }

/* ---------- Collection filter status bar (set by the "Our Homes" cards) ---------- */
.collection-filter {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; justify-content: center;
  margin-bottom: 1.75rem; font-size: .92rem; color: var(--body);
}
.collection-filter[hidden] { display: none; }
.collection-filter strong { color: var(--ink); }
.collection-filter button {
  background: none; border: 1px solid var(--accent-line); color: var(--accent-2);
  font: inherit; font-weight: 600; font-size: .85rem; padding: .4rem .9rem; border-radius: var(--radius-sm); cursor: pointer;
}
.collection-filter button:hover { background: var(--accent-soft); }
.card__cta {
  display: inline-flex; align-items: center;
  font-weight: 600; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2);
  transition: color .2s ease;
}
.card:hover .card__cta { color: var(--accent); }

/* ---------- Our Homes — two-column collection cards ---------- */
.home-collections { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: clamp(2rem, 4vw, 2.75rem); }
.home-collection { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; }
.home-collection img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.home-collection:hover img { transform: scale(1.04); }
.home-collection::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,12,14,.9) 0%, rgba(10,12,14,.62) 40%, rgba(10,12,14,.12) 78%);
}
.home-collection__overlay {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: clamp(1.6rem, 3.2vw, 2.4rem); color: #fff;
}
.home-collection h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 400; margin-bottom: .7rem; }
.home-collection__eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .68rem; font-weight: 600; color: rgba(255,255,255,.85); }
.home-collection__rule { display: block; width: 44px; height: 1px; background: rgba(255,255,255,.45); margin: 1.1rem 0; }
.home-collection p { color: rgba(255,255,255,.88); font-size: .93rem; max-width: 34ch; margin-bottom: 1.5rem; }

/* ---------- Plain five-icon feature row ---------- */
.icon-row-section { background: var(--surface-alt); border-block: 1px solid var(--line); padding-block: clamp(2.75rem, 5vw, 3.75rem); }
.icon-row { display: grid; grid-template-columns: repeat(5, 1fr); }
.icon-row__item { text-align: center; padding-inline: 1.25rem; border-left: 1px solid var(--line); }
.icon-row__item:first-child { border-left: 0; }
.icon-row__ico { display: inline-flex; color: var(--accent-2); margin-bottom: 1rem; }
.icon-row__ico svg { width: 30px; height: 30px; stroke-width: 1.5; }
.icon-row__item b { display: block; font-family: var(--font-body); font-weight: 600; font-size: .95rem; color: var(--ink); margin-bottom: .3rem; }
.icon-row__item span { display: block; font-size: .82rem; color: var(--muted); line-height: 1.5; }

/* ---------- Final split section — photo + "book direct" benefits ---------- */
.direct-split__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.direct-split__media { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3.4; }
.direct-split__media img { width: 100%; height: 100%; object-fit: cover; }
.direct-split__content h2 { font-size: clamp(1.9rem, 3.6vw, 2.65rem); font-weight: 400; margin-bottom: 1.8rem; }
.direct-benefits { display: grid; gap: 1.5rem; margin-bottom: 2.2rem; }
.direct-benefits li { display: flex; gap: 1.1rem; align-items: flex-start; }
.direct-benefits .ico { flex-shrink: 0; color: var(--accent-2); display: grid; place-items: center; padding-top: .15rem; }
.direct-benefits .ico svg { width: 22px; height: 22px; stroke-width: 1.6; }
.direct-benefits b { display: block; font-family: var(--font-body); font-weight: 600; font-size: .96rem; color: var(--ink); margin-bottom: .25rem; }
.direct-benefits span { color: var(--muted); font-size: .9rem; line-height: 1.6; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.reviews--single { grid-template-columns: 1fr; max-width: 560px; }
.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.95rem;
  box-shadow: var(--shadow);
  position: relative;
}
.review .stars { color: var(--accent); letter-spacing: .16em; font-size: .92rem; margin-bottom: .95rem; }
.review blockquote { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.5; color: var(--ink); letter-spacing: -0.01em; font-weight: 420; }
.review figcaption { margin-top: 1.3rem; display: flex; align-items: center; gap: .8rem; font-size: .92rem; }
.review .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(140deg, #1a1a1a, #3a3a3a);
  color: #fff; display: grid; place-items: center; font-weight: 600; font-family: var(--font-display);
}
.review figcaption b { color: var(--ink); font-weight: 600; }
.review figcaption span { display: block; color: var(--muted); font-size: .83rem; }

/* ---------- Review empty-state / CTA (replaces a single fake review box) ---------- */
.review--empty { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.review--empty blockquote { font-size: 1.08rem; color: var(--body); font-weight: 400; }
.review--empty .stars { color: var(--line); }

/* ---------- Share Your Stay — testimonial submission form ---------- */
.review-form {
  position: relative;
  max-width: 680px; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(2.25rem, 5vw, 3.25rem);
  box-shadow: var(--shadow);
  display: grid; gap: 1.6rem;
  overflow: hidden;
}
.review-form::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
  opacity: .45;
}
.review-form__quote {
  font-family: var(--font-display); font-size: 3.75rem; line-height: .5; height: .5em;
  color: rgba(0,0,0,.08); font-weight: 500; user-select: none; display: block;
}
.review-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.review-form label {
  display: grid; gap: .55rem; font-size: .78rem; font-weight: 700; color: #111111;
  letter-spacing: .04em; text-transform: uppercase;
}
.review-form input[type="text"],
.review-form input[type="email"],
.review-form select,
.review-form textarea {
  font-family: var(--font-body); font-size: 1rem; font-weight: 400; color: #111111;
  text-transform: none; letter-spacing: normal;
  background: #ffffff; border: 1px solid #d9d9d9; border-radius: 12px;
  padding: .95rem 1.05rem; width: 100%; transition: border-color .15s ease, box-shadow .15s ease;
}
.review-form select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px; padding-right: 2.6rem; }
.review-form textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.review-form input:hover, .review-form select:hover, .review-form textarea:hover { border-color: #b4b4b4; }
.review-form input:focus, .review-form select:focus, .review-form textarea:focus { outline: none; border-color: #000000; box-shadow: 0 0 0 3px rgba(0,0,0,.12); }
.review-form input::placeholder, .review-form textarea::placeholder { color: #9a9a9a; }

.review-form__rating-block { text-align: center; padding-block: .4rem; }
.review-form__rating-block > label:first-child { justify-items: center; }
.stars-input { display: flex; flex-direction: row-reverse; justify-content: center; gap: .3rem; }
.stars-input input { position: absolute; opacity: 0; pointer-events: none; }
.stars-input label {
  font-size: 2.3rem; line-height: 1; color: var(--line); cursor: pointer; padding: 0;
  transition: color .15s ease, transform .15s ease;
}
.stars-input label:hover { transform: scale(1.18); }
.stars-input label:hover, .stars-input label:hover ~ label,
.stars-input input:checked ~ label { color: var(--accent); }
.review-form__rating-hint { display: block; margin-top: .6rem; font-size: .85rem; font-weight: 500; color: var(--muted); text-transform: none; letter-spacing: normal; }

.review-form__note { font-size: .85rem; color: var(--muted); text-align: center; }
.review-form__status { font-size: .92rem; text-align: center; color: var(--accent-2); min-height: 1.2em; }

@media (max-width: 640px) {
  .review-form__grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--accent); color: rgba(255,255,255,.78); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--gap); }
.site-footer .brand, .site-footer .brand .mark { color: #fff; }
.site-footer .brand__text small { color: rgba(255,255,255,.6); }
.footer-about { color: rgba(255,255,255,.68); margin-top: 1.1rem; max-width: 34ch; font-size: .95rem; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col a { display: block; color: rgba(255,255,255,.72); padding: .3rem 0; font-size: .95rem; transition: color .15s ease; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.16);
  display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between;
  font-size: .84rem; color: rgba(255,255,255,.55);
}

/* ===========================================================
   Property page
   =========================================================== */
.breadcrumb { font-size: .88rem; color: var(--muted); padding-top: 1.7rem; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin-inline: .4rem; color: #4d4d4d; }

.prop-head { padding-top: 1.5rem; }
.prop-head .loc { display: flex; align-items: center; gap: .45rem; color: var(--accent-2); font-weight: 600; font-size: .92rem; letter-spacing: .02em; }
.prop-head h1 { font-size: clamp(2rem, 5vw, 3.3rem); margin-top: .55rem; max-width: 18ch; font-weight: 500; }
.prop-head .sub { margin-top: 1rem; color: var(--muted); font-size: 1.1rem; max-width: 62ch; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: .6rem;
  margin-top: 1.9rem;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 8.5;
  border: 1px solid var(--line);
}
.gallery figure { position: relative; overflow: hidden; background: var(--surface); }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery .more {
  position: absolute; inset: 0; background: rgba(5,5,5,.55);
  display: grid; place-items: center; color: #fff; font-weight: 600; letter-spacing: .02em;
  backdrop-filter: blur(1px);
}

/* Two-col layout */
.prop-layout { display: grid; grid-template-columns: 1fr 360px; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.prop-main > * + * { margin-top: clamp(2.25rem, 5vw, 3.25rem); }
.prop-block h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; font-weight: 500; }
.prop-block p { color: var(--body); }
.prop-block p + p { margin-top: 1rem; }

/* Facts row */
.facts { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; padding: 1.5rem 1.7rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.fact { display: flex; align-items: center; gap: .75rem; }
.fact .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; border: 1px solid var(--accent-line); }
.fact .ico svg { width: 19px; height: 19px; }
.fact b { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.12rem; font-weight: 560; }
.fact span { font-size: .8rem; color: var(--muted); }

/* Amenities */
.amenities { columns: 2; column-gap: 2.5rem; }
.amenities li { break-inside: avoid; display: flex; align-items: center; gap: .7rem; padding: .5rem 0; color: var(--body); }
.amenities li svg { width: 17px; height: 17px; color: var(--accent-2); flex-shrink: 0; }

/* Attractions */
.attractions { display: grid; gap: .55rem; }
.attraction {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s ease;
}
.attraction:hover { border-color: var(--accent-line); }
.attraction .name { display: flex; align-items: center; gap: .8rem; }
.attraction .name .ico { width: 36px; height: 36px; border-radius: 9px; background: var(--surface-2); display: grid; place-items: center; font-size: 1.05rem; border: 1px solid var(--line); }
.attraction .name b { color: var(--ink); display: block; font-weight: 600; }
.attraction .name span { font-size: .84rem; color: var(--muted); }
.attraction .drive { color: var(--accent-2); font-weight: 600; font-size: .88rem; white-space: nowrap; }

/* Booking sidebar */
.booking {
  position: sticky; top: 98px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow);
}
.booking .price { display: flex; align-items: baseline; gap: .45rem; }
.booking .price b { font-family: var(--font-display); font-size: 1.85rem; color: var(--ink); font-weight: 560; }
.booking .price span { color: var(--muted); font-size: .92rem; }
.booking .note { font-size: .88rem; color: var(--muted); margin-top: .4rem; }
.booking .rate-table { margin-top: 1.1rem; display: grid; gap: .1rem; }
.booking .rate-table li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.booking .rate-table li:last-child { border-bottom: 0; }
.booking .rate-table span { color: var(--muted); }
.booking .rate-table b { color: var(--ink); font-family: var(--font-display); }
.booking hr { border: 0; border-top: 1px solid var(--line); margin: 1.4rem 0; }
.booking .btn + .btn { margin-top: .7rem; }
.booking .assurance { margin-top: 1.4rem; display: grid; gap: .7rem; }
.booking .assurance li { display: flex; align-items: center; gap: .6rem; font-size: .89rem; color: var(--body); }
.booking .assurance svg { width: 16px; height: 16px; color: var(--accent-2); flex-shrink: 0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .prop-layout { grid-template-columns: 1fr; }
  .booking { position: static; }
  .reviews { grid-template-columns: 1fr; }
  .direct-split__inner { grid-template-columns: 1fr; }
  .direct-split__media { order: -1; }
  .icon-row { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .icon-row__item { border-left: 0 !important; border-top: 1px solid var(--line); padding-top: 1.5rem; }
  .icon-row__item:nth-child(-n+2) { border-top: 0; }
}

@media (max-width: 860px) {
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: .25rem 1.2rem 1.4rem;
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height .3s ease, opacity .2s ease;
  }
  .nav-menu.is-open { max-height: 640px; opacity: 1; overflow-y: auto; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-links > a { padding: .9rem 0; border-bottom: 1px solid var(--line-soft); }
  .nav-links > a::after { display: none; }
  .has-dropdown { border-bottom: 1px solid var(--line-soft); }
  .nav-drop-label { padding: .9rem 0; width: 100%; justify-content: space-between; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    min-width: 0; box-shadow: none; border: 0; padding: 0 0 .6rem .5rem;
  }
  .nav-cta { width: 100%; padding-top: 1rem; }
  .nav-cta .btn { width: 100%; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 720px) {
  .hero { min-height: 520px; }
  .brand__text strong { font-size: 1rem; }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .amenities { columns: 1; }
  .home-collections { grid-template-columns: 1fr; }
  .home-collection { aspect-ratio: 4 / 4.2; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2, 1fr); aspect-ratio: 4 / 3.4; }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; }
  .gallery figure:nth-child(n+5) { display: none; }
}

@media (max-width: 560px) {
  .icon-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .gallery figure:nth-child(n+4) { display: none; }
}
