:root {
    --accent: #256ad7;
    --accent-alt: #3fbdd6;
    --text-main: #1e2a3a;
    --text-muted: #5b6b7e;
    --bg-muted: #f6f7fb;
    --card-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background-color: var(--bg-muted);
    color: var(--text-main);
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: #1a4aa5;
    text-decoration: none;
}

.topbar {
    background: #ffffff;
}

.topbar .logo-image {
    height: 72px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

@media (max-width: 576px) {
    .topbar .logo-image {
        height: 56px;
        max-width: 180px;
    }
}

.topbar .company-name {
    font-weight: 600;
    font-size: 1.05rem;
}

.topbar .contact-badge {
    background: rgba(37, 106, 215, 0.12);
    color: var(--accent);
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-end;
}

.topbar .contact-badge i {
    font-size: 1.25rem;
}

.topbar-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.65rem;
    text-align: right;
}

.topbar-contact__address {
    max-width: 320px;
}

@media (max-width: 576px) {
    .topbar-contact {
        align-items: flex-start;
        text-align: left;
    }

    .topbar-contact .contact-badge {
        width: 100%;
        justify-content: center;
    }
}

.main-navbar {
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    background: #ffffff;
}

.main-navbar .nav-link {
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.75rem 1rem;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link:focus {
    color: var(--accent);
}

.main-navbar .nav-link.active {
    color: var(--accent);
}

.main-navbar .btn-primary {
    border-radius: 999px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
}

.breadcrumb-wrapper {
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.breadcrumb-wrapper .container {
    min-height: 3rem;
    display: flex;
    align-items: center;
}

.breadcrumb-wrapper nav {
    width: 100%;
}

.breadcrumb {
    margin-bottom: 0;
    font-size: 0.9rem;
    align-items: center;
}

.hero-section {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.85), rgba(37, 106, 215, 0.75));
}

.hero-section .hero-content {
    position: relative;
    z-index: 1;
    padding: 5rem 0;
}

.hero-section .hero-content h1 {
    font-weight: 700;
}

.hero-district {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1rem;
    position: relative;
}

.hero-district .bi {
    font-size: 1.15rem;
}

.hero-section .hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-section .hero-badges .badge {
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 0.75rem 1.3rem;
    font-weight: 500;
}

.hero-rating {
    position: relative;
    z-index: 1;
}

.rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    color: #0f172a;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-size: 0.95rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.rating-pill.bg-white.bg-opacity-25 {
    background-color: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff;
    box-shadow: none;
}

.article-hero .article-lead p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.article-card {
    border: none;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(15, 46, 87, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px rgba(15, 46, 87, 0.16);
}

.article-card-body {
    padding: 2rem 2.25rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 1rem;
}

.article-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.article-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.article-card-excerpt {
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
    min-height: 3.6em;
}

.article-card .btn {
    margin-top: auto;
}

.articles-pagination .pagination {
    gap: 0.5rem;
}

.articles-pagination .page-link {
    border-radius: 999px;
    border: 1px solid rgba(37, 106, 215, 0.18);
    padding: 0.65rem 1.1rem;
    font-weight: 600;
    color: var(--accent);
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 46, 87, 0.06);
}

.articles-pagination .page-item.active .page-link {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(37, 106, 215, 0.25);
}

.articles-pagination .page-item.disabled .page-link {
    color: var(--text-muted);
    background: rgba(37, 106, 215, 0.08);
    border-color: transparent;
    box-shadow: none;
}

.section-heading {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-subheading {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.feature-card {
    border: none;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--card-shadow);
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
}

.icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 106, 215, 0.12);
    color: var(--accent);
    font-size: 36px;
    margin-bottom: 1.5rem;
}

.icon-circle i {
    font-size: 36px;
}

.timeline-step {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    padding: 2.5rem 2rem 2rem;
    border-top: 4px solid rgba(37, 106, 215, 0.15);
    height: 100%;
}

.timeline-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.calculation-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.calculation-toolbar button {
    border-radius: 999px;
    border: 1px solid rgba(37, 106, 215, 0.2);
    background: rgba(37, 106, 215, 0.08);
    color: var(--accent);
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.calculation-toolbar button:hover,
.calculation-toolbar button:focus,
.calculation-toolbar button.active {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.calculation-card {
    border: none;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.calculation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(28, 41, 61, 0.12);
}

.calculation-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    display: block;
}

@supports (aspect-ratio: 4 / 3) {
    .calculation-card img {
        height: auto;
        aspect-ratio: 4 / 3;
    }
}

.calculation-card .card-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.calculation-card .car-meta {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.calculation-card .calculation-city {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.calculation-card .calculation-footer {
    margin-top: auto;
}

.calculation-card .calculation-price {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--bs-primary);
}

.calculation-card .calculation-action {
    margin-top: 0.75rem;
}

.cta-section {
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    color: #ffffff;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.85), rgba(37, 106, 215, 0.65));
}

.cta-section .cta-content {
    position: relative;
    z-index: 1;
    padding: 4rem 0;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
}

.partner-grid .partner-tile {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    padding: 1.5rem;
    display: grid;
    place-items: center;
    min-height: 110px;
}

.partner-grid .partner-tile img {
    max-width: 100%;
    filter: grayscale(0.2);
    opacity: 0.85;
}

.review-card {
    border: none;
    background: #ffffff;
    box-shadow: var(--card-shadow);
    border-radius: 24px;
    padding: 2.25rem;
    height: 100%;
    position: relative;
}

.review-card::before {
    content: '“';
    position: absolute;
    top: 16px;
    right: 32px;
    font-size: 5rem;
    color: rgba(37, 106, 215, 0.12);
    font-weight: 700;
}

.review-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.review-card p {
    color: var(--text-muted);
}

.review-card .review-location {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.faq-accordion .accordion-item {
    border: none;
    border-radius: 20px !important;
    box-shadow: var(--card-shadow);
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--accent);
    background: rgba(37, 106, 215, 0.08);
    box-shadow: none;
}

.faq-accordion .accordion-body {
    color: var(--text-muted);
    padding: 1.5rem;
}

.rich-text {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    padding: 2.5rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.rich-text h2,
.rich-text h3 {
    color: var(--text-main);
    margin-top: 2rem;
    font-weight: 600;
}

.contacts-section .contact-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    padding: 2.5rem;
    height: 100%;
}

.contacts-section .contact-card-highlight {
    position: relative;
    background: linear-gradient(135deg, #256ad7, #183e9b);
    color: #ffffff;
    overflow: hidden;
}

.contacts-section .contact-card-highlight::before,
.contacts-section .contact-card-highlight::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    filter: blur(0.5px);
}

.contacts-section .contact-card-highlight::before {
    width: 240px;
    height: 240px;
    top: -80px;
    right: -60px;
}

.contacts-section .contact-card-highlight::after {
    width: 320px;
    height: 320px;
    bottom: -160px;
    left: -120px;
}

.contacts-section .contact-card-highlight > * {
    position: relative;
    z-index: 1;
}

.contacts-section .contact-card-header {
    max-width: 28rem;
}

.contacts-section .contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contacts-section .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contacts-section .contact-item:last-child {
    margin-bottom: 0;
}

.contacts-section .contact-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1.25rem;
    background: rgba(37, 106, 215, 0.12);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contacts-section .contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.contacts-section .contact-card-highlight .contact-icon {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.contacts-section .contact-card-highlight .contact-item {
    padding: 1.2rem 1.25rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    margin-bottom: 1rem;
}

.contacts-section .contact-card-highlight .contact-item:last-child {
    margin-bottom: 0;
}

.contacts-section .contact-label {
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--text-main);
}

.contacts-section .contact-value {
    color: var(--text-muted);
}

.contacts-section .contact-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.contacts-section .contact-link:hover {
    text-decoration: underline;
}

.contacts-section .contact-card-highlight .contact-label {
    color: rgba(255, 255, 255, 0.9);
}

.contacts-section .contact-card-highlight .contact-value {
    color: rgba(255, 255, 255, 0.78);
}

.contacts-section .contact-card-highlight .contact-link {
    color: #ffffff;
}

.contacts-section .contact-card-highlight .contact-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.contacts-section .contact-card-highlight .btn {
    border-radius: 999px;
    padding: 0.65rem 1.6rem;
    font-weight: 600;
}

.contacts-section .contact-card-highlight .btn-outline-light:hover {
    color: #1a3f9d;
}

.macro-block {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    padding: 1.5rem;
}

.macro-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.macro-block li {
    margin: 0;
}

.macro-block a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(37, 106, 215, 0.08);
    color: var(--accent);
    font-weight: 500;
}

.macro-block a:hover {
    background: var(--accent);
    color: #ffffff;
}


.popular-cities-block {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: var(--card-shadow);
}

.popular-cities-block__title {
    font-weight: 600;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.popular-cities__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.popular-cities__item {
    margin: 0;
}

.popular-cities__link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.4rem;
    border-radius: 999px;
    background: rgba(37, 106, 215, 0.12);
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.popular-cities__link:hover,
.popular-cities__link:focus {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(37, 106, 215, 0.2);
}

@media (max-width: 576px) {
    .popular-cities-block {
        padding: 2rem 1.5rem;
    }

    .popular-cities__list {
        justify-content: flex-start;
    }
}

.map-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.map-groups {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.map-group {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.map-group::before {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(37, 106, 215, 0.12), transparent 70%);
    top: -110px;
    right: -80px;
}

.map-group__header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 1;
}

.map-group__icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1.25rem;
    background: rgba(37, 106, 215, 0.12);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 30px rgba(37, 106, 215, 0.18);
}

.map-group__icon svg {
    width: 1.6rem;
    height: 1.6rem;
}

.map-group__title {
    margin: 0;
    font-weight: 700;
    font-size: 1.35rem;
}

.map-group__subtitle {
    margin: 0.15rem 0 0;
    color: var(--text-muted);
}

.map-group__grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.map-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: rgba(246, 247, 251, 0.9);
    border-radius: 18px;
    padding: 1.25rem 1.35rem;
    color: inherit;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.map-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 106, 215, 0.35);
    box-shadow: 0 18px 38px rgba(15, 46, 87, 0.12);
    background: #ffffff;
}

.map-card__name {
    font-weight: 600;
    font-size: 1.05rem;
}

.map-card__meta {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.map-card__chevron {
    margin-top: auto;
    align-self: flex-end;
    color: var(--accent);
    font-weight: 600;
    transition: transform 0.2s ease;
}

.map-card:hover .map-card__chevron {
    transform: translate(4px, -2px);
}

.footer-bar {
    background: #0f172a;
    color: rgba(255, 255, 255, 0.8);
    padding: 1.5rem 0;
    margin-top: 4rem;
}

.footer-bar a {
    color: rgba(255, 255, 255, 0.85);
}

.footer-bar a:hover {
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .main-navbar .nav-link {
        padding: 0.75rem 0;
    }

    .topbar .contact-badge {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .hero-section .hero-content {
        padding: 4rem 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .feature-card,
    .timeline-step,
    .calculation-card,
    .review-card,
    .rich-text,
    .contacts-section .contact-card {
        border-radius: 20px;
    }
}
