/* =====================================================================
   Hocking Hills Cottage Company — site.css
   Clean, hand-authored stylesheet (replaces WYSIWYG/Elfsight output).
   Design tokens up top; everything keyed off CSS variables so the
   palette can be tuned to the brand in one place.
   ===================================================================== */

:root {
  /* Palette — warm woodland */
  --paper:      #ffffff;
  --cream:      #f7f4ef;
  --cream-2:    #efe9e0;
  --ink:        #26201d;   /* espresso — headings + footer */
  --ink-2:      #4a423d;   /* body text */
  --muted:      #6e645b;   /* warm gray — AA on cream & white */
  --forest:     #3f5541;   /* accent green — CTAs */
  --forest-d:   #2f4131;
  --sand:       #e7ded2;
  --sand-d:     #d6cab8;
  --gold:       #b88a4a;   /* warm accent — decorative lines/bullets */
  --gold-deep:  #8a6526;   /* deeper bronze — gold text/buttons on light (AA) */

  /* Hero diagonal overlay */
  --hero-overlay-1: rgba(52, 42, 40, 0.70);
  --hero-overlay-2: rgba(52, 42, 40, 0.42);

  --maxw: 1280px;
  --radius: 14px;
  --shadow: 0 14px 40px -18px rgba(38, 32, 29, 0.45);
  --shadow-sm: 0 6px 18px -10px rgba(38, 32, 29, 0.4);

  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink-2);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--forest-d); }

h1, h2, h3 { color: var(--ink); font-weight: 600; line-height: 1.18; margin: 0; }

.wrap { width: min(100% - 3rem, var(--maxw)); margin-inline: auto; }

.skip-main {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-main:focus { left: 0; color: #fff; }

/* ============================ HEADER ============================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand);
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 84px; padding-block: 0.5rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; margin-right: auto; }
.brand img { width: 56px; height: auto; }
.brand-fallback {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--forest); color: #fff; display: grid; place-items: center;
  font-weight: 600; font-size: 0.72rem; letter-spacing: 0.04em; text-align: center;
}
.brand-name { font-weight: 600; color: var(--ink); font-size: 0.96rem; line-height: 1.15; }
.brand-name span { display: block; font-weight: 400; font-size: 0.78rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a {
  color: var(--ink); font-size: 0.95rem; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
  position: relative; padding: 0.4rem 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--gold); transition: width 0.25s ease;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { width: 100%; }

/* Reservations CTA pill */
.main-nav a.nav-reserve { display: none; background: var(--forest); color: #fff; border-radius: 999px; padding: 0.5rem 1.15rem; }
.main-nav a.nav-reserve:hover { background: var(--forest-d); color: #fff; }
.main-nav a.nav-reserve::after { display: none; }

/* dropdown */
.has-sub { position: relative; }
.has-sub > .submenu {
  position: absolute; top: 100%; right: 0; left: auto; transform: translateY(6px);
  background: var(--paper); border: 1px solid var(--sand); border-radius: 10px;
  box-shadow: var(--shadow-sm); padding: 0.4rem; min-width: 230px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transition: opacity 0.18s, transform 0.18s;
}
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.submenu a {
  text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 0.95rem;
  padding: 0.55rem 0.7rem; border-radius: 7px; color: var(--ink-2);
}
.submenu a::after { display: none; }
.submenu a:hover { background: var(--cream); color: var(--ink); }

.header-cta { display: flex; align-items: center; gap: 1rem; }
.phone-lockup { text-align: right; line-height: 1.2; }
.phone-lockup .label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.phone-lockup a { display: block; font-weight: 600; color: var(--ink); font-size: 1.02rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.06em;
  text-transform: uppercase; cursor: pointer; border: none; border-radius: 999px;
  padding: 0.72rem 1.4rem; transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-d); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--sand-d); }
.btn-ghost:hover { border-color: var(--forest); color: var(--forest); }

.nav-toggle { display: none; }

/* ============================ HERO SLIDER ============================ */
.hero {
  position: relative; overflow: hidden; background: var(--ink);
  height: clamp(430px, 60vh, 640px);
}
.hero__track { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 0.9s ease;
}
.hero__slide.is-active { opacity: 1; }
/* per-slide image with a woodland gradient fallback for offline preview */
.hero__slide[data-cottage="luna"]   { background-image: url("https://www.hockinghillscottagecompany.com/images/luna-cottage-intro.jpg"),    linear-gradient(120deg, #8a8170, #4a4736); }
.hero__slide[data-cottage="nova"]   { background-image: url("https://www.hockinghillscottagecompany.com/images/nova-college-intro.jpeg"),  linear-gradient(120deg, #7f8a76, #3d4a39); }
.hero__slide[data-cottage="silo"]   { background-image: url("https://www.hockinghillscottagecompany.com/images/silo-cottage-intro.jpg"),    linear-gradient(120deg, #9a8f7c, #564b39); }
.hero__slide[data-cottage="chapter"]{ background-image: url("https://www.hockinghillscottagecompany.com/images/Chapters-End-intro.jpg"),   linear-gradient(120deg, #87806f, #463f30); }

/* diagonal overlay panel (left) */
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--hero-overlay-1) 0%, var(--hero-overlay-1) 22%, var(--hero-overlay-2) 34%, transparent 50%);
  -webkit-clip-path: polygon(0 0, 32% 0, 50% 100%, 0 100%);
          clip-path: polygon(0 0, 32% 0, 50% 100%, 0 100%);
}
.hero__content {
  position: relative; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
}
.hero__caption { max-width: 30rem; color: #fff; }
.hero__eyebrow {
  font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.9); margin-bottom: 0.7rem;
}
.hero__title {
  color: #fff; font-weight: 400; font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  letter-spacing: -0.01em; margin-bottom: 0.8rem;
}
.hero__desc { font-size: clamp(1rem, 1.5vw, 1.18rem); color: rgba(255,255,255,0.92); margin-bottom: 1.6rem; max-width: 24rem; }
.hero__link {
  display: inline-block; color: #fff; font-weight: 500; letter-spacing: 0.03em;
  padding-bottom: 0.45rem; border-bottom: 2px solid rgba(255,255,255,0.85);
  transition: gap 0.2s, border-color 0.2s, color 0.2s;
}
.hero__link:hover { color: #fff; border-color: var(--gold); }
.hero__link::after { content: " \2192"; opacity: 0; transition: opacity 0.2s; }
.hero__link:hover::after { opacity: 1; }

/* per-slide caption visibility */
.hero__caption { position: absolute; opacity: 0; visibility: hidden; transition: opacity 0.6s ease; pointer-events: none; }
.hero__caption.is-active { opacity: 1; visibility: visible; pointer-events: auto; position: relative; }

/* dots */
.hero__dots {
  position: absolute; bottom: 1.4rem; left: 0; right: 0; z-index: 5;
  display: flex; gap: 0.85rem; justify-content: center;
}
.hero__dot {
  width: 16px; height: 16px; border-radius: 50%; cursor: pointer;
  background: transparent; border: 2px solid rgba(255,255,255,0.85); padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.hero__dot:hover { transform: scale(1.15); }
.hero__dot.is-active { background: #fff; }

/* prev/next (subtle, keyboard-friendly) */
.hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(38,32,29,0.32); color: #fff; font-size: 1.3rem; line-height: 1;
  display: grid; place-items: center; opacity: 0; transition: opacity 0.25s, background 0.2s;
}
.hero:hover .hero__arrow { opacity: 1; }
.hero__arrow:hover { background: rgba(38,32,29,0.6); }
.hero__arrow:focus-visible { opacity: 1; outline: 2px solid #fff; }
.hero__arrow.prev { left: 1rem; }
.hero__arrow.next { right: 1rem; }

/* ============================ WELCOME ============================ */
.welcome { background: var(--cream); padding-block: clamp(3rem, 7vw, 5.5rem); text-align: center; }
.welcome__eyebrow { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.welcome h1 {
  font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 600; margin: 0.6rem 0 1.4rem;
}
.welcome h1 .light { display: block; font-weight: 300; font-size: 0.5em; letter-spacing: 0.04em; color: var(--muted); text-transform: uppercase; margin-bottom: 0.3rem; }
.welcome p { max-width: 56rem; margin-inline: auto; font-size: 1.06rem; color: var(--ink-2); text-wrap: pretty; }

/* ============================ COTTAGE CARDS ============================ */
.cottages { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-head { text-align: center; margin-bottom: 2.6rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-head p { color: var(--muted); margin-top: 0.5rem; }

.card-grid {
  display: grid; gap: 1.6rem;
  grid-template-columns: repeat(4, 1fr);
}
.cottage-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--sand);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}
.cottage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cottage-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(120deg, #8a8170, #4a4736); }
.cottage-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cottage-card:hover .cottage-card__media img { transform: scale(1.06); }
.cottage-card__tag {
  position: absolute; top: 0.8rem; left: 0.8rem;
  background: rgba(255,255,255,0.95); color: var(--ink); font-size: 0.78rem;
  font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.32rem 0.65rem; border-radius: 6px;
}
.cottage-card__body { padding: 1.2rem 1.2rem 0.4rem; flex: 1; }
.cottage-card__body h3 { font-size: 1.22rem; margin-bottom: 0.6rem; color: var(--ink); }
.cottage-card__specs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; }
.cottage-card__specs li { font-size: 0.9rem; color: var(--ink-2); display: flex; align-items: center; gap: 0.4rem; }
.cottage-card__specs li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: none; }
.cottage-card__footer {
  margin-top: auto; padding: 1rem 1.2rem 1.2rem;
}
.cottage-card__cta {
  display: block; text-align: center; background: var(--forest); color: #fff;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 0.7rem; border-radius: 999px; transition: background 0.2s;
}
.cottage-card:hover .cottage-card__cta { background: var(--forest-d); }

/* ============================ FOOTER ============================ */
.site-footer { background: var(--ink); color: #e9e4df; padding-block: clamp(2.6rem, 6vw, 4rem) 0; }
.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
  padding-bottom: 2.4rem; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-footer h2 { color: #fff; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 1rem; }
.site-footer a { color: #f4efe9; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.92rem; }
.footer-book .big { font-size: 1.5rem; font-weight: 600; color: #fff; display: block; margin-bottom: 0.2rem; }
.footer-book .phone { display: block; font-size: 1.4rem; font-weight: 600; color: #fff; }
.footer-book .btn { margin-top: 1rem; }
.btn-follow { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.9rem; background: #39322d; color: #fff; padding: 0.6rem 1.1rem; border-radius: 999px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.btn-follow:hover { background: #473f39; color: #fff; }
.footer-partner img { width: 220px; max-width: 100%; height: auto; opacity: 0.95; }
.footer-partner .partner-fallback { width: 220px; height: 70px; border: 1px dashed rgba(255,255,255,0.3); border-radius: 8px; display: grid; place-items: center; color: rgba(255,255,255,0.7); font-size: 0.78rem; text-align: center; }
.footer-partner p { font-size: 0.88rem; margin: 0.8rem 0 0; }
.footer-partner p a { text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom { padding-block: 1.4rem; font-size: 0.86rem; color: #d8d2cb; display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; align-items: center; }
.footer-bottom .credit { color: #d8d2cb; }
.footer-bottom .credit a { color: #f1ece6; }
.footer-bottom .sep { color: #9b9189; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom .copy { margin-left: auto; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    width: 44px; height: 44px; margin-left: auto; gap: 4px;
    background: none; border: 1px solid var(--sand-d); border-radius: 10px; cursor: pointer;
  }
  .nav-toggle span { width: 20px; height: 2px; background: var(--ink); display: block; border-radius: 2px; }
  .main-nav.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0.2rem;
    position: absolute; top: 100%; left: 0; right: 0; background: var(--paper);
    border-bottom: 1px solid var(--sand); padding: 0.8rem 1.5rem 1.2rem; box-shadow: var(--shadow-sm);
  }
  .main-nav.open a { padding: 0.6rem 0; }
  .main-nav.open a.nav-reserve { display: inline-block; margin: 0.4rem 0; padding: 0.6rem 1.3rem; }
  .has-sub > .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: 0.8rem; min-width: 0; left: auto; right: auto; display: none; }
  .has-sub.open > .submenu { display: flex; }
  .hero__overlay {
    background: linear-gradient(to top, var(--hero-overlay-1) 0%, var(--hero-overlay-1) 30%, var(--hero-overlay-2) 55%, transparent 80%);
    -webkit-clip-path: none; clip-path: none;
  }
  .hero__content { justify-content: flex-end; padding-bottom: 4rem; }
  .hero__caption { max-width: 100%; }
}
@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { padding-bottom: calc(2.8rem + env(safe-area-inset-bottom)); }
  .footer-bottom .copy { margin-left: 0; width: 100%; }
  .footer-bottom .credit { width: 100%; margin-top: 0.2rem; }
  .footer-bottom .credit-sep { display: none; }
}

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

/* =====================================================================
   COTTAGE DETAIL PAGE
   ===================================================================== */
.page-banner {
  position: relative; min-height: clamp(420px, 56vh, 580px); display: grid; place-items: center;
  text-align: center; color: #fff; overflow: hidden; background: var(--ink);
}
.page-banner__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
.page-banner__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(38,32,29,0.35), rgba(38,32,29,0.62)); }
.page-banner__inner { position: relative; z-index: 2; padding: 3rem 1.5rem; }
.page-banner__eyebrow { font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.9); }
.page-banner__title { font-family: "La Belle Aurore", cursive; font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.4rem); color: #fff; margin-top: 0.4rem; line-height: 1; }

/* breadcrumb */
.breadcrumb { background: var(--cream); border-bottom: 1px solid var(--sand); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0.8rem 0; font-size: 0.84rem; color: var(--muted); }
.breadcrumb li::after { content: "›"; margin-left: 0.5rem; color: var(--sand-d); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--forest); }
.breadcrumb li[aria-current] { color: var(--ink); }

/* about */
.cottage-about { background: var(--cream); padding-block: clamp(2.8rem, 6vw, 4.5rem); text-align: center; }
.cottage-about h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cottage-about .script { font-family: "La Belle Aurore", cursive; font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--gold-deep); display: block; margin: 0.2rem 0 0.4rem; }
.cottage-about .sleeps { display: inline-block; background: var(--forest); color: #fff; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.4rem 1rem; border-radius: 999px; margin: 0.8rem 0 1.4rem; }
.cottage-about p { max-width: 60rem; margin-inline: auto; color: var(--ink-2); font-size: 1.04rem; text-align: left; text-wrap: pretty; }

/* detail layout */
.cottage-detail { padding-block: clamp(2.8rem, 6vw, 4.5rem); }
.detail-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 2.6rem; align-items: start; }
.detail-grid h2 { font-size: 1.5rem; margin-bottom: 1.2rem; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.gallery__item {
  position: relative; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; cursor: pointer;
  background: linear-gradient(120deg, #cdc4b4, #8a8170); border: none; padding: 0; display: block;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: rgba(38,32,29,0); transition: background 0.25s; }
.gallery__item:hover::after { background: rgba(38,32,29,0.12); }
.gallery__fallback { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,0.85); font-size: 0.72rem; text-align: center; padding: 0.4rem; }

/* sidebar */
.detail-aside { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 1.6rem; }
.features-card, .booking-card { background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.features-card h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.features-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.features-list li { position: relative; padding-left: 1.6rem; font-size: 0.94rem; color: var(--ink-2); }
.features-list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border-radius: 50%; background: var(--forest); }
.booking-card { background: var(--ink); color: rgba(255,255,255,0.85); text-align: center; }
.booking-card h2 { color: #fff; font-size: 1.3rem; margin-bottom: 0.3rem; }
.booking-card .price-note { font-size: 0.86rem; color: rgba(255,255,255,0.7); margin-bottom: 1rem; }
.booking-card .phone-big { display: block; font-size: 1.6rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.booking-card .btn { width: 100%; margin-bottom: 0.7rem; }
.booking-card .btn-book { background: var(--gold-deep); color: #fff; }
.booking-card .btn-book:hover { background: #6f5320; color: #fff; }
.booking-card .btn-avail { background: #39322d; color: #fff; }
.booking-card .btn-avail:hover { background: #473f39; color: #fff; }
.booking-card .calendar-slot { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.14); min-height: 40px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,16,14,0.92); display: none; place-items: center; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox__cap { position: absolute; bottom: 1.4rem; left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.lightbox__btn { position: absolute; background: rgba(255,255,255,0.12); color: #fff; border: none; width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; transition: background 0.2s; }
.lightbox__btn:hover { background: rgba(255,255,255,0.25); }
.lightbox__btn.close { top: 1.2rem; right: 1.2rem; }
.lightbox__btn.prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox__btn.next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

/* ============================ FAQ (accordion) ============================ */
.faq { padding-block: clamp(2.8rem, 6vw, 4.5rem); }
.faq--cream { background: var(--cream); }
.faq__head { text-align: center; margin-bottom: 2.2rem; }
.faq__head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.faq__head p { color: var(--muted); margin-top: 0.5rem; }
.faq-list { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 0.8rem; }
.faq-item { background: var(--paper); border: 1px solid var(--sand); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-item > summary {
  cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 600; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; font-size: 1.04rem;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: "+"; font-size: 1.5rem; color: var(--gold-deep); transition: transform 0.2s ease; line-height: 1; flex: none; }
.faq-item[open] > summary::after { transform: rotate(45deg); }
.faq-item > summary:hover { color: var(--forest); }
.faq-item .faq-a { padding: 0 1.3rem 1.25rem; color: var(--ink-2); }
.faq-item .faq-a p { margin: 0 0 0.6rem; }
.faq-item .faq-a p:last-child { margin-bottom: 0; }
.faq-item .faq-a a { color: var(--forest); text-decoration: underline; }

/* ============================ POLICY PAGE ============================ */
.policy { padding-block: clamp(2.5rem, 6vw, 4rem); }
.policy-grid { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; align-items: start; max-width: 1040px; margin-inline: auto; }
.policy-toc { position: sticky; top: 104px; font-size: 0.9rem; }
.policy-toc h2 { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 0.8rem; }
.policy-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-left: 2px solid var(--sand); }
.policy-toc a { color: var(--ink-2); padding: 0.32rem 0 0.32rem 0.9rem; margin-left: -2px; border-left: 2px solid transparent; display: block; }
.policy-toc a:hover { color: var(--forest); border-left-color: var(--forest); }
.policy-body { max-width: 70ch; }
.policy-body > h1 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin-bottom: 1.2rem; }
.policy-body > section { scroll-margin-top: 100px; }
.policy-body h2 { font-size: 1.3rem; margin: 2.2rem 0 0.7rem; }
.policy-body section:first-child h2 { margin-top: 0; }
.policy-body p { margin: 0 0 1rem; color: var(--ink-2); }
.policy-body strong { color: var(--ink); }
.policy-body a { color: var(--forest); text-decoration: underline; }
.policy-note { border-left: 4px solid var(--gold-deep); background: #faf6ef; padding: 1rem 1.2rem; border-radius: 0 8px 8px 0; margin: 0 0 1.2rem; }
.policy-note p:last-child { margin-bottom: 0; }
.policy-updated { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--sand); font-size: 0.9rem; color: var(--muted); }
@media (max-width: 860px) {
  .policy-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .policy-toc { display: none; }
}
@media (max-width: 560px) {
  /* gallery becomes a finger-swipe slider */
  .gallery {
    display: flex; grid-template-columns: none;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; gap: 0.6rem;
    margin: 0 -1.5rem; padding: 0 1.5rem 0.7rem;
  }
  .gallery__item { flex: 0 0 84%; scroll-snap-align: center; }
  .gallery::-webkit-scrollbar { height: 5px; }
  .gallery::-webkit-scrollbar-thumb { background: var(--sand-d); border-radius: 3px; }
  .gallery::-webkit-scrollbar-track { background: transparent; }
  .lightbox__btn.prev { left: 0.4rem; }
  .lightbox__btn.next { right: 0.4rem; }
}
