/* ==========================================================================
   GroundTeq Fuel - public website
   ========================================================================== */
:root {
    --gt-green: #3bb202;
    --gt-green-600: #329a02;
    --gt-green-700: #2a8002;
    --gt-green-rgb: 59, 178, 2;
    --gt-ink: #0f1b2d;
    --gt-ink-2: #1f2a3c;
    --gt-muted: #5f6f86;
    --gt-surface: #f4f7f2;
    --bs-font-sans-serif: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --bs-body-color: #1f2a3c;
    --bs-link-color: var(--gt-green-600);
    --bs-link-color-rgb: 50, 154, 2;
    --bs-link-hover-color: var(--gt-green-700);
    --bs-link-hover-color-rgb: 42, 128, 2;
    --site-header-h: 76px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--site-header-h); }
body.site { font-family: var(--bs-font-sans-serif); color: var(--bs-body-color); -webkit-font-smoothing: antialiased; background: #fff; }
.text-brand { color: var(--gt-green) !important; }
.anchor-alias { position: relative; top: calc(-1 * var(--site-header-h)); display: block; height: 0; }

/* ---- Buttons ---- */
.btn-brand {
    --bs-btn-color: #fff; --bs-btn-bg: var(--gt-green); --bs-btn-border-color: var(--gt-green);
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--gt-green-600); --bs-btn-hover-border-color: var(--gt-green-600);
    --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--gt-green-700); --bs-btn-active-border-color: var(--gt-green-700);
    --bs-btn-disabled-bg: var(--gt-green); --bs-btn-disabled-border-color: var(--gt-green);
    --bs-btn-focus-shadow-rgb: var(--gt-green-rgb);
    font-weight: 600; box-shadow: 0 8px 24px rgba(var(--gt-green-rgb), .28);
}
.btn-glass {
    --bs-btn-color: #fff; --bs-btn-border-color: rgba(255, 255, 255, .45); --bs-btn-bg: rgba(255, 255, 255, .08);
    --bs-btn-hover-color: var(--gt-ink); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff;
    font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.form-control:focus, .form-select:focus { border-color: rgba(var(--gt-green-rgb), .6); box-shadow: 0 0 0 .2rem rgba(var(--gt-green-rgb), .18); }

/* ---- Header ---- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 1030; transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s; }
.site-header .navbar { min-height: var(--site-header-h); }
.site-header .nav-link { font-weight: 600; font-size: .92rem; padding: .5rem .8rem !important; border-radius: 999px; }
.site-header .navbar-toggler { color: inherit; }
.site-header .logo-dark { display: none; }

/* transparent over hero */
.site-has-hero .site-header:not(.is-scrolled) .nav-link,
.site-has-hero .site-header:not(.is-scrolled) .navbar-toggler { color: #fff; }
.site-has-hero .site-header:not(.is-scrolled) .nav-link:hover { background: rgba(255, 255, 255, .12); }

/* solid */
.site-solid .site-header, .site-header.is-scrolled {
    background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
    box-shadow: 0 1px 0 rgba(15, 27, 45, .06), 0 8px 30px rgba(15, 27, 45, .06);
}
.site-solid .site-header .logo-light, .site-header.is-scrolled .logo-light { display: none; }
.site-solid .site-header .logo-dark, .site-header.is-scrolled .logo-dark { display: inline; }
.site-solid .site-header .nav-link, .site-header.is-scrolled .nav-link { color: var(--gt-ink-2); }
.site-solid .site-header .nav-link:hover, .site-header.is-scrolled .nav-link:hover { background: rgba(var(--gt-green-rgb), .1); color: var(--gt-green-700); }
.site-solid main { padding-top: var(--site-header-h); }

@media (max-width: 991.98px) {
    .site-header .navbar-collapse { background: #fff; border-radius: 16px; padding: .75rem; margin: .25rem 0 1rem; box-shadow: 0 20px 50px rgba(15, 27, 45, .18); }
    .site-header .navbar-collapse .nav-link { color: var(--gt-ink-2) !important; }
    .site-header .navbar-collapse .nav-link:hover { background: rgba(var(--gt-green-rgb), .1) !important; }
}

/* ---- Hero ---- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--gt-ink); padding: calc(var(--site-header-h) + 2.5rem) 0 4rem; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.03); }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background:
        radial-gradient(900px 500px at 15% 30%, rgba(15, 27, 45, .85), transparent 70%),
        linear-gradient(180deg, rgba(10, 19, 34, .7) 0%, rgba(10, 19, 34, .45) 45%, rgba(10, 19, 34, .85) 100%);
}
.hero .container { z-index: 2; }
.min-vh-hero { min-height: calc(100vh - var(--site-header-h) - 6.5rem); }
.hero-title { font-size: clamp(2.2rem, 4.8vw, 3.7rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; margin: .9rem 0 .8rem; text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.hero-subtitle { font-size: clamp(1.1rem, 2vw, 1.4rem); color: #d7e2f0; font-weight: 500; margin-bottom: 1.6rem; }
.hero-points { display: flex; flex-direction: column; gap: .7rem; margin: 0; }
.hero-points li { display: flex; align-items: center; gap: .75rem; font-weight: 600; font-size: 1.02rem; }
@media (max-width: 991.98px) { .hero-points { align-items: center; } }
.hero-point-icon { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(var(--gt-green-rgb), .2); color: #8be35a; border: 1px solid rgba(var(--gt-green-rgb), .45); }
.hero-card { filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45)); max-height: 480px; width: auto; animation: gt-float 7s ease-in-out infinite; }
@keyframes gt-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-scroll { position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%); z-index: 2; color: rgba(255, 255, 255, .8); font-size: 1.5rem; animation: gt-bounce 2s infinite; }
@keyframes gt-bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

.eyebrow { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gt-green-700); background: rgba(var(--gt-green-rgb), .1); padding: .35rem .8rem; border-radius: 999px; }
.eyebrow-light { color: #b8f095; background: rgba(var(--gt-green-rgb), .18); border: 1px solid rgba(var(--gt-green-rgb), .35); }

/* ---- Sections ---- */
.section { padding: 5.5rem 0; position: relative; }
.section-muted { background: var(--gt-surface); }
.section-head { max-width: 720px; margin: 0 auto 3rem; }
.section-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -.025em; margin: .9rem 0 .7rem; color: var(--gt-ink); }
.section-lead { color: var(--gt-muted); font-size: 1.1rem; margin-bottom: 0; }

.feature-card { background: #fff; border: 1px solid #e7ecf3; border-radius: 20px; padding: 2rem; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(15, 27, 45, .09); border-color: rgba(var(--gt-green-rgb), .35); }
.feature-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: linear-gradient(135deg, var(--gt-green), #1f7a00); box-shadow: 0 10px 24px rgba(var(--gt-green-rgb), .3); margin-bottom: 1.25rem; }
.feature-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--gt-ink); }
.feature-card p { color: var(--gt-muted); margin: 0; line-height: 1.65; }

.call-band { background: linear-gradient(120deg, var(--gt-green-700), var(--gt-green) 60%, #58c81f); color: #fff; padding: 2.5rem 0; }

.program-text { color: #3b4a60; font-size: 1.04rem; line-height: 1.75; }
.callout { display: inline-flex; align-items: center; font-weight: 800; letter-spacing: .04em; color: var(--gt-green-700); background: #fff; border: 1px solid rgba(var(--gt-green-rgb), .35); border-radius: 12px; padding: .75rem 1.1rem; margin: .25rem 0 1.25rem; box-shadow: 0 8px 20px rgba(var(--gt-green-rgb), .12); }
.stat-tile { background: #fff; border-radius: 20px; padding: 1.5rem; border: 1px solid #e3eadc; box-shadow: 0 10px 30px rgba(15, 27, 45, .05); }
.stat-tile i { font-size: 1.6rem; color: var(--gt-green); }
.stat-title { font-size: 1.6rem; font-weight: 800; color: var(--gt-ink); margin-top: .6rem; letter-spacing: -.02em; }
.stat-text { color: var(--gt-muted); font-size: .92rem; }

.video-band { position: relative; height: min(80vh, 640px); overflow: hidden; display: flex; align-items: center; background: var(--gt-ink); }
.video-band video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 19, 34, .35), rgba(10, 19, 34, .55)); }
.video-caption { color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; max-width: 820px; margin: 0 auto; text-shadow: 0 4px 30px rgba(0, 0, 0, .4); }

.contact-card { background: #fff; border: 1px solid #e7ecf3; border-radius: 24px; padding: clamp(1.25rem, 4vw, 2.5rem); box-shadow: 0 24px 60px rgba(15, 27, 45, .08); }
.contact-card .form-label { font-weight: 600; font-size: .88rem; }
.contact-card .form-control { border-radius: 12px; font-size: 1rem; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.map-card { position: relative; display: block; border-radius: 24px; overflow: hidden; height: 220px; border: 1px solid #e7ecf3; }
.map-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.map-card:hover img { transform: scale(1.04); }
.map-pin { position: absolute; left: 1rem; bottom: 1rem; background: #fff; color: var(--gt-ink); font-weight: 700; font-size: .85rem; padding: .4rem .8rem; border-radius: 999px; box-shadow: 0 8px 20px rgba(15, 27, 45, .15); }
.map-pin i { color: #e11d48; }
.info-card { background: var(--gt-surface); border-radius: 20px; padding: 1.5rem; }
.info-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--gt-ink); margin-bottom: .75rem; }
.info-line { display: flex; gap: .75rem; align-items: flex-start; color: #3b4a60; text-decoration: none; padding: .35rem 0; font-weight: 500; }
.info-line i { color: var(--gt-green); font-size: 1.1rem; }
.info-line:hover { color: var(--gt-green-700); }

.thanks-section { min-height: calc(100vh - var(--site-header-h) - 180px); display: flex; align-items: center; }
.thanks-card { max-width: 560px; background: #fff; border: 1px solid #e7ecf3; border-radius: 24px; padding: 3rem 2rem; box-shadow: 0 24px 60px rgba(15, 27, 45, .08); }
.thanks-icon { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 1.25rem; display: grid; place-items: center; font-size: 2.4rem; color: #fff; background: linear-gradient(135deg, var(--gt-green), #1f7a00); box-shadow: 0 16px 40px rgba(var(--gt-green-rgb), .35); }

/* ---- Footer ---- */
.site-footer { background: var(--gt-ink); color: #a9b6c8; padding: 3rem 0 2rem; }
.site-footer a { color: #d7e2f0; text-decoration: none; font-weight: 500; }
.site-footer a:hover { color: #8be35a; }
.site-footer .list-inline-item:not(:last-child) { margin-right: 1.25rem; }
.site-footer hr { border-color: rgba(255, 255, 255, .1); opacity: 1; margin: 1.75rem 0 1.25rem; }

/* ---- Reveal on scroll ---- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    .hero-card, .hero-scroll { animation: none; }
}

/* ---- Payment page (public layout) ---- */
.pay-shell { padding: 3rem 0 4rem; background: var(--gt-surface); min-height: calc(100vh - var(--site-header-h) - 180px); }
.pay-shell .card { border-radius: 20px; border-color: #e7ecf3; box-shadow: 0 20px 50px rgba(15, 27, 45, .06); }
.pay-shell .card-header { background: transparent; border-bottom-color: #e7ecf3; padding: 1.1rem 1.4rem; }
.pay-shell .card-body { padding: 1.4rem; }
.site .btn-primary {
    --bs-btn-bg: var(--gt-green); --bs-btn-border-color: var(--gt-green);
    --bs-btn-hover-bg: var(--gt-green-600); --bs-btn-hover-border-color: var(--gt-green-600);
    --bs-btn-active-bg: var(--gt-green-700); --bs-btn-active-border-color: var(--gt-green-700);
    --bs-btn-disabled-bg: var(--gt-green); --bs-btn-disabled-border-color: var(--gt-green);
    --bs-btn-focus-shadow-rgb: var(--gt-green-rgb); font-weight: 600;
}
.result-icon { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center; font-size: 2.4rem; }
.result-icon.ok { color: #fff; background: linear-gradient(135deg, var(--gt-green), #1f7a00); box-shadow: 0 16px 40px rgba(var(--gt-green-rgb), .35); }
.result-icon.bad { color: #fff; background: linear-gradient(135deg, #f43f5e, #be123c); box-shadow: 0 16px 40px rgba(225, 29, 72, .3); }
.result-icon.held { color: #fff; background: linear-gradient(135deg, #f59e0b, #b45309); box-shadow: 0 16px 40px rgba(217, 119, 6, .3); }
.hero-ctas .btn { white-space: nowrap; }
