/*!
 * Domushnik · Premium Theme
 * Optimized for performance: minimal selectors, hardware acceleration, no unused CSS
 */

:root {
    --bg: #0e0e0e;
    --bg-soft: #161616;
    --bg-card: #1a1a1a;
    --line: rgba(255,255,255,0.08);
    --line-strong: rgba(255,255,255,0.18);
    --text: #f4f1ea;
    --text-muted: #9a958c;
    --text-dim: #6a655c;
    --accent: #c9a961;
    --accent-hover: #d9bc7a;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: cubic-bezier(0.16, 1, 0.3, 1);
    --header-height: 76px;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ===== HEADER ===== */
.site-logo { display: flex; align-items: center; }
.site-logo img,
.site-logo svg { height: 48px; width: auto; max-height: 48px; display: block; }

.main-nav { display: flex; gap: 36px; justify-content: center; }
.main-nav ul { list-style: none; display: flex; gap: 36px; padding: 0; margin: 0; }
.main-nav a {
    font-size: 13px;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    padding: 8px 0;
    position: relative;
    transition: color 0.3s var(--transition);
    display: block;
}
.main-nav a:hover,
.main-nav a.active { color: var(--text); }
.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: var(--accent);
}
.main-nav .menu-item-has-children { position: relative; }
.main-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: -16px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    padding: 8px;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s var(--transition);
    z-index: 10;
    list-style: none;
    display: block;
    flex-direction: column;
    gap: 0;
}
.main-nav .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.main-nav .sub-menu a { padding: 12px 16px; font-size: 13px; }
.main-nav .sub-menu a:hover { background: var(--bg-card); color: var(--accent); }

.header-cta { display: flex; align-items: center; gap: 20px; justify-self: end; }
.lang-switch { display: flex; gap: 4px; font-size: 11px; letter-spacing: 0.1em; color: var(--text-dim); }
.lang-switch a { transition: color 0.2s; }
.lang-switch a.active, .lang-switch a:hover { color: var(--accent); }

.btn-call:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-call.btn-outline { background: transparent; color: var(--text); }
.btn-call.btn-outline:hover { background: var(--accent); color: var(--bg); }
.btn-large { padding: 18px 32px; font-size: 14px; }

/* ===== БУРГЕР ===== */
.menu-toggle:hover,
.menu-toggle.active { border-color: var(--accent); color: var(--accent); }
.menu-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: currentColor;
    position: relative;
    transition: all 0.3s var(--transition);
}
.menu-toggle span::before, .menu-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transition: all 0.3s var(--transition);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle.active span { background: transparent; }
.menu-toggle.active span::before { top: 0; transform: rotate(45deg); }
.menu-toggle.active span::after { top: 0; transform: rotate(-45deg); }

/* ===== МОБІЛЬНЕ МЕНЮ ===== */
.mobile-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg);
    z-index: 99;
    padding: calc(var(--header-height) + 24px) 24px 100px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform 0.4s var(--transition);
    visibility: hidden;
    will-change: transform;
}
.mobile-menu::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at top right, rgba(201,169,97,0.08), transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(201,169,97,0.04), transparent 50%);
    pointer-events: none;
    z-index: -1;
}
.mobile-menu.active { transform: translateX(0); visibility: visible; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.mobile-menu > ul > li { border-bottom: 1px solid var(--line); }
.mobile-menu > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.01em;
}
.mobile-menu > ul > li > a.active { color: var(--accent); }

.submenu-arrow {
    width: 32px;
    height: 32px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--sans);
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
    color: var(--accent);
    transition: all 0.3s var(--transition);
    flex-shrink: 0;
}
.menu-item-has-children.submenu-open .submenu-arrow {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}
.mobile-menu .sub-menu {
    max-height: 0;
    overflow: hidden;
    padding: 0 0 0 20px;
    border-left: 1px solid var(--accent);
    margin-left: 4px;
    transition: max-height 0.4s var(--transition), padding 0.3s var(--transition);
}
.mobile-menu .menu-item-has-children.submenu-open .sub-menu {
    max-height: 600px;
    padding: 0 0 16px 20px;
}
.mobile-menu .sub-menu li { border: none; }
.mobile-menu .sub-menu a {
    display: block;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 400;
    padding: 12px 0;
    color: var(--text-muted);
}
.mobile-menu-footer {
    margin-top: 40px;
    padding: 28px 20px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    position: relative;
}
.mobile-menu-footer::before {
    content: '';
    position: absolute;
    top: -1px; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.mobile-menu-meta {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.mobile-menu-phone {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 600;
    color: var(--accent);
    display: block;
    margin-bottom: 8px;
    line-height: 1;
}
.mobile-menu-email { font-size: 14px; color: var(--text-muted); }

/* Перемикач мов у мобільному меню */
.mobile-lang-switch {
    display: flex !important;
    gap: 24px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}
.mobile-lang-switch .lang-link {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
    flex: none !important;
    padding: 0 !important;
    display: inline-block !important;
}
.mobile-lang-switch .lang-link.active { color: var(--accent); }
.mobile-lang-switch .lang-link:active { color: var(--accent); }

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 120px 32px 100px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(201,169,97,0.08), transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(201,169,97,0.04), transparent 50%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.4;
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    pointer-events: none;
}
.hero-inner {
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 32px;
}
.hero-tag::before { content: ''; width: 24px; height: 1px; background: var(--accent); }
.hero h1 {
    font-family: var(--serif);
    font-size: clamp(40px, 7vw, 92px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
}
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero p.lead {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 48px;
    line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-price-note { font-size: 13px; font-weight: 500; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 44px; }
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 560px;
    border-top: 1px solid var(--line);
    padding-top: 32px;
}
.stat-num {
    font-family: var(--serif);
    font-size: 42px;
    font-weight: 500;
    color: var(--accent);
    line-height: 1;
}
.stat-label {
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-top: 8px;
    text-transform: uppercase;
}
.hero-card {
    position: relative;
    border: 1px solid var(--line-strong);
    padding: 48px 40px;
    background: var(--bg-soft);
}
.hero-card::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.hero-card h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; margin-bottom: 8px; }
.hero-card .subtitle {
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 32px;
}
.schedule-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}
.schedule-row:last-child { border-bottom: none; }
.schedule-row .day { color: var(--text-muted); letter-spacing: 0.05em; }
.schedule-row .time { color: var(--accent); font-weight: 500; }
.hero-card-cta {
    margin-top: 32px;
    padding: 20px;
    background: var(--bg);
    border: 1px solid var(--line);
    text-align: center;
}
.hero-card-cta .label {
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 8px;
}
.hero-card-cta .phone {
    font-family: var(--serif);
    font-size: 28px;
    color: var(--accent);
    font-weight: 600;
    display: block;
}

/* ===== SECTIONS ===== */
.section { padding: 100px 32px; position: relative; border-bottom: 1px solid var(--line); }
.section-inner { max-width: 1320px; margin: 0 auto; }
.section-head {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    margin-bottom: 72px;
    align-items: end;
}
.section-eyebrow {
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--accent); }
.section h2 {
    font-family: var(--serif);
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.02em;
}
.section h2 em { font-style: italic; color: var(--accent); }
.section-head p { color: var(--text-muted); font-size: 16px; line-height: 1.8; max-width: 540px; }

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}
.service-card {
    background: var(--bg);
    padding: 48px 40px;
    transition: background 0.4s var(--transition);
    position: relative;
    display: block;
    color: inherit;
}
.service-card:hover { background: var(--bg-soft); }
.service-card::before {
    content: attr(data-num);
    position: absolute;
    top: 24px; right: 32px;
    font-family: var(--serif);
    font-size: 14px;
    color: var(--text-dim);
    letter-spacing: 0.1em;
}
.service-icon {
    width: 56px; height: 56px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 32px;
    color: var(--accent);
    transition: all 0.4s var(--transition);
}
.service-card:hover .service-icon {
    background: var(--accent);
    color: var(--bg);
    transform: rotate(-8deg);
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin-bottom: 24px; }
.service-link {
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--accent);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s var(--transition);
}
.service-card:hover .service-link { gap: 14px; }

/* ===== ABOUT ===== */
.about-block { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual {
    position: relative;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    border: 1px solid var(--line-strong);
    display: grid;
    place-items: center;
    overflow: hidden;
}
.about-visual::before {
    content: '';
    position: absolute;
    inset: 24px;
    border: 1px solid var(--accent);
    opacity: 0.3;
}
.lock-illustration { width: 60%; height: auto; color: var(--accent); opacity: 0.85; }
.about-visual-tag {
    position: absolute;
    bottom: 32px;
    left: 32px;
    right: 32px;
    font-family: var(--serif);
    font-style: italic;
    font-size: 18px;
    border-top: 1px solid var(--line-strong);
    padding-top: 20px;
}
.about-content h2 { margin-bottom: 32px; }
.about-content p { color: var(--text-muted); margin-bottom: 24px; font-size: 16px; line-height: 1.8; }
.about-features { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.about-feature { border-left: 1px solid var(--accent); padding-left: 20px; }
.about-feature .num { font-family: var(--serif); font-size: 32px; color: var(--accent); font-weight: 500; line-height: 1; }
.about-feature .text { font-size: 13px; color: var(--text-muted); margin-top: 8px; letter-spacing: 0.05em; }

/* ===== REVIEWS ===== */
.reviews-section { background: var(--bg-soft); }
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.review-card {
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 40px;
    position: relative;
}
.review-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    left: 24px;
    font-family: var(--serif);
    font-size: 80px;
    color: var(--accent);
    line-height: 1;
    opacity: 0.5;
}
.review-text { font-size: 15px; line-height: 1.8; margin: 32px 0 24px; position: relative; z-index: 2; }
.review-author { display: flex; align-items: center; gap: 16px; border-top: 1px solid var(--line); padding-top: 20px; }
.review-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #8b6f3a);
    display: grid;
    place-items: center;
    color: var(--bg);
    font-family: var(--serif);
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
}
.review-author-name { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.review-author-meta { font-size: 11px; letter-spacing: 0.15em; color: var(--text-muted); text-transform: uppercase; margin-top: 2px; }
.review-stars { color: var(--accent); margin-bottom: 4px; font-size: 12px; }

/* ===== PRICES ===== */
.prices-table { border: 1px solid var(--line); }
.price-row {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 32px;
    align-items: center;
    padding: 28px 32px;
    border-bottom: 1px solid var(--line);
    transition: background 0.3s var(--transition);
}
.price-row:last-child { border-bottom: none; }
.price-row:hover { background: var(--bg-soft); }
.price-num { font-family: var(--serif); font-size: 14px; color: var(--text-dim); letter-spacing: 0.1em; width: 40px; }
.price-name { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.price-amount {
    font-family: var(--serif);
    font-size: 24px;
    color: var(--accent);
    font-weight: 600;
    white-space: nowrap;
}
.price-action {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--text);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s var(--transition);
    white-space: nowrap;
}
.price-action:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }

/* ===== BREADCRUMBS / PAGE TITLE ===== */
.breadcrumbs { padding: 24px 32px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.breadcrumbs-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { color: var(--text-dim); }
.breadcrumbs .current { color: var(--accent); }

.page-title { padding: 80px 32px 60px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-title::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(201,169,97,0.08), transparent 60%);
}
.page-title-inner { max-width: 1320px; margin: 0 auto; position: relative; z-index: 2; }
.page-title h1 {
    font-family: var(--serif);
    font-size: clamp(36px, 6vw, 80px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.page-title h1 em { font-style: italic; color: var(--accent); }
.page-title p { color: var(--text-muted); font-size: 16px; max-width: 600px; }

/* ===== ARTICLE ===== */
.article-section { padding: 80px 32px; }
.article-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 64px;
}
.article-body p { font-size: 16px; line-height: 1.85; margin-bottom: 24px; }
.article-body > p:first-of-type::first-letter {
    font-family: var(--serif);
    font-size: 56px;
    float: left;
    line-height: 1;
    padding: 6px 12px 0 0;
    color: var(--accent);
    font-weight: 500;
}
.article-body h2, .article-body h3 { font-family: var(--serif); font-weight: 500; margin: 48px 0 24px; }
.article-body h2 { font-size: 36px; }
.article-body h3 { font-size: 28px; }
.article-body ul, .article-body ol { margin-bottom: 24px; padding-left: 24px; color: var(--text-muted); }
.article-body li { margin-bottom: 8px; line-height: 1.8; }

.article-aside { position: sticky; top: calc(var(--header-height) + 24px); align-self: start; }
.aside-card {
    background: var(--bg-soft);
    border: 1px solid var(--line-strong);
    padding: 32px;
    margin-bottom: 24px;
}
.aside-card h4 {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.aside-card .schedule-row { padding: 10px 0; font-size: 13px; }
.aside-cta { background: var(--accent); color: var(--bg); padding: 32px; text-align: center; }
.aside-cta .label {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 12px;
}
.aside-cta h4 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--bg);
}
.aside-cta .phone {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 600;
    display: block;
    margin-bottom: 16px;
    color: var(--bg);
}
.btn-aside {
    display: inline-block;
    padding: 12px 24px;
    background: var(--bg);
    color: var(--text);
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
}
.price-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 64px; }
.price-table-card { background: var(--bg-soft); border: 1px solid var(--line); overflow: hidden; }
.price-table-card h3 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    padding: 24px 32px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    margin: 0;
}
.price-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 32px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}
.price-line:last-child { border-bottom: none; }
.price-line .name { color: var(--text-muted); }
.price-line .val { color: var(--accent); font-weight: 500; white-space: nowrap; }

/* ===== AREAS ===== */
.areas-section { padding: 80px 32px; background: var(--bg-soft); border-top: 1px solid var(--line); }
.areas-grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: center; }
.areas-grid h2 {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 500;
    line-height: 1.1;
}
.areas-grid h2 em { font-style: italic; color: var(--accent); }
.areas-grid p { color: var(--text-muted); margin-top: 24px; font-size: 15px; }
.areas-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.area-tag {
    padding: 8px 16px;
    border: 1px solid var(--line-strong);
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    transition: all 0.3s var(--transition);
}
.area-tag:hover { border-color: var(--accent); color: var(--accent); }

/* ===== FOOTER ===== */
.site-footer { background: #080808; padding: 80px 32px 32px; border-top: 1px solid var(--line); }
.footer-inner { max-width: 1320px; margin: 0 auto; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 64px;
    padding-bottom: 64px;
    border-bottom: 1px solid var(--line);
}
.footer-col h5 {
    font-size: 11px;
    letter-spacing: 0.25em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 24px;
    font-weight: 500;
}
.footer-col p, .footer-col a, .footer-col span {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 2;
    display: block;
}
.footer-col a:hover { color: var(--accent); }
.footer-brand { font-family: var(--serif); font-size: 32px; font-weight: 500; margin-bottom: 16px; color: var(--text); }
.footer-bottom {
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 0.05em;
    flex-wrap: wrap;
    gap: 12px;
}

/* ===== FLOATING CALL ===== */
.floating-call {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 99;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px 18px 18px;
    background: var(--accent);
    color: var(--bg);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 12px 40px rgba(201,169,97,0.4), 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.3s var(--transition);
    border-radius: 4px;
}
.floating-call:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(201,169,97,0.5), 0 6px 16px rgba(0,0,0,0.4);
    color: var(--bg);
}
.floating-call-icon {
    width: 40px; height: 40px;
    background: var(--bg);
    color: var(--accent);
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: relative;
    flex-shrink: 0;
}
.floating-call-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    opacity: 0.6;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 0; }
}
.floating-call svg { width: 16px; height: 16px; }
.floating-call-text { display: flex; flex-direction: column; line-height: 1.2; }
.floating-call-text small {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.75;
}

/* ===== MOBILE BOTTOM BAR ===== */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 98;
    background: var(--bg-soft);
    border-top: 1px solid var(--accent);
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
}
.mobile-bottom-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: var(--bg);
    font-weight: 600;
    font-size: 15px;
    border-radius: 4px;
}
.mobile-bottom-bar svg { width: 18px; height: 18px; }

.screen-reader-text {
    border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
    height: 1px; width: 1px; margin: -1px; overflow: hidden;
    padding: 0; position: absolute; word-wrap: normal !important;
}

/* ============================================
   ПЛАНШЕТИ + БУРГЕР АКТИВУЄТЬСЯ ВІД 1024px
============================================ */
@media (max-width: 1024px) {
    .main-nav { display: none; }
    .hero-inner, .about-block, .article-inner, .areas-grid, .section-head {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid, .price-tables { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
    .article-aside { position: static; }
}

@media (max-width: 768px) {
    .hero { padding: 70px 20px 60px; }
    .section, .article-section, .areas-section { padding: 60px 20px; }
    .site-footer { padding: 60px 20px 24px; }
    .hero h1 { font-size: clamp(36px, 9vw, 56px); }
    .page-title h1 { font-size: clamp(32px, 8vw, 56px); }
    .section h2 { font-size: clamp(28px, 6vw, 44px); }
    .hero-card { padding: 40px 28px; }
    .hero p.lead { font-size: 16px; margin-bottom: 36px; }
    .hero-actions { gap: 12px; margin-bottom: 48px; }
    .price-row {
        grid-template-columns: auto 1fr;
        grid-template-areas: "num name" ". amount" ". action";
        gap: 8px 16px;
        padding: 24px;
    }
    .price-row .price-num { grid-area: num; }
    .price-row .price-name { grid-area: name; font-size: 18px; }
    .price-row .price-amount { grid-area: amount; font-size: 22px; }
    .price-row .price-action { grid-area: action; justify-self: start; margin-top: 4px; }
}

@media (max-width: 640px) {
    .hero { padding: 50px 16px; }
    .section, .article-section, .areas-section { padding: 50px 16px; }
    .site-footer { padding: 50px 16px 24px; }

    .services-grid { grid-template-columns: 1fr; }
    .service-card { padding: 36px 24px; }
    .service-card h3 { font-size: 22px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
    .hero-card { padding: 32px 24px; }

    .floating-call { display: none; }
    .mobile-bottom-bar { display: block; }
    body { padding-bottom: 84px; }
    body.menu-open { padding-bottom: 0; }

    .breadcrumbs { padding: 14px 16px; }
    .breadcrumbs-inner { font-size: 10px; gap: 6px; }
    .article-body h2 { font-size: 24px; margin: 36px 0 16px; }
    .article-body h3 { font-size: 20px; margin: 32px 0 14px; }
    .article-body p { font-size: 15px; margin-bottom: 18px; line-height: 1.75; }
    .article-body > p:first-of-type::first-letter { font-size: 44px; }
    .article-inner { gap: 40px; }
    .review-card { padding: 28px 20px; }
    .about-features { grid-template-columns: 1fr; gap: 16px; }
    .page-title { padding: 50px 16px 40px; }
    .price-table-card h3 { padding: 18px 20px; font-size: 18px; }
    .price-line { padding: 14px 20px; font-size: 13px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }

    .hero-actions { flex-direction: column; }
    .hero-actions .btn-call { width: 100%; }
    .btn-large { padding: 16px 24px; font-size: 14px; }

    .aside-card, .aside-cta { padding: 24px 20px; }
    .aside-cta .phone { font-size: 24px; }

    .areas-tags { gap: 6px; }
    .area-tag { padding: 6px 12px; font-size: 12px; }

    .section-head { margin-bottom: 48px; gap: 24px; }
    .section-eyebrow { font-size: 10px; margin-bottom: 12px; }

    .review-text { font-size: 14px; line-height: 1.7; margin: 24px 0 20px; }
    .review-card::before { font-size: 60px; }

    .stat-num { font-size: 36px; }
    .stat-label { font-size: 11px; }

    .hero-card h3 { font-size: 22px; }
    .hero-card .subtitle { margin-bottom: 24px; }
}

@media (max-width: 380px) {
    .site-logo svg { height: 36px; }
    .menu-toggle { width: 40px; height: 40px; }
    .header-cta .btn-call { min-width: 40px; min-height: 40px; padding: 8px; }
    .hero { padding: 40px 14px; }
    .section, .article-section, .areas-section { padding: 40px 14px; }
    .hero h1 { font-size: 32px; }
    .page-title h1 { font-size: 28px; }
    .section h2 { font-size: 24px; }
    .hero-card { padding: 28px 20px; }
    .hero-card-cta .phone { font-size: 24px; }
    .price-name { font-size: 16px; }
    .price-amount { font-size: 18px; }
    .mobile-menu-phone { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .floating-call-icon::after { animation: none; opacity: 0; }
}
@media (hover: none) and (pointer: coarse) {
    .price-action, .btn-aside, .btn-call { min-height: 44px; }
    a, button { -webkit-tap-highlight-color: rgba(201,169,97,0.2); }
}
