/* Explain: Styles for various UI components including header, buttons, cards, and forms. */
/* ===== Header & navigation ===== */
.tm-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 14px;
    background: var(--primary-color);
    color: #12151a;
    font-size: 1.15rem;
    box-shadow: 0 6px 18px rgba(255, 200, 38, 0.28);
}

.brand-logo {
    display: block;
    flex: none;
    width: auto;
    height: 3.75rem;
    max-width: 14rem;
    object-fit: contain;
    object-position: left center;
}

@media (max-width: 639px) {
    .brand-logo {
        height: 3rem;
        max-width: 11rem;
    }
}

.brand-name {
    display: block;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.brand-sub {
    display: block;
    color: var(--primary-color);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-link.is-active {
    color: #12151a;
    background: var(--primary-color);
    font-weight: 700;
}

.nav-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    color: #fff;
    font-size: 1.05rem;
    cursor: pointer;
}

.mobile-panel {
    display: none;
    background: var(--ink-soft);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.6rem 1rem 1.15rem;
}

.mobile-panel.is-open {
    display: block;
}

.mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.8rem 0.75rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.mobile-link:hover,
.mobile-link.is-active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

@media (min-width: 1024px) {
    .mobile-panel,
    .mobile-panel.is-open {
        display: none;
    }
}

/* ===== Buttons ===== */
.btn-taxi,
.btn-dark,
.btn-light,
.btn-outline-light,
.btn-whatsapp,
.btn-telegram,
.btn-facebook,
.btn-map {
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-taxi {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #12151a;
    box-shadow: 0 10px 26px rgba(255, 200, 38, 0.28);
}

.btn-taxi:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(255, 200, 38, 0.34);
}

.btn-dark {
    background: var(--ink-color);
    border: 1px solid var(--ink-color);
    color: #fff;
}

.btn-dark:hover {
    background: #1d2430;
    color: #fff;
}

.btn-light {
    background: #fff;
    border: 1px solid #fff;
    color: #12151a;
}

.btn-light:hover {
    background: #12151a;
    border-color: #12151a;
    color: #fff;
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.38);
    color: #fff;
    backdrop-filter: blur(6px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: #fff;
    color: #fff;
}

.btn-whatsapp {
    background: #25D366;
    border: 1px solid #25D366;
    color: #04220f;
    box-shadow: 0 10px 26px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
    background: #1EBE5A;
    border-color: #1EBE5A;
    color: #04220f;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.34);
}

.btn-telegram {
    background: #229ED9;
    border: 1px solid #229ED9;
    color: #fff;
    box-shadow: 0 10px 26px rgba(34, 158, 217, 0.28);
}

.btn-telegram:hover {
    background: #1E8FC6;
    border-color: #1E8FC6;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(34, 158, 217, 0.34);
}

.btn-facebook {
    background: #1877F2;
    border: 1px solid #1877F2;
    color: #fff;
    box-shadow: 0 10px 26px rgba(24, 119, 242, 0.28);
}

.btn-facebook:hover {
    background: #166FE5;
    border-color: #166FE5;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(24, 119, 242, 0.34);
}

.btn-map {
    background: #fff;
    border: 1px solid rgba(11, 14, 18, 0.14);
    color: #12151a;
    box-shadow: 0 8px 22px rgba(11, 14, 18, 0.14);
}

.btn-map:hover {
    background: #fff;
    border-color: #4285F4;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(66, 133, 244, 0.26);
}

.btn-map i {
    color: #EA4335;
}

.btn-taxi:active,
.btn-dark:active,
.btn-light:active,
.btn-whatsapp:active,
.btn-facebook:active {
    transform: translateY(0);
}

/* ===== Hero ===== */
.hero-taxi {
    position: relative;
    overflow: hidden;
    background: var(--ink-color);
    color: #fff;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

@media (max-width: 767px) {
    .hero-bg {
        object-position: 78% center;
    }
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(6, 9, 13, 0.78) 0%, rgba(6, 9, 13, 0.5) 54%, rgba(6, 9, 13, 0.16) 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 200, 38, 0.14);
    border: 1px solid rgba(255, 200, 38, 0.42);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 200, 38, 0.2);
}

.hero-title {
    color: #fff;
    font-size: clamp(2.05rem, 5.1vw, 3.5rem);
    font-weight: 800;
}

.hero-lead {
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 1.6vw, 1.08rem);
    max-width: 34rem;
}

.hero-card {
    background: rgba(255, 255, 255, 0.98);
    color: var(--text-color);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    box-shadow: var(--shadow-card);
}

/* ===== Typography helpers ===== */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8a6400;
}

.eyebrow.is-light {
    color: var(--primary-color);
}

.section-title {
    font-size: clamp(1.65rem, 3.4vw, 2.35rem);
    font-weight: 800;
}

.section-lead {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 42rem;
}

/* ===== Cards & tiles ===== */
.card-soft {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card-soft:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(11, 14, 18, 0.12);
    border-color: rgba(255, 200, 38, 0.7);
}

.card-dark {
    background: var(--ink-color);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
}

.card-dark h2,
.card-dark h3 {
    color: #fff;
}

.card-dark p {
    color: rgba(255, 255, 255, 0.74);
}

.card-dark .eyebrow {
    color: var(--primary-color);
}

.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 14px;
    background: rgba(255, 200, 38, 0.24);
    color: #7a5a00;
    font-size: 1.1rem;
}

.info-tile {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    height: 100%;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.15rem;
    box-shadow: var(--shadow-soft);
}

.phone-link {
    color: var(--primary-color);
}

/* ===== Calculator ===== */
.estimate-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
}

.estimate-result {
    margin-top: 1rem;
    border-radius: var(--radius-md);
    background: var(--ink-color);
    color: #fff;
    padding: 1.1rem 1.2rem;
}

.estimate-total {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.1;
}

.estimate-detail {
    margin-top: 0.3rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

/* ===== Destination autocomplete ===== */
.dest-combo {
    position: relative;
}

.dest-suggest {
    position: absolute;
    z-index: 30;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    max-height: 15rem;
    overflow-y: auto;
    padding: 0.35rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: #fff;
    box-shadow: var(--shadow-card);
}

.dest-suggest-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0.6rem 0.7rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.92rem;
    text-align: left;
    cursor: pointer;
}

.dest-suggest-item:hover,
.dest-suggest-item.is-active {
    background: #fff6da;
}

.dest-suggest-meta {
    flex: none;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
}

.dest-suggest-empty {
    padding: 0.6rem 0.7rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.btn-locate {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: #fff;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn-locate:hover {
    background: var(--ink-color);
    border-color: var(--ink-color);
    color: #fff;
}

.btn-locate.is-busy {
    opacity: 0.6;
    pointer-events: none;
}

.tm-note {
    margin-top: 0.45rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.tm-note.is-warn {
    color: var(--danger-color);
}

/* ===== Form elements ===== */
.tm-label {
    display: block;
    margin-bottom: 0.35rem;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-color);
}

.tm-input,
.tm-select,
.tm-textarea {
    width: 100%;
    min-height: 3rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.tm-textarea {
    min-height: 7rem;
    resize: vertical;
}

.tm-input:focus,
.tm-select:focus,
.tm-textarea:focus {
    outline: none;
    border-color: var(--primary-hover);
    box-shadow: 0 0 0 3px rgba(255, 200, 38, 0.35);
}

.tm-input::placeholder,
.tm-textarea::placeholder {
    color: #99a0a9;
}

.tm-check {
    width: 1.15rem;
    height: 1.15rem;
    accent-color: #d9a400;
    flex: none;
}

.option-card {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: #fff;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.option-card:hover {
    border-color: var(--primary-hover);
    background: #fffcf2;
}

.form-status {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.form-status.is-error {
    background: #fdecec;
    border: 1px solid #f5c2c2;
    color: #9b2c2c;
}

.form-status.is-success {
    background: #e9f7ef;
    border: 1px solid #bee3cb;
    color: #1b6e3e;
}

.success-card {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border: 1px solid #bee3cb;
    border-radius: var(--radius-md);
    background: #f2faf4;
}

/* ===== Fare highlight ===== */
.highlight-fare {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1.25rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--primary-color);
    border-left: 5px solid var(--primary-color);
    border-radius: var(--radius-md);
    background: #fff9e6;
    box-shadow: var(--shadow-soft);
}

.highlight-fare .highlight-fare-value {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-color);
}

/* ===== Prices ===== */
.price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px dashed var(--border-color);
}

.price-row:last-child {
    border-bottom: 0;
}

.price-value {
    flex: none;
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 800;
    white-space: nowrap;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.price-table th {
    padding: 0.7rem 0.6rem;
    border-bottom: 1px solid var(--border-color);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: left;
    color: var(--text-muted);
}

.price-table td {
    padding: 0.85rem 0.6rem;
    border-bottom: 1px dashed var(--border-color);
    vertical-align: top;
}

.price-table tr:last-child td {
    border-bottom: 0;
}

.price-table th:last-child,
.price-table td:last-child {
    text-align: right;
    white-space: nowrap;
    font-family: var(--font-heading);
    font-weight: 800;
}

/* ===== Stats, steps, quotes ===== */
.stat-value {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    margin-top: 0.4rem;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.82rem;
}

.step-item {
    display: flex;
    gap: 0.9rem;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background: var(--ink-color);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
}

.quote-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    padding: 1.5rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.quote-stars {
    display: inline-flex;
    gap: 0.18rem;
    color: #d9a400;
    font-size: 0.8rem;
}

/* ===== FAQ ===== */
.faq-item {
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
}

.faq-item + .faq-item {
    margin-top: 0.7rem;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 1.25rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    color: #7a5a00;
}

.faq-chevron {
    flex: none;
    color: #8a6400;
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.25rem 1.2rem;
    color: var(--text-muted);
    font-size: 0.94rem;
}

/* ===== CTA band & footer ===== */
.cta-band {
    background: var(--primary-color);
    color: #12151a;
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 4vw, 3rem);
    box-shadow: 0 22px 50px rgba(224, 168, 0, 0.26);
}

.tm-footer {
    background: #000000;
    color: rgba(255, 255, 255, 0.72);
}

.tm-footer h2 {
    color: #fff;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.72);
    transition: color 0.18s ease;
}

.footer-link:hover {
    color: var(--primary-color);
}