/* ReserveALodge v2 (2026-11). Shared by index.html and signup.html.
 * Patterns ported to plain CSS from the design references:
 *   - search pill: Mobbin (Airbnb/Booking search bar)
 *   - .beam: Magic UI "Border Beam";  .btn-shimmer: Magic UI "Shimmer Button"
 *   - .steps: 21st.dev feature-steps;  .faq: 21st.dev accordion;  .rail: Mobbin card rail (phones)
 */
:root {
  --pine: #1f3d2b; --pine-2: #2d5a40; --pine-ink: #f4efe4;
  --paper: #fbf8f2; --card: #ffffff; --cream: #f2ebdd; --line: #e5dccb;
  --ink: #1c211d; --ink-2: #4c564f; --ink-3: #7c847e;
  --rust: #c4532b; --rust-2: #a9431f; --rust-ink: #fff;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(28,33,29,.06), 0 8px 28px rgba(28,33,29,.08);
  --shadow-lg: 0 2px 4px rgba(28,33,29,.08), 0 24px 60px rgba(28,33,29,.18);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.rla { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.rla img { max-width: 100%; display: block; }
.rla a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.serif { font-family: var(--serif); font-optical-sizing: auto; letter-spacing: -.01em; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); }
.muted { color: var(--ink-2); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 2px; border-radius: 6px; }

/* ---------- nav ---------- */
.nav { position: absolute; inset: 0 0 auto; z-index: 20; }
.nav.solid { position: sticky; top: 0; background: rgba(251,248,242,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.rla .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; color: #fff; }
.rla .nav.solid .brand { color: var(--pine); }
.brand svg { flex: none; }
.nav-links { display: flex; align-items: center; gap: 26px; font-weight: 500; font-size: .95rem; }
.nav-links a { text-decoration: none; color: rgba(255,255,255,.88); }
.nav.solid .nav-links a { color: var(--ink-2); }
.nav-links a:hover { color: #fff; }
.nav.solid .nav-links a:hover { color: var(--ink); }
.nav-links .pill { background: #fff; color: var(--pine); padding: 9px 16px; border-radius: 999px; font-weight: 600; }
.nav.solid .nav-links .pill { background: var(--pine); color: var(--pine-ink); }
@media (max-width: 760px) { .nav-links a:not(.pill) { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 600; border-radius: 999px; padding: 14px 24px; text-decoration: none; transition: transform .15s ease, background .2s ease, box-shadow .2s ease; }
.btn:active { transform: translateY(1px); }
.btn-rust { background: var(--rust); color: var(--rust-ink); box-shadow: 0 6px 18px rgba(196,83,43,.32); }
.btn-rust:hover { background: var(--rust-2); }
.btn-ghost { background: transparent; color: var(--pine); border: 1.5px solid var(--pine); }
.btn-shimmer { position: relative; overflow: hidden; isolation: isolate; }
.btn-shimmer::after { content: ""; position: absolute; inset: -40% auto -40% -60%; width: 40%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); animation: shimmer 3.2s ease-in-out infinite; z-index: -1; }
@keyframes shimmer { 0%, 55% { left: -60%; } 100% { left: 130%; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; color: #fff; background: #23331f url("../images/v2/hero-many-glacier.jpg") center 38% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,18,12,.55) 0%, rgba(10,18,12,.15) 32%, rgba(10,18,12,.35) 60%, rgba(10,18,12,.85) 100%); }
.hero .wrap { position: relative; width: 100%; padding-top: 120px; padding-bottom: 64px; }
.hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1.02; margin: 12px 0 18px; max-width: 13ch; text-wrap: balance; }
.hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 46ch; color: rgba(255,255,255,.9); margin: 0 0 32px; }
.hero .eyebrow { color: #f3c9a8; }
.photo-credit { position: absolute; right: 16px; bottom: 10px; font-size: .72rem; color: rgba(255,255,255,.6); }

/* search pill (Mobbin) inside a Border Beam card (Magic UI) */
.beam { position: relative; border-radius: 28px; padding: 2px; background: rgba(255,255,255,.18); overflow: hidden; max-width: 920px; box-shadow: var(--shadow-lg); }
.beam::before { content: ""; position: absolute; inset: -60%; background: conic-gradient(from 0deg, transparent 0 300deg, #f3c9a8 330deg, #fff 345deg, transparent 360deg); animation: beam 6s linear infinite; }
@keyframes beam { to { transform: rotate(1turn); } }
.search { position: relative; display: grid; grid-template-columns: 1.25fr 1fr auto; gap: 0; background: #fff; color: var(--ink); border-radius: 26px; padding: 8px; }
.field { display: flex; flex-direction: column; justify-content: center; padding: 10px 20px; border-radius: 20px; min-width: 0; cursor: pointer; transition: background .15s; }
.field:hover, .field:focus-within { background: #f5f1e8; }
.field + .field { border-left: 1px solid var(--line); }
.field:focus-within + .field, .field:hover + .field { border-left-color: transparent; }
.field label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); cursor: pointer; }
.field select, .field input { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: inherit; font-size: 1.02rem; font-weight: 500; color: var(--ink); padding: 4px 0 2px; outline: none; width: 100%; cursor: pointer; text-overflow: ellipsis; }
.field select:invalid, .field input:placeholder-shown { color: var(--ink-3); }
.search .btn { align-self: stretch; padding: 0 28px; border-radius: 20px; font-size: 1.02rem; }
.form-error { min-height: 1.4em; margin: 10px 4px 0; color: #ffd9c7; font-weight: 600; font-size: .92rem; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; font-size: .92rem; color: rgba(255,255,255,.9); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { flex: none; color: #9fd3a8; }
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero .wrap { padding-top: 110px; padding-bottom: 40px; }
  .search { grid-template-columns: 1fr; padding: 8px; gap: 6px; }
  .field { background: #f6f2ea; padding: 10px 16px; }
  .field + .field { border-left: 0; }
  .search .btn { padding: 15px; margin-top: 6px; }
}

/* ---------- sections ---------- */
section.block { padding: 96px 0; }
section.block.tight { padding: 72px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.08; margin: 8px 0 0; max-width: 18ch; text-wrap: balance; }
.section-head p { max-width: 44ch; margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { section.block { padding: 64px 0; } }

/* lodge grid (rail on phones) */
.lodges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lodge { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.lodge .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.lodge .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.lodge:hover .ph img { transform: scale(1.06); }
.lodge .meta { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.lodge .park { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pine-2); }
.lodge h3 { font-family: var(--serif); font-size: 1.18rem; margin: 2px 0 10px; line-height: 1.2; }
.lodge button { margin-top: auto; align-self: flex-start; font: inherit; font-size: .9rem; font-weight: 600; color: var(--rust); background: none; border: 0; padding: 0; cursor: pointer; }
.lodge button:hover { text-decoration: underline; }
.lodge button::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 1000px) { .lodges { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .lodges { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -20px; padding: 4px 20px 18px; scrollbar-width: none; }
  .lodges::-webkit-scrollbar { display: none; }
  .lodge { flex: 0 0 74%; scroll-snap-align: start; }
}

/* steps (21st.dev feature steps) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 9%; right: 9%; border-top: 2px dashed #cdbfa5; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px; }
.step .num { width: 54px; height: 54px; margin: -54px 0 14px; border-radius: 50%; display: grid; place-items: center; background: var(--pine); color: var(--pine-ink); font-family: var(--serif); font-weight: 700; font-size: 1.35rem; box-shadow: 0 0 0 8px var(--cream); }
.step h3 { font-family: var(--serif); font-size: 1.3rem; margin: 0 0 8px; }
.step p { margin: 0; color: var(--ink-2); }
.steps-wrap { padding-top: 28px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 44px; } .steps::before { display: none; } }

/* pricing split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.split .photo { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.3; }
.split .photo img { width: 100%; height: 100%; object-fit: cover; }
.bill { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 22px; margin: 22px 0; font-variant-numeric: tabular-nums; }
.bill .row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line); gap: 16px; }
.bill .row:last-child { border-bottom: 0; font-weight: 700; }
.bill .row span:first-child { color: var(--ink-2); }
.bill .row:last-child span:first-child { color: var(--ink); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { flex: none; margin-top: 3px; color: var(--pine-2); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* faq (21st.dev accordion) */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 32px 20px 0; position: relative; font-weight: 600; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-2); }

/* cta band + footer */
.band { position: relative; color: #fff; background: var(--pine); overflow: hidden; border-radius: 28px; padding: 56px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.band::before { content: ""; position: absolute; inset: 0; background: url("../images/v2/ahwahnee.jpg") center / cover; opacity: .18; }
.band > * { position: relative; }
.band h2 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0; max-width: 20ch; line-height: 1.1; }
@media (max-width: 760px) { .band { padding: 40px 24px; border-radius: 22px; } }
.foot { padding: 48px 0 40px; color: var(--ink-2); font-size: .9rem; }
.foot .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 28px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* flatpickr to match */
.flatpickr-calendar { font-family: var(--sans); border-radius: 16px !important; box-shadow: var(--shadow-lg) !important; border: 0 !important; }
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange { background: var(--pine) !important; border-color: var(--pine) !important; }
.flatpickr-day.inRange { background: #e3ede5 !important; border-color: #e3ede5 !important; box-shadow: -5px 0 0 #e3ede5, 5px 0 0 #e3ede5 !important; }

@media (prefers-reduced-motion: reduce) {
  .beam::before, .btn-shimmer::after { animation: none; }
  .lodge .ph img { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- signup page (keeps its own form markup + JS; this only restyles) ---------- */
.rla-signup { background: var(--paper); }
.rla-signup .nav.solid { position: sticky; }
.su-head { background: linear-gradient(180deg, var(--cream), var(--paper)); border-bottom: 1px solid var(--line); padding: 40px 0 36px; }
.su-back { display: inline-block; font-size: .92rem; font-weight: 600; color: var(--pine-2) !important; text-decoration: none; margin-bottom: 18px; }
.su-back:hover { text-decoration: underline; }
.su-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.08; margin: 8px 0 20px; max-width: 22ch; text-wrap: balance; }
.su-steps { display: flex; flex-wrap: wrap; gap: 10px; }
.su-steps span { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 7px; font-size: .9rem; color: var(--ink-2); }
.su-steps b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--pine); color: var(--pine-ink); font-size: .8rem; }
.su-main { padding-top: 40px !important; }
.rla-signup img { display: inline-block; }
.rla-signup #lodge-name { font-family: var(--serif); font-size: 2rem; line-height: 1.15; margin-top: 0; color: var(--ink); }
.rla-signup h3, .rla-signup h5 { font-family: var(--serif); }
.rla-signup .form-label, .rla-signup label { color: var(--ink); }
/* brand colors instead of the template's red/blue */
.rla-signup .bg-red-500 { background-color: var(--rust) !important; }
.rla-signup .hover\:bg-red-600:hover { background-color: var(--rust-2) !important; }
.rla-signup i.text-red-500, .rla-signup svg.text-red-500, .rla-signup [data-feather].text-red-500 { color: var(--rust) !important; }
.rla-signup .text-blue-500 { color: var(--pine) !important; }
.rla-signup .border-blue-500 { border-color: var(--pine) !important; }
.rla-signup #continue-btn, .rla-signup #submit-btn { border-radius: 999px !important; padding: 12px 26px !important; font-size: 1rem; }
.rla-signup #submit-btn:not(:disabled) { box-shadow: 0 6px 18px rgba(196,83,43,.3); }
.rla-signup input[type=text], .rla-signup input[type=email], .rla-signup input[type=date], .rla-signup input[type=number], .rla-signup input[type=password], .rla-signup select {
  border-radius: 12px !important; border: 1px solid var(--line) !important; background: #fff !important; }
.rla-signup input:focus, .rla-signup select:focus { border-color: var(--pine-2) !important; box-shadow: 0 0 0 3px rgba(45,90,64,.15) !important; outline: none; }
.rla-signup input[type=checkbox] { accent-color: var(--pine); width: 18px; height: 18px; }
.rla-signup #accordion-collapseone > div { border-radius: 14px !important; border: 1px solid var(--line); box-shadow: none !important; }

/* keep the nav on one line on small phones */
.rla .brand, .nav-links .pill { white-space: nowrap; }
@media (max-width: 420px) { .rla .brand { font-size: 1.08rem; gap: 8px; } .nav-links .pill { padding: 8px 13px; font-size: .86rem; } }
