/* ============================================================
   fitwithnouria — Landing UI
   Component primitives + section layouts, ported from the
   design-system components (Button, Badge, FeatureTick, Card,
   FeatureCard, SectionHeading, Input) and the landing UI kit.
   Relies on the tokens in styles.css.
   ============================================================ */

/* ---------- Button -------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--full { display: flex; width: 100%; }

/* sizes */
.btn--sm { font-size: 14px; padding: 10px 18px; gap: 8px; }
.btn--md { font-size: 16px; padding: 14px 26px; gap: 9px; }
.btn--lg { font-size: 17px; padding: 18px 38px; gap: 10px; }

/* variants */
.btn--primary { background: var(--clay-500); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--clay-600); box-shadow: var(--shadow-md); }

.btn--secondary { background: transparent; color: var(--clay-600); border: 1.5px solid var(--clay-400); }
.btn--secondary:hover { background: var(--clay-100); }

.btn--ghost { background: transparent; color: var(--text-strong); border: 1.5px solid transparent; }
.btn--ghost:hover { background: var(--sand-100); }

.btn--ondark { background: var(--white); color: var(--ink-900); box-shadow: var(--shadow-md); }
.btn--ondark:hover { background: var(--sand-50); }

.btn--ondark-ghost { background: transparent; color: var(--white); border: 1.5px solid var(--border-ondark); }
.btn--ondark-ghost:hover { background: rgba(255,255,255,.14); }

/* ---------- Badge --------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.badge--clay   { background: var(--clay-100); color: var(--clay-700); }
.badge--sage   { background: var(--sage-100); color: var(--sage-700); }
.badge--sea    { background: var(--sea-200);  color: var(--sea-700); }
.badge--gold   { background: var(--gold-300); color: #7a5410; }
.badge--sand   { background: var(--sand-200); color: var(--sand-700); }
.badge--ondark { background: rgba(255,255,255,.16); color: var(--white); backdrop-filter: blur(6px); }

/* ---------- FeatureTick --------------------------------- */
.tick {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-body);
}
.tick--sm { font-size: 14px; }
.tick__mark {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  background: var(--clay-100);
  color: var(--clay-600);
}
.tick--sage .tick__mark { background: var(--sage-100); color: var(--sage-700); }
.tick--sea  .tick__mark { background: var(--sea-200);  color: var(--sea-700); }
.tick--ondark { color: var(--sand-50); }
.tick--ondark .tick__mark { background: rgba(255,255,255,.18); color: var(--white); }

/* ---------- Card ---------------------------------------- */
.card {
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.card--sunken { background: var(--surface-sunken); border-color: transparent; }
.card--tint   { background: var(--clay-100); border-color: transparent; }
.card--sage   { background: var(--sage-100); border-color: transparent; }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ---------- FeatureCard --------------------------------- */
.feature-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: box-shadow var(--dur-base) var(--ease-out);
}
.feature-card:hover { box-shadow: var(--shadow-lg); }
.feature-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform var(--dur-slow) var(--ease-out);
}
.feature-card:hover .feature-card__img { transform: scale(1.05); }
.feature-card__scrim { position: absolute; inset: 0; background: var(--scrim-bottom); }
.feature-card__body  { position: absolute; left: 22px; right: 22px; bottom: 20px; color: var(--sand-50); }
.feature-card__eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .9;
  margin-bottom: 8px;
}
.feature-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.08;
  text-shadow: 0 1px 16px rgba(0,0,0,.25);
}
.feature-card__caption {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  margin-top: 8px;
  color: var(--sand-200);
  max-width: 34ch;
}

/* ---------- SectionHeading ------------------------------ */
.section-heading .fwc-eyebrow { color: var(--color-primary); margin-bottom: 14px; }
.section-heading__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-display-l);
  line-height: 1.06;
  letter-spacing: -.015em;
  color: var(--text-strong);
  margin: 0;
  text-wrap: balance;
}
.section-heading__lead {
  margin-top: 20px;
  font-size: var(--text-xl);
  line-height: 1.62;
  color: var(--text-body);
  max-width: 56ch;
  text-wrap: pretty;
}
.section-heading--center {
  text-align: center;
  max-width: 44ch;
  margin-inline: auto;
}
.section-heading--center .section-heading__lead { margin-inline: auto; }
.section-heading--ondark .fwc-eyebrow { color: var(--clay-300); }
.section-heading--ondark .section-heading__title { color: var(--sand-50); }
.section-heading--ondark .section-heading__lead  { color: var(--sand-300); }

/* ---------- Input --------------------------------------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field__label { font-family: var(--font-sans); font-size: 13px; font-weight: 600; color: var(--text-strong); }
.field__input {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text-strong);
  background: var(--white);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.field__input:focus { border-color: var(--clay-400); box-shadow: var(--ring); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  transition: background var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.site-header.solid {
  background: rgba(251,247,239,.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border-soft);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}
.brand {
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 27px;
  letter-spacing: -.02em;
  color: var(--sand-50);
}
.brand span { color: var(--clay-300); }
.solid .brand { color: var(--ink-900); }
.solid .brand span { color: var(--clay-500); }

.nav {
  display: flex;
  gap: 24px;
  white-space: nowrap;
}
.nav a {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.92);
  transition: color var(--dur-fast);
}
.solid .nav a { color: var(--text-body); }

.header-actions { display: flex; align-items: center; gap: 10px; }

/* Hamburger */
.burger {
  display: none;
  width: 44px; height: 44px;
  border: none; background: transparent;
  cursor: pointer; padding: 10px;
  border-radius: var(--radius-sm);
}
.burger__box { position: relative; display: block; width: 24px; height: 16px; }
.burger__box span {
  position: absolute; left: 0;
  height: 2px; width: 100%;
  border-radius: 2px;
  background: var(--sand-50);
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast);
}
.solid .burger__box span { background: var(--ink-900); }
.burger__box span:nth-child(1) { top: 0; }
.burger__box span:nth-child(2) { top: 7px; }
.burger__box span:nth-child(3) { top: 14px; }
.menu-open .burger__box span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.menu-open .burger__box span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-open .burger__box span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* Mobile slide-down panel */
.mobile-menu {
  display: none;
  overflow: hidden;
  max-height: 0;
  border-top: 1px solid transparent;
  transition: max-height var(--dur-slow) var(--ease-out);
}
.menu-open .mobile-menu { max-height: 70vh; border-top-color: var(--border-soft); }
.mobile-menu nav { display: flex; flex-direction: column; padding-top: 12px; padding-bottom: 22px; }
.mobile-menu nav a {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 500;
  color: var(--text-body);
  padding: 14px 4px;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-menu .btn { margin-top: 18px; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .mobile-menu { display: block; }
}
@media (max-width: 460px) {
  .book-desktop { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__scrim-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(43,34,24,.92) 0%, rgba(43,34,24,.66) 42%, rgba(43,34,24,.5) 100%);
}
.hero__scrim-flat { position: absolute; inset: 0; background: rgba(43,34,24,.22); }
.hero__inner {
  position: relative;
  width: 100%;
  padding-top: 120px;
  padding-bottom: clamp(3rem, 7vw, 6rem);
}
.hero__content { max-width: 860px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--sand-50);
  margin: 0;
  text-shadow: 0 2px 30px rgba(0,0,0,.3);
}
.hero__lead {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.6;
  color: rgba(255,255,255,.92);
  margin-top: 24px;
  max-width: 52ch;
}
.hero__benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px 28px;
  margin: 34px 0 38px;
  max-width: 720px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 560px) {
  .hero-br { display: none; }
  .hero__inner { padding-top: 104px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta > * { width: 100%; }
}

/* ============================================================
   Sections — shared rhythm
   ============================================================ */
.section { padding: var(--section-pad-y) 0; }
.section--page    { background: var(--surface-page); }
.section--sunken  { background: var(--surface-sunken); }
.section--inverse { background: var(--surface-inverse); }

/* WhyTour */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.why-tile__num {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--clay-400);
  margin-bottom: 14px;
}
.why-tile__title {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  color: var(--text-strong);
  line-height: 1.1;
  margin-bottom: 8px;
}
.why-tile__desc { font-size: 15px; line-height: 1.55; color: var(--text-muted); }

/* WhatAwaits */
.awaits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1000px) { .awaits-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .awaits-grid { grid-template-columns: 1fr; } }

/* Lodging */
.lodging-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.lodge-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 14px;
}
.lodge-photos__item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-photo);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
}
.lodge-ticks { display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 820px) { .lodging-grid { grid-template-columns: 1fr; } }

/* Program timeline */
.program-track { max-width: 760px; margin: 0 auto; position: relative; }
.program-track__line {
  position: absolute;
  left: 95px; top: 8px; bottom: 8px;
  width: 2px;
  background: rgba(255,255,255,.14);
}
.program-day {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  position: relative;
  padding-bottom: 40px;
}
.program-day:last-child { padding-bottom: 0; }
.program-day__date { text-align: right; padding-top: 1px; }
.program-day__num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--clay-300);
  line-height: 1;
}
.program-day__month {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sand-500);
  margin-top: 5px;
}
.program-day__body { position: relative; padding-left: 32px; }
.program-day__dot {
  position: absolute;
  left: -7px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--clay-500);
  box-shadow: 0 0 0 4px var(--ink-900);
}
.program-day__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--sand-50);
  line-height: 1;
  margin-bottom: 9px;
}
.program-day__desc { font-size: 15px; line-height: 1.55; color: var(--sand-300); }

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) 1.15fr;
  gap: 24px;
  align-items: start;
}
.price-card { position: sticky; top: 96px; }
.price-card__label { font-size: 14px; color: var(--text-muted); margin-bottom: 4px; }
.price-card__amount { display: flex; align-items: baseline; gap: 8px; margin-bottom: 18px; }
.price-card__from  { font-family: var(--font-display); font-size: 22px; color: var(--text-muted); font-weight: 500; }
.price-card__value { font-family: var(--font-display); font-size: 56px; font-weight: 600; color: var(--text-strong); line-height: 1; }
.price-card__cur   { font-family: var(--font-display); font-size: 32px; color: var(--clay-500); font-weight: 600; }
.price-card__note  { font-size: 14px; line-height: 1.55; color: var(--text-muted); margin-bottom: 24px; }
.price-card__terms {
  margin-top: 22px; padding-top: 22px;
  border-top: 1px solid var(--border-soft);
  display: flex; flex-direction: column; gap: 11px;
}
.price-side { display: flex; flex-direction: column; gap: 24px; }
.price-block__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 20px;
}
.incl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 24px; }
.price-block__sub {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 8px;
}
.price-block__hint { font-size: 14px; color: var(--text-muted); margin-bottom: 18px; }
.extras { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 820px) {
  .price-grid { grid-template-columns: 1fr; }
  .price-card { position: static; }
  .incl-grid { grid-template-columns: 1fr; }
}

/* Organizer */
.organizer-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.org-photo { position: relative; width: 100%; }
.org-photo__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-size: cover;
  background-position: center top;
  box-shadow: var(--shadow-photo);
}
.org-badge {
  position: absolute;
  bottom: -22px; left: -22px;
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  padding: 16px 22px;
  box-shadow: var(--shadow-lg);
}
.org-badge__name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--text-strong);
  line-height: 1;
}
.org-badge__role {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--clay-500);
  font-weight: 600;
  margin-top: 4px;
}
.org-bio { font-size: 17px; line-height: 1.68; color: var(--text-body); margin-bottom: 16px; max-width: 54ch; }
.org-bio:last-of-type { margin-bottom: 26px; }
.org-spec-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}
.org-specs { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 820px) {
  .organizer-grid { grid-template-columns: 1fr; }
  .org-photo { width: 100%; max-width: 360px; margin-inline: auto; margin-bottom: 12px; }
  .org-badge { left: 16px; bottom: -18px; }
}

/* ============================================================
   Final CTA
   ============================================================ */
.final {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.final__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.final__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(43,34,24,.78) 0%, rgba(43,34,24,.5) 60%, rgba(43,34,24,.35) 100%);
}
.final__inner { position: relative; }
.final__content { max-width: 680px; }
.final__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--sand-50);
  margin: 0;
}
.final__lead {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,.9);
  margin-top: 22px;
  max-width: 50ch;
}
.final__cta { margin-top: 34px; }
@media (max-width: 560px) { .final-br { display: none; } }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink-900);
  padding: 40px 0 28px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  color: var(--sand-50);
}
.footer-brand span { color: var(--clay-300); }
.footer-tag { font-family: var(--font-sans); font-size: 14px; color: var(--sand-500); }
.footer-bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom span { font-family: var(--font-sans); font-size: 13px; color: var(--sand-600); }
.footer-bottom .heart { color: var(--clay-400); }
.footer-bottom a { color: var(--sand-400); font-weight: 600; }

/* ============================================================
   Booking modal
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(43,34,24,.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fwcFade var(--dur-base) var(--ease-out);
}
.modal[hidden] { display: none; }
.modal__panel {
  width: 100%;
  max-width: 460px;
  background: var(--surface-card);
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: var(--shadow-lg);
  animation: fwcRise var(--dur-base) var(--ease-out);
}
.modal__close {
  float: right;
  border: none;
  background: var(--sand-100);
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1;
}
.modal__title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0 0 8px;
}
.modal__text { font-size: 15px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.5; }
.modal__form { display: flex; flex-direction: column; gap: 16px; }
.modal__fineprint { font-size: 12px; color: var(--text-faint); text-align: center; }
.modal__error { font-size: 13px; color: var(--color-danger); text-align: center; }

/* Honeypot — visually hidden, off-screen, not focusable */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.modal__success { text-align: center; padding: 16px 0; }
.modal__success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--sage-700);
  display: grid;
  place-items: center;
  font-size: 30px;
  margin: 0 auto 20px;
}
.modal__success-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0 0 10px;
}
.modal__success-text {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.55;
  max-width: 34ch;
  margin-inline: auto;
}

@keyframes fwcFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fwcRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
