/* Explore Timeshare — shared styles
   Colors and type are defined once here as tokens. Change them to rebrand. */
:root {
  --cream: #fbf6ef;
  --cream-2: #f5ede1;
  --white: #ffffff;
  --navy: #12213d;
  --ink: #2b3547;
  --muted: #5b6577;
  --teal: #0f6b68;
  --teal-dark: #0a504e;
  --teal-soft: #d9efec;
  --sun: #f2b330;
  --sun-soft: #fdf0cf;
  --coral: #e8664a;
  --line: #e6ddd0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 6px 20px rgba(18, 33, 61, 0.08);
  --shadow-lg: 0 14px 34px rgba(18, 33, 61, 0.14);
  --max: 1200px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.02em; }
.brand svg { width: 52px; height: 44px; flex: none; }
.main-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--navy); font-weight: 600; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--teal-soft); color: var(--teal-dark); }
.main-nav a.nav-westgate { font-weight: 700; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 10px 16px 16px; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 10px; font-weight: 700; font-size: 1.02rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s, background .15s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--teal-dark); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal-soft); color: var(--teal-dark); }
.btn-sm { padding: 8px 16px; font-size: .92rem; border-radius: 999px; }

/* ---------- Eyebrow & section heading ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 14px; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; font-size: .85rem; color: var(--teal); margin-bottom: 14px; }
.eyebrow::after, .section-title::after { content: ""; width: 54px; height: 4px; border-radius: 4px; background: var(--sun); display: inline-block; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.section-title { display: inline-flex; align-items: center; gap: 18px; margin: 0; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.section { padding: 44px 0; }
.section-tight { padding: 28px 0; }

/* ---------- Placeholder images ----------
   Every .ph block is a stand-in for a real photo. The data-swap text tells you what to put there.
   To swap: replace the <div class="ph ..."> with <img src="images/your-file.jpg" alt="..."> */
.ph { position: relative; background: linear-gradient(135deg, #8fd3d1 0%, #5fb3c9 45%, #f6d28b 100%); overflow: hidden; color: #fff; }
.ph::after { content: attr(data-swap); position: absolute; right: 8px; bottom: 8px; max-width: 75%; font-size: .68rem; line-height: 1.3; background: rgba(18,33,61,.62); padding: 4px 8px; border-radius: 6px; text-align: right; }
.ph.no-label::after { display: none; }
.ph-beach { background: linear-gradient(180deg, #8fd0f0 0%, #b9e6f5 45%, #3fb2c1 55%, #f1dcab 75%, #f6e7c4 100%); }
.ph-pool { background: linear-gradient(160deg, #f4d29a 0%, #f0b97b 30%, #4cc4cf 55%, #1d9fb3 100%); }
.ph-orlando { background: linear-gradient(180deg, #78c6f2 0%, #b8e3f7 50%, #4fa36d 80%, #2f7c55 100%); }
.ph-vegas { background: linear-gradient(180deg, #ef9ac3 0%, #f7b48a 40%, #b96bd0 70%, #3b2a66 100%); }
.ph-myrtle { background: linear-gradient(180deg, #7cc4ef 0%, #a9dcf3 45%, #3d9fc0 60%, #efdcb3 85%); }
.ph-mountain { background: linear-gradient(180deg, #a6d4f2 0%, #d5ecf7 40%, #6d9c7a 65%, #3f6b52 100%); }
.ph-snow { background: linear-gradient(180deg, #9fc9ec 0%, #e3f1fa 45%, #ffffff 65%, #7ea0b8 100%); }
.ph-city { background: linear-gradient(180deg, #9cc3e8 0%, #d8e6f2 45%, #6d7d93 70%, #39465c 100%); }
.ph-history { background: linear-gradient(180deg, #a9d3ee 0%, #e6eff5 45%, #b07a55 70%, #6e4a35 100%); }
.ph-ranch { background: linear-gradient(180deg, #9bd0f0 0%, #e2f0f6 45%, #b4c46b 70%, #7d8f3d 100%); }
.ph-hat { background: linear-gradient(160deg, #7cc6e8 0%, #3c9cc2 40%, #e9c57f 70%, #b88947 100%); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--cream-2); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 380px; }
.hero h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
.hero-copy { padding: 44px 32px 44px max(20px, calc((100vw - var(--max)) / 2 + 20px)); display: flex; flex-direction: column; justify-content: center; }
.hero-copy .lede { font-size: 1.2rem; color: var(--ink); max-width: 30em; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-media { position: relative; min-height: 340px; }
.hero-media > .ph { position: absolute; inset: 0; }
.hero-card { position: absolute; left: 6%; bottom: 22px; width: 260px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; text-decoration: none; color: var(--ink); z-index: 2; transition: transform .15s; }
.hero-card:hover { transform: translateY(-3px); }
.hero-card .ph { height: 86px; }
.hero-card .hc-body { padding: 10px 14px 12px; display: flex; gap: 8px; align-items: flex-start; }
.hero-card strong { color: var(--navy); display: block; }
.hero-card small { font-size: .78rem; color: var(--muted); }
.hero-card .pin { color: var(--teal); width: 18px; height: 18px; margin-top: 3px; flex: none; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 36px 20px; }
  .hero-media { min-height: 260px; }
}

/* ---------- "Start with what you need" cards ---------- */
.need-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.need-card { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--navy); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; min-height: 92px; }
.need-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--navy); }
.need-card .icon { width: 64px; height: 56px; flex: none; }
.need-card span { font-weight: 700; font-size: 1.05rem; line-height: 1.2; flex: 1; }
.need-card .chev { width: 18px; height: 18px; flex: none; }
@media (max-width: 1000px) { .need-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .need-grid { grid-template-columns: 1fr; } }

/* ---------- Destination cards ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dest-card { position: relative; display: block; height: 170px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; transition: transform .15s; }
.dest-card:hover { transform: translateY(-3px); }
.dest-card .ph { position: absolute; inset: 0; }
.dest-card .ph::after { top: 8px; bottom: auto; }
.pill { position: absolute; left: 14px; bottom: 14px; background: #fff; color: var(--navy); font-weight: 700; padding: 6px 14px 6px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-size: 1.05rem; }
.pill svg { width: 18px; height: 18px; color: var(--teal); }
@media (max-width: 860px) { .dest-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .dest-grid { grid-template-columns: 1fr; } }

/* ---------- Tool cards ---------- */
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tool-card { display: grid; grid-template-columns: 38% 1fr; background: #f6f9f7; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tool-card .ph { min-height: 150px; }
.tool-body { padding: 18px 20px; display: flex; gap: 12px; }
.tool-body .ticon { width: 36px; height: 36px; color: var(--teal); flex: none; }
.tool-body h3 { margin-bottom: 6px; }
.tool-body p { font-size: .93rem; color: var(--muted); margin-bottom: 12px; }
.ask-row { display: flex; align-items: center; border: 1px solid #cfd7d5; background: #fff; border-radius: 999px; padding: 4px 4px 4px 16px; }
.ask-row input { flex: 1; border: 0; font: inherit; font-size: .92rem; background: transparent; min-width: 0; padding: 6px 0; }
.ask-row input:focus { outline: none; }
.ask-row button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--teal); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.ask-row button svg { width: 18px; height: 18px; }
@media (max-width: 960px) { .tool-grid { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .tool-card { grid-template-columns: 1fr; } .tool-card .ph { min-height: 120px; } }

/* ---------- Generic cards & layout ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card h3 a { text-decoration: none; color: var(--navy); }
.card p:last-child { margin-bottom: 0; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 10px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark); margin: 0 6px 8px 0; }
.tag.sun { background: var(--sun-soft); color: #7a5205; }

/* Page hero for inner pages */
.page-hero { background: var(--cream-2); padding: 48px 0 36px; border-bottom: 1px solid var(--line); }
.page-hero p { font-size: 1.15rem; max-width: 46em; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a { color: var(--muted); }

/* Notes for the site owner (visible placeholders). Delete when content is filled in. */
.todo { border: 2px dashed var(--sun); background: var(--sun-soft); color: #6b4a06; border-radius: var(--radius-sm); padding: 12px 16px; font-size: .92rem; margin: 12px 0; }
.todo strong { color: #6b4a06; }

/* Callouts */
.callout { border-left: 5px solid var(--teal); background: #fff; padding: 16px 20px; border-radius: var(--radius-sm); box-shadow: var(--shadow); margin: 18px 0; }
.callout.warn { border-left-color: var(--coral); }

/* Prose */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }

/* Table */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { background: var(--cream-2); color: var(--navy); font-weight: 700; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tbody tr:last-child td { border-bottom: 0; }
.compare-table td, .compare-table th { white-space: normal; vertical-align: top; }

/* Forms */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; color: var(--navy); font-size: .93rem; margin-bottom: 4px; }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 3px; }
.field input, .field select, .field textarea { width: 100%; padding: 10px 12px; border: 1px solid #cfd7d5; border-radius: 8px; font: inherit; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: 2px solid var(--teal-soft); }
fieldset { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px 18px; margin: 0 0 18px; background: #fff; }
legend { font-weight: 800; color: var(--navy); padding: 0 6px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid #cfd7d5; background: #fff; cursor: pointer; font-weight: 600; font-size: .92rem; }
.chip input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--sun); }

/* Calculator results */
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0; }
@media (max-width: 720px) { .results { grid-template-columns: 1fr; } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.stat .label { font-size: .82rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.stat .value { font-size: 1.6rem; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat .sub { font-size: .85rem; color: var(--muted); }
.verdict { padding: 16px 20px; border-radius: var(--radius-sm); background: var(--teal-soft); color: var(--teal-dark); font-weight: 600; }
.verdict.lean-alt { background: var(--sun-soft); color: #6b4a06; }
.bar-chart { display: grid; gap: 10px; margin: 14px 0 4px; }
.bar-row { display: grid; grid-template-columns: 150px 1fr 110px; align-items: center; gap: 10px; font-size: .92rem; }
.bar-track { background: var(--cream-2); border-radius: 6px; height: 22px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 6px; background: var(--teal); transition: width .3s; }
.bar-fill.alt { background: var(--sun); }
@media (max-width: 540px) { .bar-row { grid-template-columns: 1fr; } }

/* Assistant */
.chat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; max-width: 760px; }
.chat-log { padding: 18px; min-height: 240px; max-height: 420px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: .95rem; }
.msg.bot { background: var(--cream-2); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.user { background: var(--teal); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat .ask-row { margin: 12px; }
.suggestions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 12px 12px; }
.suggestions button { border: 1px solid #cfd7d5; background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .85rem; cursor: pointer; color: var(--teal-dark); }

/* Quiz */
.quiz-q { margin-bottom: 16px; }
.quiz-q p { font-weight: 700; color: var(--navy); margin-bottom: 8px; }

/* Disclosure strip + footer */
.disclosure-strip { text-align: center; padding: 14px 20px; font-style: italic; color: var(--ink); display: flex; align-items: center; gap: 18px; justify-content: center; }
.disclosure-strip::before, .disclosure-strip::after { content: ""; flex: 1; max-width: 320px; height: 1px; background: #b9b2a6; }
.disclosure-strip a { font-style: normal; font-weight: 600; white-space: nowrap; }
.site-footer { background: var(--navy); color: #d7deea; padding: 40px 0 26px; margin-top: 30px; font-size: .93rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.footer-grid h4 { color: #fff; font-size: .95rem; margin-bottom: 10px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-disclosure { border-top: 1px solid rgba(255,255,255,.15); margin-top: 26px; padding-top: 18px; font-size: .85rem; color: #b9c3d4; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--teal); color: #fff; border-radius: var(--radius); padding: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; color: #e3f4f2; }
.cta-band .btn-outline { border-color: #fff; }

/* Real images */
.media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media > .media-img { z-index: 0; }
.hc-img { width: 100%; height: 86px; object-fit: cover; }
.card-media { position: relative; height: 170px; border-radius: 10px; overflow: hidden; margin-bottom: 14px; }
.illus-label { position: absolute; right: 8px; top: 8px; font-size: .68rem; background: rgba(18,33,61,.6); color: #fff; padding: 2px 8px; border-radius: 6px; }
.source { font-size: .82rem; color: var(--muted); }

/* Resort CTAs and spotlight */
.cta-pair { display: flex; flex-wrap: wrap; gap: 8px; }
.card.spotlit { outline: 3px solid var(--sun); }
.card h4 { margin-bottom: 6px; }

/* Trip planner */
.planner-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 18px; }
.planner-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.checklist input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.checklist input:checked + span { text-decoration: line-through; color: var(--muted); }
[hidden] { display: none !important; }

@media print {
  .site-header, .site-footer, .disclosure-strip, .planner-actions, .cta-band, .page-hero .callout, .skip-link { display: none !important; }
  body { background: #fff; }
  .card, fieldset, .stat { box-shadow: none; break-inside: avoid; }
}
.aff-label { align-self: center; font-size: .75rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }

/* Referral button with its disclosure beside it */
.aff { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 10px; }
.aff-label a { color: inherit; }
/* Owner route cards */
.route-card h4 { font-size: .95rem; margin: 14px 0 4px; color: var(--teal-dark); }
.route-card ul { padding-left: 1.1em; margin: 0; font-size: .93rem; }
.route-card p { font-size: .93rem; }
.route-card .route-sum { font-size: 1rem; color: var(--ink); }
.benefit-note { margin: 0 0 14px; font-size: .92rem; color: var(--muted); }
.benefit-note-inline { display: block; margin-top: 6px; font-size: .9rem; color: var(--muted); }
