/* ==========================================================================
   Sedona Yoga Retreat — custom stylesheet
   Loaded after Bootstrap 5.3. Bootstrap handles the grid, spacing utilities
   and form scaffolding; everything below covers what the design needs that
   Bootstrap has no equivalent for: the palette, the display typography, the
   gradient bands, the lotus motif and the bespoke split section.

   Reference artboard: 1440px wide, 1280px content column (80px margins).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Palette — sampled directly from the Figma export */
  --brand:        #AA3D20;  /* primary terracotta                 */
  --brand-deep:   #A42F09;  /* gradient light end / gold-btn text */
  --brand-dark:   #3E1203;  /* gradient dark end                  */
  --gold:         #FFB443;  /* accent rules, icons                */
  --gold-btn:     #F6C75B;  /* gold button fill                   */
  --gold-soft:    #C89A5E;  /* muted gold body copy               */
  --gold-label:   #E0A64A;  /* gold small-caps label              */
  --green:        #3F422D;  /* deep olive panel                   */
  --green-field:  #55583F;  /* form input fill                    */
  --green-inset:  #343725;  /* bonus box fill                     */
  --green-line:   #7B7F64;  /* form panel hairline                */
  --ink:          #23251A;  /* near-black olive                   */
  --cream:        #FBF9F4;  /* light section A                    */
  --cream-alt:    #F5F2EB;  /* light section B                    */
  --body-ink:     #544945;  /* body copy on cream                 */
  --heading-ink:  #40432E;  /* headings on cream                  */

  /* Typefaces */
  --ff-display: "Playfair Display", "Prata", Georgia, "Times New Roman", serif;
  --ff-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Fluid type scale — the upper bound of each clamp is the artboard value */
  --fs-hero:    clamp(2.75rem, 1.05rem + 6.00vw, 6.0000rem);  /*  44 → 96 */
  --fs-band:    clamp(2.00rem, 1.05rem + 2.65vw, 3.2500rem);  /*  32 → 52 */
  --fs-section: clamp(1.875rem, 1.20rem + 1.90vw, 2.8125rem); /*  30 → 45 */
  --fs-lead:    clamp(1.250rem, 1.05rem + 0.55vw, 1.6250rem); /*  20 → 26 */
  --fs-body:    1.0625rem;                                    /*  17      */
  --fs-small:   0.8750rem;                                    /*  14      */

  /* Vertical rhythm between sections */
  --pad-section: clamp(3.5rem, 1.4rem + 5.9vw, 6.25rem);      /*  56 → 100 */
}

/* --------------------------------------------------------------------------
   2. Bootstrap overrides
   -------------------------------------------------------------------------- */

/* At 1440px the container resolves to a 1280px content box with 80px margins,
   matching the artboard. 1304 = 1280 content + the 24px default gutter. */
@media (min-width: 1400px) {
  .container { max-width: 1304px; }
}

/* Wider gutters than Bootstrap ships, for the two editorial media/copy splits.
   Uses Bootstrap's own gutter variable so .row and .col-* behave normally. */
.gx-editorial  { --bs-gutter-x: 5rem;   } /*  80px — Why Sedona            */
.gx-editorial-wide { --bs-gutter-x: 6.5rem; } /* 104px — Meet Your Instructor */

@media (max-width: 991.98px) {
  .gx-editorial,
  .gx-editorial-wide { --bs-gutter-x: 1.5rem; }
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */
body {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.588;              /* 17 / 27 */
  color: var(--body-ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--ff-display);
  font-weight: 400;
  margin: 0;
}

p { margin: 0 0 1.6875rem; }
p:last-child { margin-bottom: 0; }

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

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   4. Shared motifs
   -------------------------------------------------------------------------- */

/* 100 x 4px gold rule sitting under every section heading */
.rule {
  width: 100px;
  height: 4px;
  background: var(--gold);
  border: 0;
  opacity: 1;
  margin: 1.5rem 0 2rem;
}
.rule--center { margin-inline: auto; }

/* The lotus ships once as a white PNG and is recoloured through a CSS mask,
   so the same file serves the logo, badges, buttons and watermarks. */
.lotus {
  display: inline-block;
  background-color: currentColor;
  -webkit-mask: url("../assets/lotus.png") no-repeat center / contain;
          mask: url("../assets/lotus.png") no-repeat center / contain;
  flex: none;
}

.watermark {
  position: absolute;
  pointer-events: none;
  user-select: none;
  background-color: #fff;
  -webkit-mask: url("../assets/lotus.png") no-repeat center / contain;
          mask: url("../assets/lotus.png") no-repeat center / contain;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn-retreat {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  min-height: 51px;
  padding: 0.75rem 1.75rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.9375rem;            /* 15 */
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  border-radius: 2px;
  transition: filter 0.18s ease, transform 0.18s ease;
}
.btn-retreat:hover,
.btn-retreat:focus-visible { filter: brightness(1.08); color: var(--btn-fg); }
.btn-retreat:active { transform: translateY(1px); }
.btn-retreat .lotus { width: 26px; height: 21px; }

.btn-retreat--gold  { --btn-bg: var(--gold-btn); --btn-fg: var(--brand-deep); }
.btn-retreat--block { width: 100%; min-height: 60px; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: #1d2330 url("../assets/hero.jpg") no-repeat center / cover;
  color: #fff;
  padding: 1.8125rem 0 clamp(3rem, 1rem + 5vw, 4.625rem);
  min-height: min(776px, 92vh);
  display: flex;
  flex-direction: column;
}
/* Keeps the headline legible where the photograph goes bright */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
              rgba(15, 18, 24, 0.72) 0%,
              rgba(15, 18, 24, 0.42) 45%,
              rgba(15, 18, 24, 0.06) 78%);
}
.hero > * { position: relative; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 1.375rem;
  text-decoration: none;
  color: #fff;
}
.logo .lotus { width: 97px; height: 80px; }
.logo-word {
  display: block;
  font-family: var(--ff-display);
  font-size: 2.625rem;             /* 42 */
  line-height: 1;
}
.logo-sub {
  display: block;
  font-size: 0.8125rem;            /* 13 */
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-top: 0.4375rem;
}

.hero-copy { margin-top: auto; padding-top: 4.5rem; }

.hero h1 {
  font-size: var(--fs-hero);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: 0.4375rem;
}
.hero-dates {
  font-size: var(--fs-lead);
  font-weight: 500;
  color: var(--gold);
  margin: 0 0 0.5rem;
}
.hero-venue {
  font-size: var(--fs-lead);
  font-weight: 700;
  color: #fff;
  margin: 0 0 2rem;
}

.hero-note {
  border-left: 4px solid var(--gold);
  padding-left: 1.5rem;
  line-height: 1.47;               /* 17 / 25 — tighter than the cream sections */
  color: rgba(255, 255, 255, 0.94);
}
.hero-note p { margin-bottom: 1.5rem; }
.hero-note strong { font-weight: 700; color: #fff; }

/* --------------------------------------------------------------------------
   7. Gradient bands (early-bird offer, yoga-kit bonus)
   -------------------------------------------------------------------------- */
.band {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 1.2rem + 6.4vw, 5.625rem) 0
           clamp(3.5rem, 1.2rem + 6.4vw, 6rem);
  background: linear-gradient(90deg,
              var(--brand-dark) 0%,
              var(--brand-dark) 14%,
              var(--brand-deep) 100%);
  color: #fff;
}
.band > .container { position: relative; }
.band h2 { font-size: var(--fs-band); line-height: 1.1; }
.band p { color: rgba(255, 255, 255, 0.93); }
.band strong { font-weight: 700; color: #fff; }

.band .watermark { opacity: 0.055; }
.band--early .watermark { width: 900px;  height: 740px; right: -190px; top: -90px; }
.band--gear  .watermark { width: 1000px; height: 822px; left: -260px; bottom: -280px; }

.band-media img { width: 100%; }
.band--early .band-media { max-width: 468px; margin-left: auto; }
.band--gear  .band-media { max-width: 513px; }

/* Dated offer list */
.offer-list { list-style: none; margin: 0 0 2.25rem; padding: 0; }
.offer-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
}
.offer-list li:last-child { margin-bottom: 0; }
.offer-list i { color: var(--gold); font-size: 1.1875rem; line-height: 1.45; }
.offer-list .offer-early,
.offer-list .offer-early strong { color: var(--gold); }

/* --------------------------------------------------------------------------
   8. Light sections
   -------------------------------------------------------------------------- */
.panel { padding: var(--pad-section) 0; }
.panel--cream     { background: var(--cream); }
.panel--cream-alt { background: var(--cream-alt); }

.panel h2 {
  font-size: var(--fs-section);
  line-height: 1.15;
  color: var(--heading-ink);
}

/* Circular lotus badge straddling a photograph's edge */
.media-badge { position: relative; }
.media-badge .badge-mark {
  position: absolute;
  right: -64px;
  top: 50%;
  transform: translateY(-50%);
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--brand);
  display: grid;
  place-items: center;
  color: #fff;
}
.media-badge .badge-mark .lotus { width: 66px; height: 54px; }

/* --------------------------------------------------------------------------
   9. The Retreat Experience (copy set over a photograph)
   -------------------------------------------------------------------------- */
.experience {
  position: relative;
  background: #1a1714 url("../assets/retreat-experience.jpg") no-repeat center / cover;
  color: #fff;
  padding: var(--pad-section) 0;
}
.experience::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
              rgba(20, 17, 14, 0.80) 0%,
              rgba(20, 17, 14, 0.55) 38%,
              rgba(20, 17, 14, 0.00) 62%);
}
.experience > .container { position: relative; }
.experience h2 { font-size: var(--fs-section); line-height: 1.15; }
.experience p { color: rgba(255, 255, 255, 0.92); }

/* --------------------------------------------------------------------------
   10. What's Included / Registration split
   The olive runs full-bleed, but the terracotta panel stops at the content
   column's right edge, so olive reappears in the 80px gutter beside it.
   -------------------------------------------------------------------------- */
.split { background: var(--green); }

.split-inner {
  width: min(100%, calc(50% + 652px));
  margin-right: auto;
}

.split-included {
  padding: var(--pad-section) clamp(1.5rem, 0.6rem + 2.6vw, 6.25rem);
  color: #fff;
}
.split-registration {
  position: relative;
  overflow: hidden;
  padding: var(--pad-section) clamp(1.5rem, 0.6rem + 2.1vw, 5rem);
  background: var(--brand);
  color: #fff;
}
.split-registration > * { position: relative; }
.split-registration .watermark {
  width: 780px;
  height: 640px;
  right: -140px;
  top: 2%;
  opacity: 0.07;
}

.split h2 { font-size: var(--fs-section); line-height: 1.15; color: #fff; }

.included-list { list-style: none; margin: 0; padding: 0; }
.included-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.125rem;
  margin-bottom: 1.4375rem;
  color: rgba(255, 255, 255, 0.94);
}
.included-list li:last-child { margin-bottom: 0; }
.included-list i { color: var(--gold); font-size: 1.375rem; line-height: 1.25; }

.pricing-title {
  font-family: var(--ff-body);
  font-size: 1.375rem;             /* 22 */
  font-weight: 700;
  margin: 0 0 1.125rem;
  color: #fff;
}

.price-card {
  background: var(--cream);
  border-radius: 6px;
  padding: 1.375rem 1.5rem 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--ink);
}
.price-card__label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--brand);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.price-card__label i { font-size: 1.25rem; }
.price-card__amount {
  font-size: 1.625rem;             /* 26 */
  font-weight: 700;
  line-height: 1.15;
  color: #1F1512;
}
.price-card__rate--later .price-card__amount { font-weight: 400; }
.price-card__terms {
  font-size: 0.875rem;
  color: #5C524E;
  margin-top: 0.1875rem;
}
/* Hairline divider between the two rates */
.price-card__rate--later { border-left: 1px solid var(--brand); }

.spouse-note { margin-top: 1.75rem; }
.spouse-note strong {
  display: block;
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}
.spouse-note span { font-size: 0.875rem; color: rgba(255, 255, 255, 0.9); }

/* --------------------------------------------------------------------------
   11. Reserve Your Space / registration form
   -------------------------------------------------------------------------- */
.reserve {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  padding: var(--pad-section) 0 clamp(3rem, 1rem + 4.8vw, 4.3125rem);
}
.reserve > .container { position: relative; }
.reserve .watermark {
  width: 1150px;
  height: 944px;
  left: 50%;
  bottom: -6%;
  transform: translateX(-50%);
  opacity: 0.05;
}
.reserve h2 { font-size: var(--fs-section); line-height: 1.15; color: #fff; }

.deposit-line {
  font-size: var(--fs-lead);
  color: var(--gold-btn);
  margin-bottom: 1.875rem !important;
}
.deposit-line strong { font-weight: 700; }

.form-panel {
  background: var(--green);
  border: 1px solid var(--green-line);
  padding: clamp(1.75rem, 0.6rem + 3.4vw, 4.9375rem);
  text-align: left;
}
.form-panel fieldset { border: 0; margin: 0 0 2.5rem; padding: 0; }
.form-panel fieldset:last-of-type { margin-bottom: 2.25rem; }

/* Centred label sitting on a hairline */
.fieldset-head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  float: none;
  margin: 0 0 1.75rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.fieldset-head::before,
.fieldset-head::after {
  content: "";
  flex: 1 1 0;
  height: 1px;
  background: rgba(251, 249, 244, 0.28);
}

.field-label {
  display: block;
  font-size: var(--fs-body);
  color: rgba(251, 249, 244, 0.92);
  margin-bottom: 0.5rem;
}
.retreat-input {
  width: 100%;
  height: 48px;
  background: var(--green-field);
  border: 0;
  border-radius: 4px;
  padding: 0 0.875rem;
  color: #fff;
  font-family: inherit;
  font-size: var(--fs-body);
}
.retreat-input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }

.persons-row label,
.persons-row span { font-size: var(--fs-body); color: rgba(251, 249, 244, 0.92); }
.persons-row .retreat-input { width: 107px; }

.bonus-box {
  position: relative;
  background: var(--green-inset);
  text-align: center;
  padding: 2.5rem 1.5rem 1.75rem;
  margin-top: 3.25rem;
}
.bonus-box .lotus {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 79px;
  color: var(--cream);
}
.bonus-box h3 {
  font-family: var(--ff-body);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-label);
  margin: 0 0 0.625rem;
}
.bonus-box p { max-width: 740px; margin: 0 auto; color: var(--gold-soft); }

.room-choice {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
  font-size: var(--fs-body);
  color: rgba(251, 249, 244, 0.92);
  cursor: pointer;
}
.room-choice input {
  appearance: none;
  width: 22px;
  height: 22px;
  flex: none;
  margin: 0;
  border: 2px solid rgba(251, 249, 244, 0.75);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.room-choice input::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  transform: scale(0);
  transition: transform 0.15s ease;
}
.room-choice input:checked::after { transform: scale(1); }
.room-choice input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Submit status message (email sending / PayPal redirect / errors) */
.form-status {
  margin: 1rem 0 0;
  min-height: 1.25rem;
  font-size: var(--fs-body);
  line-height: 1.45;
  color: rgba(251, 249, 244, 0.85);
}
.form-status:empty { margin-top: 0; min-height: 0; }
.form-status--success { color: var(--gold-btn); }
.form-status--error   { color: #F0B7A6; }

/* Policy footer */
.policy-head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 2.5rem 0 1.5rem;
  color: rgba(251, 249, 244, 0.72);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.policy-head::before,
.policy-head::after {
  content: "";
  flex: 1 1 0;
  height: 1px;
  background: rgba(251, 249, 244, 0.18);
}
.policy-head--lg { font-size: 1.25rem; letter-spacing: 0.02em; color: #fff; }

.policies p {
  font-size: var(--fs-small);
  line-height: 1.5;
  color: rgba(251, 249, 244, 0.78);
}
.policies strong { color: var(--cream); font-weight: 700; }

.contact-line { font-size: var(--fs-lead); color: rgba(251, 249, 244, 0.9); }
.contact-line a { color: var(--gold-btn); text-decoration: none; }
.contact-line a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   12. Responsive adjustments
   Bootstrap's col-* classes handle the column stacking; these rules cover the
   pieces the grid cannot: the badge, the overlays and the price-card divider.
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .media-badge .badge-mark { width: 104px; height: 104px; right: -52px; }
  .media-badge .badge-mark .lotus { width: 54px; height: 44px; }
}

@media (max-width: 991.98px) {
  .band--early .band-media { margin-left: 0; }
  .split-inner { width: 100%; }
  .experience::before {
    background: linear-gradient(180deg,
                rgba(20, 17, 14, 0.86) 0%,
                rgba(20, 17, 14, 0.62) 55%,
                rgba(20, 17, 14, 0.45) 100%);
  }
}

@media (max-width: 767.98px) {
  .hero { min-height: 0; padding-top: 1.5rem; }
  .hero::before {
    background: linear-gradient(180deg,
                rgba(15, 18, 24, 0.62) 0%,
                rgba(15, 18, 24, 0.78) 55%,
                rgba(15, 18, 24, 0.88) 100%);
  }
  .hero-copy { padding-top: 3rem; }
  .logo .lotus { width: 64px; height: 53px; }
  .logo-word { font-size: 1.875rem; }
  .logo-sub { font-size: 0.6875rem; letter-spacing: 0.22em; }

  .media-badge .badge-mark {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -40px;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
  }
  .media-badge .badge-mark .lotus { width: 42px; height: 34px; }

  /* Rates stack, so the divider moves from the side to the top */
  .price-card__rate--later {
    border-left: 0;
    border-top: 1px solid rgba(170, 61, 32, 0.35);
    padding-top: 0.875rem;
    margin-top: 0.875rem;
  }

  .persons-row .retreat-input { width: 88px; }
  .btn-retreat { width: 100%; }
  .hero-bar .btn-retreat { width: auto; }
}

@media (max-width: 575.98px) {
  .hero-bar .btn-retreat {
    font-size: 0.75rem;
    padding: 0.5rem 0.875rem;
    min-height: 40px;
    letter-spacing: 0.06em;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; }
}

/* Honeypot — hidden from people, visible to bots. Not display:none, since
   some bots skip those; this keeps it out of the layout and off the tab order. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
