/* ═══════════════════════════════════════════════════════════════
   QJUMPER — SHARED DESIGN SYSTEM (May 2026)
   Apple / Tesla aesthetic: 80%+ white/light, #f5f5f7 tiles,
   #1d1d1f near-black text, QJumper gold used sparingly.
   Brand: Simple · Bulletproof · Proven · Local
   Proposition: Effortless Hospitality
═══════════════════════════════════════════════════════════════ */

/* ── Design tokens ── */
:root {
    --white:           #ffffff;
    --tile:            #f5f5f7;
    --tile-warm:       #faf8f5;
    --text:            #1d1d1f;
    --text-2:          #6e6e73;
    --text-3:          #86868b;
    --divider:         #d2d2d7;
    --gold:            #b8893a;
    --gold-bright:     #c8a04e;
    --gold-bg:         rgba(184,137,58,0.08);
    --gold-border:     rgba(184,137,58,0.25);
    --gold-pill-bg:    #b8893a;
    --gold-pill-hover: #9e7730;
    --radius-sm:       8px;
    --radius:          18px;
    --radius-lg:       24px;
    --ease:            cubic-bezier(0.4,0,0.2,1);
    --shadow-card:     0 2px 12px rgba(0,0,0,0.06);
    --shadow-hover:    0 16px 48px rgba(0,0,0,0.09);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Containers ── */
.container        { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container-wide   { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 740px;  margin: 0 auto; padding: 0 24px; }

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION — frosted glass, white, slim
═══════════════════════════════════════════════════════════════ */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: 48px;
    background: rgba(255,255,255,0.88);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    transition: background 0.3s;
}
.nav.scrolled { background: rgba(255,255,255,0.96); }
.nav-inner {
    max-width: 1080px; margin: 0 auto; padding: 0 24px;
    height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 28px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; list-style: none; gap: 0; }
.nav-links li a {
    font-size: 0.78rem; font-weight: 400; color: var(--text);
    padding: 6px 10px; border-radius: 6px;
    transition: opacity 0.2s; white-space: nowrap;
}
.nav-links li a:hover { opacity: 0.55; }
.nav-links li a.active { font-weight: 600; }
.nav-cta-pill {
    background: var(--gold-pill-bg) !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 0.78rem !important;
    padding: 7px 15px !important;
    border-radius: 100px !important;
    margin-left: 8px;
    transition: background 0.2s, transform 0.15s !important;
    opacity: 1 !important;
}
.nav-cta-pill:hover { background: var(--gold-pill-hover) !important; transform: scale(1.02); }
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; padding: 8px; cursor: pointer;
}
.hamburger span {
    display: block; width: 20px; height: 1.5px;
    background: var(--text); border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px,4.5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px,-4.5px); }

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════════ */
.btn-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--gold-pill-bg); color: #fff;
    font-size: 0.9rem; font-weight: 600;
    padding: 13px 26px; border-radius: 100px;
    border: none; cursor: pointer; font-family: inherit;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap; letter-spacing: -0.01em;
    text-decoration: none;
}
.btn-pill:hover { background: var(--gold-pill-hover); transform: scale(1.02); }
.btn-pill-outline {
    display: inline-flex; align-items: center; gap: 6px;
    background: transparent; color: var(--gold);
    font-size: 0.9rem; font-weight: 600;
    padding: 12px 26px; border-radius: 100px;
    border: 1.5px solid var(--gold-border); cursor: pointer; font-family: inherit;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    white-space: nowrap; letter-spacing: -0.01em;
    text-decoration: none;
}
.btn-pill-outline:hover { background: var(--gold-bg); border-color: var(--gold); transform: scale(1.02); }

/* Apple "Learn more ›" link */
.apple-link {
    font-size: 0.85rem; font-weight: 500; color: var(--gold);
    display: inline-flex; align-items: center; gap: 3px;
    transition: gap 0.15s; text-decoration: none;
}
.apple-link:hover { gap: 7px; }

/* ═══════════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
═══════════════════════════════════════════════════════════════ */
.page-hero {
    background: var(--tile);
    padding: 120px 0 80px;
    border-bottom: 1px solid var(--divider);
    text-align: center;
}
.page-hero-eyebrow {
    display: inline-block; font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 14px;
}
.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700;
    color: var(--text); letter-spacing: -0.038em;
    line-height: 1.08; margin-bottom: 18px;
}
.page-hero h1 .gold { color: var(--gold); }
.page-hero-desc {
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    color: var(--text-2); max-width: 520px;
    margin: 0 auto 32px; line-height: 1.65;
}
.pill-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════════
   SECTION WRAPPERS + TYPOGRAPHY
═══════════════════════════════════════════════════════════════ */
.sec       { padding: 96px 0; }
.sec-white { background: var(--white); }
.sec-tile  { background: var(--tile); }
.sec-warm  { background: var(--tile-warm); }

.sec-header { text-align: center; margin-bottom: 60px; }
.sec-header.left { text-align: left; }

.sec-eyebrow {
    display: block; font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 12px;
}
.sec-title {
    font-size: clamp(1.8rem, 3.8vw, 3.1rem); font-weight: 700;
    color: var(--text); letter-spacing: -0.032em;
    line-height: 1.1; margin-bottom: 14px;
}
.sec-title .gold { color: var(--gold); }
.sec-desc {
    font-size: 1rem; color: var(--text-2);
    max-width: 500px; margin: 0 auto; line-height: 1.65;
}
.sec-header.left .sec-desc { margin: 0; }

/* ═══════════════════════════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════════════════════════ */
.stats-bar { background: var(--white); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.stats-inner { display: flex; align-items: stretch; }
.stat-item { flex: 1; text-align: center; padding: 32px 20px; border-right: 1px solid var(--divider); }
.stat-item:last-child { border-right: none; }
.stat-num {
    display: block; font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 700;
    color: var(--gold); letter-spacing: -0.04em; line-height: 1; margin-bottom: 6px;
}
.stat-label { font-size: 0.74rem; color: var(--text-2); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }

/* ═══════════════════════════════════════════════════════════════
   CARDS & LISTS
═══════════════════════════════════════════════════════════════ */
.card {
    background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid var(--divider);
    transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.card-on-tile { background: var(--white); }

.check-dot {
    width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
    background: var(--gold-bg); border: 1.5px solid var(--gold-border);
    display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.check-dot::after {
    content: '';
    display: block; width: 8px; height: 5px;
    border-left: 1.8px solid var(--gold); border-bottom: 1.8px solid var(--gold);
    transform: rotate(-45deg) translateY(-1px);
}

.feature-list { display: flex; flex-direction: column; gap: 12px; }
.feature-list-item { display: flex; align-items: flex-start; gap: 12px; }
.feature-list-item p { font-size: 0.875rem; color: var(--text-2); line-height: 1.6; }

/* Icon circle */
.icon-circle {
    width: 48px; height: 48px; border-radius: 14px;
    background: var(--gold-bg); border: 1px solid var(--gold-border);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 1.4rem;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT / DEMO FORM
═══════════════════════════════════════════════════════════════ */
.contact-section {
    background: var(--tile-warm); padding: 96px 0;
    position: relative; overflow: hidden;
}
.contact-section::before {
    content: ''; position: absolute;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(184,137,58,0.08) 0%, transparent 65%);
    bottom: -180px; right: -100px; pointer-events: none;
}
.contact-inner { position: relative; z-index: 2; }
.contact-header { text-align: center; margin-bottom: 48px; }
.contact-header h2 {
    font-size: clamp(1.9rem, 3.5vw, 3rem); font-weight: 700;
    color: var(--text); letter-spacing: -0.032em; line-height: 1.1; margin-bottom: 14px;
}
.contact-header p {
    font-size: 1rem; color: var(--text-2);
    max-width: 420px; margin: 0 auto; line-height: 1.65;
}
.contact-form-wrap {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 32px; max-width: 440px; margin: 0 auto;
    box-shadow: 0 4px 28px rgba(0,0,0,0.07);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.form-field:last-child { margin-bottom: 0; }
.form-field label {
    font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3);
}
.form-field input,
.form-field select,
.form-field textarea {
    background: var(--tile); border: 1px solid var(--divider);
    border-radius: var(--radius-sm); padding: 13px 15px;
    font-size: 0.9rem; font-family: inherit; color: var(--text);
    outline: none; transition: border-color 0.2s, background 0.2s; width: 100%;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-3); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--gold); background: var(--white); }
.form-field textarea { min-height: 100px; resize: vertical; }
.contact-form-wrap .btn-pill {
    width: 100%; justify-content: center;
    padding: 16px; font-size: 0.95rem; border-radius: var(--radius-sm);
}
.form-footnote { font-size: 0.68rem; color: var(--text-3); text-align: center; margin-top: 14px; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.footer {
    background: var(--tile); border-top: 1px solid var(--divider);
    padding: 56px 0 28px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.4fr 1fr 1fr;
    gap: 40px; padding-bottom: 44px;
    border-bottom: 1px solid var(--divider);
}
.footer-logo img { height: 28px; object-fit: contain; margin-bottom: 14px; }
.footer-brand p { font-size: 0.82rem; color: var(--text-2); line-height: 1.7; max-width: 220px; }
.footer-brand .footer-email { font-size: 0.82rem; color: var(--gold); margin-top: 12px; display: block; }
.footer-col h4 {
    font-size: 0.67rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--text-3); margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: 0.83rem; color: var(--text-2); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 22px; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.74rem; color: var(--text-3); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.74rem; color: var(--text-3); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--text); }

/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════════════════════ */
.reveal {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.65s cubic-bezier(0,0,0.2,1), transform 0.65s cubic-bezier(0,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 768px) {
    .sec { padding: 72px 0; }
    .page-hero { padding: 96px 0 60px; }
    .contact-section { padding: 72px 0; }
    .contact-form-wrap { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
    .stats-inner { flex-wrap: wrap; }
    .stat-item { min-width: 50%; border-bottom: 1px solid var(--divider); }
    .hamburger { display: flex; }
    .nav-links {
        display: none; position: fixed;
        top: 48px; left: 0; right: 0;
        background: rgba(255,255,255,0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 16px 24px 28px;
        border-bottom: 1px solid var(--divider);
        gap: 0;
    }
    .nav-links.open { display: flex; }
    .nav-links li a { padding: 12px 8px; font-size: 0.95rem; }
    .nav-cta-pill { margin-left: 0 !important; text-align: center; margin-top: 8px; }
}
@media (max-width: 480px) {
    .footer-inner { grid-template-columns: 1fr; }
    .stat-item { min-width: 100%; }
    .pill-row { flex-direction: column; align-items: center; }
    .btn-pill, .btn-pill-outline { width: 100%; max-width: 300px; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════
   COGNITO FORMS — BRAND OVERRIDES (v2 — correct selectors)
   Targets the actual classes Cognito injects (Element UI + cog-*),
   uses doubled .contact-form-wrap.contact-form-wrap for specificity
   so we beat Cognito's own !important-laden stylesheet.
═══════════════════════════════════════════════════════════════ */

/* Inherit Inter font across the whole Cognito form */
.contact-form-wrap.contact-form-wrap .cog-cognito,
.contact-form-wrap.contact-form-wrap .cog-cognito *,
.contact-form-wrap.contact-form-wrap .cog-cognito .el-input__inner,
.contact-form-wrap.contact-form-wrap .cog-cognito .el-textarea__inner,
.contact-form-wrap.contact-form-wrap .cog-cognito .cog-button {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Hide the "Contact Us" form heading — we have our own section header above */
.contact-form-wrap.contact-form-wrap .cog-cognito .cog-heading,
.contact-form-wrap.contact-form-wrap .cog-cognito .cog-header {
    display: none !important;
}

/* Section / field labels — uppercase, letter-spaced, small */
.contact-form-wrap.contact-form-wrap .cog-cognito .cog-label,
.contact-form-wrap.contact-form-wrap .cog-cognito .cog-name__first,
.contact-form-wrap.contact-form-wrap .cog-cognito .cog-name__last,
.contact-form-wrap.contact-form-wrap .cog-cognito legend {
    font-size: 0.62rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #6e6e73 !important;
    line-height: 1.4 !important;
    margin-bottom: 5px !important;
    padding: 0 !important;
}

/* The "*" asterisk for required fields — gold instead of red */
.contact-form-wrap.contact-form-wrap .cog-cognito .cog-asterisk {
    color: var(--gold) !important;
    margin-left: 2px !important;
}

/* Hide the "(required)" offscreen text positioning artifact if visible */
.contact-form-wrap.contact-form-wrap .cog-cognito .cog-offscreen {
    position: absolute !important;
    left: -9999px !important;
}

/* All text/email/tel/number/textarea inputs */
.contact-form-wrap.contact-form-wrap .cog-cognito .el-input__inner,
.contact-form-wrap.contact-form-wrap .cog-cognito .el-textarea__inner {
    background: var(--tile) !important;
    border: 1px solid var(--divider) !important;
    border-radius: var(--radius-sm) !important;
    padding: 9px 12px !important;
    font-size: 0.82rem !important;
    color: var(--text) !important;
    box-shadow: none !important;
    width: 100% !important;
    height: auto !important;
    line-height: 1.4 !important;
    transition: border-color 0.2s, background 0.2s !important;
}

.contact-form-wrap.contact-form-wrap .cog-cognito .el-textarea__inner {
    min-height: 80px !important;
    resize: vertical !important;
}

.contact-form-wrap.contact-form-wrap .cog-cognito .el-input__inner:focus,
.contact-form-wrap.contact-form-wrap .cog-cognito .el-textarea__inner:focus {
    background: var(--white) !important;
    border-color: var(--gold) !important;
    outline: none !important;
}

.contact-form-wrap.contact-form-wrap .cog-cognito .el-input__inner::placeholder,
.contact-form-wrap.contact-form-wrap .cog-cognito .el-textarea__inner::placeholder {
    color: #a1a1a6 !important;
    font-family: inherit !important;
}

/* Help text under fields */
.contact-form-wrap.contact-form-wrap .cog-cognito .cog-helptext {
    font-size: 0.72rem !important;
    color: #6e6e73 !important;
    margin-top: 4px !important;
    font-weight: 400 !important;
}

/* Field row spacing */
.contact-form-wrap.contact-form-wrap .cog-cognito .cog-row {
    margin-bottom: 10px !important;
}

/* Submit button — gold pill matching the rest of the site */
.contact-form-wrap.contact-form-wrap .cog-cognito .cog-button,
.contact-form-wrap.contact-form-wrap .cog-cognito .cog-button--submit,
.contact-form-wrap.contact-form-wrap .cog-cognito .el-button {
    background: var(--gold-pill-bg) !important;
    background-color: var(--gold-pill-bg) !important;
    color: var(--white) !important;
    border: 0 !important;
    border-color: transparent !important;
    border-radius: var(--radius-sm) !important;
    padding: 11px 22px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    cursor: pointer !important;
    width: 100% !important;
    transition: background 0.2s !important;
    box-shadow: none !important;
    text-transform: none !important;
    line-height: 1.2 !important;
    min-height: 0 !important;
    height: auto !important;
}

.contact-form-wrap.contact-form-wrap .cog-cognito .cog-button:hover,
.contact-form-wrap.contact-form-wrap .cog-cognito .cog-button--submit:hover,
.contact-form-wrap.contact-form-wrap .cog-cognito .el-button:hover {
    background: var(--gold-pill-hover) !important;
    background-color: var(--gold-pill-hover) !important;
    color: var(--white) !important;
}

/* Confirmation message after submit */
.contact-form-wrap.contact-form-wrap .cog-cognito .cog-confirmation {
    font-size: 0.95rem !important;
    color: var(--text) !important;
    text-align: center !important;
    padding: 20px 0 !important;
}

/* Strip Cognito's default container background/padding so our card frames it */
.contact-form-wrap.contact-form-wrap .cog-cognito,
.contact-form-wrap.contact-form-wrap .cog-cognito.cog-cognito--styled {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}
