/* Kibitka prototype: custom styles on top of Tailwind CDN. */

:root {
  --color-surface: #FAFAF7;
  --color-surface-alt: #F1EFEA;
  --color-wood-50: #F4EADC;
  --color-wood-100: #E8D6BC;
  --color-wood-300: #D9C5A8;
  --color-wood-500: #B89770;
  --color-wood-700: #8C6A45;
  --color-sage: #C7D2C0;
  --color-clay: #E8C9B8;
  --color-success: #7A8E6F;
  --color-danger: #B36A5E;
  --color-text: #3F3A33;
  --color-muted: #6B6259;
  --color-line: #E5E1D8;
}

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

body {
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
  background: var(--color-surface);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-display { font-family: 'Fraunces', 'Georgia', serif; font-feature-settings: "ss01"; }

::selection {
  background: var(--color-wood-100);
  color: var(--color-wood-700);
}

/* ============================================================ */
/* Buttons                                                       */
/* ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}

.btn:focus-visible {
  outline: 2px solid var(--color-wood-500);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--color-wood-700);
  color: #FAFAF7;
  border: 1px solid var(--color-wood-700);
}
.btn-primary:hover { background: var(--color-wood-500); border-color: var(--color-wood-500); }
.btn-primary:active { transform: translateY(1px); }

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid #D7D2C7;
}
.btn-secondary:hover { border-color: var(--color-wood-500); color: var(--color-wood-700); }

.btn-ghost {
  background: transparent;
  color: var(--color-wood-700);
  border: 1px solid transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(140, 106, 69, 0.35);
}
.btn-ghost:hover { text-decoration-color: var(--color-wood-700); }

.btn-block { width: 100%; }

/* ============================================================ */
/* Chips & pills                                                 */
/* ============================================================ */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  background: rgba(241, 239, 234, 0.9);
  color: var(--color-text);
  border: 1px solid rgba(217, 197, 168, 0.5);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1px solid var(--color-line);
  color: var(--color-text);
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.pill:hover { border-color: var(--color-wood-500); }
.pill[aria-pressed="true"], .pill.is-active {
  background: var(--color-wood-700);
  color: #FAFAF7;
  border-color: var(--color-wood-700);
}

/* ============================================================ */
/* Cards                                                         */
/* ============================================================ */

.card {
  background: #FFFFFF;
  border-radius: 1.25rem;
  border: 1px solid var(--color-line);
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { box-shadow: 0 6px 20px -10px rgba(60, 40, 20, 0.18); }

.card-feature {
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF7EF 100%);
}

.card-pricing {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}
.card-pricing [data-price] {
  display: inline-block;
  min-width: 3ch;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.card-pricing.is-featured {
  border-color: var(--color-wood-500);
  box-shadow: 0 12px 40px -20px rgba(140, 106, 69, 0.4);
  transform: translateY(-4px);
}

.card-pricing-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: var(--color-wood-700);
  color: #FAFAF7;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================ */
/* Hero (full-bleed photo)                                       */
/* ============================================================ */

.hero-camper {
  position: relative;
  min-height: 100svh;
  margin-top: -5rem;
  overflow: hidden;
}

.hero-camper__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.hero-camper__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(28, 22, 18, 0.82) 0%, rgba(28, 22, 18, 0.55) 38%, transparent 62%);
  pointer-events: none;
}

.hero-camper__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-top: 5rem;
}

.hero-camper__content {
  max-width: 34rem;
}

.hero-camper__content h1 {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-camper__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  color: #FAFAF7;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-camper__btn-secondary {
  color: #FAFAF7;
  border-color: rgba(255, 255, 255, 0.4);
  background: transparent;
}
.hero-camper__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: #FAFAF7;
}

@media (max-width: 768px) {
  .hero-camper__img {
    object-position: 75% center;
  }

  .hero-camper__scrim {
    background:
      linear-gradient(180deg, transparent 20%, rgba(28, 22, 18, 0.85) 70%),
      linear-gradient(90deg, rgba(28, 22, 18, 0.75) 0%, rgba(28, 22, 18, 0.45) 45%, transparent 70%);
  }

  .hero-camper__inner {
    align-items: flex-end;
    padding-bottom: 2.5rem;
  }
}

.hero-camper__fireflies {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-camper__firefly {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  background: radial-gradient(circle, #FFF8E8 0%, #FFE08A 38%, rgba(255, 190, 80, 0.15) 68%, rgba(255, 180, 60, 0) 78%);
  box-shadow:
    0 0 10px 3px rgba(255, 235, 170, 0.95),
    0 0 22px 8px rgba(255, 200, 90, 0.55),
    0 0 36px 14px rgba(255, 170, 60, 0.22);
  opacity: 0;
  will-change: transform, opacity;
  animation: hero-firefly var(--firefly-duration, 1.8s) ease-out forwards;
}

@keyframes hero-firefly {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.15);
  }
  12% {
    opacity: var(--firefly-peak, 1);
  }
  55% {
    opacity: calc(var(--firefly-peak, 1) * 0.75);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--firefly-dx, 0px)), calc(-50% + var(--firefly-dy, -28px))) scale(0.25);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-camper__fireflies {
    display: none;
  }
}

.hero-camper__callouts {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  --callout-icon-size: clamp(1.85rem, 0.5rem + 1.35vw, 3.35rem);
  --callout-icon-svg: clamp(1.05rem, 0.35rem + 0.72vw, 1.95rem);
  --callout-gap: clamp(0.28rem, 0.12rem + 0.18vw, 0.48rem);
  --callout-badge-font: clamp(0.6875rem, 0.38rem + 0.42vw, 0.9375rem);
  --callout-badge-pad-y: clamp(0.26rem, 0.12rem + 0.14vw, 0.4rem);
  --callout-badge-pad-x: clamp(0.52rem, 0.22rem + 0.38vw, 0.92rem);
}

.hero-callout__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-callout__svg line {
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.hero-callout {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-callout__dot {
  position: absolute;
  left: var(--px);
  top: var(--py);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 235, 210, 0.28);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  pointer-events: none;
}

.hero-callout__label {
  position: absolute;
  left: var(--tx);
  top: var(--ty);
  transform: translate(-50%, -50%);
  display: inline-block;
  pointer-events: auto;
  cursor: pointer;
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  color: inherit;
  animation: hero-badge-candle 5.5s ease-in-out infinite;
  animation-delay: var(--flicker-delay, 0s);
  transition: transform 0.25s ease;
}

.hero-callout__icon {
  position: absolute;
  bottom: calc(100% + var(--callout-gap));
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--callout-icon-size);
  height: var(--callout-icon-size);
  border-radius: 50%;
  color: rgba(255, 215, 150, 0.88);
  background: linear-gradient(
    165deg,
    rgba(34, 26, 18, 0.62) 0%,
    rgba(16, 12, 8, 0.48) 100%
  );
  border: 1px solid rgba(255, 235, 210, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 4px 14px -8px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.hero-callout__icon svg {
  display: block;
  width: var(--callout-icon-svg);
  height: var(--callout-icon-svg);
  stroke-width: 1.55;
}

.hero-callout__badge {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: var(--callout-badge-pad-y) var(--callout-badge-pad-x) calc(var(--callout-badge-pad-y) - 0.04rem);
  border-radius: 8px;
  border: 1px solid rgba(255, 235, 210, 0.12);
  font-family: 'Fraunces', Georgia, serif;
  font-size: var(--callout-badge-font);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: rgba(255, 246, 232, 0.86);
  background: linear-gradient(
    165deg,
    rgba(30, 24, 18, 0.58) 0%,
    rgba(14, 11, 8, 0.44) 100%
  );
  box-shadow:
    0 8px 22px -14px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

@keyframes hero-badge-candle {
  0%, 100% {
    filter: drop-shadow(0 0 5px rgba(255, 170, 70, 0.08));
  }
  25% {
    filter: drop-shadow(0 0 9px rgba(255, 185, 85, 0.16));
  }
  50% {
    filter: drop-shadow(0 0 4px rgba(255, 160, 60, 0.06));
  }
  75% {
    filter: drop-shadow(0 0 8px rgba(255, 195, 95, 0.13));
  }
}

.hero-callout:hover .hero-callout__dot,
.hero-callout.is-active .hero-callout__dot {
  transform: translate(-50%, -50%) scale(1.15);
  background: rgba(255, 235, 210, 0.42);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.26);
}

.hero-callout:hover .hero-callout__label,
.hero-callout.is-active .hero-callout__label {
  transform: translate(-50%, calc(-50% - 1px));
  animation-play-state: paused;
  filter: drop-shadow(0 0 10px rgba(255, 190, 90, 0.2));
}

.hero-callout:hover .hero-callout__badge,
.hero-callout.is-active .hero-callout__badge {
  color: rgba(255, 250, 242, 0.96);
  border-color: rgba(255, 235, 210, 0.22);
  background: linear-gradient(
    165deg,
    rgba(38, 30, 22, 0.66) 0%,
    rgba(18, 14, 10, 0.52) 100%
  );
}

.hero-callout:hover .hero-callout__icon,
.hero-callout.is-active .hero-callout__icon {
  color: rgba(255, 225, 160, 0.98);
  border-color: rgba(255, 235, 210, 0.24);
  background: linear-gradient(
    165deg,
    rgba(42, 32, 22, 0.72) 0%,
    rgba(20, 15, 10, 0.56) 100%
  );
}

@media (prefers-reduced-motion: reduce) {
  .hero-callout__label {
    animation: none;
  }
}

.hero-callout-preview {
  position: fixed;
  z-index: 55;
  width: 11.5rem;
  height: 11.5rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 18px 44px -16px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

.hero-callout-preview:not([hidden]) {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-callout-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .hero-callout-preview {
    transition: none;
  }
}

/* ============================================================ */
/* 360 viewer                                                    */
/* ============================================================ */

.camper360 {
  position: relative;
  aspect-ratio: 3 / 2;
  min-height: clamp(330px, 38vw, 560px);
  overflow: visible;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}
.camper360.is-dragging { cursor: grabbing; }

.camper360__lawn {
  position: absolute;
  left: 50%;
  bottom: 4%;
  z-index: 1;
  width: min(90%, 880px);
  height: clamp(100px, 11vw, 160px);
  transform: translateX(-50%);
  pointer-events: none;
  background: url("../assets/lawn-360.png") center / contain no-repeat;
}

.camper360__img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  transform: scale(0.98);
  transform-origin: center bottom;
  opacity: 0;
  transition: opacity var(--camper360-crossfade, 480ms) ease;
  will-change: opacity;
}

.camper360__img.is-visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .camper360__img {
    transition: none;
  }
}

.camper360__loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.6rem;
  background: transparent;
  color: var(--color-wood-700);
  font-size: 0.85rem;
  z-index: 4;
  transition: opacity 0.4s ease;
}
.camper360__loader.is-hidden { opacity: 0; pointer-events: none; }

.camper360__hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(63, 46, 28, 0.7);
  color: #FAFAF7;
  font-size: 0.78rem;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  backdrop-filter: blur(8px);
  z-index: 3;
}

.camper360__toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-text);
  border: 1px solid rgba(217, 197, 168, 0.6);
  border-radius: 9999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 3;
}
.camper360__toggle:hover { background: #FFFFFF; }

.camper360__progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: rgba(140, 106, 69, 0.15);
  z-index: 3;
}
.camper360__progress > span {
  display: block;
  height: 100%;
  background: var(--color-wood-500);
  transition: width 0.05s linear;
  width: 0;
}

.spinner {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(140, 106, 69, 0.25);
  border-top-color: var(--color-wood-700);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================ */
/* Tabs                                                          */
/* ============================================================ */

.tabs {
  display: inline-flex;
  background: var(--color-surface-alt);
  border-radius: 9999px;
  padding: 0.25rem;
  gap: 0.25rem;
}
.tabs__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  color: var(--color-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.tabs__btn[aria-selected="true"] {
  background: #FFFFFF;
  color: var(--color-wood-700);
  box-shadow: 0 1px 2px rgba(60, 40, 20, 0.08);
}
.tabs__btn.is-active {
  background: var(--color-wood-700);
  color: #FAFAF7;
  box-shadow: 0 1px 2px rgba(60, 40, 20, 0.12);
}
.tabs__btn.is-active:hover {
  background: var(--color-wood-500);
}
.tabs__icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* ============================================================ */
/* Accordion                                                     */
/* ============================================================ */

.acc {
  border: 1px solid var(--color-line);
  border-radius: 1.25rem;
  background: #FFFFFF;
  overflow: hidden;
}
.acc + .acc { margin-top: 0.75rem; }
.grid > .acc + .acc { margin-top: 0; }
.acc__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
  cursor: pointer;
  gap: 1rem;
}
.acc__head:focus-visible { outline: 2px solid var(--color-wood-500); outline-offset: -2px; }
.acc__icon {
  width: 24px; height: 24px; flex: none;
  border-radius: 9999px;
  background: var(--color-wood-50);
  color: var(--color-wood-700);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 600;
  transition: transform 0.2s ease;
}
.acc[open] .acc__icon { transform: rotate(45deg); }
.acc__body {
  padding: 0 1.25rem 1.25rem;
  color: var(--color-muted);
  line-height: 1.65;
}

/* ============================================================ */
/* Compare table                                                 */
/* ============================================================ */

.compare-table-wrap {
  border-radius: 1.25rem;
  border: 1px solid var(--color-line);
  background: #FFFFFF;
  overflow: hidden;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
  border: 0;
}
.compare-table th, .compare-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--color-line);
  font-size: 0.92rem;
}
.compare-table thead th {
  background: var(--color-surface-alt);
  color: var(--color-wood-700);
  font-weight: 600;
  font-size: 0.95rem;
}
.compare-table thead th.is-feature {
  background: var(--color-wood-700);
  color: #FAFAF7;
}
.compare-table tr.is-category td {
  background: var(--color-surface-alt);
  color: var(--color-wood-700);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
}
.compare-cat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.compare-cat__icon {
  flex-shrink: 0;
  opacity: 0.85;
}
.compare-table tr.is-subcategory td {
  background: #F8F4EC;
  color: var(--color-wood-700);
  font-style: italic;
  padding-left: 2rem;
  font-size: 0.86rem;
}
.compare-table .check {
  text-align: center;
  width: 110px;
}
.compare-table .yes { color: var(--color-success); font-weight: 700; font-size: 1.05rem; }
.compare-table .no { color: #C7B79A; font-size: 1.05rem; }
.compare-table tbody tr:last-child td { border-bottom: 0; }

/* ============================================================ */
/* Forms                                                         */
/* ============================================================ */

.field {
  display: block;
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--color-line);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  font: inherit;
  color: var(--color-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field:focus {
  outline: none;
  border-color: var(--color-wood-500);
  box-shadow: 0 0 0 3px rgba(184, 151, 112, 0.15);
}
.field-error { border-color: var(--color-danger); }
.field-error:focus { box-shadow: 0 0 0 3px rgba(179, 106, 94, 0.18); }

.label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.error-text {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--color-danger);
  display: none;
}
.field-error + .error-text { display: block; }

.radio-card {
  display: block;
  background: #FFFFFF;
  border: 1px solid var(--color-line);
  border-radius: 1.25rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card:hover { border-color: var(--color-wood-500); }
.radio-card.is-active {
  border-color: var(--color-wood-700);
  box-shadow: 0 0 0 3px rgba(140, 106, 69, 0.12);
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF6EC 100%);
}

.toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 48px;
  height: 28px;
  background: var(--color-line);
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.toggle::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  background: #FFFFFF;
  border-radius: 9999px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  transition: left 0.2s ease;
}
.toggle.is-on { background: var(--color-wood-700); }
.toggle.is-on::after { left: 23px; }

/* ============================================================ */
/* USP icon tile                                                 */
/* ============================================================ */

.usp-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-wood-50);
  color: var(--color-wood-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================ */
/* Toast                                                         */
/* ============================================================ */

.toast-stack {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 90;
}
.toast {
  background: #2E2820;
  color: #FAFAF7;
  padding: 0.85rem 1.1rem;
  border-radius: 1rem;
  font-size: 0.92rem;
  box-shadow: 0 12px 30px -12px rgba(60, 40, 20, 0.5);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: toast-in 0.25s ease both;
}
.toast.is-success { background: var(--color-success); }
.toast.is-danger { background: var(--color-danger); }
@keyframes toast-in { from { transform: translateY(10px); opacity: 0; } }

/* ============================================================ */
/* Lightbox                                                      */
/* ============================================================ */

.lightbox {
  position: fixed; inset: 0;
  background: rgba(20, 14, 8, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1.5rem;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 90vh;
  border-radius: 1rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.lightbox__btn {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(255,255,255,0.15);
  color: #FAFAF7;
  border: 0;
  width: 40px; height: 40px;
  border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  color: #FAFAF7;
  border: 0;
  width: 44px; height: 44px;
  border-radius: 9999px;
  cursor: pointer;
  font-size: 1.5rem;
}
.lightbox__nav.prev { left: 1.5rem; }
.lightbox__nav.next { right: 1.5rem; }

/* ============================================================ */
/* Header                                                        */
/* ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.site-header.is-scrolled:not(.is-over-hero) {
  border-color: var(--color-line);
  box-shadow: 0 4px 12px -10px rgba(60, 40, 20, 0.2);
}

.site-header.is-over-hero {
  background: rgba(18, 14, 10, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.site-header.is-over-hero.is-scrolled {
  background: rgba(18, 14, 10, 0.32);
}

.site-header.is-over-hero .site-header__logo {
  color: #FAFAF7;
}
.site-header.is-over-hero .site-header__logo-by {
  color: rgba(255, 255, 255, 0.65);
}
.site-header.is-over-hero .nav-link {
  color: rgba(255, 255, 255, 0.92);
}
.site-header.is-over-hero .nav-link:hover {
  color: #FFFFFF;
}
.site-header.is-over-hero .nav-link::after {
  background: rgba(255, 255, 255, 0.55);
}
.site-header.is-over-hero .site-header__phone {
  color: rgba(255, 255, 255, 0.85);
}
.site-header.is-over-hero .site-header__phone:hover {
  color: #FFFFFF;
}
.site-header.is-over-hero .site-header__menu {
  color: #FAFAF7;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}
.site-header.is-over-hero .site-header__menu:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

.nav-link {
  position: relative;
  padding: 0.4rem 0.1rem;
  color: var(--color-text);
  font-size: 0.92rem;
  transition: color 0.15s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--color-wood-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-link:hover { color: var(--color-wood-700); }
.nav-link:hover::after { transform: scaleX(1); }

/* ============================================================ */
/* Mobile sheet                                                  */
/* ============================================================ */

.mobile-sheet {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 8, 0.5);
  display: none;
  z-index: 60;
}
.mobile-sheet.is-open { display: block; }
.mobile-sheet__panel {
  position: absolute;
  right: 0; top: 0;
  width: min(360px, 92%);
  height: 100%;
  background: var(--color-surface);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  animation: slide-in 0.2s ease both;
}
@keyframes slide-in { from { transform: translateX(20px); opacity: 0; } }

/* ============================================================ */
/* Equipment zones                                               */
/* ============================================================ */

.equip-zones {
  display: flex;
  flex-direction: column;
}

.equip-zone {
  padding: 2rem 0;
}

.equip-zone + .equip-zone {
  border-top: 1px solid var(--color-line);
}

@media (min-width: 1024px) {
  .equip-zone {
    padding: 2.5rem 0;
  }
}

.equip-zone--accent {
  background: var(--color-surface);
  border-top-color: rgba(217, 197, 168, 0.45);
  border-bottom: 1px solid rgba(217, 197, 168, 0.45);
}

.equip-zone__head {
  margin-bottom: 1.15rem;
}

@media (min-width: 1024px) {
  .equip-zone__head {
    margin-bottom: 1.35rem;
  }
}

.equip-zone__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 1024px) {
  .equip-zone__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    grid-template-areas:
      "video copy"
      "video gallery";
    column-gap: clamp(1.5rem, 4vw, 2.75rem);
    row-gap: 0.85rem;
    align-items: start;
  }

  .equip-zone--flip .equip-zone__grid {
    grid-template-areas:
      "copy video"
      "gallery video";
  }
}

.equip-zone__video {
  position: relative;
  display: block;
  border-radius: 0.85rem;
  overflow: hidden;
  background: #1c1917;
  border: 1px solid var(--color-line);
  box-shadow: 0 8px 22px -16px rgba(60, 40, 20, 0.32);
  aspect-ratio: 9 / 14;
  width: min(100%, 13rem);
  margin-inline: auto;
  padding: 0;
  appearance: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.equip-zone__video:hover {
  border-color: rgba(217, 197, 168, 0.55);
  box-shadow: 0 10px 26px -14px rgba(60, 40, 20, 0.42);
}

.equip-zone__video:focus-visible {
  outline: 2px solid var(--color-wood-500);
  outline-offset: 3px;
}

.equip-zone__video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: rgba(20, 14, 8, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.equip-zone__video-play::after {
  content: '';
  position: absolute;
  left: 54%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.42rem 0 0.42rem 0.68rem;
  border-color: transparent transparent transparent rgba(255, 248, 236, 0.92);
}

.equip-zone__video:hover .equip-zone__video-play {
  transform: translate(-50%, -50%) scale(1.06);
  background: rgba(20, 14, 8, 0.52);
}

@media (min-width: 1024px) {
  .equip-zone__video {
    grid-area: video;
    align-self: stretch;
    justify-self: center;
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: none;
    aspect-ratio: 9 / 14;
    margin-inline: 0;
  }
}

.equip-zone__video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equip-zone__copy {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
}

@media (min-width: 1024px) {
  .equip-zone__copy {
    grid-area: copy;
    align-self: start;
  }
}

.equip-zone__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-muted);
}

@media (min-width: 1024px) {
  .equip-zone__text {
    font-size: 1rem;
  }
}

.equip-zone__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  min-width: 0;
}

@media (min-width: 1024px) {
  .equip-zone__gallery {
    grid-area: gallery;
    align-self: end;
  }
}

.equip-zone__gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 1px solid rgba(217, 197, 168, 0.35);
  background: #f5f0e8;
  cursor: zoom-in;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.equip-zone__gallery img:hover {
  opacity: 0.92;
  border-color: rgba(184, 151, 112, 0.55);
}

.equip-zone__gallery img:focus-visible {
  outline: 2px solid var(--color-wood-500);
  outline-offset: 2px;
}

.equip-zone--accent .equip-zone__gallery img {
  border-color: rgba(217, 197, 168, 0.5);
}

.equip-zone__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.equip-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.62rem;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1px solid var(--color-line);
  color: var(--color-text);
  font-size: 0.75rem;
  line-height: 1.25;
}

.equip-zone--accent .equip-tag {
  background: rgba(255, 255, 255, 0.82);
}

@media (min-width: 1280px) {
  .equip-tag {
    font-size: 0.8125rem;
    padding: 0.3rem 0.68rem;
  }
}

/* ============================================================ */
/* Misc                                                          */
/* ============================================================ */

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-wood-700);
  font-weight: 600;
}
.section-eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--color-wood-500);
  display: inline-block;
}

.divider {
  height: 1px; background: var(--color-line);
}

.tag-success { color: var(--color-success); }
.tag-danger  { color: var(--color-danger); }

.fade-in { animation: fade-in 0.5s ease both; }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Blog / journal grid */
.gallery-head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 1024px) {
  .gallery-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.gallery-head__cta { align-self: flex-start; }
@media (min-width: 1024px) {
  .gallery-head__cta { align-self: auto; flex-shrink: 0; }
}

.blog-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 640px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #FFFFFF;
  border: 1px solid var(--color-line);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 151, 112, 0.45);
  box-shadow: 0 18px 40px -24px rgba(80, 55, 30, 0.35);
}

.blog-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-surface-alt);
}
.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.blog-card:hover .blog-card__media img { transform: scale(1.05); }

.blog-card__zoom {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-wood-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 4px 14px rgba(60, 40, 20, 0.15);
}
.blog-card:hover .blog-card__zoom {
  opacity: 1;
  transform: translateY(0);
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
  padding: 1.25rem 1.35rem 1.5rem;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--color-muted);
}
.blog-card__meta time { white-space: nowrap; }

.blog-card__tag {
  display: inline-flex;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  background: var(--color-wood-50);
  color: var(--color-wood-700);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.blog-card__title {
  font-family: 'Fraunces', 'Georgia', serif;
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--color-text);
}

.blog-card__excerpt {
  margin-top: auto;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-muted);
}

/* Legacy masonry gallery (unused) */
.masonry { column-gap: 1rem; }
.masonry > * { break-inside: avoid; margin-bottom: 1rem; display: block; }
@media (min-width: 640px)  { .masonry { column-count: 2; } }
@media (min-width: 1024px) { .masonry { column-count: 3; } }
@media (min-width: 1280px) { .masonry { column-count: 4; } }
.gallery-item {
  width: 100%;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--color-line);
  cursor: zoom-in;
  display: block;
}
.gallery-item img { display: block; width: 100%; height: auto; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.03); }

/* Sticky booking summary on desktop */
.booking-summary { position: sticky; top: 96px; }

/* ============================================================ */
/* CTA band                                                      */
/* ============================================================ */

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(255, 255, 255, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(199, 210, 192, 0.45) 0%, transparent 55%),
    linear-gradient(135deg, var(--color-wood-100) 0%, var(--color-wood-300) 52%, var(--color-sage) 100%);
}

.cta-band__glow {
  position: absolute;
  border-radius: 9999px;
  filter: blur(60px);
  pointer-events: none;
}
.cta-band__glow--a {
  width: 280px;
  height: 280px;
  top: -80px;
  left: -40px;
  background: rgba(255, 255, 255, 0.35);
}
.cta-band__glow--b {
  width: 320px;
  height: 320px;
  bottom: -120px;
  right: 8%;
  background: rgba(140, 106, 69, 0.12);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(251, 247, 239, 0.88) 100%);
  box-shadow:
    0 24px 60px -28px rgba(80, 55, 30, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.cta-panel__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  padding: 2rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .cta-panel__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    padding: 2.75rem 3rem;
  }
}

.cta-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--color-muted);
}
.cta-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--color-line);
}

.cta-panel__actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
@media (min-width: 1024px) {
  .cta-panel__actions {
    align-items: stretch;
    padding-left: 1rem;
    border-left: 1px dashed rgba(140, 106, 69, 0.25);
  }
}

.cta-panel__primary {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  box-shadow: 0 10px 24px -12px rgba(140, 106, 69, 0.65);
}

.cta-panel__or {
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.cta-messengers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.cta-messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--color-line);
  background: #FFFFFF;
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 600;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.cta-messenger:hover {
  border-color: var(--color-wood-500);
  color: var(--color-wood-700);
  box-shadow: 0 8px 20px -14px rgba(80, 55, 30, 0.45);
  transform: translateY(-1px);
}

.cta-panel__route {
  position: absolute;
  right: -1rem;
  bottom: -0.5rem;
  width: min(42%, 320px);
  height: auto;
  color: var(--color-wood-300);
  opacity: 0.55;
  pointer-events: none;
}
@media (max-width: 1023px) {
  .cta-panel__route {
    width: 55%;
    opacity: 0.35;
  }
}

/* Safety: prevent horizontal overflow */
body { overflow-x: hidden; }
