/* Zion White Bison Resort brand layer (colors, fonts and logo from the resort site). */
@font-face {
    font-family: "Norwester";
    src: url("../fonts/norwester.woff2") format("woff2"), url("../fonts/norwester.woff") format("woff");
    font-display: swap;
}

:root {
    --primary: #cf662f;
    --primary-dark: #b55320;
    --teal: #00687a;
    --teal-dark: #00505e;
    --gold: #c6995b;
    --brown: #725d43;
    --brown-dark: #56442e;
    --ink: #2a221b;
    --muted: #6e6253;
    --sand: #f5eee3;
    --sand-2: #eae0d0;
    --paper: #fcfaf7;
    --dark: #201a14;
    --dark-surface: #2d231a;
    --line: #dfd6c7;
    --font-display: "Norwester", "Montserrat", system-ui, sans-serif;
    --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body { font-family: var(--font-body); color: var(--ink); background: var(--paper); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: .02em; text-transform: uppercase; line-height: 1.05; }
h1 em, h2 em { font-style: normal; color: var(--primary); }
.eyebrow, .zw-kicker { font-family: var(--font-body); font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: .92rem; letter-spacing: .02em; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 26px rgba(207, 102, 47, .3); }
.button-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.button-ghost { border: 1.5px solid rgba(255, 255, 255, .7); color: #fff; background: rgba(255, 255, 255, .06); }
.button-ghost:hover { background: rgba(255, 255, 255, .16); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(252, 250, 247, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-strip { display: flex; justify-content: space-between; gap: 16px; padding: 7px max(20px, calc((100vw - 1180px) / 2)); background: var(--dark); color: #e9dfcf; font-size: .72rem; letter-spacing: .04em; }
.top-strip-tag { color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; }
.header-inner { display: flex; max-width: 1180px; margin: 0 auto; padding: 10px 20px; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; }
.brand .brand-logo { display: block; width: auto; height: 62px; }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: .86rem; font-weight: 600; }
.main-nav a:not(.nav-cta) { color: var(--brown-dark); }
.main-nav a:not(.nav-cta):hover { color: var(--primary); }
.nav-cta { padding: 10px 20px; border-radius: 999px; background: var(--teal); color: #fff !important; }
.nav-cta:hover { background: var(--teal-dark); }
.demo-banner { background: var(--gold); color: var(--dark); }

/* Hero */
.zw-hero { position: relative; overflow: hidden; color: #fff; background: var(--dark) url("../img/photos/hero-bison.webp") center 40% / cover no-repeat; }
.zw-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(32, 26, 20, .88) 0%, rgba(32, 26, 20, .62) 48%, rgba(32, 26, 20, .15) 100%); }
.zw-hero-inner { position: relative; display: grid; max-width: 1180px; min-height: min(78vh, 680px); margin: 0 auto; padding: 72px 20px; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.zw-hero h1 { margin: 0 0 20px; font-size: clamp(3rem, 7vw, 5.6rem); }
.zw-hero h1 span, .zw-section-head h2 span, .zw-page-hero h1 span { color: var(--primary); }
.zw-hero .hero-lede { max-width: 540px; margin: 0 0 30px; color: #efe6d8; font-size: 1.06rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Gift card visual */
.zw-card-wrap { display: flex; justify-content: center; perspective: 1200px; }
.zw-gift-card { position: relative; display: flex; width: min(100%, 380px); aspect-ratio: 1.586; padding: 26px 28px; flex-direction: column; justify-content: space-between; border-radius: 22px; overflow: hidden;
    background: radial-gradient(circle at 85% 10%, rgba(198, 153, 91, .55), transparent 45%), linear-gradient(140deg, var(--teal) 0%, #003f4a 55%, var(--dark) 100%);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .18); transform: rotate(-4deg); }
.zw-gift-card::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(207, 102, 47, .35); filter: blur(4px); }
.zw-gift-card-logo { position: relative; z-index: 1; width: 52%; height: auto; }
.zw-gift-card-foot { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; color: #fff; }
.zw-gift-card-foot span { font-size: .7rem; font-weight: 700; letter-spacing: .24em; }
.zw-gift-card-foot strong { font-family: var(--font-display); font-size: 2.6rem; font-weight: 400; line-height: 1; }
.zw-gift-card-small { width: 100%; transform: none; }

/* Perks */
.zw-perks { position: relative; z-index: 2; display: grid; margin-top: -42px; padding: 0; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 50px rgba(32, 26, 20, .1); overflow: hidden; }
.zw-perk { display: flex; padding: 24px 28px; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); }
.zw-perk:last-child { border-right: 0; }
.zw-perk strong { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; color: var(--teal); }
.zw-perk span { color: var(--muted); font-size: .9rem; }

/* Sections */
.zw-section-head { max-width: 640px; margin-bottom: 34px; }
.zw-section-head h2 { margin: 0; font-size: clamp(2rem, 4.4vw, 3.1rem); color: var(--dark); }
.zw-stays { padding-top: 96px; }
.zw-stay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.zw-stay { position: relative; margin: 0; overflow: hidden; border-radius: 18px; aspect-ratio: 3 / 4; background: var(--dark); box-shadow: 0 12px 34px rgba(32, 26, 20, .14); }
.zw-stay img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.zw-stay:hover img { transform: scale(1.05); }
.zw-stay figcaption { position: absolute; inset: auto 0 0 0; display: flex; padding: 60px 20px 20px; flex-direction: column; gap: 3px; color: #fff; background: linear-gradient(transparent, rgba(32, 26, 20, .9)); }
.zw-stay figcaption strong { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; letter-spacing: .04em; text-transform: uppercase; }
.zw-stay figcaption span { color: #e9dfcf; font-size: .84rem; }

.zw-steps { padding-top: 96px; padding-bottom: 96px; }
.zw-step-list { display: grid; margin: 0; padding: 0; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; }
.zw-step-list li { padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--sand); }
.zw-step-list li > span { display: inline-block; margin-bottom: 14px; font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--primary); }
.zw-step-list h3 { margin: 0 0 8px; font-size: 1.35rem; color: var(--dark); }
.zw-step-list p { margin: 0; color: var(--muted); }

.zw-cta { position: relative; display: grid; min-height: 420px; place-items: center; overflow: hidden; color: #fff; text-align: center; }
.zw-cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zw-cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(32, 26, 20, .55), rgba(32, 26, 20, .78)); }
.zw-cta-inner { position: relative; z-index: 2; max-width: 680px; padding: 60px 20px; }
.zw-cta h2 { margin: 0 0 26px; font-size: clamp(2.1rem, 5vw, 3.4rem); }

/* Single store page */
.zw-store-hero { position: relative; overflow: hidden; color: #fff; background: var(--dark) url("../img/photos/hero-bison.webp") center 40% / cover no-repeat; }
.zw-store-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(32, 26, 20, .9) 0%, rgba(32, 26, 20, .65) 50%, rgba(32, 26, 20, .2) 100%); }
.zw-store-hero-inner { position: relative; display: grid; max-width: 1180px; margin: 0 auto; padding: 64px 20px 72px; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 40px; }
.zw-store-hero h1 { margin: 0 0 18px; font-size: clamp(2.8rem, 6vw, 4.8rem); }
.zw-store-hero h1 span { color: var(--primary); }
.zw-store-hero .hero-lede { max-width: 520px; margin: 0; color: #efe6d8; font-size: 1.04rem; line-height: 1.7; }
.zw-store-hero .zw-gift-card { width: min(100%, 330px); }
.zw-single .zw-buy { padding-top: 44px; }
.zw-single .zw-buy-aside { top: 120px; }

/* Buy page */
.zw-page-hero { padding: 54px 0 46px; color: #fff; background: linear-gradient(rgba(32, 26, 20, .78), rgba(32, 26, 20, .9)), url("../img/photos/stay-tipi.webp") center / cover; }
.zw-page-hero h1 { margin: 0 0 12px; font-size: clamp(2.5rem, 6vw, 4.2rem); }
.zw-page-hero p:not(.zw-kicker) { max-width: 560px; margin: 0; color: #efe6d8; }
.zw-page-hero .back-link { display: inline-block; margin-bottom: 22px; color: #e9dfcf; font-size: .85rem; }
.zw-buy { display: grid; padding-top: 40px; padding-bottom: 90px; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.zw-buy-panel .ecom-embed { min-height: 360px; }
.zw-embed-fallback { margin: 0; color: var(--muted); font-size: .9rem; }
.zw-buy-panel { min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 14px 40px rgba(32, 26, 20, .08); }
.zw-buy-links h2 { margin: 0 0 6px; color: var(--dark); font-size: 1.7rem; }
.zw-buy-aside { position: sticky; top: 140px; display: grid; gap: 20px; }
.zw-checklist { margin: 0; padding: 22px; border-radius: 18px; background: var(--sand); list-style: none; }
.zw-checklist li { position: relative; padding: 6px 0 6px 28px; color: var(--brown-dark); font-size: .9rem; font-weight: 600; }
.zw-checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.amount-chip:hover, .amount-chip.is-selected { border-color: var(--primary); background: #fdf5f0; color: var(--primary-dark); }

/* Shared pages (confirm, success, error, direct-mode buy) */
.form-card, .confirm-card, .success-card, .lookup-card, .connect-card { border-color: var(--line); }
.back-link { color: var(--teal); }

/* Footer */
.site-footer { margin-top: 0; padding: 0; background: var(--dark); color: #d9cdbb; }
.site-footer .footer-inner { display: grid; max-width: 1180px; margin: 0 auto; padding: 56px 20px 40px; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; align-items: start; }
.footer-brand img { display: block; width: 150px; height: auto; }
.footer-col { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; }
.footer-col strong { margin-bottom: 4px; font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.footer-col a:hover { color: #fff; }
.footer-base { display: flex; max-width: 1180px; margin: 0 auto; padding: 18px 20px 26px; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(233, 223, 207, .14); font-size: .76rem; color: #a99a85; }

@media (max-width: 960px) {
    .zw-hero-inner { grid-template-columns: 1fr; min-height: 0; padding: 60px 20px 90px; }
    .zw-card-wrap { justify-content: flex-start; }
    .zw-gift-card { width: min(100%, 320px); }
    .zw-stay-grid { grid-template-columns: repeat(2, 1fr); }
    .zw-buy { grid-template-columns: 1fr; }
    .zw-store-hero-inner { grid-template-columns: 1fr; padding: 48px 20px 56px; }
    .zw-store-hero .zw-card-wrap { display: none; }
    .zw-buy-aside { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
    .top-strip-tag { display: none; }
    .brand .brand-logo { width: auto; height: 50px; }
    .zw-stay-grid { grid-template-columns: 1fr; }
    .main-nav a:not(.nav-cta) { display: none; }
    .zw-perks, .zw-step-list { grid-template-columns: 1fr; }
    .zw-perk { border-right: 0; border-bottom: 1px solid var(--line); }
    .zw-perk:last-child { border-bottom: 0; }
    .zw-buy-aside { grid-template-columns: 1fr; }
    .site-footer .footer-inner { grid-template-columns: 1fr; }
    .footer-base { flex-direction: column; }
    .zw-stay { aspect-ratio: 4 / 5; }
}

.zw-redeem { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.zw-redeem strong { display: block; margin-bottom: 6px; font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; letter-spacing: .04em; text-transform: uppercase; color: var(--teal); }
.zw-redeem p { margin: 0 0 14px; color: var(--muted); font-size: .9rem; }
