/* ==========================================================================
   Rewoga landing (/home)
   Same design language as the /start funnel: cream, forest, gold,
   Playfair + Lato, hairline cards, pill buttons.
   Standalone — nothing here touches the homely theme.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=Lato:wght@300;400;700&display=swap");

:root {
    --cream: #F8F3ED;
    --cream-2: #FDFBF7;
    --forest: #074240;
    --forest-2: #0B5350;
    --sage: #C3DBC5;
    --gold: #C9A24A;
    --ink: #12302F;
    --muted: #6C7E7B;
    --line: #E4DBCB;
    --radius: 18px;
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--cream);
    background-image: radial-gradient(120% 55% at 50% 0%, #FFFDF9 0%, rgba(248, 243, 237, 0) 60%);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--forest-2); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }

/* ---------- nav ---------- */
.nav {
    position: sticky; top: 0; z-index: 40;
    background: rgba(253, 251, 247, .92);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand {
    font-family: var(--serif); font-size: 19px; letter-spacing: .26em;
    text-transform: uppercase; color: var(--forest);
}
.brand span {
    display: block; font-family: var(--sans); font-size: 8.5px;
    letter-spacing: .34em; color: var(--muted); margin-top: 2px;
}
.nav__links { display: none; gap: 30px; }
.nav__links a {
    font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
    color: var(--muted); font-weight: 700;
}
.nav__links a:hover { color: var(--forest); }
@media (min-width: 820px) { .nav__links { display: flex; } }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 0; border-radius: 999px; padding: 15px 28px;
    background: var(--forest); color: var(--cream);
    font-family: var(--sans); font-size: 12px; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase; cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}
.btn:hover { background: var(--forest-2); color: var(--cream); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.btn--ghost:hover { background: rgba(7, 66, 64, .06); color: var(--forest); }
.btn--sm { padding: 11px 20px; font-size: 11px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 26px 0 0; }
.hero__card {
    position: relative; overflow: hidden; border-radius: 24px;
    min-height: 520px; display: flex; align-items: flex-end;
    background: var(--forest);
    box-shadow: 0 40px 80px -70px rgba(7, 66, 64, .9);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(7, 66, 64, .18) 0%, rgba(7, 66, 64, .55) 45%, rgba(5, 46, 44, .88) 100%);
}
.hero__inner { position: relative; padding: 44px 32px 36px; width: 100%; color: var(--cream); }
@media (min-width: 900px) { .hero__inner { padding: 64px 56px 48px; max-width: 900px; } }

.kicker {
    margin: 0 0 14px; font-size: 10.5px; letter-spacing: .3em;
    text-transform: uppercase; color: var(--gold); font-weight: 700;
}
.hero h1 {
    font-family: var(--serif); font-weight: 500;
    font-size: clamp(32px, 5.6vw, 58px); line-height: 1.08;
    letter-spacing: -.015em; margin: 0 0 16px; color: #fff;
}
.hero h1 em { font-style: normal; color: #E7D3A4; }
.hero__lede { margin: 0 0 28px; max-width: 44ch; font-size: 16px; color: rgba(248, 243, 237, .86); }

/* search card */
.search {
    display: grid; gap: 0; background: var(--cream-2);
    border-radius: 18px; padding: 8px; color: var(--ink);
    box-shadow: 0 20px 40px -34px rgba(7, 66, 64, .8);
}
@media (min-width: 860px) {
    .search { grid-template-columns: .95fr 1.6fr .7fr auto; align-items: center; }
}
.search__field {
    display: grid; gap: 2px; padding: 9px 14px; min-width: 0;
    border-radius: 12px;
}
.search__field + .search__field { border-top: 1px solid var(--line); }
@media (min-width: 860px) {
    .search__field + .search__field { border-top: 0; border-left: 1px solid var(--line); }
}
.search__field label {
    font-size: 9px; letter-spacing: .22em; text-transform: uppercase;
    color: var(--muted); font-weight: 700; line-height: 1;
}
.search__field input,
.search__field select {
    border: 0; background: transparent; font-family: var(--sans);
    font-size: 14.5px; line-height: 1.2; color: var(--ink);
    padding: 0; width: 100%; min-width: 0; height: 24px;
    -webkit-appearance: none; appearance: none;
}
.search__field select {
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
                      linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 12px) 10px, calc(100% - 7px) 10px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 20px;
}
.search__field input:focus,
.search__field select:focus { outline: none; }
.search__field input::-webkit-calendar-picker-indicator { opacity: .45; cursor: pointer; }

.search__dates { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; }
.search__dates input {
    flex: 1 1 0; display: block; width: 100%; max-width: 100%; min-width: 0;
    height: 26px; box-sizing: border-box; font-size: 14px;
}
/* Native date fields: keep the value left-aligned and stop the picker icon
   from claiming the whole box (same recipe as the /programs funnel). */
.search__dates input::-webkit-date-and-time-value { text-align: left; margin: 0; }
.search__dates input::-webkit-calendar-picker-indicator {
    display: block; margin-left: auto; padding: 0; width: 14px; height: 14px;
    cursor: pointer; opacity: .45;
}
.search__dates span { color: var(--muted); font-size: 12px; flex: 0 0 auto; }

.search__btn {
    height: 52px; padding: 0 24px; white-space: nowrap;
    width: 100%; margin: 6px 0 0;
}
@media (min-width: 860px) {
    .search__btn { width: auto; margin: 0; }
}

.hero__alt { margin: 16px 0 0; font-size: 13px; color: rgba(248, 243, 237, .8); }
.hero__alt a { color: #E7D3A4; border-bottom: 1px solid rgba(231, 211, 164, .5); }

/* ---------- sections ---------- */
.section { padding: 76px 0 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section__head h2 {
    font-family: var(--serif); font-weight: 500; color: var(--forest);
    font-size: clamp(26px, 3.4vw, 40px); line-height: 1.14; margin: 6px 0 0; letter-spacing: -.01em;
}
.section__head p { margin: 8px 0 0; color: var(--muted); font-size: 15px; max-width: 52ch; }
.section__link {
    flex: 0 0 auto; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
    font-weight: 700; border-bottom: 1px solid var(--line); padding-bottom: 3px; white-space: nowrap;
}

/* ---------- cards ---------- */
.grid { display: grid; gap: 18px; }
.grid--4 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.room {
    display: flex; flex-direction: column; background: var(--cream-2);
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.room:hover { border-color: var(--forest); transform: translateY(-3px); box-shadow: 0 22px 44px -34px rgba(7, 66, 64, .6); }
.room__img { aspect-ratio: 4 / 3; background: var(--sage); }
.room__img img { width: 100%; height: 100%; object-fit: cover; }
.room__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.room__place { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.room__title { font-family: var(--serif); font-size: 19px; line-height: 1.3; color: var(--forest); margin: 0; }
.room__meta { font-size: 12.5px; color: var(--muted); margin-top: auto; padding-top: 10px; }
.room__price { font-size: 14px; font-weight: 700; color: var(--forest); margin-top: 6px; }
.room__price small { font-weight: 400; color: var(--muted); font-size: 11px; }

/* escape ladder */
.escape {
    display: flex; flex-direction: column; gap: 8px; padding: 24px 22px;
    background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius);
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.escape:hover { border-color: var(--forest); transform: translateY(-3px); box-shadow: 0 22px 44px -34px rgba(7, 66, 64, .6); }
.escape__days {
    font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--forest);
}
.escape__days span { font-family: var(--sans); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); display: block; margin-top: 6px; }
.escape__name { font-size: 15px; font-weight: 700; margin: 10px 0 0; }
.escape__sub { font-size: 13px; color: var(--muted); margin: 0; }
.escape__go { margin-top: 14px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold); }

/* steps */
.steps { display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 26px 24px; border-radius: var(--radius); background: var(--cream-2); border: 1px solid var(--line); }
.step::before {
    counter-increment: s; content: counter(s, decimal-leading-zero);
    font-family: var(--serif); font-size: 13px; letter-spacing: .1em; color: var(--gold);
}
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; color: var(--forest); margin: 10px 0 6px; }
.step p { margin: 0; font-size: 14px; color: var(--muted); }

/* cta band */
.band {
    margin-top: 84px; background: var(--forest); border-radius: 24px;
    padding: 54px 32px; text-align: center; color: var(--cream);
}
.band h2 {
    font-family: var(--serif); font-weight: 500; color: #fff;
    font-size: clamp(26px, 3.6vw, 42px); line-height: 1.14; margin: 0 0 12px;
}
.band p { margin: 0 auto 26px; max-width: 46ch; color: rgba(248, 243, 237, .82); font-size: 15px; }
.band .btn { background: var(--gold); color: #2A2410; }
.band .btn:hover { background: #DDBB74; color: #2A2410; }
.band .btn--ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px rgba(248, 243, 237, .45); }
.band .btn--ghost:hover { background: rgba(248, 243, 237, .1); color: var(--cream); }
.band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* footer */
.foot { margin-top: 72px; border-top: 1px solid var(--line); padding: 34px 0 44px; }
.foot__inner { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.foot__links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.foot__links a { color: var(--muted); }
.foot__links a:hover { color: var(--forest); }
.foot__copy { font-size: 11px; color: #9AA9A6; letter-spacing: .06em; }

/* testimonials */
.quotes { display: grid; gap: 18px; }
@media (min-width: 820px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
    display: flex; flex-direction: column; gap: 14px; margin: 0;
    background: var(--cream-2); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 26px 24px;
}
.quote__mark {
    font-family: var(--serif); font-size: 42px; line-height: .8;
    color: var(--gold); margin: 0;
}
.quote__text { margin: 0; font-size: 15px; line-height: 1.62; color: var(--ink); flex: 1; }
.quote__who {
    border-top: 1px solid var(--line); padding-top: 14px;
    font-size: 12px; color: var(--muted); line-height: 1.5;
}
.quote__who b { display: block; color: var(--forest); font-size: 13.5px; font-weight: 700; }

/* misc */
.chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
    border-radius: 999px; border: 1px solid var(--line); background: var(--cream-2);
    font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--forest);
    transition: border-color .18s ease, background .18s ease;
}
.chip:hover { border-color: var(--forest); background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
