:root {
    --primary-color: #1A1B1C;
    --secondary-color: #54595F;
    --text-color: #2D3748;
    --text-muted: #5A6270;
    --accent-color: #0067B8;
    --accent-hover: #005CA5;
    --bg-light: #F8F9FA;
    --bg-card: #FFFFFF;
    --border-color: #E5E7EB;
    --border-hairline: 1px solid #E5E7EB;
}

html {
    /* Base font size: 18px equivalent in modern relative percent (18 / 16 = 112.5%).
       Respects accessibility preferences and fluid browser scaling */
    font-size: 112.5%;
}

body {
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    background-color: #FFFFFF;
    font-size: 1rem; /* 18px */
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

input, textarea, select {
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Accessibility: never allow uncomfortably small text */
small, .small {
    font-size: 0.88rem; /* ~16px */
    line-height: 1.5;
}

/* Typography — Unbounded for Headings, Accents, and Buttons */
h1, h2, h3, h4, h5, h6,
.hero-title,
.header-logo-title,
.header-phone-number,
.service-price-value,
.service-card-title,
.service-card-price,
.feature-number,
.footer-title,
.step-num,
.btn,
.btn-accent,
.btn-outline-custom,
.btn-header-order,
button,
input[type="submit"] {
    font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: -0.02em;
}

h1, h2, h3, h4, h5, h6,
.hero-title,
.header-logo-title,
.header-phone-number,
.service-price-value,
.service-card-title,
.service-card-price,
.feature-number {
    color: var(--primary-color);
    font-weight: 700;
}

.tabular-nums {
    font-variant-numeric: tabular-nums;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
    color: #FFFFFF !important;
}

/* Navbar & Header (Original Style) */
.site-header {
    background: #FFFFFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.header-top-row {
    padding: 0.75rem 0;
    background: #FFFFFF;
}

.header-logo-icon {
    height: 48px;
    width: auto;
}

.header-logo-title {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1;
    color: #1A1B1C;
    margin-bottom: 2px;
    letter-spacing: -0.02em;
}

.header-logo-city {
    font-size: 0.8rem;
    color: #6B7280;
    line-height: 1;
}

.header-phone-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-color);
}

.header-phone-number {
    font-size: 1.45rem;
    font-weight: 800;
    color: #1A1B1C;
    text-decoration: none;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

.header-phone-number:hover {
    color: var(--accent-color);
}

.header-phone-hours {
    font-size: 0.8rem;
    color: #6B7280;
    line-height: 1;
}

/* Messenger Circle Icons */
.messenger-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF !important;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.messenger-link svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.messenger-link:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

.messenger-wa {
    background-color: #25D366;
}

.messenger-viber {
    background-color: #7360F2;
}

.messenger-tg {
    background-color: #0088CC;
}

.messenger-phone {
    background-color: var(--accent-color);
}

.messenger-phone:hover {
    background-color: var(--accent-hover);
}

/* Header Order Button */
.btn-header-order {
    font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--accent-color);
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.55rem 1.6rem;
    border-radius: 4px;
    border: none;
    letter-spacing: -0.01em;
    transition: background-color 0.15s ease;
}

.btn-header-order:hover {
    background-color: var(--accent-hover);
}

/* Navigation Blue Bar */
.header-nav-bar {
    background-color: var(--accent-color);
}

.header-nav-bar .navbar {
    padding: 0;
}

/* Desktop Navigation (>= 992px) */
@media (min-width: 992px) {
    .header-nav-bar {
        position: relative;
    }

    .header-nav-bar .container {
        position: relative;
    }

    .header-nav-bar .navbar {
        position: static;
    }

    .header-nav-bar .navbar-collapse,
    .header-nav-bar .offcanvas-lg,
    .header-nav-bar .offcanvas-body,
    .header-nav-bar .navbar-nav {
        position: static;
    }

    .header-nav-bar .nav-item.dropdown,
    .header-nav-bar .nav-item.dropdown-mega {
        position: static;
    }

    .header-nav-bar .nav-link {
        font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, sans-serif;
        color: #FFFFFF !important;
        font-weight: 600;
        font-size: 0.95rem;
        letter-spacing: -0.01em;
        padding: 0.85rem 1.25rem !important;
        transition: background-color 0.15s ease, text-decoration 0.15s ease;
    }

    .header-nav-bar .nav-link:hover,
    .header-nav-bar .nav-link:focus {
        background-color: var(--accent-hover);
    }

    /* Active / open nav-link underline as in design screenshot */
    .header-nav-bar .nav-item.dropdown:hover > .nav-link,
    .header-nav-bar .nav-item.dropdown.show > .nav-link,
    .header-nav-bar .nav-link.active {
        color: #FFFFFF !important;
        text-decoration: underline;
        text-underline-offset: 8px;
        text-decoration-thickness: 3px;
        text-decoration-color: #FFFFFF;
        background-color: transparent !important;
    }

    /* Standard compact dropdown for non-mega menus */
    .header-nav-bar .dropdown-menu:not(.mega-menu) {
        border: var(--border-hairline);
        border-radius: 6px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        padding: 0.5rem 0;
        min-width: 260px;
    }

    .header-nav-bar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .header-nav-bar .dropdown-item {
        font-size: 0.92rem;
        font-weight: 500;
        padding: 0.5rem 1.25rem;
        color: var(--primary-color);
    }

    .header-nav-bar .dropdown-item:hover {
        background-color: var(--bg-light);
        color: var(--accent-color);
    }

    /* Full-container-width Mega Menu */
    .header-nav-bar .dropdown-menu.mega-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        min-width: 100%;
        margin: 0;
        padding: 1.75rem 2.25rem;
        background-color: #FFFFFF;
        border: 1px solid #E2E8F0;
        border-top: none;
        border-radius: 0 0 14px 14px;
        box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15), 0 8px 16px -4px rgba(0, 0, 0, 0.08);
        z-index: 1060;
    }

    /* Invisible hover-bridge preventing accidental dropdown closure */
    .header-nav-bar .dropdown-menu.mega-menu::before {
        content: '';
        position: absolute;
        top: -12px;
        left: 0;
        right: 0;
        height: 12px;
    }

    .header-nav-bar .mega-menu-list {
        padding-left: 0;
        list-style: none;
        margin-bottom: 0;
    }

    .header-nav-bar .mega-menu-link {
        display: block;
        font-family: 'Noto Sans', sans-serif;
        font-size: 0.95rem;
        font-weight: 500;
        color: #1F2933;
        padding: 0.65rem 0.25rem;
        border-bottom: 1px solid #EEF2F6;
        text-decoration: none;
        line-height: 1.35;
        white-space: normal !important;
        transition: color 0.15s ease, padding-left 0.15s ease;
    }

    .header-nav-bar .mega-menu-link:hover {
        color: var(--accent-color);
        padding-left: 0.35rem;
        background-color: transparent;
    }

    .header-nav-bar .mega-menu-link.mega-menu-link-all {
        color: var(--accent-color);
        font-weight: 700;
        border-bottom: none;
        padding-top: 0.85rem;
    }

    .header-nav-bar .mega-menu-link.mega-menu-link-all:hover {
        color: var(--accent-hover);
        padding-left: 0.5rem;
    }

    /* Column 3 illustration card */
    .mega-menu-image-card {
        width: 100%;
        max-width: 330px;
        height: 270px;
        border-radius: 12px;
        overflow: hidden;
        background-color: #F8F9FA;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .mega-menu-image-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

    .mega-menu-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
}

/* Medium Desktop / Tablet Landscape (992px to 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .header-nav-bar .nav-link {
        font-size: 0.88rem;
        padding: 0.85rem 0.85rem !important;
    }

    .nav-item-blog {
        display: none !important;
    }

    .header-phone-number {
        font-size: 1.25rem;
    }

    .header-logo-title {
        font-size: 1.4rem;
    }

    .btn-header-order {
        padding: 0.5rem 1.1rem;
        font-size: 0.95rem;
    }
}

/* Mobile Offcanvas Navigation (< 992px) */
@media (max-width: 991.98px) {
    .header-nav-bar .offcanvas-lg {
        max-width: 330px;
        background-color: #FFFFFF;
    }

    .header-nav-bar .offcanvas-body {
        padding: 1rem 1.25rem 2rem;
        overflow-y: auto;
    }

    .header-nav-bar .nav-link {
        font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, sans-serif;
        color: #1A1B1C !important;
        font-size: 1.05rem;
        font-weight: 700;
        padding: 0.85rem 0.5rem !important;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #EEF0F2;
        letter-spacing: -0.01em;
        transition: color 0.15s ease;
    }

    .header-nav-bar .nav-link:hover,
    .header-nav-bar .nav-link:active {
        color: var(--accent-color) !important;
        background-color: transparent;
    }

    .header-nav-bar .dropdown-menu {
        position: static !important;
        transform: none !important;
        background-color: #F8F9FA;
        border: none;
        border-radius: 8px;
        box-shadow: none;
        margin: 0.25rem 0 0.75rem 0;
        padding: 0.5rem 0.75rem;
    }

    .header-nav-bar .dropdown-menu.mega-menu {
        padding: 0.35rem 0.5rem;
    }

    .header-nav-bar .mega-menu-list {
        padding-left: 0;
        list-style: none;
        margin-bottom: 0;
    }

    .header-nav-bar .dropdown-item,
    .header-nav-bar .mega-menu-link {
        font-family: 'Noto Sans', sans-serif;
        font-size: 0.95rem;
        padding: 0.65rem 0.75rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        color: #2D3748;
        border-radius: 6px;
        border-bottom: 1px solid #E9ECEF;
        white-space: normal;
        text-decoration: none;
        line-height: 1.35;
    }

    .header-nav-bar .dropdown-item:hover,
    .header-nav-bar .dropdown-item:active,
    .header-nav-bar .mega-menu-link:hover,
    .header-nav-bar .mega-menu-link:active {
        background-color: #E9ECEF;
        color: var(--accent-color);
    }

    .header-nav-bar .mega-menu-link.mega-menu-link-all {
        font-weight: 700;
        color: var(--accent-color);
        border-bottom: none;
    }

    .header-nav-bar .offcanvas-footer .messenger-link {
        width: 44px;
        height: 44px;
    }

    /* Tactile mobile catalog bar button */
    .header-nav-bar .navbar-toggler-icon {
        width: 1.3em;
        height: 1.3em;
    }
}

@media (max-width: 575.98px) {
    .header-top-row {
        padding: 0.5rem 0;
    }

    .header-logo-icon {
        height: 38px;
    }

    .header-logo-title {
        font-size: 1.35rem;
    }

    .header-logo-city {
        font-size: 0.75rem;
    }

    .messenger-link {
        width: 36px;
        height: 36px;
    }

    .messenger-link svg {
        width: 18px;
        height: 18px;
    }
}


/* Buttons */
.btn-accent {
    font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--accent-color);
    color: #FFFFFF;
    border: 1px solid var(--accent-color);
    font-weight: 700;
    padding: 0.65rem 1.5rem;
    border-radius: 6px;
    letter-spacing: -0.01em;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #FFFFFF;
}

.btn-outline-custom {
    font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--primary-color);
    border: var(--border-hairline);
    background: #FFFFFF;
    font-weight: 700;
    padding: 0.65rem 1.5rem;
    border-radius: 6px;
    letter-spacing: -0.01em;
}

.btn-outline-custom:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    padding: 3.5rem 0 3rem;
    border-bottom: var(--border-hairline);
    background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-light) 100%);
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-rotating-wrap {
    display: inline-block;
    vertical-align: top;
    min-height: 1.2em;
}

.hero-rotating-word {
    display: inline-block;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateY(0);
}

.hero-rotating-word.is-hidden {
    opacity: 0;
    transform: translateY(-10px);
}

.hero-rotating-word.is-entering {
    transform: translateY(10px);
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 650px;
}

.hero-image {
    max-height: 420px;
    width: 100%;
    object-fit: cover;
    border-bottom: var(--border-hairline);
}

/* Popular Services Section */
.popular-services-section {
    background-color: #F8F9FA;
}

.popular-card {
    background-color: #FFFFFF;
    border: var(--border-hairline) !important;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.popular-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 103, 184, 0.12) !important;
    border-color: var(--accent-color) !important;
}

.popular-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background-color: #EDF2F7;
}

.popular-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.popular-card:hover .popular-card-img {
    transform: scale(1.04);
}

.popular-card-price-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(26, 27, 28, 0.88);
    backdrop-filter: blur(4px);
    color: #FFFFFF;
    font-family: 'Unbounded', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    letter-spacing: -0.01em;
}

.popular-card-title {
    font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.95rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
    transition: color 0.15s ease;
}

.popular-card:hover .popular-card-title {
    color: var(--accent-color) !important;
}

.popular-card-icon {
    color: var(--accent-color);
    transition: transform 0.2s ease;
}

.popular-card:hover .popular-card-icon {
    transform: translateX(3px);
}

@media (max-width: 575.98px) {
    .popular-card-title {
        font-size: 0.85rem;
    }
    .popular-card-price-badge {
        font-size: 0.72rem;
        padding: 0.2rem 0.45rem;
        bottom: 6px;
        left: 6px;
    }
}

/* Breadcrumbs */
.breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--accent-color);
}

.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 500;
}

/* Service Detail View */
.service-header {
    padding: 2.5rem 0 1.5rem;
    border-bottom: var(--border-hairline);
}

.service-price-box {
    padding: 1.5rem;
    background: #FFFFFF;
}

.service-price-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

/* Price Table */
.price-table {
    border: var(--border-hairline);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.price-table .table {
    margin-bottom: 0;
}

.price-table th {
    background: var(--bg-light);
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: var(--border-hairline);
    padding: 0.9rem 1.2rem;
}

.price-table td {
    padding: 1rem 1.25rem;
    border-bottom: var(--border-hairline);
    vertical-align: middle;
    font-size: 1.05rem;
}

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

.price-value-cell {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--accent-color);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    text-align: right;
}

.form-control {
    font-size: 1rem;
    min-height: 48px;
    border: var(--border-hairline);
    border-radius: 6px;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 103, 184, 0.15);
}

/* Cards & Bento Grid */
.service-card {
    border: var(--border-hairline);
    border-radius: 8px;
    background: #FFFFFF;
    transition: transform 0.15s ease, border-color 0.15s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--accent-color);
    color: inherit;
}

.service-card-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
    border-bottom: var(--border-hairline);
}

.service-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
    font-variant-numeric: tabular-nums;
    margin-top: auto;
}

/* Benefits / Features */
.features-section {
    background-color: #FFFFFF;
    padding: 5rem 0;
}

.features-eyebrow {
    font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    letter-spacing: 0.04em;
    color: var(--accent-color);
}

.features-title {
    font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    color: #1A1B1C;
    letter-spacing: -0.02em;
}

.feature-card {
    background-color: #E9EFFF;
    border-radius: 20px;
    padding: 3rem 2.25rem 2.75rem;
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    background-color: #E2ECFF;
    box-shadow: 0 16px 36px rgba(0, 103, 184, 0.08);
}

.feature-card-icon {
    color: var(--accent-color);
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}

.feature-card-icon svg {
    width: 38px;
    height: 38px;
}

.feature-card-title {
    font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: #1A1B1C;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.feature-card-desc {
    font-family: 'Noto Sans', sans-serif;
    font-size: 0.95rem;
    color: #4A5568;
    line-height: 1.55;
}

@media (max-width: 767.98px) {
    .features-section {
        padding: 3.5rem 0;
    }

    .feature-card {
        padding: 2.25rem 1.75rem;
        border-radius: 16px;
    }

    .feature-card-title {
        font-size: 1.2rem;
    }
}

.feature-item {
    padding: 1.5rem;
    border: var(--border-hairline);
    border-radius: 8px;
    background: #FFFFFF;
    height: 100%;
}

.feature-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
}

/* Pre-Footer Banner (Швидке та просте вирішення побутових питань) */
.pre-footer-banner,
.cta-section {
    background-color: #B6B4B4;
    background-image: url("/wp-content/uploads/2023/06/Cover.webp");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 3.5rem 0;
    position: relative;
    border-top: var(--border-hairline);
}

.pre-footer-banner-title {
    font-family: 'Unbounded', sans-serif;
    line-height: 1.25;
    color: #1F2933;
    letter-spacing: -0.02em;
}

.pre-footer-banner-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4B5563;
    max-width: 540px;
}

@media (max-width: 991.98px) {
    .pre-footer-banner,
    .cta-section {
        background-position: left center;
        padding: 2.5rem 0;
    }
    .pre-footer-banner-content {
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        padding: 2rem;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }
    .pre-footer-banner-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
}

/* Accordion FAQ */
.faq-section {
    padding: 3.5rem 0;
}

.accordion-item {
    border: var(--border-hairline);
    border-radius: 6px !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--primary-color);
    background: #FFFFFF;
    padding: 1.1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
    color: var(--accent-color);
    background-color: var(--bg-light);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--border-color);
}

.accordion-body {
    padding: 1.25rem;
    color: var(--text-color);
    background: #FFFFFF;
    border-top: var(--border-hairline);
}

/* Footer — Light Theme */
.site-footer {
    background: #F8F9FA;
    color: #4B5563;
    padding: 4rem 0 2rem;
    border-top: var(--border-hairline);
    font-size: 0.95rem;
}

.site-footer h5 {
    color: var(--primary-color, #1A1B1C);
    font-family: 'Unbounded', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: -0.01em;
}

.site-footer a {
    color: #4B5563;
    text-decoration: none;
    transition: color 0.15s ease;
}

.site-footer a:hover {
    color: var(--accent-color, #0067B8);
}

.footer-phone {
    color: var(--primary-color, #1A1B1C) !important;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-phone:hover {
    color: var(--accent-color, #0067B8) !important;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E5E7EB;
    font-size: 0.85rem;
    color: #6B7280;
}

.footer-bottom a {
    color: #6B7280;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-bottom a:hover {
    color: var(--accent-color, #0067B8);
}

/* Working hours badge */
.badge-hours {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.65rem;
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10B981;
}

/* Coverage / Working Region Section (Жовті Води) */
.coverage-section {
    background-color: #FFFFFF;
}

.coverage-title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    line-height: 1.18;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.coverage-lead {
    line-height: 1.6;
}

.coverage-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-color);
    display: inline-block;
}

.coverage-map-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.coverage-map-img {
    max-width: 100%;
    height: auto;
    max-height: 340px;
    filter: drop-shadow(0 12px 28px rgba(23, 75, 212, 0.16));
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.coverage-map-img:hover {
    transform: translateY(-4px) scale(1.02);
    filter: drop-shadow(0 16px 36px rgba(23, 75, 212, 0.24));
}

@media (max-width: 991.98px) {
    .coverage-title {
        font-size: clamp(1.75rem, 5vw, 2.4rem);
    }
    .coverage-lead {
        margin-left: auto;
        margin-right: auto;
    }
    .coverage-map-img {
        max-height: 280px;
    }
}

@media (max-width: 575.98px) {
    .coverage-map-img {
        max-height: 220px;
    }
}

/* How to Order Section (Як Зробити замовлення) */
.order-guide-section {
    background-color: #383838;
}

.order-guide-title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

@media (max-width: 991.98px) {
    .order-guide-title {
        font-size: clamp(1.75rem, 5vw, 2.3rem);
    }
}

/* Works Slider Section (Приклади робіт) */
.works-section {
    background-color: #FFFFFF;
}

.works-slider-wrapper {
    position: relative;
    padding: 0 4px;
}

.works-swiper {
    padding-bottom: 8px;
    border-radius: 8px;
}

.work-slide-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: #F3F4F6;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    aspect-ratio: 3 / 2;
}

.work-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-slide-card:hover .work-slide-img {
    transform: scale(1.03);
}

.work-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.25rem 0.85rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 100%);
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.work-slide-card:hover .work-slide-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Navigation Buttons */
.works-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(17, 24, 39, 0.4);
    color: #FFFFFF;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.works-nav-btn:hover {
    background: var(--accent-color, #0067B8);
    color: #FFFFFF;
    transform: translateY(-50%) scale(1.08);
}

.works-nav-prev {
    left: 14px;
}

.works-nav-next {
    right: 14px;
}

/* Pagination */
.works-pagination {
    position: relative !important;
    bottom: auto !important;
    margin-top: 1.5rem !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.works-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background: #CBD5E1;
    opacity: 1;
    margin: 0 4px !important;
    transition: all 0.25s ease;
}

.works-pagination .swiper-pagination-bullet-active {
    background: #1A1B1C;
    transform: scale(1.3);
}

@media (max-width: 767.98px) {
    .works-nav-btn {
        width: 38px;
        height: 38px;
    }
    .works-nav-prev {
        left: 6px;
    }
    .works-nav-next {
        right: 6px;
    }
}

/* Custom Accessible Modal (Задати питання або замовити послугу) */
.custom-modal-content {
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16);
    overflow: hidden;
}

.modal-form-label {
    font-weight: 700;
    color: #1F2933;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.modal-phone-input {
    font-size: 1.18rem !important;
    font-weight: 600;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    color: #111827;
}

.btn-modal-submit {
    font-family: 'Unbounded', sans-serif;
    min-height: 52px;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    border-radius: 8px;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn-modal-submit:hover {
    transform: translateY(-1px);
}

.modal-footer-quick .btn {
    border-radius: 8px;
    min-height: 40px;
}

/* Order & Contact Offcanvas Drawer (Напишiть нам) — ровно треть экрана на десктопе */
.offcanvas.order-offcanvas,
.offcanvas-end.order-offcanvas {
    --bs-offcanvas-width: 33.333333vw !important;
    width: 33.333333vw !important;
    min-width: 380px;
    border-left: 1px solid #E5E7EB;
    box-shadow: -12px 0 35px rgba(0, 0, 0, 0.16);
    z-index: 1060;
}

.offcanvas.order-offcanvas .offcanvas-header {
    background-color: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    padding: 1.25rem 2rem;
}

.offcanvas.order-offcanvas .offcanvas-body {
    background-color: #FFFFFF;
    padding: 2rem;
}

@media (max-width: 991.98px) {
    .offcanvas.order-offcanvas,
    .offcanvas-end.order-offcanvas {
        --bs-offcanvas-width: 420px !important;
        width: 420px !important;
        min-width: auto;
        max-width: 85vw;
    }
    .offcanvas.order-offcanvas .offcanvas-header {
        padding: 1rem 1.5rem;
    }
    .offcanvas.order-offcanvas .offcanvas-body {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .offcanvas.order-offcanvas,
    .offcanvas-end.order-offcanvas {
        --bs-offcanvas-width: 100vw !important;
        width: 100vw !important;
        max-width: 100vw;
    }
    .offcanvas.order-offcanvas .offcanvas-header {
        padding: 1rem 1.25rem;
    }
    .offcanvas.order-offcanvas .offcanvas-body {
        padding: 1.25rem;
    }
}

/* ==========================================================================
   BLOG ARCHIVE & SIDEBAR STYLES
   ========================================================================== */
.blog-feed-item {
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #ECEFF3;
}

.blog-feed-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.blog-feed-media {
    overflow: hidden;
    border-radius: 12px;
    background-color: #F1F4F8;
    aspect-ratio: 16 / 9;
}

.blog-feed-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.blog-feed-media:hover .blog-feed-img {
    transform: scale(1.03);
}

.blog-feed-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.blog-feed-title a {
    color: #1A202C;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-feed-item:hover .blog-feed-title {
    color: var(--accent-color);
}

.blog-feed-meta {
    font-size: 0.875rem;
    color: #6C757D;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-feed-meta svg {
    color: var(--accent-color);
    flex-shrink: 0;
}

.blog-feed-excerpt {
    font-size: 0.975rem;
    line-height: 1.65;
    color: #4A5568;
    margin-bottom: 1.15rem;
}

.blog-read-more {
    font-family: 'Noto Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.25s ease, color 0.2s ease;
}

.blog-read-more:hover {
    color: #005294;
    gap: 0.65rem;
}

/* Sidebar Styles */
.blog-sidebar-widget {
    margin-bottom: 2.5rem;
}

.blog-sidebar-widget:last-child {
    margin-bottom: 0;
}

.blog-sidebar-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1A202C;
    margin-bottom: 0.65rem;
}

.blog-sidebar-divider {
    height: 2px;
    background-color: #E2E8F0;
    margin-bottom: 1.25rem;
    position: relative;
    border-radius: 2px;
}

.blog-sidebar-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 2px;
    width: 36px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.blog-sidebar-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #4A5568;
}

/* Services Widget */
.blog-services-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.blog-services-item {
    border-bottom: 1px solid #EDF2F7;
}

.blog-services-item:last-child {
    border-bottom: none;
}

.blog-services-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 0.25rem;
    color: #2D3748;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.blog-services-link svg,
.blog-services-link i {
    color: var(--accent-color);
    margin-right: 0.65rem;
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.blog-services-link:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

.blog-services-link:hover svg,
.blog-services-link:hover i {
    transform: translateX(2px);
}

/* Popular Posts Widget */
.blog-popular-list {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.blog-popular-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.blog-popular-thumb {
    width: 76px;
    height: 76px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #EDF2F7;
}

.blog-popular-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-popular-item:hover .blog-popular-thumb img {
    transform: scale(1.08);
}

.blog-popular-info {
    margin-left: 1rem;
    flex-grow: 1;
}

.blog-popular-title {
    font-family: 'Noto Sans', sans-serif;
    font-size: 0.925rem;
    font-weight: 600;
    line-height: 1.35;
    color: #2D3748;
    margin-bottom: 0;
    transition: color 0.2s ease;
}

.blog-popular-item:hover .blog-popular-title {
    color: var(--accent-color);
}

/* Promo Box Widget */
.blog-promo-box {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    padding: 2.25rem 1.75rem;
    min-height: 490px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.blog-promo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.15) 0%, rgba(17, 24, 39, 0.88) 100%);
    transition: background 0.3s ease;
}

.blog-promo-box:hover .blog-promo-overlay {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.1) 0%, rgba(17, 24, 39, 0.92) 100%);
}

.blog-promo-content {
    position: relative;
    z-index: 2;
}

.blog-promo-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.4rem;
}

.blog-promo-text {
    font-size: 0.925rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.25rem;
    line-height: 1.45;
}

.blog-promo-btn {
    font-family: 'Noto Sans', sans-serif;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 1.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    align-self: flex-start;
}

.blog-promo-btn:hover,
.blog-promo-btn:active {
    background-color: #005294 !important;
    border-color: #005294 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 103, 184, 0.35);
}



/* ==========================================================================
   Blog Article Editorial Typography & Layout (Swiss & Clean Cadence)
   ========================================================================== */

.article-page {
    background-color: #FFFFFF;
}

.article-category-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.article-main-title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(1.65rem, 2.5vw, 2.2rem);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.025em;
    color: var(--primary-color);
    margin-top: 0.25rem;
    margin-bottom: 1.25rem;
}

.article-meta-bar {
    font-size: 0.88rem;
    color: var(--text-muted);
    padding: 0.75rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.article-meta-bar span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.article-featured-media {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: #F8F9FA;
    margin-bottom: 2.25rem;
}

.article-featured-media img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    display: block;
}

/* Article Body Typography */
.article-body {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.05rem; /* ~19px */
    line-height: 1.72;
    color: #2D3748;
    max-width: 760px;
}

.article-body > *:first-child {
    margin-top: 0;
}

.article-body .lead {
    font-size: 1.18rem;
    line-height: 1.68;
    color: #1F2937;
    margin-bottom: 2.25rem;
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--accent-color);
    background-color: #F8FAFC;
    border-radius: 0 6px 6px 0;
}

.article-body h2 {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(1.3rem, 1.8vw, 1.55rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: var(--primary-color);
    margin-top: 3rem;
    margin-bottom: 1.15rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #EDF2F7;
}

.article-body h3 {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(1.08rem, 1.4vw, 1.22rem);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.015em;
    color: #1A202C;
    margin-top: 2.25rem;
    margin-bottom: 0.85rem;
}

.article-body h4 {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.45;
    color: #2D3748;
    margin-top: 1.75rem;
    margin-bottom: 0.65rem;
}

.article-body p {
    margin-bottom: 1.35rem;
}

.article-body ul,
.article-body ol {
    margin-top: 0.5rem;
    margin-bottom: 1.75rem;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.65rem;
    line-height: 1.65;
    padding-left: 0.25rem;
}

.article-body li::marker {
    color: var(--accent-color);
    font-weight: 600;
}

.article-body a {
    color: var(--accent-color);
    text-decoration: underline;
    text-decoration-color: rgba(0, 103, 184, 0.35);
    text-underline-offset: 4px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.article-body a:hover {
    color: var(--accent-hover);
    text-decoration-color: var(--accent-color);
}

.article-body strong {
    color: #111827;
    font-weight: 600;
}

.article-body em {
    color: #4A5568;
}

.article-body hr {
    margin: 2.75rem 0;
    border: none;
    border-top: 1px solid var(--border-color);
    opacity: 1;
}

.article-body blockquote {
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid var(--accent-color);
    background-color: #F8FAFC;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #334155;
}

/* Sticky Sidebar on Desktop */
@media (min-width: 992px) {
    .blog-sidebar-sticky {
        position: sticky;
        top: 2rem;
    }
}


/* ==========================================================================
   Table of Contents & E-E-A-T Reviewer Components
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

.article-body h2,
.article-body h3 {
    scroll-margin-top: 5.5rem;
}

.article-toc {
    border-radius: 8px;
    background-color: #F8FAFC;
    border: 1px solid var(--border-color);
    max-width: 760px;
}

.article-toc-list {
    counter-reset: toc-counter;
    list-style: none;
    padding-left: 0 !important;
}

.article-toc-list li {
    counter-increment: toc-counter;
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
    margin-bottom: 0.5rem;
    font-size: 0.96rem;
    line-height: 1.5;
}

.article-toc-list li::before {
    content: counter(toc-counter) ".";
    color: var(--accent-color);
    font-weight: 700;
    font-family: 'Unbounded', sans-serif;
    font-size: 0.85rem;
    min-width: 1.4rem;
}

.article-toc-link {
    color: #2D3748;
    transition: color 0.2s ease, transform 0.2s ease;
}

.article-toc-link:hover {
    color: var(--accent-color) !important;
    text-decoration: underline !important;
}

/* E-E-A-T Author & Reviewer Card */
.article-eeat-card {
    border-radius: 8px;
    background-color: #F8FAFC;
    border: 1px solid var(--border-color);
    max-width: 760px;
}

.article-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-initials {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .border-end-md {
        border-right: 1px solid var(--border-color) !important;
    }
}


/* ==========================================================================
   Mobile Floating Action Bar
   ========================================================================== */

.mobile-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid var(--border-color);
    padding: 0.5rem 0.5rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: 64px;
    }
}
