
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

:root {
    --bg: #0d0f0e;
    --bg2: #141716;
    --surface: #1f2321;
    --surface2: #252927;
    --surface3: #2c302e;
    --border: rgba(255, 255, 255, 0.07);
    --border-md: rgba(255, 255, 255, 0.13);
    --border-hi: rgba(255, 255, 255, 0.22);
    --text: #f0ede8;
    --text-2: #9a9790;
    --text-3: #5a5955;
    --accent: #c8f060;
    --accent-dark: #a8d040;
    --accent-dim: rgba(200, 240, 96, 0.1);
    --accent-bdr: rgba(200, 240, 96, 0.28);
    --green: #4ade80;
    --red: #f87171;
    --blue: #60a5fa;
    --orange: #fb923c;
    --r: 8px;
    --r-lg: 14px;
    --r-xl: 20px;
    --r-2xl: 26px;
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.65;
    min-height: 100vh
}

a {
    color: inherit;
    text-decoration: none
}

::selection {
    background: var(--accent);
    color: #0d0f0e
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px
}

::-webkit-scrollbar-track {
    background: var(--bg2)
}

::-webkit-scrollbar-thumb {
    background: var(--surface3);
    border-radius: 99px
}

/* ── MARQUEE ── */
.marquee-bar {
    background: var(--accent);
    color: #0d0f0e;
    font-size: 11.5px;
    font-weight: 500;
    padding: 7px 0;
    overflow: hidden;
    white-space: nowrap
}

.mtrack {
    display: inline-block;
    animation: ms 28s linear infinite
}

.mtrack span {
    margin-right: 72px
}

@keyframes ms {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

/* ── NAV ── */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 5%;
    border-bottom: .5px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(13, 15, 14, .95);
    backdrop-filter: blur(14px)
}

.logo {
    font-family: 'Syne', sans-serif;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--accent)
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 13px;
    color: var(--text-2)
}

.nav-links a:hover {
    color: var(--text)
}

.nav-links a.active {
    color: var(--accent)
}

.nav-cta {
    background: var(--accent);
    color: #0d0f0e;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: var(--r);
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: background .15s
}

.nav-cta:hover {
    background: var(--accent-dark)
}

/* ── PAGE HEADER ── */
.page-hdr {
    padding: 48px 5% 32px;
    max-width: 1200px;
    margin: 0 auto
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--accent);
    border: .5px solid var(--accent-bdr);
    border-radius: 99px;
    padding: 4px 12px;
    margin-bottom: 16px
}

.eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent)
}

.page-hdr h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(26px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.08;
    margin-bottom: 10px
}

.page-hdr h1 em {
    font-style: normal;
    color: var(--accent)
}

.page-hdr p {
    font-size: 14px;
    color: var(--text-2);
    max-width: 500px
}

/* ── TAB STRIP ── */
.tab-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5% 28px;
    overflow-x: auto
}

.tab-strip {
    display: inline-flex;
    background: var(--surface);
    border: .5px solid var(--border);
    border-radius: var(--r-xl);
    padding: 4px;
    gap: 3px;
    white-space: nowrap
}

.tb {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: var(--r-lg);
    border: none;
    background: transparent;
    color: var(--text-2);
    cursor: pointer;
    transition: all .18s;
    display: flex;
    align-items: center;
    gap: 6px
}

.tb.on {
    background: var(--accent);
    color: #0d0f0e;
    font-weight: 600
}

.tb:not(.on):hover {
    color: var(--text);
    background: var(--surface2)
}

/* ── MAIN ── */
.main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5% 80px
}

.tc {
    display: none
}

.tc.on {
    display: block
}

/* ── SECTION HEADING ── */
.sh {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px
}

.sh-title {
    font-family: 'Syne', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--text)
}

.sh-sub {
    font-size: 12px;
    color: var(--text-3)
}

/* ── CARD ── */
.card {
    background: var(--bg2);
    border: .5px solid var(--border-md);
    border-radius: var(--r-2xl);
    overflow: visible;
    margin-bottom: 20px;
    transition: border-color .2s
}

.card:focus-within {
    border-color: var(--accent-bdr)
}

.card-hdr {
    padding: 22px 26px 0;
    display: flex;
    align-items: center;
    gap: 13px
}

.card-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--r);
    background: var(--accent-dim);
    border: .5px solid var(--accent-bdr);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0
}

.card-title {
    font-family: 'Syne', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text)
}

.card-sub {
    font-size: 12px;
    color: var(--text-3);
    margin-top: 1px
}

.card-body {
    padding: 20px 26px 26px;
    display: flex;
    flex-direction: column;
    gap: 14px
}

/* ── CHIPS ── */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 0 26px 16px
}

.chip {
    font-size: 11.5px;
    color: var(--text-2);
    background: var(--surface);
    border: .5px solid var(--border);
    border-radius: 99px;
    padding: 3px 11px;
    display: flex;
    align-items: center;
    gap: 5px
}

.chip-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0
}

/* ── GRID ── */
.g2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.g3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px
}

.g4 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 14px
}

.span2 {
    grid-column: 1/-1
}

/* ── FORM ELEMENTS ── */
.fg {
    display: flex;
    flex-direction: column;
    gap: 5px
}

.fg label {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-3)
}

.fi,
.fs {
    width: 100%;
    background: var(--surface);
    border: .5px solid var(--border-md);
    border-radius: var(--r);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    padding: 10px 13px;
    outline: none;
    transition: border-color .15s, background .15s;
    -webkit-appearance: none;
    appearance: none
}

.fi::placeholder {
    color: var(--text-3)
}

.fi:focus,
.fs:focus {
    border-color: var(--accent-bdr);
    background: var(--surface2)
}

.fi:disabled {
    opacity: .5;
    cursor: not-allowed
}

.fs {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%235a5955' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 30px;
    cursor: pointer
}

.fs option {
    background: #1f2321;
    color: var(--text)
}

/* ── PRICE OUTPUT ── */
.po-wrap {
    position: relative
}

.po {
    width: 100%;
    background: var(--surface);
    border: .5px solid var(--border-md);
    border-radius: var(--r);
    font-family: 'Syne', sans-serif;
    font-size: 19px;
    font-weight: 700;
    padding: 10px 13px;
    color: var(--text-3);
    display: flex;
    align-items: center;
    min-height: 44px;
    transition: all .25s
}

.po.lit {
    color: var(--accent);
    border-color: var(--accent-bdr);
    background: var(--accent-dim)
}

.po-spin {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid var(--border-md);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin .6s linear infinite;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%)
}

.po-spin.on {
    display: block
}

@keyframes spin {
    to {
        transform: translateY(-50%) rotate(360deg)
    }
}

.po-note {
    font-size: 11px;
    color: var(--text-3);
    margin-top: 3px
}

.po-note .hi {
    color: var(--accent)
}

/* ── SURCHARGE BADGE ── */
.surcharge-badge {
    display: none;
    align-items: center;
    gap: 7px;
    background: rgba(251, 146, 60, .08);
    border: .5px solid rgba(251, 146, 60, .25);
    border-radius: var(--r);
    padding: 8px 12px;
    font-size: 12px;
    color: var(--orange)
}

.surcharge-badge.show {
    display: flex
}

/* ── RESULT PANEL ── */
.rp {
    background: var(--surface);
    border: .5px solid var(--border);
    border-radius: var(--r-lg);
    padding: 16px;
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 2px
}

.rp.show {
    display: flex
}

.rr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px
}

.rr .rl {
    color: var(--text-2)
}

.rr .rv {
    color: var(--text);
    font-weight: 500
}

.rr .rv.big {
    color: var(--accent);
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    font-weight: 700
}

.rdiv {
    height: .5px;
    background: var(--border)
}

.rnote {
    font-size: 11px;
    color: var(--text-3)
}

/* ── BUTTONS ── */
.btn {
    font-family: 'Syne', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 11px 18px;
    border-radius: var(--r);
    border: none;
    cursor: pointer;
    transition: all .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%
}

.btn:active {
    transform: scale(.98)
}

.btn:disabled {
    opacity: .55;
    cursor: not-allowed
}

.btn-primary {
    background: var(--accent);
    color: #0d0f0e
}

.btn-primary:hover {
    background: var(--accent-dark)
}

.btn-wa {
    background: #25d366;
    color: #fff
}

.btn-wa:hover {
    background: #1db954
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: .5px solid var(--border-md)
}

.btn-ghost:hover {
    background: var(--surface);
    border-color: var(--border-hi)
}

.btn-sm {
    font-size: 12px;
    padding: 8px 14px
}

/* ── STATUS ── */
.st {
    font-size: 12.5px;
    padding: 9px 13px;
    border-radius: var(--r);
    display: none
}

.st.info {
    display: block;
    background: rgba(96, 165, 250, .08);
    color: var(--blue);
    border: .5px solid rgba(96, 165, 250, .2)
}

.st.ok {
    display: block;
    background: rgba(74, 222, 128, .08);
    color: var(--green);
    border: .5px solid rgba(74, 222, 128, .2)
}

.st.err {
    display: block;
    background: rgba(248, 113, 113, .08);
    color: var(--red);
    border: .5px solid rgba(248, 113, 113, .2)
}

/* ── AUTOCOMPLETE ── */
.ac {
    position: relative
}

.acd {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--surface2);
    border: .5px solid var(--border-md);
    border-radius: var(--r);
    z-index: 300;
    max-height: 190px;
    overflow-y: auto;
    display: none
}

.acd.on {
    display: block
}

.aci {
    padding: 8px 13px;
    font-size: 13px;
    color: var(--text-2);
    cursor: pointer;
    transition: background .1s, color .1s
}

.aci:hover {
    background: var(--surface3);
    color: var(--text)
}

/* ── TOGGLE ── */
.tog-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surface);
    border: .5px solid var(--border);
    border-radius: var(--r);
    padding: 9px 13px
}

.tog-lbl {
    font-size: 13px;
    color: var(--text-2)
}

.tog-lbl small {
    display: block;
    font-size: 11px;
    color: var(--text-3)
}

.tog {
    position: relative;
    width: 38px;
    height: 21px;
    flex-shrink: 0
}

.tog input {
    opacity: 0;
    width: 0;
    height: 0
}

.tog-sl {
    position: absolute;
    inset: 0;
    background: var(--surface3);
    border-radius: 99px;
    cursor: pointer;
    transition: background .2s
}

.tog-sl::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform .2s
}

.tog input:checked+.tog-sl {
    background: var(--accent)
}

.tog input:checked+.tog-sl::before {
    transform: translateX(17px)
}

/* ── MODAL ── */
.modal-ov {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .74);
    backdrop-filter: blur(7px);
    z-index: 500;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto
}

.modal-ov.on {
    display: flex
}

.modal-box {
    background: var(--bg2);
    border: .5px solid var(--border-md);
    border-radius: var(--r-2xl);
    width: 100%;
    max-width: 680px;
    padding: 36px;
    position: relative;
    animation: mi .22s ease
}

@keyframes mi {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.98)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: var(--surface);
    border: .5px solid var(--border);
    color: var(--text-2);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .12s
}

.modal-close:hover {
    background: var(--surface2);
    color: var(--text)
}

.modal-hdr {
    margin-bottom: 22px
}

.modal-hdr h3 {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px
}

.modal-hdr p {
    font-size: 13px;
    color: var(--text-2)
}

.modal-prefill {
    background: var(--surface);
    border: .5px solid var(--border);
    border-radius: var(--r);
    padding: 10px 14px;
    margin-bottom: 18px;
    display: none
}

.modal-prefill.show {
    display: block
}

.modal-prefill-inner {
    font-size: 12.5px;
    color: var(--text-2);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px
}

.modal-prefill-inner span {
    display: flex;
    align-items: center;
    gap: 5px
}

.modal-prefill-inner span b {
    color: var(--text);
    font-weight: 500
}

/* ── DIVIDER ── */
.sec-div {
    height: .5px;
    background: var(--border);
    margin: 8px 0 24px
}

/* ── TRIP PKG SELECT ── */
.pkg-select-wrap {
    position: relative
}

.pkg-loading {
    display: none;
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border: 2px solid var(--border-md);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin .6s linear infinite
}

.pkg-loading.on {
    display: block
}

/* ── FOOTER ── */
footer {
    background: var(--bg2);
    border-top: .5px solid var(--border);
    padding: 26px 5%
}

.fi-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap
}

.flogo {
    font-family: 'Syne', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: var(--accent)
}

.flinks {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.flinks a {
    font-size: 13px;
    color: var(--text-2);
    padding: 7px 13px;
    border: .5px solid var(--border);
    border-radius: var(--r);
    transition: all .12s
}

.flinks a:hover {
    color: var(--text);
    border-color: var(--border-md)
}

@media(max-width:860px) {

    .g3,
    .g4 {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:600px) {
    nav {
        padding: 12px 4%
    }

    .nav-links {
        display: none
    }

    .main,
    .tab-wrap,
    .page-hdr {
        padding-left: 4%;
        padding-right: 4%
    }

    .g2,
    .g3,
    .g4 {
        grid-template-columns: 1fr
    }

    .card-hdr,
    .card-body,
    .chips {
        padding-left: 18px;
        padding-right: 18px
    }
}
