/* =========================================================================
   GroundingtoGo — Website UI kit styles
   Relies on tokens from ../../colors_and_type.css
   ========================================================================= */
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }

/* ---- shared bits ------------------------------------------------------- */
.gtg-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; color: var(--ink-muted-48); display: inline-block; }
.gtg-eyebrow--on-dark { color: var(--body-muted); }
.gtg-section-title { font-family: var(--font-display); font-size: 40px; font-weight: 500; letter-spacing: -0.3px; line-height: 1.1; margin: 12px 0 0; color: var(--ink); }
.gtg-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--clay); display: inline-block; flex: none; }

.gtg-pill { font-family: var(--font-sans); font-size: 16px; font-weight: 500; color: #fff; background: var(--clay); border: 0; border-radius: var(--r-pill); padding: 13px 26px; cursor: pointer; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform var(--dur) var(--ease-quiet), background var(--dur) var(--ease-quiet); }
.gtg-pill:hover { background: #416579; }
.gtg-pill:active { transform: var(--press); }
.gtg-pill--sm { padding: 8px 17px; font-size: 14px; }
.gtg-pill--block { width: 100%; padding: 15px; margin-top: 22px; }
.gtg-pill--ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.6); }
.gtg-pill--ghost-light:hover { background: rgba(255,255,255,0.12); }

.gtg-textlink { color: var(--clay); font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; text-decoration: none; transition: gap var(--dur) var(--ease-quiet); }
.gtg-textlink:hover { gap: 10px; }
.gtg-textlink--on-dark { color: var(--clay-on-dark); }

/* ---- nav --------------------------------------------------------------- */
.gtg-nav-wrap { position: sticky; top: 0; z-index: 50; }
.gtg-globalnav { height: 44px; background: var(--black); color: var(--body-on-dark); display: flex; align-items: center; gap: 28px; padding: 0 30px; }
.gtg-brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 17px; font-weight: 500; letter-spacing: -0.3px; color: var(--body-on-dark); text-decoration: none; }
.gtg-brand .gtg-dot { width: 11px; height: 11px; }
.gtg-wordmark em { font-style: italic; font-weight: 500; letter-spacing: 0; }
.gtg-nav-links { display: flex; gap: 24px; }
.gtg-nav-links a { color: var(--body-on-dark); opacity: 0.82; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.gtg-nav-links a:hover { opacity: 1; }
.gtg-nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.gtg-iconbtn { width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; color: var(--body-on-dark); display: grid; place-items: center; cursor: pointer; opacity: 0.85; }
.gtg-iconbtn:hover { opacity: 1; }
.gtg-utility { background: var(--canvas); color: var(--ink); border: 0; border-radius: var(--r-sm); padding: 7px 14px; font-family: var(--font-sans); font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: transform var(--dur) var(--ease-quiet); }
.gtg-utility:active { transform: var(--press); }

.gtg-subnav { height: 54px; display: flex; align-items: center; gap: 22px; padding: 0 30px; background: rgba(241,233,220,0.82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--hairline); }
.gtg-subcat { font-family: var(--font-display); font-size: 21px; font-weight: 500; color: var(--ink); }
.gtg-sublinks { display: flex; gap: 20px; }
.gtg-sublinks a { color: var(--ink); font-size: 14px; text-decoration: none; opacity: 0.78; white-space: nowrap; }
.gtg-sublinks a:hover { opacity: 1; }
.gtg-subspacer { flex: 1; }

/* ---- photo placeholder ------------------------------------------------- */
.gtg-photo { position: relative; border-radius: var(--r-sm); overflow: hidden; background-size: cover; background-position: center; }
.gtg-photo--raised { box-shadow: var(--shadow-image); }
.gtg-photo-tag { position: absolute; left: 16px; bottom: 14px; font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.92); text-shadow: 0 1px 6px rgba(0,0,0,0.3); }

/* ---- hero -------------------------------------------------------------- */
.gtg-hero { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.gtg-hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,17,13,0.55) 0%, rgba(20,17,13,0.2) 55%, rgba(20,17,13,0) 100%); }
.gtg-hero-inner { position: relative; max-width: 1180px; width: 100%; margin: 0 auto; padding: 0 48px; }
.gtg-hero-title { font-family: var(--font-display); font-size: 84px; font-weight: 500; line-height: 1.0; letter-spacing: -1px; color: #fff; margin: 16px 0 0; }
.gtg-hero-lead { font-size: 22px; line-height: 1.4; color: rgba(255,255,255,0.92); max-width: 440px; margin: 22px 0 0; }
.gtg-hero-cta { display: flex; gap: 14px; margin-top: 32px; }

/* ---- split tiles ------------------------------------------------------- */
.gtg-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; background: var(--canvas); }
.gtg-split:nth-of-type(odd) { background: var(--sand); }
.gtg-split--dark { background: var(--tile-1) !important; }
.gtg-tile-copy { display: flex; flex-direction: column; align-items: stretch; justify-content: center; padding: 80px clamp(40px, 6vw, 88px); }
.gtg-tile-copy > * { flex-shrink: 0; }
.gtg-split--dark .gtg-tile-copy { color: var(--body-on-dark); }
.gtg-tile-title { font-family: var(--font-display); font-size: 44px; font-weight: 500; line-height: 1.08; letter-spacing: -0.4px; margin: 14px 0 0; color: inherit; max-width: 12ch; text-wrap: balance; }
.gtg-split--dark .gtg-tile-title { color: var(--body-on-dark); }
.gtg-tile-lead { font-size: 19px; line-height: 1.5; margin: 18px 0 0; max-width: 420px; color: var(--ink-muted-80); }
.gtg-split--dark .gtg-tile-lead { color: var(--body-muted); }
.gtg-tile-actions { margin-top: 26px; }
.gtg-tile-actions .gtg-textlink { align-self: flex-start; }

/* ---- how it works ------------------------------------------------------ */
.gtg-how { background: var(--canvas); padding: 96px 48px; max-width: 1240px; margin: 0 auto; }
.gtg-how-head { max-width: 620px; }
.gtg-how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; }
.gtg-step { border-top: 1px solid var(--hairline); padding-top: 24px; }
.gtg-step-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--sand); color: var(--ink); display: grid; place-items: center; margin-bottom: 20px; }
.gtg-step-n { font-family: var(--font-display); font-size: 15px; color: var(--clay); font-weight: 600; }
.gtg-step-title { font-family: var(--font-display); font-size: 24px; font-weight: 500; letter-spacing: -0.2px; margin: 6px 0 0; }
.gtg-step-body { font-size: 16px; line-height: 1.55; color: var(--ink-muted-80); margin: 12px 0 0; }

/* ---- trip grid --------------------------------------------------------- */
.gtg-grid-section { background: var(--sand); padding: 96px 48px; }
.gtg-grid-head { max-width: 1240px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.gtg-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.gtg-chip { background: var(--white); color: var(--ink); border: 1px solid var(--hairline); border-radius: var(--r-pill); padding: 9px 18px; font-family: var(--font-sans); font-size: 14px; font-weight: 500; cursor: pointer; transition: transform var(--dur) var(--ease-quiet); }
.gtg-chip:active { transform: var(--press); }
.gtg-chip--sel { border: 2px solid var(--clay-focus); padding: 8px 17px; color: var(--clay); }
.gtg-grid { max-width: 1240px; margin: 40px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gtg-card { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 16px; cursor: pointer; transition: transform var(--dur) var(--ease-quiet); }
.gtg-card:hover { transform: translateY(-3px); }
.gtg-card .gtg-photo { aspect-ratio: 4 / 3; }
.gtg-card-body { padding: 16px 6px 6px; }
.gtg-card-title { font-family: var(--font-display); font-size: 22px; font-weight: 500; letter-spacing: -0.2px; margin: 0; }
.gtg-card-meta { font-size: 14px; color: var(--ink-muted-48); margin: 4px 0 0; }
.gtg-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.gtg-card-price { font-size: 16px; font-weight: 600; color: var(--ink); }

/* ---- quote tile -------------------------------------------------------- */
.gtg-quote { position: relative; min-height: 480px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gtg-quote-scrim { position: absolute; inset: 0; background: rgba(20,17,13,0.5); }
.gtg-quote-inner { position: relative; max-width: 880px; text-align: center; padding: 0 48px; margin: 0; }
.gtg-quote-text { font-family: var(--font-display); font-size: 40px; font-weight: 500; font-style: italic; line-height: 1.22; letter-spacing: -0.3px; color: #fff; margin: 0; }
.gtg-quote-by { font-size: 15px; letter-spacing: 0.5px; color: rgba(255,255,255,0.78); margin-top: 24px; }

/* ---- closer + footer --------------------------------------------------- */
.gtg-closer { background: var(--canvas); text-align: center; padding: 110px 48px; }
.gtg-closer-title { font-family: var(--font-display); font-size: 56px; font-weight: 500; letter-spacing: -0.6px; line-height: 1.05; margin: 14px 0 32px; }
.gtg-footer { background: var(--sand); padding: 64px 48px 40px; }
.gtg-footer-cols { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.gtg-brand--ink { color: var(--ink); }
.gtg-footer-sign { font-family: var(--font-script); font-size: 26px; line-height: 1.2; color: var(--clay); margin: 18px 0 0; }
.gtg-footer-col { display: flex; flex-direction: column; }
.gtg-footer-h { font-size: 14px; font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.gtg-footer-col a { font-size: 15px; line-height: 2.1; color: var(--ink-muted-80); text-decoration: none; }
.gtg-footer-col a:hover { color: var(--clay); }
.gtg-footer-legal { max-width: 1240px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-muted-48); gap: 16px; flex-wrap: wrap; }

/* ---- modal ------------------------------------------------------------- */
.gtg-modal-scrim { position: fixed; inset: 0; z-index: 100; background: rgba(20,17,13,0.46); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 24px; animation: gtg-fade var(--dur) var(--ease-quiet); }
.gtg-modal { position: relative; background: var(--canvas); border-radius: var(--r-lg); width: 100%; max-width: 460px; padding: 40px; animation: gtg-rise var(--dur) var(--ease-quiet); }
.gtg-modal-close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--sand); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.gtg-modal-title { font-family: var(--font-display); font-size: 30px; font-weight: 500; letter-spacing: -0.3px; line-height: 1.1; margin: 12px 0 0; }
.gtg-modal-sub { font-size: 16px; line-height: 1.5; color: var(--ink-muted-80); margin: 12px 0 0; }
.gtg-field-label { font-size: 13px; font-weight: 600; color: var(--ink); margin: 24px 0 10px; }
.gtg-chiprow { display: flex; flex-wrap: wrap; gap: 10px; }
.gtg-input { margin-top: 24px; }
.gtg-input input { width: 100%; font-family: var(--font-sans); font-size: 17px; color: var(--ink); background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-pill); padding: 14px 20px; outline: none; }
.gtg-input input:focus { border-color: var(--clay); box-shadow: var(--ring-focus); }
.gtg-modal-back { margin: 16px auto 0; display: block; }
.gtg-modal-done { text-align: center; }
.gtg-done-mark { width: 60px; height: 60px; border-radius: 50%; background: var(--clay); color: #fff; display: grid; place-items: center; margin: 0 auto 8px; }

@keyframes gtg-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes gtg-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ---- responsive -------------------------------------------------------- */
@media (max-width: 960px) {
  .gtg-grid, .gtg-how-grid { grid-template-columns: repeat(2, 1fr); }
  .gtg-footer-cols { grid-template-columns: 1fr 1fr; }
  .gtg-hero-title { font-size: 60px; }
  .gtg-split { grid-template-columns: 1fr; }
  .gtg-split .gtg-photo { min-height: 320px !important; height: 320px !important; }
}
@media (max-width: 600px) {
  .gtg-grid, .gtg-how-grid, .gtg-footer-cols { grid-template-columns: 1fr; }
  .gtg-nav-links, .gtg-sublinks { display: none; }
  .gtg-hero-title { font-size: 46px; }
  .gtg-section-title { font-size: 30px; }
}
