/* ═══════════════════════════════════════
   Lina Horban — Shared Styles
   Змінювати тут = діє на всіх сторінках
   ═══════════════════════════════════════ */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #1A1612;
    --bg2: #211C17;
    --bg3: #261F19;
    --bg4: #2E2520;
    --cream: #F0EAE0;
    --cream2: #E8DDD0;
    --muted: rgba(240,234,224,0.65); /* Оновлено для контрасту */
    --muted2: rgba(240,234,224,0.50); /* Оновлено для контрасту */
    --accent: #C8A578;
    --accent2: #B8916A;
    --line: rgba(240,234,224,0.08);
    --line2: rgba(240,234,224,0.13);
}

/* ── ТИПОГРАФІКА — змінюємо тут, діє скрізь ── */
:root {
    /* Розміри заголовків */
    --h1-size: 56px;
    --h2-size: 38px;
    --h3-size: 24px;
    --h4-size: 18px;

    /* Кольори заголовків */
    --h-primary: var(--cream);        /* Основні великі заголовки */
    --h-accent: var(--accent);        /* Курсивні акценти в заголовках */
    --h-eyebrow: var(--accent);       /* "ПРО МАЙСТРА", "ПОСЛУГИ" — мітки секцій */
    --h-card: var(--cream);           /* Заголовки карток і FAQ */

    /* Параграфи */
    --text-body: var(--muted);
    --text-small: var(--muted2);
}

body, html {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    width: 100%;
}

.site { max-width: 1100px; margin: 0 auto; }

.nav-logo { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 300; color: var(--cream); letter-spacing: 0.06em; line-height: 1; }

.nav-sub { font-size: 9px; color: var(--accent); letter-spacing: 0.18em; text-transform: uppercase; margin-top: 4px; }

.nav-links { display: flex; gap: 28px; justify-content: center; align-items: center; }

.nav-links a { font-size: 11px; color: rgba(240,234,224,0.65); letter-spacing: 0.05em; text-decoration: none; transition: color 0.2s; }

.nav-links a:hover { color: var(--cream); }

.nav-cta { font-size: 10px; color: var(--accent); border: 0.5px solid var(--accent2); padding: 9px 20px; border-radius: 2px; letter-spacing: 0.09em; text-transform: uppercase; text-decoration: none; transition: background 0.2s; }

.nav-cta:hover { background: rgba(200,165,120,0.1); }

/* ── SECTIONS ── */
.sec { padding: 96px 56px; }

.sec2 { background: var(--bg2); }

.sec3 { background: var(--bg3); }

.sec4 { background: var(--bg4); }

.eyebrow { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; }

.big-h { font-family: 'Cormorant Garamond', serif; font-size: 52px; font-weight: 300; color: var(--cream); line-height: 1.08; margin-bottom: 20px; }

.big-h em { font-style: italic; color: var(--accent); }

.body-text { font-size: 14px; color: var(--muted); line-height: 1.8; font-weight: 300; }

.body-mid { font-size: 14px; color: rgba(240,234,224,0.75); line-height: 1.8; font-weight: 300; } /* Оновлено для контрасту */

.accent-line { width: 28px; height: 1px; background: var(--accent); margin-bottom: 20px; opacity: 0.6; }

.sdiv { border: none; border-top: 0.5px solid var(--line); }

/* ── BUTTONS ── */
.btn-p { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; padding: 14px 30px; border-radius: 2px; background: var(--accent); color: var(--bg); cursor: pointer; text-decoration: none; font-weight: 500; transition: background 0.2s; box-sizing: border-box; border: 0.5px solid transparent; }

.btn-p:hover { background: var(--accent2); }

.btn-g { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; padding: 14px 28px; border-radius: 2px; border: 0.5px solid var(--line2); color: var(--muted); cursor: pointer; text-decoration: none; font-weight: 300; transition: border-color 0.2s, color 0.2s; box-sizing: border-box; }

.btn-g:hover { border-color: var(--muted); color: var(--cream); }

.btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── HERO ── */
.hero { background: var(--bg); padding: 100px 56px 110px; position: relative; overflow: hidden; }

.monogram { font-family: 'Cormorant Garamond', serif; font-size: 280px; font-weight: 300; color: rgba(200,165,120,0.04); line-height: 1; position: absolute; top: -20px; right: -20px; pointer-events: none; letter-spacing: -0.04em; }

.hero-eyebrow { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; font-weight: 400; }

.hero-title { font-family: 'Cormorant Garamond', serif; font-size: 72px; font-weight: 300; color: var(--cream); line-height: 1.05; margin-bottom: 28px; max-width: 700px; }

.hero-title em { font-style: italic; color: var(--accent); }

.hero-sub { font-size: 15px; color: var(--muted); line-height: 1.8; max-width: 440px; margin-bottom: 10px; font-weight: 300; }

.hero-note { font-size: 11px; color: var(--muted2); margin-bottom: 36px; letter-spacing: 0.03em; }

/* ── STATS ── */
.stats { background: var(--bg2); padding: 0; display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 0.5px solid var(--line); }

.stat { padding: 32px 16px; text-align: center; border-right: 0.5px solid var(--line); display:flex; flex-direction:column; align-items:center; justify-content:center; }

.stat:last-child { border-right: none; }

.stat-n { font-family: 'Cormorant Garamond', serif; font-size: 44px; font-weight: 300; color: var(--accent); line-height: 1; }

.stat-l { font-size: 10px; color: var(--muted); margin-top: 8px; line-height: 1.5; letter-spacing: 0.03em; }

/* ── CARDS ── */
.card { background: var(--bg2); border: 0.5px solid var(--line2); border-radius: 3px; padding: 26px 28px; }

.card2 { background: rgba(255,255,255,0.025); border: 0.5px solid var(--line); border-radius: 3px; padding: 26px 28px; }

.card-tag { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }

.card-title { font-size: 22px; font-weight: 300; color: var(--cream); margin-bottom: 10px; }

.card-body { font-size: 13px; color: var(--muted); line-height: 1.65; font-weight: 300; }

.price { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--accent); margin-top: 18px; font-weight: 300; }

.highlight-card { border-color: rgba(200,165,120,0.35); }

.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 12px; margin-top: 36px; }

.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 12px; margin-top: 36px; }

.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 10px; margin-top: 32px; }

/* ── PHOTO PLACEHOLDER ── */
.photo { background: var(--bg4); border-radius: 3px; border: 0.5px solid var(--line); display: flex; align-items: flex-end; justify-content: flex-start; padding: 10px 12px; }

.photo-lbl { font-size: 9px; color: var(--muted2); letter-spacing: 0.1em; text-transform: uppercase; }

.photo-lbl-accent { font-size: 9px; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; } /* Прибрано opacity */

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1.8fr; gap: 56px; align-items: start; }

.about-photos { display: flex; flex-direction: column; gap: 8px; }

.quote-wrap { border-left: 1px solid var(--accent2); padding-left: 24px; margin-top: 28px; }

.quote-text { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 300; font-style: italic; color: var(--cream); line-height: 1.45; }

/* ── STEPS ── */
.step { display: flex; gap: 22px; margin-bottom: 32px; }

.step-n { font-family: 'Cormorant Garamond', serif; font-size: 42px; font-weight: 300; color: var(--line2); line-height: 1; min-width: 44px; }

.step-title { font-size: 15px; font-weight: 400; color: var(--cream2); margin-bottom: 6px; }

.step-body { font-size: 13px; color: var(--muted); line-height: 1.65; font-weight: 300; }

.step-highlight { background: rgba(200,165,120,0.06); border: 0.5px solid rgba(200,165,120,0.15); border-radius: 3px; padding: 4px 10px; display: inline-block; font-size: 11px; color: var(--accent); margin-top: 4px; letter-spacing: 0.04em; }

/* ── PORTFOLIO ── */
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 32px; }

.portfolio-cell { height: 200px; }

/* ── REVIEWS ── */
.rev { padding: 32px 0; border-bottom: 0.5px solid var(--line); }

.rev:first-child { border-top: 0.5px solid var(--line); }

.rev-text { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 300; font-style: italic; color: var(--cream2); line-height: 1.5; margin-bottom: 10px; }

.rev-name { font-size: 10px; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; }

/* ── GOOGLE ── */
.google-wrap { background: rgba(255,255,255,0.025); border: 0.5px solid var(--line); border-radius: 3px; padding: 28px 32px; display: flex; gap: 32px; align-items: center; margin-top: 32px; }

.google-score { text-align: center; min-width: 90px; }

.google-n { font-family: 'Cormorant Garamond', serif; font-size: 56px; font-weight: 300; color: var(--accent); line-height: 1; }

.google-stars { font-size: 16px; color: var(--accent); margin: 6px 0 4px; letter-spacing: 3px; }

.google-cnt { font-size: 10px; color: var(--muted2); letter-spacing: 0.06em; text-transform: uppercase; }

.google-vline { width: 0.5px; background: var(--line2); align-self: stretch; }

.google-body { font-size: 14px; color: var(--muted); line-height: 1.75; font-weight: 300; }

.google-link { display: inline-block; margin-top: 12px; font-size: 11px; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 0.5px solid rgba(200,165,120,0.3); padding-bottom: 2px; text-decoration: none; }

.google-link:hover { border-color: var(--accent); }

/* ── PRICES ── */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 12px; margin-top: 36px; }

.price-card { background: rgba(255,255,255,0.025); border: 0.5px solid var(--line); border-radius: 3px; padding: 28px 30px; }

.price-cat { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 0.5px solid rgba(200,165,120,0.15); }

.price-row { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 0.5px solid var(--line); gap: 12px; }

.price-row:last-of-type { border-bottom: none; }

.price-name { font-size: 13px; color: var(--cream2); font-weight: 300; }

.price-val { font-family: 'Cormorant Garamond', serif; font-size: 18px; color: var(--accent); white-space: nowrap; font-weight: 300; }

.price-note { font-size: 11px; color: var(--muted2); margin-top: 16px; line-height: 1.65; border-top: 0.5px solid var(--line); padding-top: 14px; }

/* ── FAQ ── */
.faq-sec { margin-bottom: 40px; }
.faq-sec + .faq-sec { margin-top: 40px; padding-top: 32px; border-top: 0.5px solid var(--line); }

.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }

@media (max-width: 768px) { .faq-grid { grid-template-columns: 1fr; gap: 0; } }

.faq-label { font-size: 10px; color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 0.5px solid rgba(200,165,120,0.2); }

@media (max-width: 768px) {
    .faq-two-cols > div:nth-child(2) .faq-label {
        margin-top: 48px;
        padding-top: 32px;
        border-top: 0.5px solid rgba(240,234,224,0.08);
    }
}

.faq { border-top: 0.5px solid var(--line); padding: 18px 0; }

.faq-q { font-size: 15px; font-weight: 400; color: var(--cream); margin-bottom: 8px; }

.faq-a { font-size: 13px; color: var(--muted); line-height: 1.7; font-weight: 300; }

/* ── CONTRA ── */
.contra-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 8px; margin-top: 28px; }

.contra-item { background: rgba(255,255,255,0.02); border: 0.5px solid var(--line); border-radius: 3px; padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; }

.contra-dot { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; margin-top: 7px; flex-shrink: 0; opacity: 0.5; }

.contra-text { font-size: 13px; color: var(--cream2); line-height: 1.55; font-weight: 300; }

/* ── CTA ── */
.cta-sec { background: var(--bg3); padding: 110px 56px; text-align: center; }

.cta-buttons { display: flex; flex-direction: column; align-items: center; gap: 14px; }

.btn-main { display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: var(--accent); color: var(--bg); font-size: 13px; letter-spacing: 0.09em; text-transform: uppercase; padding: 18px 44px; border-radius: 2px; cursor: pointer; font-weight: 500; text-decoration: none; min-width: 300px; transition: background 0.2s; }

.btn-main:hover { background: var(--accent2); }

.btn-secondary-row { display: flex; gap: 10px; }

.btn-sec { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0.5px solid var(--line2); color: var(--muted); font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; padding: 13px 26px; border-radius: 2px; cursor: pointer; font-weight: 300; text-decoration: none; min-width: 145px; transition: border-color 0.2s, color 0.2s; }

.btn-sec:hover { border-color: var(--muted); color: var(--cream); }

.divider-or { display: flex; align-items: center; gap: 16px; width: 300px; }

.or-line { flex: 1; height: 0.5px; background: var(--line); }

.or-text { font-size: 10px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

/* ── CONTACTS ── */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 48px; }

.contact-label { font-size: 9px; color: var(--muted2); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }

.contact-val { font-size: 16px; color: var(--cream); font-weight: 300; margin-bottom: 6px; }

.contact-sub { font-size: 13px; color: var(--muted); margin-bottom: 4px; }

.hours-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 0.5px solid var(--line); font-size: 13px; font-weight: 300; }

.hours-day { color: var(--cream2); }

.hours-time { color: var(--muted); }

.map-placeholder { background: var(--bg4); border-radius: 3px; border: 0.5px solid var(--line); height: 220px; display: flex; align-items: center; justify-content: center; margin-top: 20px; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }

.footer-brand { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 300; color: var(--cream); margin-bottom: 6px; letter-spacing: 0.04em; }

.footer-brand-sub { font-size: 9px; color: var(--accent); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 16px; }

.footer-desc { font-size: 12px; color: rgba(240,234,224,0.60); line-height: 1.75; } /* Оновлено для контрасту */

.f-label { font-size: 9px; color: rgba(240,234,224,0.60); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; } /* Оновлено для контрасту */

.f-item { font-size: 13px; color: rgba(240,234,224,0.70); margin-bottom: 10px; font-weight: 300; text-decoration: none; display: block; transition: color 0.2s; } /* Оновлено для контрасту */

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

.footer-contacts { margin-top: 20px; }

.footer-contact-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }

.footer-contact-icon { width: 14px; height: 14px; opacity: 0.35; flex-shrink: 0; }

.footer-contact-text { font-size: 13px; color: rgba(240,234,224,0.70); font-weight: 300; text-decoration: none; transition: color 0.2s; } /* Оновлено для контрасту */

.footer-contact-text:hover { color: var(--accent); }

.footer-line { border: none; border-top: 0.5px solid rgba(240,234,224,0.05); margin-bottom: 22px; }

.footer-copy { font-size: 11px; color: rgba(240,234,224,0.50); } /* Оновлено для контрасту */

/* ── INSTAGRAM ── */
.ig-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 28px; }

.ig-cell { background: var(--bg4); border-radius: 3px; border: 0.5px solid var(--line); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }

.ig-lbl { font-size: 9px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; } /* Оновлено для контрасту */

.cta-small { display: inline-block; margin-top: 24px; font-size: 11px; color: var(--accent); letter-spacing: 0.07em; border-bottom: 0.5px solid rgba(200,165,120,0.3); padding-bottom: 2px; cursor: pointer; text-decoration: none; }

.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.note-small { font-size: 11px; color: var(--muted); margin-top: 10px; letter-spacing: 0.03em; }

/* ── MOBILE ADAPTATION ── */
@media (max-width: 768px) {

    .nav {
        padding: 16px 20px !important;
        flex-wrap: wrap;
        gap: 12px;
    }
    .nav-links { display: none; }
    .nav-cta { font-size: 10px; padding: 8px 14px; }

    .hero { padding: 60px 20px 70px; }
    .monogram { font-size: 140px; top: 10px; right: -10px; }
    .hero-title { font-size: 42px; }
    .hero-sub { font-size: 13px; max-width: 100%; }
    .hero-note { font-size: 10px; }
    .btns { flex-direction: column; }
    .btn-p, .btn-g { width: 100%; justify-content: center; text-align: center; }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }
    .stat:nth-child(2) { border-right: none; }
    .stat-n { font-size: 32px; }

    .sec { padding: 56px 20px; }

    .big-h { font-size: 36px; }

    .grid2 { grid-template-columns: 1fr; }
    .grid3 { grid-template-columns: 1fr; }
    .grid4 { grid-template-columns: 1fr; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .about-photos { flex-direction: row; gap: 8px; }
    .about-photos .photo:first-child { height: 200px; flex: 1.5; }
    .about-photos .photo:last-child { height: 200px; flex: 1; }

    .big-h { font-size: 36px; }

    .step-n { font-size: 30px; min-width: 32px; }
    .step-title { font-size: 14px; }

    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-cell { height: 140px; }

    .ig-grid { grid-template-columns: repeat(3, 1fr); }

    .google-wrap {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .google-vline { width: 100%; height: 0.5px; }

    .price-grid { grid-template-columns: 1fr; }

    .contra-grid { grid-template-columns: 1fr; }

    .mission-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-sec { padding: 70px 20px; }
    .big-h[style*="text-align:center"] { font-size: 42px; }
    .btn-main { width: 100%; min-width: unset; }
    .btn-secondary-row { width: 100%; }
    .btn-sec { flex: 1; min-width: unset; }
    .divider-or { width: 100%; }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .map-placeholder { height: 180px; }

    .footer { padding: 48px 20px 28px; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .quote-text { font-size: 18px; }
    .rev-text { font-size: 16px; }
    .faq-q { font-size: 14px; }

    .price-row { flex-wrap: wrap; gap: 4px; }
    .price-val { font-size: 16px; }

    .card, .card2 { padding: 20px; }
    .card-title { font-size: 22px; }

    .step { gap: 14px; margin-bottom: 24px; }

    h2.big-h { font-size: 36px; }
}

@media (max-width: 420px) {
    .hero-title { font-size: 34px; }
    .big-h { font-size: 30px; }
    .stat-n { font-size: 28px; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .about-photos { flex-direction: column; }
    .about-photos .photo:first-child { height: 260px; }
    .about-photos .photo:last-child { height: 160px; }
}

/* PRICE TABS */
.price-tabs { display:flex; gap:8px; flex-wrap:wrap; margin-top:32px; margin-bottom:28px; }

.price-tab { font-size:11px; letter-spacing:0.08em; text-transform:uppercase; padding:10px 20px; border-radius:2px; border:0.5px solid var(--line2); color:var(--muted); background:transparent; cursor:pointer; font-family:'Inter', sans-serif; transition:all 0.2s; }

.price-tab:hover { border-color:var(--accent); color:var(--cream); }

.price-tab.active { background:var(--accent); color:var(--bg); border-color:var(--accent); }

.price-cards { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px,1fr)); gap:12px; }

.price-service-card { background:rgba(255,255,255,0.025); border:0.5px solid var(--line); border-radius:3px; padding:24px 26px; display:flex; flex-direction:column; }

.psc-correction { border-color:rgba(200,165,120,0.15); }

.psc-tag { font-size:9px; letter-spacing:0.12em; text-transform:uppercase; color:var(--accent); margin-bottom:10px; opacity:0.7; }

.psc-title { font-size:16px; font-weight:400; color:var(--cream); margin-bottom:10px; line-height:1.3; }

.psc-desc { font-size:13px; color:var(--muted); line-height:1.65; font-weight:300; flex:1; margin-bottom:16px; }

.psc-meta { display:flex; gap:20px; margin-bottom:16px; padding-top:14px; border-top:0.5px solid var(--line); }

.psc-meta-item { display:flex; flex-direction:column; gap:3px; }

.psc-meta-label { font-size:9px; color:var(--muted2); letter-spacing:0.08em; text-transform:uppercase; }

.psc-meta-val { font-size:13px; color:var(--cream2); font-weight:300; }

.psc-price { font-family:'Cormorant Garamond', serif; font-size:22px; color:var(--accent); font-weight:300; margin-top:auto; }

@media (max-width:768px) {
    .price-tabs { gap:6px; }
    .price-tab { font-size:10px; padding:9px 14px; }
    .price-cards { grid-template-columns:1fr; }
}

@media (max-width:768px) {
    #tab-strilky .price-cards { grid-template-columns:1fr !important; }
}

@media (max-width:768px) {
    .contra-grid { grid-template-columns:1fr !important; }
}

@media (max-width:768px) {
    .hero > div[style*="grid-template-columns:1fr auto"] {
        grid-template-columns: 1fr;
    }
    .hero > div[style*="grid-template-columns:1fr auto"] > div:last-child {
        display: none;
    }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(32px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes splitReveal {
    from { opacity: 0; transform: translateY(48px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes lineGrow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes counterUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero animations */
.hero-eyebrow { opacity: 0; animation: fadeUp 0.7s ease forwards 0.2s; }

.hero-title { opacity: 0; animation: splitReveal 0.9s cubic-bezier(0.16,1,0.3,1) forwards 0.4s; }

.hero-sub { opacity: 0; animation: fadeUp 0.7s ease forwards 0.7s; }

.hero-note { opacity: 0; animation: fadeUp 0.6s ease forwards 0.9s; }

.btns { opacity: 0; animation: fadeUp 0.6s ease forwards 1.1s; }

/* Logo float in hero */
.hero-logo-right { opacity: 0; animation: fadeIn 1.2s ease forwards 0.6s; }

/* Scroll reveal */
.js-loaded .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }

.reveal-delay-2 { transition-delay: 0.2s; }

.reveal-delay-3 { transition-delay: 0.3s; }

.reveal-delay-4 { transition-delay: 0.4s; }

.reveal-delay-5 { transition-delay: 0.5s; }

/* Stagger for grids */
.js-loaded .stagger-grid > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

.stagger-grid.visible > *:nth-child(1) { opacity:1; transform:translateY(0); transition-delay:0s; }

.stagger-grid.visible > *:nth-child(2) { opacity:1; transform:translateY(0); transition-delay:0.1s; }

.stagger-grid.visible > *:nth-child(3) { opacity:1; transform:translateY(0); transition-delay:0.2s; }

.stagger-grid.visible > *:nth-child(4) { opacity:1; transform:translateY(0); transition-delay:0.3s; }

.stagger-grid.visible > *:nth-child(5) { opacity:1; transform:translateY(0); transition-delay:0.4s; }

.stagger-grid.visible > *:nth-child(6) { opacity:1; transform:translateY(0); transition-delay:0.5s; }

/* Stats counter */
.js-loaded .stat { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }

.stats.visible .stat:nth-child(1) { opacity:1; transform:translateY(0); transition-delay:0s; }

.stats.visible .stat:nth-child(2) { opacity:1; transform:translateY(0); transition-delay:0.12s; }

.stats.visible .stat:nth-child(3) { opacity:1; transform:translateY(0); transition-delay:0.24s; }

.stats.visible .stat:nth-child(4) { opacity:1; transform:translateY(0); transition-delay:0.36s; }

/* Accent line animation */
.accent-line { transform-origin: left; animation: lineGrow 0.6s ease forwards; }

/* Nav fade in */
.nav-wrapper { animation: fadeIn 0.6s ease forwards; }

/* Price tabs hover */
.price-service-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.price-service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(200,165,120,0.35);
}

/* Button hover effects */
.btn-p { transition: background 0.25s ease, transform 0.2s ease; }

.btn-p:hover { transform: translateY(-2px); }

.btn-g { transition: border-color 0.25s ease, color 0.25s ease, transform 0.2s ease; }

.btn-g:hover { transform: translateY(-2px); }

/* FAQ hover */
.faq { transition: padding 0.3s ease; }

.faq:hover { padding-left: 8px; }

/* Review subtle hover */
.rev { transition: padding 0.3s ease; }

.rev:hover { padding-left: 8px; }

/* Cursor glow */
.cursor-glow {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(200,165,120,0.06) 0%, transparent 70%);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: opacity 0.3s ease;
    opacity: 0;
}

@media (max-width:900px) {
    .nav-links { display:none; }
    nav a[href^="tel"] { display:none; }
}

@media (max-width:600px) {
    .btns { flex-wrap:wrap; }
    .btns a { width:100%; text-align:center; justify-content:center; }
}

/* HAMBURGER */
.hamburger { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:4px; }

.hamburger span { display:block; width:22px; height:1.5px; background:var(--cream); transition:all 0.3s ease; }

.hamburger.active span:nth-child(1) { transform:rotate(45deg) translate(4.5px,4.5px); }

.hamburger.active span:nth-child(2) { opacity:0; }

.hamburger.active span:nth-child(3) { transform:rotate(-45deg) translate(4.5px,-4.5px); }

/* MOBILE MENU */
.mobile-menu { display:none; flex-direction:column; background:var(--bg2); padding:96px 40px 40px; gap:0; position:fixed; top:0; left:0; width:100%; height:100vh; z-index:98; overflow-y:auto; }

.mobile-menu a { font-size:16px; color:var(--muted); padding:14px 0; border-bottom:0.5px solid var(--line); text-decoration:none; letter-spacing:0.04em; }

.mobile-menu a:last-child { border-bottom:none; }

.mobile-menu-cta { color:var(--accent) !important; font-weight:500; }

.mobile-menu.open { display:flex; }

/* ACCORDION FAQ */
.accordion-item { cursor:pointer; user-select:none; }

.faq-q { display:flex; justify-content:space-between; align-items:center; }

.faq-arrow { font-size:16px; color:var(--accent); transition:transform 0.3s ease; flex-shrink:0; margin-left:12px; }

.accordion-item.open .faq-arrow { transform:rotate(180deg); }

.accordion-body { max-height:0; overflow:hidden; transition:max-height 0.4s ease, padding 0.3s ease; padding-top:0; }

.accordion-item.open .accordion-body { max-height:400px; padding-top:8px; }

/* MOBILE STATS */
@media (max-width:600px) {
    .hamburger { display:flex; }
    .nav-links { display:none !important; }
    nav a[href^="tel"] { display:none !important; }
    nav a[href*="instagram"] { display:none !important; }
    nav a[href*="t.me"] svg { display:none !important; }
    .stat-n { font-size:28px; }
    .stat-l { font-size:9px; }
    .hero-title { font-size:38px; }
    .hero { padding:48px 20px 60px; }
    .hero > div[style*="grid-template-columns"] { grid-template-columns:1fr !important; }
    .hero > div > div:last-child { display:none; }
}

@media (min-width:601px) {
    .hamburger { display:none !important; }
}

@media (max-width:600px) {
    .stats { padding: 0 20px; }
    .stat { padding: 20px 0; }
    .stat-n { font-size: 32px; }
    .hero-logo-right { display: none !important; }
}

/* NAV RESPONSIVE */
@media (max-width:1100px) {
    .hamburger { display:flex !important; }
    .nav-links { display:none !important; }
    nav a[href^="tel"] { display:none !important; }
}

@media (min-width:1101px) {
    .hamburger { display:none !important; }
}

@media (max-width:600px) {
    .nav-brand img { height:24px !important; }
    .hero-logo-right { display:none !important; }
}

/* HAMBURGER POSITION - push to right */
.hamburger { margin-left:auto; }

nav > div[style*="display:flex"] { margin-left:auto; }

/* NAV RESPONSIVE - show/hide elements */
@media (max-width:1100px) {
    .nav-phone { display:none !important; }
}

@media (max-width:700px) {
    .nav-social { display:none !important; }
}

@media (max-width:1100px) {
    .hamburger { display:flex !important; }
}

@media (min-width:1101px) {
    .hamburger { display:none !important; }
}

@media (max-width:768px) {
    .stats { grid-template-columns: repeat(2,1fr) !important; }
    .stat { border-right: 0.5px solid var(--line) !important; border-bottom: 0.5px solid var(--line); }
    .stat:nth-child(2) { border-right: none !important; }
    .stat:nth-child(3) { border-bottom: none; }
    .stat:nth-child(4) { border-right: none !important; border-bottom: none; }
    .stat { padding: 24px 16px !important; }
}

/* Inverted ghost button - filled by default, ghost on hover */
.btn-g-inv {
    background: rgba(200,165,120,0.1);
    border-color: rgba(200,165,120,0.4);
    color: var(--accent);
}

.btn-g-inv:hover {
    background: transparent;
    border-color: var(--line2);
    color: var(--muted);
    transform: translateY(-2px);
}

@media (max-width:768px) {
    .faq-two-cols { grid-template-columns: 1fr !important; gap: 0 !important; }
}

.nav-brand { flex-shrink: 0; align-self: center; display: flex; flex-direction: column; width: auto; }

.nav-brand img { height: 36px; width: auto; object-fit: contain; mix-blend-mode: screen; }

.nav-brand-link { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }

/* ── Додаткові спільні правила ── */

.card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 0.5px solid var(--line); }

/* ── Cursor glow тільки для десктопа ── */
@media (hover: hover) and (pointer: fine) {
    .cursor-glow { position: fixed; pointer-events: none; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(200,165,120,0.06) 0%, transparent 70%); transform: translate(-50%, -50%); z-index: 9999; transition: opacity 0.3s; }
}
@media (hover: none) {
    .cursor-glow { display: none !important; }
}

/* ── NAV WRAPPER — full-width sticky, inner content constrained ── */
.nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 0.5px solid var(--line);
}

/* ── NAV ── */
.nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 20px 56px !important;
    gap: 24px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* ── FOOTER ── */
.footer {
    background: #0E0B09;
}
.footer-grid,
.footer-line,
.footer-copy { max-width: 1100px; margin-left: auto; margin-right: auto; width: 100%; box-sizing: border-box; padding-left: 56px; padding-right: 56px; }
.footer-grid { padding-top: 64px; }
.footer-copy { padding-bottom: 36px; }

.hero-logo-right img { animation: logoFloat 6s ease-in-out infinite 2s; }

/* LOGO SCALING */
@media (max-width:1100px) {
    .nav-brand img { height: 28px; }
    .hero-logo-right img { max-width:200px !important; }
}
@media (max-width:700px) {
    .nav-brand img { height: 24px; }
}

/* ═══════════════════════════════════════
   ARTICLE — стаття блогу
   ═══════════════════════════════════════ */

.article-hero,
.article-page,
.wrap,
.notfound-wrap {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.article-hero {
    padding: 56px 56px 48px;
    border-bottom: 0.5px solid var(--line);
}

.breadcrumb { font-size: 11px; color: var(--muted2); letter-spacing: 0.04em; margin-bottom: 20px; }
.breadcrumb a { color: var(--muted2); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }

.article-label { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }

.article-h1 { font-family: 'Cormorant Garamond', serif; font-size: 52px; font-weight: 300; color: var(--cream); line-height: 1.1; margin-bottom: 20px; max-width: 780px; }
.article-h1 em { font-style: italic; color: var(--accent); }

.article-lead { font-size: 16px; color: var(--muted); line-height: 1.75; font-weight: 300; max-width: 660px; margin-bottom: 32px; }

.article-meta-bar { display: flex; gap: 36px; flex-wrap: wrap; }
.article-meta-item { font-size: 10px; color: var(--muted2); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1; }
.article-meta-val { font-size: 13px; color: var(--cream2); letter-spacing: 0; text-transform: none; font-weight: 300; margin-top: 6px; }

.article-page { padding: 56px 56px 80px; max-width: 780px; margin-left: auto; margin-right: auto; }
.article-page p { font-size: 15px; color: var(--muted); line-height: 1.85; font-weight: 300; margin-bottom: 22px; }
.article-page h2 { font-family: 'Cormorant Garamond', serif; font-size: 34px; font-weight: 300; color: var(--cream); line-height: 1.2; margin: 48px 0 20px; }
.article-page h2 em { font-style: italic; color: var(--accent); }
.article-page h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 300; color: var(--cream); margin: 36px 0 14px; }
.article-page h3 em { font-style: italic; color: var(--accent); }
.article-page strong { color: var(--cream2); font-weight: 500; }

.article-quote { border-left: 2px solid var(--accent2); padding: 18px 24px; margin: 32px 0; background: rgba(200,165,120,0.04); border-radius: 0 3px 3px 0; }
.article-quote p { font-family: 'Cormorant Garamond', serif; font-size: 20px !important; font-style: italic; color: var(--cream2) !important; line-height: 1.5 !important; margin-bottom: 0 !important; }

.highlight-box { background: rgba(200,165,120,0.06); border: 0.5px solid rgba(200,165,120,0.2); border-radius: 3px; padding: 22px 26px; margin: 32px 0; }
.highlight-box p { font-size: 14px !important; color: var(--cream2) !important; margin-bottom: 0 !important; line-height: 1.75 !important; }

.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 36px 0; border: 0.5px solid var(--line2); border-radius: 3px; overflow: hidden; }
.comp-bad { padding: 26px 28px; background: rgba(180,80,60,0.06); border-right: 0.5px solid var(--line2); }
.comp-good { padding: 26px 28px; background: rgba(80,150,100,0.06); }
.comp-title { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted2); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 0.5px solid var(--line); }
.comp-bad .comp-title { color: rgba(220,100,80,0.7); }
.comp-good .comp-title { color: rgba(100,180,120,0.7); }
.comp-item { font-size: 13px; color: var(--muted); line-height: 1.6; font-weight: 300; padding: 7px 0; border-bottom: 0.5px solid var(--line); display: flex; align-items: flex-start; gap: 8px; }
.comp-item:last-child { border-bottom: none; }
.comp-bad .comp-item::before { content: '×'; color: rgba(220,100,80,0.6); font-size: 14px; flex-shrink: 0; }
.comp-good .comp-item::before { content: '✓'; color: rgba(100,180,120,0.7); font-size: 13px; flex-shrink: 0; }

.article-cta { background: var(--bg2); border: 0.5px solid var(--line2); border-radius: 3px; padding: 36px 40px; margin: 48px 0; text-align: center; }
.article-cta h3 { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 300; color: var(--cream); margin: 0 0 12px !important; }
.article-cta h3 em { font-style: italic; color: var(--accent); }
.article-cta p { font-size: 14px !important; color: var(--muted) !important; margin-bottom: 24px !important; max-width: 420px; margin-left: auto !important; margin-right: auto !important; }

.author-box { display: flex; gap: 20px; align-items: flex-start; padding: 28px 0; border-top: 0.5px solid var(--line); margin-top: 48px; }
.author-name { font-size: 14px; font-weight: 400; color: var(--cream); margin-bottom: 6px; }
.author-desc { font-size: 12px; color: var(--muted2); line-height: 1.65; font-weight: 300; }

/* ═══════════════════════════════════════
   POLICY
   ═══════════════════════════════════════ */

.wrap { padding: 72px 56px 96px; max-width: 780px; margin-left: auto; margin-right: auto; }
.wrap h1 { font-family: 'Cormorant Garamond', serif; font-size: 52px; font-weight: 300; color: var(--cream); line-height: 1.1; margin-bottom: 8px; }
.wrap h1 em { font-style: italic; color: var(--accent); }
.wrap h2 { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 300; color: var(--cream); margin: 40px 0 14px; }
.wrap p { font-size: 14px; color: var(--muted); line-height: 1.85; font-weight: 300; margin-bottom: 16px; }
.wrap p.updated { font-size: 11px; color: var(--muted2); margin-bottom: 36px; letter-spacing: 0.04em; }
.wrap ul { margin: 0 0 16px 0; padding-left: 0; list-style: none; }
.wrap ul li { font-size: 14px; color: var(--muted); line-height: 1.75; font-weight: 300; padding: 6px 0 6px 20px; position: relative; border-bottom: 0.5px solid var(--line); }
.wrap ul li:last-child { border-bottom: none; }
.wrap ul li::before { content: '—'; position: absolute; left: 0; color: var(--accent); opacity: 0.5; }
.wrap ul li strong { color: var(--cream2); font-weight: 400; }
.wrap a { color: var(--accent); text-decoration: none; border-bottom: 0.5px solid rgba(200,165,120,0.3); }
.wrap a:hover { border-color: var(--accent); }
.wrap .highlight { background: rgba(200,165,120,0.05); border: 0.5px solid rgba(200,165,120,0.18); border-radius: 3px; padding: 20px 24px; margin: 24px 0; }
.wrap .highlight p { margin-bottom: 0; }

.contact-block { background: var(--bg2); border: 0.5px solid var(--line2); border-radius: 3px; padding: 32px 36px; margin-top: 48px; }
.contact-block h3 { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 300; color: var(--cream); margin-bottom: 10px; }
.contact-block h3 em { font-style: italic; color: var(--accent); }
.contact-block > p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.contact-item { display: flex; gap: 16px; align-items: baseline; padding: 10px 0; border-bottom: 0.5px solid var(--line); font-size: 13px; }
.contact-item:last-child { border-bottom: none; }
.contact-item span:first-child { color: var(--muted2); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; min-width: 72px; }
.contact-item a, .contact-item span:last-child { color: var(--cream2); font-weight: 300; border: none; }
.contact-item a:hover { color: var(--accent); }

/* ═══════════════════════════════════════
   404
   ═══════════════════════════════════════ */

.notfound-wrap { padding: 120px 56px; text-align: center; max-width: 560px; }
.notfound-num { font-family: 'Cormorant Garamond', serif; font-size: 120px; font-weight: 300; color: rgba(200,165,120,0.12); line-height: 1; letter-spacing: -0.04em; }
.notfound-line { width: 32px; height: 1px; background: var(--accent); opacity: 0.4; margin: 12px auto 24px; }
.notfound-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }

/* ═══════════════════════════════════════
   MOBILE WOW
   ═══════════════════════════════════════ */

.floating-cta { display: none; position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px); z-index: 500; transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.4s ease; opacity: 0; pointer-events: none; white-space: nowrap; }
.floating-cta.visible { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
.floating-cta a { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--bg); font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; text-decoration: none; padding: 16px 32px; border-radius: 40px; box-shadow: 0 8px 32px rgba(200,165,120,0.35), 0 2px 8px rgba(0,0,0,0.4); }
.floating-cta a:active { transform: scale(0.96); transition: transform 0.1s ease; }
@media (max-width: 768px) { .floating-cta { display: block; } }

.ptr-indicator { position: fixed; top: 0; left: 0; right: 0; z-index: 9998; display: flex; align-items: center; justify-content: center; height: 0; overflow: hidden; background: var(--bg2); transition: height 0.2s ease; pointer-events: none; }
.ptr-indicator.pulling, .ptr-indicator.refreshing { height: 72px; }
.ptr-logo { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 300; color: var(--accent); letter-spacing: 0.08em; opacity: 0; transform: scale(0.7) rotate(-10deg); transition: opacity 0.3s ease, transform 0.3s ease; }
.ptr-indicator.pulling .ptr-logo { opacity: 1; transform: scale(1) rotate(0deg); }
.ptr-indicator.refreshing .ptr-logo { opacity: 1; transform: scale(1) rotate(0deg); animation: ptrSpin 0.8s ease-in-out infinite; }
@keyframes ptrSpin { 0%,100%{transform:scale(1) rotate(0deg)} 50%{transform:scale(1.1) rotate(5deg); color:var(--cream)} }

@media (hover: none) {
    .btn-p:active, .btn-main:active { transform: scale(0.96); background: var(--accent2); transition: transform 0.08s ease, background 0.08s ease; }
    .btn-g:active, .btn-sec:active { transform: scale(0.96); transition: transform 0.08s ease; }
    .card:active, .card2:active, .price-service-card:active { transform: scale(0.98); border-color: rgba(200,165,120,0.3); transition: transform 0.08s ease; }
    .faq:active { background: rgba(200,165,120,0.04); padding-left: 12px; }
    .nav-links a:active, .mobile-menu a:active, .f-item:active { color: var(--accent); }
}

.bottom-sheet-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 800; opacity: 0; transition: opacity 0.3s ease; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); pointer-events: none; }
.bottom-sheet-overlay.open { opacity: 1; pointer-events: auto; }
.bottom-sheet { position: fixed; bottom: 0; left: 0; right: 0; z-index: 801; background: var(--bg2); border-radius: 20px 20px 0 0; border-top: 0.5px solid var(--line2); padding: 12px 24px 40px; transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.16,1,0.3,1); }
.bottom-sheet.open { transform: translateY(0); }
.bottom-sheet-handle { width: 36px; height: 4px; background: var(--line2); border-radius: 2px; margin: 0 auto 24px; }
.bottom-sheet-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 300; color: var(--cream); margin-bottom: 20px; text-align: center; }
.bottom-sheet-title em { font-style: italic; color: var(--accent); }
.bs-item { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 0.5px solid var(--line); text-decoration: none; transition: transform 0.1s ease; }
.bs-item:last-child { border-bottom: none; }
.bs-item:active { transform: scale(0.98); }
.bs-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bs-icon-tg { background: rgba(41,182,246,0.15); }
.bs-icon-viber { background: rgba(123,97,255,0.15); }
.bs-icon-ig { background: rgba(200,165,120,0.12); }
.bs-icon-phone { background: rgba(100,200,120,0.12); }
.bs-label { font-size: 13px; color: var(--muted) !important; letter-spacing: 0.04em; } /* Оновлено для контрасту */
.bs-val { font-size: 15px; color: var(--cream); font-weight: 300; margin-top: 2px; }
@media (max-width: 768px) { .bottom-sheet-overlay { display: block; } }

/* ═══════════════════════════════════════
   JS-LOADED — анімації тільки якщо JS працює
   ═══════════════════════════════════════ */

.js-loaded .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.js-loaded .stagger-grid > * { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.stagger-grid.visible > *:nth-child(1) { opacity:1; transform:translateY(0); transition-delay:0s; }
.stagger-grid.visible > *:nth-child(2) { opacity:1; transform:translateY(0); transition-delay:0.1s; }
.stagger-grid.visible > *:nth-child(3) { opacity:1; transform:translateY(0); transition-delay:0.2s; }
.stagger-grid.visible > *:nth-child(4) { opacity:1; transform:translateY(0); transition-delay:0.3s; }
.stagger-grid.visible > *:nth-child(5) { opacity:1; transform:translateY(0); transition-delay:0.4s; }
.stagger-grid.visible > *:nth-child(6) { opacity:1; transform:translateY(0); transition-delay:0.5s; }
.js-loaded .stat { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.stats.visible .stat:nth-child(1) { opacity:1; transform:translateY(0); transition-delay:0s; }
.stats.visible .stat:nth-child(2) { opacity:1; transform:translateY(0); transition-delay:0.12s; }
.stats.visible .stat:nth-child(3) { opacity:1; transform:translateY(0); transition-delay:0.24s; }
.stats.visible .stat:nth-child(4) { opacity:1; transform:translateY(0); transition-delay:0.36s; }

/* ═══════════════════════════════════════
   RESPONSIVE — внутрішні сторінки
   ═══════════════════════════════════════ */

@media (max-width: 768px) {
    .article-hero { padding: 36px 20px 32px; }
    .article-h1 { font-size: 34px; }
    .article-lead { font-size: 14px; }
    .article-meta-bar { gap: 20px; }
    .article-page { padding: 36px 20px 56px; }
    .article-page + div[style*="max-width:1100px"] { padding-left: 20px !important; padding-right: 20px !important; }
    .article-page h2 { font-size: 26px; margin-top: 36px; }
    .comparison { grid-template-columns: 1fr; }
    .comp-bad { border-right: none; border-bottom: 0.5px solid var(--line2); }
    .article-cta { padding: 28px 20px; }
    .wrap { padding: 48px 20px 64px; }
    .wrap h1 { font-size: 36px; }
    .contact-block { padding: 24px 20px; }
    .notfound-wrap { padding: 80px 20px; }
    .notfound-num { font-size: 80px; }
    .notfound-btns { flex-direction: column; align-items: center; }
}

/* ── Бронебійний захист від горизонтального скролу ── */

.price-val {
    white-space: normal !important;
    word-break: keep-all;
}

.card, .card2, .price-service-card, .comp-bad, .comp-good {
    box-sizing: border-box;
}

.article-meta-bar {
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .footer { padding: 48px 20px 28px; }
}

/* ── MOBILE FIXES ── */
@media (max-width: 768px) {

    /* 1. Лого — відступ зліва */
    .nav {
        padding-left: 20px !important;
        padding-right: 24px !important;
    }

    /* 2. Кнопки hero — на всю ширину */
    .hero .btns {
        flex-direction: column;
        width: 100%;
        max-width: 100% !important;
    }
    .hero .btns .btn-p,
    .hero .btns .btn-g {
        width: 100%;
        justify-content: center;
    }

    /* 3. FAQ — більший відступ між секціями */
    .faq-sec {
        margin-bottom: 60px;
    }
    .faq-label {
        margin-top: 8px;
    }
}

/* 4. Blog filter tabs — скрол замість обрізання */
@media (max-width: 900px) {
  .filter-inner {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-left: 24px;
    padding-right: 24px;
  }
  .filter-inner::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    flex-shrink: 0;
    padding: 16px 18px;
    font-size: 10px;
  }
}

/* Три кнопки в CTA — переносимо на мобільному */
@media (max-width: 600px) {
    .btn-secondary-row {
        flex-wrap: wrap;
        width: 100%;
    }
    .btn-secondary-row .btn-sec {
        flex: 1 1 calc(50% - 6px);
        min-width: unset;
        justify-content: center;
    }
    .btn-secondary-row .btn-sec:last-child:nth-child(odd) {
        flex: 1 1 100%;
    }
}

/* ── Skip navigation (accessibility) ── */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent);
    color: var(--bg);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    z-index: 10000;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

/* ── Page fade-in (замість прелоадера) ── */
@keyframes pageFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Accessibility contrast overrides */
.ig-lbl { color: var(--muted) !important; }
.card-arrow::before { content: none !important; }