/* timesharegs.com — Timeshare Global Solutions Limited. Brand green from the TGS logo (#47704C). */
:root {
  --green-950: #0f2215;
  --green-900: #16301f;
  --green-800: #1f3b27;
  --green-700: #2b4f35;
  --green-600: #47704c;
  --green-100: #e3ece2;
  --green-50: #f1f6f0;
  --gold: #e7b34d;
  --gold-600: #c9932c;
  --ink: #1b221d;
  --muted: #56615a;
  --line: #dfe6de;
  --tint: #f7f6f1;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16, 34, 21, 0.06), 0 8px 24px rgba(16, 34, 21, 0.06);
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-600); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; color: var(--green-900); margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--green-950); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* Header */
.site-header { background: var(--green-900); position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand img { width: 44px; height: auto; }
.brand-name { font-family: var(--serif); font-size: 1.05rem; line-height: 1.15; font-weight: 700; color: var(--white); }
.brand-name small { display: block; font-family: var(--sans); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.65); }
.nav-desktop { display: none; gap: 4px; }
.nav-desktop a, .nav-mobile nav a { color: rgba(255, 255, 255, 0.86); text-decoration: none; font-size: 0.93rem; font-weight: 500; padding: 8px 10px; border-radius: 8px; }
.nav-desktop a:hover, .nav-mobile nav a:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.nav-desktop a[aria-current="page"], .nav-mobile nav a[aria-current="page"] { color: var(--gold); }
.nav-mobile summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border-radius: 10px; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; }
.nav-mobile nav { position: absolute; left: 0; right: 0; top: 72px; background: var(--green-900); padding: 8px 16px 18px; display: grid; border-bottom: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2); }
.nav-mobile nav a { padding: 12px 10px; font-size: 1rem; }
@media (min-width: 1080px) { .nav-desktop { display: flex; } .nav-mobile { display: none; } }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 0.97rem; text-decoration: none; border: 1.5px solid transparent; transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
.btn-gold { background: var(--gold); color: var(--green-950); }
.btn-gold:hover { background: #f0c46a; color: var(--green-950); }
.btn-green { background: var(--green-700); color: var(--white); }
.btn-green:hover { background: var(--green-600); color: var(--white); }
.btn-ghost { border-color: var(--green-600); color: var(--green-800); background: transparent; }
.btn-ghost:hover { background: var(--green-50); color: var(--green-900); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.7); color: var(--white); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }
.link-strong { font-weight: 600; }
.icon { width: 26px; height: 26px; }
.icon-sm { width: 18px; height: 18px; flex-shrink: 0; }

/* Hero */
.hero { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(1200px 500px at 85% -10%, rgba(231, 179, 77, 0.18), transparent 60%), linear-gradient(160deg, var(--green-800), var(--green-950)); padding: 64px 0 28px; }
.hero h1 { color: var(--white); max-width: 17ch; }
.hero .lead { color: rgba(255, 255, 255, 0.86); max-width: 58ch; font-size: 1.12rem; }
.hero-inner { display: grid; gap: 32px; align-items: center; }
.hero-mark { display: none; justify-self: end; opacity: 0.9; }
.hero-mark img { width: 220px; }
@media (min-width: 900px) { .hero { padding: 96px 0 36px; } .hero-inner { grid-template-columns: 1fr auto; } .hero-mark { display: block; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-600); margin: 0 0 12px; }
.eyebrow-light { color: var(--gold); }
.lead { font-size: 1.1rem; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 52px; }
.facts div { border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 14px; }
.facts strong { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--gold); }
.facts span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.78); }
@media (min-width: 800px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }

.page-hero { background: linear-gradient(180deg, var(--green-50), var(--white)); padding: 56px 0 24px; border-bottom: 1px solid var(--line); }
.page-hero .lead { max-width: 64ch; }
.page-hero-phc { background: radial-gradient(900px 400px at 90% 0%, rgba(231, 179, 77, 0.22), transparent 60%), linear-gradient(160deg, var(--green-800), var(--green-950)); border: 0; }
.page-hero-phc h1 { color: var(--white); }
.page-hero-phc .lead { color: rgba(255, 255, 255, 0.86); }
.page-hero-phc .eyebrow { color: var(--gold); }
.page-hero-phc .btn-ghost { border-color: rgba(255, 255, 255, 0.7); color: var(--white); }
.page-hero-phc .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.phc-hero { display: grid; gap: 28px; align-items: center; padding-bottom: 32px; }
.phc-hero img { width: 180px; }
@media (min-width: 900px) { .phc-hero { grid-template-columns: 1fr auto; } .phc-hero img { width: 240px; } }

/* Sections */
.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 80px 0; } }
.section-tint { background: var(--tint); }
.section-lead { color: var(--muted); max-width: 60ch; margin-bottom: 32px; }
.cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; scroll-margin-top: 96px; }
.card p { color: var(--muted); }
.card a, .site-footer a { overflow-wrap: anywhere; }
.card h3 { margin-top: 4px; }
.card-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: auto 0 0; padding-top: 8px; }
.card-links span { color: var(--line); }
.card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--green-50); color: var(--green-700); display: grid; place-content: center; margin-bottom: 14px; }
.card-logo { height: 104px; border-radius: 12px; display: grid; place-content: center; margin-bottom: 16px; padding: 12px; }
.card-logo img { max-height: 80px; width: auto; }
.card-logo-light { background: var(--green-50); }
.card-logo-dark { background: var(--green-900); }
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; } }
.checks { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .icon-sm { color: var(--green-600); margin-top: 4px; }
.checks-grid { grid-template-columns: 1fr; }
@media (min-width: 700px) { .checks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mt { margin-top: 48px; }
.note { margin-top: 36px; background: var(--green-50); border: 1px solid var(--green-100); border-radius: var(--radius); padding: 24px; }
.note h2 { font-size: 1.35rem; }
.note p:last-child { margin-bottom: 0; }
.stack { display: grid; gap: 28px; }
.feature { display: grid; gap: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); scroll-margin-top: 96px; }
.feature-logo { border-radius: 14px; display: grid; place-content: center; padding: 24px; min-height: 140px; }
.feature-logo img { width: 100%; max-width: 260px; height: auto; }
@media (min-width: 900px) { .feature { grid-template-columns: 320px 1fr; padding: 32px; gap: 40px; } .feature-logo { min-height: 220px; } }
.prose { max-width: 760px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }

/* Contact band */
.contact-band { background: var(--green-50); border-top: 1px solid var(--green-100); padding: 44px 0; }
.contact-band-inner { display: grid; gap: 20px; align-items: center; }
.contact-band h2 { margin-bottom: 0.2em; }
.contact-band p { margin: 0; color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-actions .btn-gold { overflow-wrap: anywhere; }
@media (min-width: 900px) { .contact-band-inner { grid-template-columns: 1fr auto; } }

/* Membership terms */
.terms { max-width: 820px; font-size: 1rem; }
.terms ol, .terms ul { padding-left: 1.4em; margin: 0 0 1em; }
.terms ol > li::marker { font-family: var(--serif); font-weight: 700; color: var(--green-800); }
.terms li { margin-bottom: 0.35em; }
.terms li p, .terms p { margin: 0 0 0.6em; }
.terms .term-heading { font-family: var(--serif); font-size: 1.15rem; color: var(--green-900); display: inline-block; margin-top: 0.8em; }
.terms .term-level { margin-top: 1.2em; font-family: var(--serif); color: var(--green-800); }

/* Footer */
.site-footer { background: var(--green-950); color: rgba(255, 255, 255, 0.78); padding: 48px 0 24px; font-size: 0.95rem; }
.site-footer a { color: rgba(255, 255, 255, 0.9); }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-brand { font-family: var(--serif); font-size: 1.15rem; color: var(--white); font-weight: 700; }
.footer-h { color: var(--gold); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 10px; }
.footer-h2 { margin-top: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 36px; padding-top: 18px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
