/* GREEN TAXI Petrich — shared site styles (tokens, buttons, header, footer).
   Used by every page wrapped in <div class="gt">. Page-specific styles live in each page's .razor.css */

.gt {
    --ink: #07130d;
    --ink-2: #0e2117;
    --ink-3: #15301f;
    --lime: #a3ff5c;
    --leaf: #22c55e;
    --leaf-dark: #16a34a;
    --paper: #f3f6ee;
    --muted: #5b6b61;
    --line: rgba(7, 19, 13, .1);
    --radius: 28px;
    --display: 'Unbounded', 'Segoe UI', sans-serif;

    font-family: 'Manrope', 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--paper);
    overflow-x: clip;
}

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

.gt h1, .gt h2, .gt h3, .gt h4 { margin: 0; }

.gt h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2rem, 4.6vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -.02em;
}

.gt h2 em, .gt h1 em { font-style: normal; color: var(--lime); }

.gt-wrap {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.gt-section { padding: clamp(4.5rem, 9vw, 8rem) 0; }

.gt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--leaf-dark);
    margin-bottom: 1rem;
}

.gt-eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: currentColor;
}

.gt-eyebrow-lime { color: var(--lime); }
.gt-eyebrow-ink { color: var(--ink); }

.gt-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 0 rgba(163, 255, 92, .7);
    animation: gt-pulse 2s infinite;
    flex: none;
}

@keyframes gt-pulse {
    0% { box-shadow: 0 0 0 0 rgba(163, 255, 92, .7); }
    70% { box-shadow: 0 0 0 10px rgba(163, 255, 92, 0); }
    100% { box-shadow: 0 0 0 0 rgba(163, 255, 92, 0); }
}

.gt-checker {
    height: 14px;
    background: repeating-conic-gradient(var(--ink) 0 25%, #fff 0 50%) 0 0 / 14px 14px;
    border-radius: 3px;
}

.gt-checker-sm {
    height: 10px;
    background-size: 10px 10px;
    margin-top: 1.4rem;
    opacity: .9;
    background-image: repeating-conic-gradient(var(--lime) 0 25%, transparent 0 50%);
}

/* ─── Buttons ─── */
.gt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    border: none;
    border-radius: 999px;
    padding: .95rem 1.6rem;
    font: inherit;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.gt-btn:hover { transform: translateY(-2px); }

.gt-btn-lime {
    background: var(--lime);
    color: var(--ink) !important;
    box-shadow: 0 12px 34px -12px rgba(163, 255, 92, .9);
}

.gt-btn-lime:hover { box-shadow: 0 18px 40px -12px rgba(163, 255, 92, 1); }

.gt-btn-glass {
    background: rgba(255, 255, 255, .1);
    color: #fff !important;
    border: 1.5px solid rgba(255, 255, 255, .35);
    backdrop-filter: blur(10px);
}

.gt-btn-glass:hover { background: rgba(255, 255, 255, .2); }

.gt-btn-ink {
    background: var(--ink);
    color: var(--lime) !important;
}

.gt-btn-xl {
    padding: 1.05rem 2rem;
    font-size: 1.1rem;
}

.gt-btn-xl span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.gt-btn-xl small { font-size: .78rem; font-weight: 600; opacity: .7; letter-spacing: .05em; }
.gt-btn-xl i { font-size: 1.25rem; }

/* ─── Header ─── */
.gt-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 200;
    padding: 14px 0;
}

.gt-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(7, 19, 13, .62);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px;
    padding: 8px 8px 8px 10px;
    max-width: 1192px;
}

.gt-brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: #fff !important;
}

.gt-brand img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    padding: 2px;
}

.gt-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.gt-brand-text strong { font-family: var(--display); font-size: .95rem; letter-spacing: .04em; }
.gt-brand-text small { font-size: .74rem; color: var(--lime); font-weight: 700; letter-spacing: .08em; }

.gt-nav {
    display: flex;
    align-items: center;
    gap: .25rem;
}

.gt-nav a {
    color: rgba(255, 255, 255, .82) !important;
    font-weight: 600;
    font-size: .94rem;
    padding: .6rem .95rem;
    border-radius: 999px;
    transition: background .15s, color .15s;
}

.gt-nav a:hover { background: rgba(255, 255, 255, .1); color: #fff !important; }

.gt-nav a.gt-nav-hl { color: var(--lime) !important; }

.gt-nav a.gt-nav-call {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: var(--lime);
    color: var(--ink) !important;
    font-weight: 800;
    margin-left: .4rem;
    padding: .7rem 1.2rem;
}

.gt-nav a.gt-nav-call .gt-dot { background: var(--ink); animation: none; }
.gt-nav a.gt-nav-call:hover { background: #b8ff80; }

.gt-burger {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: var(--lime);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.gt-burger span {
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
}

.gt-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.gt-burger.open span:nth-child(2) { opacity: 0; }
.gt-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }


/* ─── Footer ─── */
.gt-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .72);
    padding: 5rem 0 2rem;
    overflow: hidden;
}

.gt-footer-cta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.gt-footer-cta p {
    font-family: var(--display);
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: #fff;
    margin: 0;
}

.gt-footer-phone {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(2.6rem, 8vw, 5.5rem);
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--lime) !important;
    transition: letter-spacing .3s;
}

.gt-footer-phone:hover { letter-spacing: -.01em; }

.gt-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
    padding: 3rem 0;
}

.gt-footer-brand img { border-radius: 50%; background: #fff; padding: 3px; margin-bottom: 1rem; }
.gt-footer-brand p { max-width: 340px; line-height: 1.6; }

.gt-footer h4 {
    font-size: .78rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.1rem;
}

.gt-footer ul { list-style: none; margin: 0; padding: 0; }
.gt-footer li { margin-bottom: .7rem; }
.gt-footer li a { transition: color .15s; display: inline-flex; gap: .55rem; align-items: center; word-break: break-all; }
.gt-footer li a:hover { color: var(--lime); }

.gt-footer-word {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(2.4rem, 12vw, 10.5rem);
    line-height: .85;
    letter-spacing: -.05em;
    text-align: center;
    color: transparent;
    -webkit-text-stroke: 1px rgba(163, 255, 92, .28);
    white-space: nowrap;
    user-select: none;
}

.gt-footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    padding-top: 2rem;
    font-size: .85rem;
    color: rgba(255, 255, 255, .45);
}

/* ─── Mobile call bar ─── */
.gt-callbar { display: none; }


/* ═════════ Responsive (shared) ═════════ */
@media (max-width: 1080px) {
    .gt-nav a:not(.gt-nav-call) { padding: .6rem .6rem; font-size: .9rem; }
}

@media (max-width: 960px) {
    .gt-burger { display: flex; }

    .gt-nav {
        position: absolute;
        top: calc(100% + 8px);
        left: 24px;
        right: 24px;
        flex-direction: column;
        align-items: stretch;
        gap: .2rem;
        background: rgba(7, 19, 13, .96);
        backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: 24px;
        padding: .8rem;
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: opacity .2s, transform .2s;
    }

    .gt-nav.open { opacity: 1; transform: none; pointer-events: auto; }
    .gt-nav a, .gt-nav a:not(.gt-nav-call) { padding: .95rem 1.1rem; font-size: 1.05rem; }
    .gt-nav a.gt-nav-call { margin: .4rem 0 0; justify-content: center; }

    .gt-header { padding: 10px 0; }
    .gt-header-inner { margin: 0 12px; width: auto; }

    .gt-footer-grid { grid-template-columns: 1fr 1fr; }
    .gt-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .gt-wrap { padding: 0 16px; }
    .gt-nav { left: 16px; right: 16px; }
    .gt-header-inner { margin: 0 8px; }
    .gt-brand-text strong { font-size: .85rem; }

    .gt-footer-grid { grid-template-columns: 1fr; }
    .gt-footer { padding-bottom: 6.5rem; }

    .gt-callbar {
        display: block;
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 150;
    }

    .gt-callbar .gt-btn {
        width: 100%;
        padding: 1.05rem;
        font-size: 1.05rem;
        box-shadow: 0 16px 40px -10px rgba(7, 19, 13, .6);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gt *, .gt *::before, .gt *::after { animation: none !important; transition: none !important; }
}

.gt-nav a.gt-nav-active { background: rgba(255, 255, 255, .12); color: #fff !important; }

/* Blazor.Bootstrap makes <main> its own 100vh scroll box, which breaks position: sticky
   and anchor scrolling on the redesigned pages. Let the page scroll normally there. */
main:has(> article > .gt) { height: auto; overflow: visible; min-width: 0; }

/* Small "Свързване…" pill shown by reconnect.js instead of Blazor's full-screen reconnect overlay */
#gt-reconnect {
    position: fixed;
    left: 50%;
    top: 84px;
    transform: translateX(-50%);
    z-index: 10001;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .55rem 1rem;
    border-radius: 999px;
    background: rgba(7, 19, 13, .9);
    color: #fff;
    font: 600 .88rem 'Manrope', 'Segoe UI', sans-serif;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5);
    animation: gt-reconnect-in .25s ease;
}

.gt-reconnect-spin {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(163, 255, 92, .3);
    border-top-color: #a3ff5c;
    animation: gt-reconnect-spin .8s linear infinite;
}

@keyframes gt-reconnect-spin { to { transform: rotate(360deg); } }
@keyframes gt-reconnect-in { from { opacity: 0; transform: translate(-50%, -6px); } }

/* ═════════ Forms (.cf) — shared by CorporateForm and DriverForm ═════════ */
.cf {
    background: #fff;
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 30px 80px -30px rgba(7, 19, 13, .35), 0 0 0 1px rgba(7, 19, 13, .06);
    position: relative;
    align-self: start;
}

.cf::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 10px;
    border-radius: 28px 28px 0 0;
    background:
        repeating-conic-gradient(#07130d 0 25%, #fff 0 50%) 0 0 / 10px 10px;
    opacity: .9;
}

.cf-head h3 {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #07130d;
    margin: .5rem 0 .25rem;
}

.cf-head p {
    color: #5b6b61;
    margin: 0 0 1.4rem;
    font-size: .95rem;
}

.cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .9rem;
}

.cf-field {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin-bottom: .9rem;
    min-width: 0;
}

.cf-field > span {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #3d4d43;
}

.cf-field em {
    color: #16a34a;
    font-style: normal;
}

.cf-field input,
.cf-field textarea {
    width: 100%;
    border: 1.5px solid #dfe6dc;
    background: #f6f8f3;
    border-radius: 14px;
    padding: .8rem 1rem;
    font: inherit;
    font-size: 1rem;
    color: #07130d;
    transition: border-color .15s, background .15s, box-shadow .15s;
    resize: vertical;
}

.cf-field input:focus,
.cf-field textarea:focus {
    outline: none;
    border-color: #22c55e;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .15);
}

.cf-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.cf-chips button {
    border: 1.5px solid #dfe6dc;
    background: #fff;
    border-radius: 999px;
    padding: .5rem 1rem;
    font: inherit;
    font-size: .92rem;
    font-weight: 600;
    color: #3d4d43;
    cursor: pointer;
    transition: all .15s;
}

.cf-chips button:hover { border-color: #22c55e; }

.cf-chips button.on {
    background: #07130d;
    border-color: #07130d;
    color: #a3ff5c;
}

.cf-error {
    background: #fef2f2;
    color: #b91c1c;
    border-radius: 12px;
    padding: .7rem 1rem;
    font-size: .92rem;
    margin-bottom: .9rem;
}

.cf-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    border: none;
    border-radius: 16px;
    padding: 1.05rem 1.5rem;
    background: #07130d;
    color: #a3ff5c;
    font: inherit;
    font-weight: 800;
    font-size: 1.05rem;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
}

.cf-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -10px rgba(7, 19, 13, .6);
}

.cf-submit:disabled { opacity: .7; cursor: wait; }

.cf-done {
    text-align: center;
    padding: 2.5rem 1rem 1.5rem;
}

.cf-done-ico {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #a3ff5c;
    color: #07130d;
    font-size: 2.2rem;
    animation: cf-pop .5s cubic-bezier(.2, 1.6, .4, 1);
}

.cf-done h3 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    color: #07130d;
}

.cf-done p { color: #5b6b61; }

.cf-link {
    background: none;
    border: none;
    color: #16a34a;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
}

@keyframes cf-pop {
    from { transform: scale(.3); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media (max-width: 560px) {
    .cf { padding: 1.5rem 1.15rem; border-radius: 22px; }
    .cf::before { border-radius: 22px 22px 0 0; }
    .cf-row { grid-template-columns: 1fr; gap: 0; }
}

.cf-counter {
    align-self: flex-end;
    font-size: .75rem;
    color: #8a978f;
    font-variant-numeric: tabular-nums;
}
