/*
Theme Name: viknadveri Adaptive 1.0
Author: Sergey Bevza
Description: Адаптивний дизайн viknadveri
Version: 2.0
*/

@charset "utf-8";

/* ============================================
   GOOGLE FONTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================
   CSS ЗМІННІ (ДИЗАЙН-СИСТЕМА)
   ============================================ */
:root {
    /* Кольори */
    --color-primary: #0284c7;
    /* Cyan accent -> Light Blue accent */
    --color-primary-dark: #0369a1;
    /* Secondary blue accent */
    --color-primary-light: rgba(2, 132, 199, 0.15);
    /* Light translucent cyan */
    --color-accent: #0284c7;
    /* Cyan for accents */

    /* Backgrounds */
    --color-bg: #f8fafc;
    /* Deep navy body background -> Light slate */
    --color-bg-secondary: #e2e8f0;
    /* Dark blue for elements -> Light grey */
    --color-glass-bg: rgba(255, 255, 255, 0.7);
    /* Translucent dark blue -> Translucent white */

    /* Text */
    --color-text: #0f172a;
    /* White primary text -> Dark slate */
    --color-text-muted: #475569;
    /* Gray-blue muted text -> Slate muted text */
    --color-white: #0284c7;
    /* Pure white */

    /* Statuses */
    --color-success: #16a34a;
    --color-warning: #d97706;
    --color-danger: #dc2626;

    /* Borders */
    --color-border: rgba(0, 0, 0, 0.1);
    /* Subtle translucent border */

    /* Шрифт */
    --font: 'Inter', system-ui, -apple-system, sans-serif;

    /* Відступи */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;

    /* Тіні та ефекты */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 15px rgba(2, 132, 199, 0.2);
    /* Cyan glow */

    /* Переходи */
    --transition: 0.3s ease;
}

/* ============================================
   GLASSMORPHISM UTILITIES
   ============================================ */
.glass-panel {
    background: var(--color-glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(2, 132, 199, 0.3);
    /* Subtle blue border on hover */
}

/* ============================================
   TEXT COLOR UTILITIES (замість inline style="color:...")
   ============================================ */
.text-theme-white {
    color: var(--color-white) !important;
}

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

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

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

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

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

/* Override Bootstrap text utilities for dark theme */
.glass-panel .text-muted,
.glass-card .text-muted,
.glass-panel p,
.glass-card p,
.glass-panel li,
.glass-card li {
    color: var(--color-text-muted) !important;
}

.glass-card .small {
    font-size: 15px !important;
}

.glass-panel h1,
.glass-panel h2,
.glass-panel h3,
.glass-panel h4,
.glass-panel h5,
.glass-panel h6,
.glass-card h1,
.glass-card h2,
.glass-card h3,
.glass-card h4,
.glass-card h5,
.glass-card h6 {
    color: var(--color-white) !important;
}

.glass-panel strong,
.glass-card strong {
    color: var(--color-white) !important;
}

.glass-panel .lead,
.glass-card .lead {
    color: var(--color-text-muted) !important;
}

.glass-panel .text-primary,
.glass-card .text-primary {
    color: var(--color-primary) !important;
}



/* ============================================
   RESET / BASE
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--color-text);
    font-size: 15px;
    line-height: 1.65;
    background: var(--color-bg);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition), text-shadow var(--transition);
}

a:hover {
    color: var(--color-primary-dark);
    text-shadow: var(--shadow-glow);
}

img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}

/* Центрування для зображень у центрованих контейнерах */
.text-center img,
.gallery img {
    margin-left: auto;
    margin-right: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text);
}


/* ============================================
   HEADER — верхня смуга з логотипом та телефонами
   ============================================ */
nav.navbar.headbl {
    background: var(--color-white);
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

nav.navbar.headbl .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-block {
    padding: 0;
}

.logo img {
    height: 48px;
    width: auto;
}

.hero-section {

    position: relative;

    overflow: hidden;

    padding: 70px;

    border-radius: 28px;

    background:
        radial-gradient(circle at top left,
            rgba(14, 165, 233, .18),
            transparent 45%),

        radial-gradient(circle at bottom right,
            rgba(59, 130, 246, .12),
            transparent 35%),

        linear-gradient(135deg,
            #f8fbff 0%,
            #edf6ff 55%,
            #e2f1ff 100%);

    border: 1px solid rgba(255, 255, 255, .8);

    box-shadow:
        0 20px 45px rgba(15, 23, 42, .05);
}

/* Badge */

.hero-badge {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 8px 18px;

    border-radius: 40px;

    background: #ffffff99;

    color: #0284c7;

    font-size: .85rem;

    font-weight: 700;

    margin-bottom: 28px;

    backdrop-filter: blur(12px);

    border: 1px solid rgba(2, 132, 199, .12);

}

/* Title */

.hero-title {

    font-size: 3.3rem;

    line-height: 1.05;

    font-weight: 900;

    color: #10273d;

    margin-bottom: 22px;

}

/* Description */

.hero-subtitle {

    max-width: 620px;

    font-size: 1.08rem;

    color: #5a6b7c;

    line-height: 1.75;

    margin-bottom: 32px;

}

/* Features */

.hero-features {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-bottom: 38px;

}

.hero-feature {

    padding: 10px 18px;

    border-radius: 50px;

    background: rgba(255, 255, 255, .65);

    border: 1px solid rgba(255, 255, 255, .85);

    font-size: .92rem;

    color: #33526b;

    backdrop-filter: blur(10px);

}

/* Stats */

.hero-stats {

    display: flex;

    gap: 18px;

    flex-wrap: wrap;

    margin-bottom: 40px;

}

.hero-stat {

    flex: 1;

    min-width: 170px;

    padding: 22px;

    border-radius: 22px;

    background: rgba(255, 255, 255, .72);

    backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, .9);

    transition: .3s;

}

.hero-stat:hover {

    transform: translateY(-6px);

    box-shadow: 0 20px 35px rgba(2, 132, 199, .08);

}

.hero-stat-num {

    font-size: 2rem;

    color: #0284c7;

    font-weight: 800;

    margin-bottom: 8px;

}

.hero-stat-label {

    color: #617387;

    font-size: .9rem;

}

/* Buttons */

.hero-buttons {

    display: flex;

    gap: 16px;

    flex-wrap: wrap;

}

.hero-btn-primary {
    padding: 16px 34px;
    border-radius: 14px;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    color: #fff;
    font-weight: 700;
    transition: .3s;
    box-shadow:
        0 12px 30px rgba(37, 99, 235, .22);
}

.hero-btn-primary:hover {
    color: #fff;
    transform: translateY(-3px);
}

.hero-btn-secondary {

    padding: 16px 34px;

    border-radius: 14px;

    border: 1px solid rgba(37, 99, 235, .15);

    background: rgba(255, 255, 255, .55);

    backdrop-filter: blur(15px);

    color: #24445d;

    font-weight: 600;

}

.hero-btn-secondary:hover {

    background: white;

}

/* Image */

.hero-image-card {

    background: rgba(255, 255, 255, .72);

    border-radius: 24px;

    overflow: hidden;

    backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, .85);

    box-shadow: 0 20px 40px rgba(15, 23, 42, .06);

}

.hero-image {

    width: 100%;

    padding: 35px;

    display: block;

    object-fit: contain;

}

.hero-image-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 26px;
    border-top: 1px solid rgba(0, 0, 0, .05);
    background: rgba(255, 255, 255, .55);
}

.hero-guarantee {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
    /* не стискати */

    white-space: nowrap;
    /* текст в один рядок */

    padding: 10px 18px;

    background: #dff7e7;
    color: #1d7f4b;

    border-radius: 999px;

    font-size: .85rem;
    font-weight: 700;
}

/* Responsive */

@media(max-width:992px) {

    .hero-section {

        padding: 45px 25px;

    }

    .hero-title {

        font-size: 2.5rem;

    }

    .hero-buttons {

        flex-direction: column;

    }

    .hero-btn-primary,
    .hero-btn-secondary {

        width: 100%;
        text-align: center;

    }

    .hero-image-card {

        margin-top: 40px;

    }

}

/* Категорії */
.cat-card {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.22s, box-shadow 0.22s;
    height: 100%;
}

.cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 32px rgba(13, 110, 253, 0.15);
    text-decoration: none;
}

.cat-card-img {
    width: 100%;
    height: 175px;
    object-fit: cover;
}

.cat-card-body {
    padding: 14px 16px 16px;
}

.cat-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.cat-card-desc {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

/* Переваги */
.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    height: 100%;
    transition: box-shadow 0.2s;
}

.advantage-item:hover {
    box-shadow: 0 6px 24px rgba(13, 110, 253, 0.12);
}

.advantage-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #e8f0ff, #d0e3ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.advantage-text h6 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.advantage-text p {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

/* Кроки роботи */
.step-item {
    text-align: center;
    position: relative;
}

.step-num {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #0d6efd, #0099ff);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    box-shadow: 0 4px 16px rgba(13, 110, 253, 0.3);
}

.step-connector {
    position: absolute;
    top: 28px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #0d6efd, #dee2e6);
}

/* CTA блок */
.cta-section {
    background: linear-gradient(135deg, #0d6efd, #0099ff);
    border-radius: 16px;
    padding: 44px 32px;
    color: #fff;
}

/* Бренди */
.brand-card {
    display: block;
    text-align: center;
    padding: 20px 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    height: 100%;
}

.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(13, 110, 253, 0.14);
}

.brand-logo {
    max-height: 48px;
    max-width: 120px;
    object-fit: contain;
    margin-bottom: 10px;
}

.brand-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.brand-desc {
    font-size: 0.73rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.3;
}

/* Контакти в шапці (стиль оновлено під 2 фото) */
.contacts {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Окремі елементи з округленим сірим фоном */
.phone-box {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    transition: background var(--transition);
    text-decoration: none;
}

.phone-box:hover {
    background: #e9ecef;
    text-decoration: none;
}

/* Сині номери телефонів з першого фото */
.phone {
    font-size: 14px;
    font-weight: 700;
    color: #00adee;
    letter-spacing: 0.2px;
}

/* Круглі іконки для телефонів та часу */
.phone-box::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 28px;
    background-color: var(--color-white);
    border-radius: 50%;
    margin-right: 8px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.phone-ks::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.1-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/svg%3E");
}

.phone-vd::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='2' width='14' height='20' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='12' y1='18' x2='12.01' y2='18'%3E%3C/line%3E%3C/svg%3E");
}

/* Блок робочого часу */
.contacts-ic {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px 8px 12px;
    font-size: 12px;
    color: #666;
    background: transparent;
}

.contacts-ic::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 28px;
    background-color: #f1f3f5;
    border-radius: 50%;
    margin-right: 8px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
    box-shadow: none;
}

.office-time {
    font-weight: 500;
}


/* ============================================
   НАВІГАЦІЙНЕ МЕНЮ
   ============================================ */
.navbar.topmenubl {
    padding: 0;
    background: var(--color-primary) !important;
    box-shadow: 0 2px 8px rgba(26, 159, 212, .25);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-nav {
    text-transform: uppercase;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.topmenu,
.dropdown-menu {
    font-size: 13px;
}

.topmenubl .topmenu .nav-link {
    color: rgba(255, 255, 255, 0.92);
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.4px;
    text-shadow: none;
    transition: background var(--transition), color var(--transition);
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.topmenubl .topmenu .nav-link:hover,
.topmenubl .topmenu .nav-link:focus {

    background: rgba(255, 255, 255, 0.15);
    text-shadow: none;
}

/* Дропдаун */
.navbar .dropdown-menu {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-top: 4px;
    padding: 6px 0;
    min-width: 13rem;
    background: #35a2f1;
    color: #fff;
    animation: fadeInDown 0.18s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-nav>li>.dropdown-menu {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: var(--radius-md);
}

.navbar .dropdown-menu a {
    padding: 0.55rem 1.1rem;
    line-height: normal;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    transition: background var(--transition), color var(--transition);
    border-radius: 0;
}

.navbar .dropdown-menu a:hover {
    background: var(--color-primary-light);
    color: #fff;
}

.dropdown-toggle::after {
    content: '›';
    margin-left: 5px;
    vertical-align: middle;
    font-size: 1.1rem;
    font-weight: 400;
    border: none;
    transform: rotate(90deg);
    display: inline-block;
    transition: transform var(--transition);
}

/* Стрілка вгору при відкритому меню */
.dropdown.show .dropdown-toggle::after {
    transform: rotate(-90deg);
}

/* Бургер кнопка */
.navbar-toggler {
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-sm);
    padding: 5px 9px;
    transition: background var(--transition);
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.15);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* ============================================
   ПЕРЕВАГИ (BENEFITS)
   ============================================ */
.benefits {
    text-align: center;
    margin: 3rem 0;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.benefits .col {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 1px solid var(--color-border);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.benefits .col:hover {
    background: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.benefits .col span {
    font-weight: 500;
    color: var(--color-text);
    font-size: 13.5px;
    line-height: 1.4;
}


/* ============================================
   СЛАЙДЕР
   ============================================ */
.carousel {
    background: var(--color-text);
    border-radius: 0;
    overflow: hidden;
}

.carousel-item {
    text-align: center;
    min-height: 220px;
}

.carousel-item img {
    width: 100%;
    object-fit: cover;
    max-height: 420px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    background: rgba(0, 0, 0, 0.25);
    transition: background var(--transition);
    border-radius: var(--radius-sm);
    margin: auto 10px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(26, 159, 212, 0.7);
}

.carousel-indicators li {
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    width: 8px;
    height: 8px;
    transition: background var(--transition);
}

.carousel-indicators .active {
    background-color: var(--color-primary);
}


/* ============================================
   КОНТЕНТ СТОРІНОК
   ============================================ */
.page {
    color: var(--color-text);
    margin-bottom: 3.5rem;
}

.page h1 {
    font-size: 1.65rem;
    font-weight: 700;
    margin: 1.5rem 0 1rem;
    color: var(--color-text);
    border-left: 4px solid var(--color-primary);
    padding-left: 0.75rem;
}

.page h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: var(--color-text);
}

.page p {
    color: var(--color-text);
    margin-bottom: 1rem;
}

.page a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.page a:hover {
    color: var(--color-primary-dark);
}

/* Список в статтях */
article li {
    padding: 0.4rem 0 0.4rem 1.5rem;
    background: none;
    position: relative;
    color: var(--color-text);
}

article li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
}

/* Таблиці */
.table .thead-blue th {
    color: var(--color-white);
    background-color: var(--color-primary);
    border-color: var(--color-primary-dark);
    font-weight: 600;
}

.table td,
.table th {
    vertical-align: middle;
    border-color: var(--color-border);
}

/* Хлібні крихти */
.breadcrumb {
    background: none;
    padding: 0.6rem 0;
    margin-bottom: 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 13px;
    color: var(--color-text-muted);
}

.breadcrumb__item {
    display: inline;
}

.breadcrumb__item__link {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

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


/* ============================================
   ARTICLES / CARDS
   ============================================ */
.acticle {
    clear: both;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--color-border);
}

.acticle img {
    float: left;
    margin: 0.25rem 1.25rem 0.5rem 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0;
}

/* Галерея */
.gallery img {
    border: 2px solid var(--color-primary-light);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.gallery img:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

/* Категорії */
.catbl h3 {
    font-size: 14px;
    font-weight: 600;
    padding: 0.5rem 0;
    text-align: center;
    color: var(--color-text);
}

.catimg {
    text-align: center;
}

.catimg img {
    max-width: 200px;
    height: auto;
    border-radius: var(--radius-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.catimg img:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.category {
    margin: 1rem 0;
    float: right;
    font-size: 13px;
    color: var(--color-text-muted);
}


/* ============================================
   КНОПКА "ВГОРУ"
   ============================================ */
.b-top {
    z-index: 2600;
    position: fixed;
    right: 24px;
    bottom: 24px;
    left: auto;
    width: auto;
    margin-left: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.b-top[style*="block"] {
    opacity: 1;
    pointer-events: auto;
}

.b-top:hover {
    opacity: 1;
    cursor: pointer;
}

.b-top-but {
    z-index: 2600;
    position: static;
    display: block;
    margin: 0;
    padding: 10px 14px;
    color: var(--color-white);
    background: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.b-top-but:hover {
    background: var(--color-primary-dark);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}


/* ============================================
   ПАГІНАЦІЯ
   ============================================ */
.wp-pagenavi,
.pagination {
    margin: 2rem 0;
}

.wp-pagenavi ul,
.pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    margin: 0;
}

.wp-pagenavi ul li,
.pagination ul li {
    list-style: none;
}

.wp-pagenavi ul li a,
.wp-pagenavi ul li span,
.pagination ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
    background: var(--color-white);
    text-decoration: none;
    transition: all var(--transition);
}

.wp-pagenavi ul li a:hover,
.pagination ul li a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.wp-pagenavi ul li span.current,
.page-numbers.current {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: var(--color-white) !important;
}

.wp-pagenavi ul li a.prev,
.wp-pagenavi ul li a.next {
    font-weight: 600;
    padding: 0 14px;
}


/* ============================================
   ФУТЕР
   ============================================ */
footer,
footer.page-footer {
    background: #1a2535;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.page-footer {
    background: #1a2535;
    padding-top: 3rem;
    padding-bottom: 1rem;
}

.page-footer h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

footer h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1rem;
}

.page-footer ul {
    padding-left: 0;
    line-height: 2;
}

.page-footer ul li {
    position: relative;
    padding-left: 14px;
    font-size: 13.5px;
}

.page-footer ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-primary);
}

/* Прибираємо старі псевдоелементи */
.page-footer ul li::after {
    display: none;
}

.page-footer.dark a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color var(--transition);
}

.page-footer.dark a:hover,
.page-footer.dark a:focus {
    color: var(--color-white);
}

/* Копірайт */
.footer-copyright {
    background: #111c2a;
    font-size: 12.5px;
    padding: 18px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2rem;
}

.page-footer .footer-copyright {
    margin-top: 2.5rem;
}


/* ============================================
   ПОШУК
   ============================================ */
#searchform .search-wrapper {
    display: flex;
    align-items: stretch;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
    background: var(--color-white);
}

#searchform .search-wrapper:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26, 159, 212, 0.15);
}

#searchform .findText {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.55rem 0.85rem;
    font-family: var(--font);
    font-size: 14px;
    color: var(--color-text);
    background: transparent;
}

#searchform .findText::placeholder {
    color: var(--color-text-muted);
}

#searchform .findButton {
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 0 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
    flex-shrink: 0;
}

#searchform .findButton:hover {
    background: var(--color-primary-dark);
}

/* Читати далі */
.readmore {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}


/* ============================================
   АДАПТИВНІСТЬ
   ============================================ */

/* Тільки мобільні — до 576px */
@media screen and (max-width: 575px) {
    .carousel {
        display: none;
    }

    .benefits {
        display: none;
    }

    .contacts {
        font-size: 13px;
        align-items: flex-start;
    }

    .logo img {
        height: 40px;
    }

    .page h1 {
        font-size: 1.3rem;
    }

    .b-top {
        right: 12px;
        bottom: 16px;
    }
}

/* Планшет — 576px–991px */
@media screen and (min-width: 576px) and (max-width: 991px) {
    .carousel {
        display: none;
    }

    .topmenubl .topmenu .nav-link {
        padding: 0.75rem 0.9rem;
    }

    .benefits {
        margin: 1.5rem 0;
        font-size: 0.78rem;
    }
}

/* Десктоп — від 992px */
@media only screen and (min-width: 992px) {
    .carousel-item img {
        height: 360px;
        object-fit: cover;
    }
}

@media only screen and (min-width: 1200px) {
    .carousel-item img {
        height: 420px;
    }
}

/* Малий мобільний — до 320px */
@media screen and (max-width: 320px) {
    nav.navbar.headbl .container {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .contacts {
        align-items: flex-start;
    }
}

/* ============================================
   КОНТАКТИ (БЛОК НА ГОЛОВНІЙ)
   ============================================ */
.contacts-section {
    margin: 40px 0;
}

.contacts-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.contacts-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60%;
    height: 4px;
    background-color: #dc3545;
    /* Red line like in screenshot */
}

.contacts-info-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contacts-info-icon {
    font-size: 1.2rem;
    margin-right: 15px;
    color: #333;
    width: 24px;
    text-align: center;
}

.contacts-info-text {
    font-size: 0.95rem;
    color: #444;
}

.work-schedule-box {
    background:
        radial-gradient(circle at top left,
            rgba(14, 165, 233, .18),
            transparent 45%),

        radial-gradient(circle at bottom right,
            rgba(59, 130, 246, .12),
            transparent 35%),

        linear-gradient(135deg,
            #f8fbff 0%,
            #edf6ff 55%,
            #e2f1ff 100%);

    border: 1px solid rgba(255, 255, 255, .8);

    box-shadow:
        0 20px 45px rgba(15, 23, 42, .05);
    padding: 25px;
    color: white;
    margin-bottom: 20px;
}

.work-schedule-box h4 {
    font-weight: 700;
    margin-bottom: 15px;
}

.consultation-box {

    position: relative;
    overflow: hidden;

    padding: 50px;

    border-radius: 28px;

    background:
        radial-gradient(circle at top left,
            rgba(14, 165, 233, .15),
            transparent 45%),

        radial-gradient(circle at bottom right,
            rgba(59, 130, 246, .10),
            transparent 35%),

        linear-gradient(135deg,
            #fff9df 0%,
            #fff3b3 45%,
            #ffe16a 100%);

    border: 1px solid rgba(255, 255, 255, .7);

    box-shadow:
        0 20px 45px rgba(15, 23, 42, .06);
}

/* Glow */

.consultation-box::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(circle,
            rgba(255, 255, 255, .35),
            transparent 70%);

    pointer-events: none;

}

/* Title */

.consultation-box h4 {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    gap: 16px;

    margin-bottom: 35px;

    font-size: 2rem;

    font-weight: 800;

    color: #10273d;

}

.consultation-box h4 i {

    font-style: normal;

    font-size: 2rem;

}

/* Form */

.consultation-form {

    position: relative;

    z-index: 2;

}

/* Inputs */

.consultation-form .form-control {
    height: 56px;
    border: none;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 1);
    padding: 0 22px;
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #10273d;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04), inset 0 2px 4px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.consultation-form textarea.form-control {
    height: 150px;
    padding-top: 18px;
    resize: vertical;
}

/* Placeholder */

.consultation-form .form-control::placeholder {

    color: #92adc8;

}

/* Focus */

.consultation-form .form-control:focus {

    background: #fff;

    border-color: #0ea5e9;

    box-shadow:
        0 0 0 4px rgb(137, 218, 255),
        0 12px 30px rgb(14, 164, 233);

    outline: none;

}

/* Button */

.consultation-form .btn-submit {

    margin-top: 10px;

    width: 100%;

    height: 62px;

    border: none;

    border-radius: 16px;

    background:
        linear-gradient(135deg,
            #06b6d4,
            #2563eb);

    color: #fff;

    font-size: 1.15rem;

    font-weight: 700;

    letter-spacing: .5px;

    transition: .3s;

    box-shadow:
        0 15px 35px rgba(37, 99, 235, .25);

}

.consultation-form .btn-submit:hover {

    transform: translateY(-3px);

    box-shadow:
        0 20px 45px rgba(37, 99, 235, .35);

}

.gallery-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 40px auto;
    overflow: hidden;
}

.gallery {

    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery::-webkit-scrollbar {
    display: none;
}

.slide {

    flex: 0 0 100%;
    scroll-snap-align: start;
}

.slide img {

    display: block;
    width: 100%;
    height: 600px;
    object-fit: cover;

    border-radius: 16px;
}

.gallery-btn {

    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 55px;
    height: 55px;

    border: none;
    border-radius: 50%;

    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .2);

    cursor: pointer;

    font-size: 28px;
    z-index: 100;

    transition: .2s;
}

.gallery-btn:hover {

    transform: translateY(-50%) scale(1.1);

}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

@media(max-width:768px) {

    .slide img {
        height: 320px;
    }

    .gallery-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

}

/* Mobile */

@media(max-width:768px) {

    .consultation-box {

        padding: 30px 24px;

    }

    .consultation-box h4 {

        font-size: 1.6rem;

    }

    .consultation-form .form-control {

        height: 56px;

    }

    .consultation-form textarea.form-control {

        height: 150px;

    }

}

.map-container {
    height: 100%;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   ФОРМИ ТА ІНПУТИ (FUTURISTIC DASHBOARD)
   ============================================ */
.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    padding: 12px 16px;
    font-family: var(--font);
    font-size: 15px;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
    backdrop-filter: blur(8px);
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: var(--color-text-muted);
    opacity: 1;
}

.form-control:focus,
input:focus,
textarea:focus,
select:focus {
    background: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15), 0 4px 15px rgba(2, 132, 199, 0.1);
    outline: none;
}

/* ============================================
   КНОПКИ (FUTURISTIC DASHBOARD)
   ============================================ */
.btn {
    font-family: var(--font);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none !important;
}

.btn:hover,
.btn:focus {
    text-decoration: none !important;
}

.btn:active {
    transform: translateY(1px);
}

/* Первинна кнопка */
.btn-primary,
.btn-warning {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3) !important;
    border: none !important;
}

.btn-primary:hover,
.btn-warning:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5), var(--shadow-glow) !important;
    color: #ffffff !important;
}

/* Вторинна кнопка (Glass Style) */
.btn-secondary,
.btn-outline-light,
.btn-outline-primary {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: var(--color-white) !important;
    box-shadow: var(--shadow-sm) !important;
}

.btn-secondary:hover,
.btn-outline-light:hover,
.btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px) !important;
    color: var(--color-white) !important;
}

/* ============================================
   ТАБЛИЦІ (FUTURISTIC DASHBOARD)
   ============================================ */
.table-responsive {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}

.table {
    margin-bottom: 0;
    width: 100%;
    color: var(--color-text);
    border-collapse: separate;
    border-spacing: 0;
}

.table th,
.table td {
    padding: 16px;
    vertical-align: middle;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text);
}

.table thead th {
    background: rgba(16, 39, 61, 0.8) !important;
    color: var(--color-white) !important;
    border-bottom: 2px solid var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.table tbody tr {
    transition: background var(--transition);
}

.table tbody tr:hover {
    background: rgba(52, 216, 255, 0.05) !important;
}

.table tbody tr:nth-of-type(odd) {
    background: rgba(255, 255, 255, 0.02);
}

/* ============================================
   ������в� (CARDS)
   ============================================ */
.cat-card.glass-card {
    padding: 0;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    height: 100%;
}

.cat-card:hover {
    text-decoration: none;
    transform: translateY(-5px);
}

.cat-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--color-border);
}

.cat-card-body {
    padding: 20px;
    flex-grow: 1;
}

.cat-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
}

.cat-card-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* ============================================
   МОБІЛЬНА АДАПТИВНІСТЬ (TABLES & CARDS)
   ============================================ */
@media screen and (max-width: 991px) {
    /* Робимо таблиці горизонтально скрольованими на мобільних пристроях */
    table {
        display: block;
        width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        border-collapse: collapse;
    }
    
    /* Запобігаємо злипанню тексту */
    table th, table td {
        white-space: nowrap;
        min-width: 120px;
    }

    /* Захист карток від вилазання контенту */
    .glass-card, 
    .card, 
    .cat-card, 
    .contacts-section, 
    .work-schedule-box, 
    .consultation-box,
    .step-item {
        word-wrap: break-word !important;
        word-break: break-word !important;
        overflow: hidden !important;
        max-width: 100% !important;
    }

    /* Зображення всередині карток підлаштовуються */
    .glass-card img, 
    .card img, 
    .cat-card img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* Десктопний розмір для кнопки єВідновлення */
@media screen and (min-width: 992px) {
    .e-vidnovlennya-btn {
        height: 42px !important;
        padding: 6px 16px !important;
        border-radius: 12px !important;
    }
    .e-vidnovlennya-btn .diia-badge {
        font-size: 13px !important;
        padding: 4px 10px !important;
        border-radius: 10px !important;
        height: 28px !important;
        margin-right: 10px !important;
    }
    .e-vidnovlennya-btn .e-text {
        font-size: 17px !important;
    }
}
