/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

:root {
    --accent: #E65A00;
    --heading: #0F1724;
    --text: #374151;
    --muted: #4B5563;
    --bg: #E9EEF3;
    --card-bg: #F5F7F8;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

/* ===== Layout ===== */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px;
}

section {
    margin-bottom: 18px;
}

h2 {
    margin: 0 0 12px;
    color: var(--heading);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    background: url("/assets/img/van.jpg") center / cover no-repeat;
    color: #fff;
    padding: 56px 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.45),
            rgba(0, 0, 0, 0.6));
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.brand-title {
    margin: 0;
    font-size: 30px;
    color: var(--accent);
}

.lead {
    margin: 14px 0 6px;
    font-weight: 600;
}

.sub {
    margin: 0;
}

/* ===== Navigation ===== */
.site-nav {
    display: flex;
    gap: 12px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.18);
    transition: background 0.15s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    background: rgba(255, 255, 255, 0.18);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.15s ease;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.btn.primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.btn.primary:hover {
    filter: brightness(0.95);
    box-shadow: 0 8px 24px rgba(230, 90, 0, 0.25);
}

/* ===== Icons ===== */
.iconphone {
    width: 22px;
    height: 22px;
}

/* ===== Hero contacts ===== */
.hero-contacts {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* ===== Muted Section ===== */
.muted-section {
    background: var(--bg);
    padding: 36px 0;
    border-radius: 10xp;
}

/* ===== Cards ===== */
.tariff-cards,
.info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 28px;
}

.card {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}

.card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    color: var(--heading);
}

.tariff {
    border: 2px solid #FFD1A6;
}

.tariff.featured {
    background: linear-gradient(180deg, #FFF3EA, #FFFFFF);
}

/* ===== Tariff list ===== */
.tariff-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tariff-item {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    padding-top: 8px;
    border-top: 1px dashed rgba(15, 23, 36, 0.08);
}

.tariff-item:first-child {
    border-top: none;
}

.price-inline {
    color: var(--accent);
    font-size: 20px;
    font-weight: 800;
}

/* ===== Contact block ===== */
.contact-block {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* ===== Footer ===== */
footer {
    padding: 24px 0;
    color: var(--muted);
    text-align: center;
}

.footer-contacts {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer-contacts a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
}

/* Footer phone simple styling (no copy) */
.footer-phone {
    display: inline-block;
    color: var(--heading);
    background: transparent;
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

/* SEO / content sections styling */
.seo-section,
section.container[class*="seo-"],
.card.about {
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.seo-section h2 {
    margin-top: 28px;
    margin-bottom: 8px;
    font-size: 22px
}

.seo-section p,
.seo-section ul,
.seo-section ol {
    color: var(--muted);
    margin-bottom: 12px
}

/* Make about-card sections consistent and slightly elevated */
.card.about {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    margin-top: 14px
}

/* Tabs styles */
.tabs {
    margin-top: 14px;
}

.tab-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 16px
}

.tab-button {
    background: transparent;
    border: 1px solid rgba(15, 23, 36, 0.06);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700
}

.tab-button.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(230, 90, 0, 0.12)
}

.tab-panels {
    position: relative
}

.tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .26s ease, transform .26s ease
}

.tab-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0)
}

/* Improve spacing inside panels */
.tab-panel .container {
    padding: 6px 0 24px
}

/* ===== Toast ===== */
#toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #111;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 9999;
}

#toast.show {
    opacity: 1;
}

/* ===== Responsive ===== */
@media (max-width: 800px) {

    .tariff-cards,
    .info-cards {
        grid-template-columns: 1fr;
    }

    .brand-title {
        font-size: 24px;
    }
}

@media (max-width: 420px) {
    .container {
        padding: 14px;
    }

    .hero {
        padding: 32px 0;
    }

    .brand-title {
        font-size: 20px;
    }

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

    .price-inline {
        font-size: 18px;
    }
}