/* VARIABLES & RESET */
:root {
    --bg-dark: #0f0f11;
    --bg-card: #1a1a1d;
    --bg-card-hover: #252529;
    --accent: #00e5ff;
    --accent-glow: rgba(0, 229, 255, 0.4);
    --purple: #8b5cf6;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --border: rgba(255, 255, 255, 0.08);
    --font-main: 'Inter', sans-serif;
    --font-display: 'Manrope', sans-serif;
    --spacing: 1.5rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* UTILS */
.container { width: 90%; max-width: 1100px; margin: 0 auto; padding: 0 var(--spacing); }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.hidden { display: none !important; }
.text-center { text-align: center; }

/* TYPOGRAPHY */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; color: #fff; }
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 1.5rem; }
.subtitle { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.accent-text { color: var(--accent); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; margin-bottom: 0.5rem; display: block; }

/* BUTTONS */
.btn {
    display: inline-flex; justify-content: center; align-items: center;
    padding: 14px 28px; border-radius: 12px; font-weight: 600; cursor: pointer;
    font-size: 1rem; border: none; transition: all 0.3s ease;
}
.btn-primary { background: var(--accent); color: #000; box-shadow: 0 0 15px var(--accent-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 25px var(--accent-glow); }
.btn-secondary { background: transparent; border: 1px solid var(--border); color: #fff; }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-purple { background: var(--purple); color: #fff; box-shadow: 0 0 15px rgba(139, 92, 246, 0.4); }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }
.btn-outline { border: 1px solid var(--border); background: transparent; color: #fff; }
.full-width { width: 100%; }

/* HEADER */
.header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(15, 15, 17, 0.85); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border); padding: 15px 0;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.5px; }
.logo .accent { color: var(--accent); }

/* SECTIONS */
.section { padding: 80px 0; border-bottom: 1px solid rgba(255,255,255,0.02); }

/* ============================
   HERO AVATAR FIX (IMPORTANT)
   ============================ */
.hero { 
    padding: 100px 0 60px; 
    text-align: center; /* Центрирование */
}

/* Обертка для фото */
.hero-avatar {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px auto; /* Центр */
    position: relative;
    border-radius: 50%;
    
    /* Неоновая обводка */
    padding: 4px;
    border: 1px solid var(--accent);
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.2);
    background: linear-gradient(180deg, rgba(0,229,255,0.1) 0%, rgba(0,0,0,0) 100%);
    
    /* ❗ ГЛАВНЫЙ ФИКС: Обрезаем все что выходит за круг */
    overflow: hidden; 
}

/* Само фото внутри круга */
.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Заполняем круг, обрезая лишнее, не сплющивая */
    object-position: top center; /* Фокус на лице, если фото высокое */
    display: block;
    border-radius: 50%; /* На всякий случай дублируем */
}

.badge {
    display: inline-block; padding: 6px 12px;
    background: rgba(0, 229, 255, 0.1); color: var(--accent);
    border-radius: 20px; font-size: 0.8rem; font-weight: 600;
    margin-bottom: 1rem; border: 1px solid rgba(0, 229, 255, 0.2);
}
.hero-desc { max-width: 600px; color: var(--text-muted); margin: 0 auto 2rem auto; }
.hero-list { margin-bottom: 2.5rem; display: inline-block; text-align: left; }
.hero-list li { margin-bottom: 0.5rem; display: flex; align-items: center; gap: 10px; }
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; }

/* MENU GRID */
.grid-menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.menu-card {
    background: var(--bg-card); border: 1px solid var(--border);
    padding: 25px; border-radius: 16px; transition: 0.3s;
    display: flex; flex-direction: column; align-items: flex-start; cursor: pointer;
}
.menu-card:hover { background: var(--bg-card-hover); border-color: rgba(255,255,255,0.2); transform: translateY(-5px); }
.card-icon { font-size: 2rem; margin-bottom: 1rem; }
.menu-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.menu-card p { font-size: 0.9rem; color: var(--text-muted); }
.menu-card.locked { opacity: 0.7; }

/* DETAILS & FEATURES */
.detail-content { max-width: 800px; }
.feature-list { margin: 2rem 0; display: grid; gap: 1rem; }
.feature-item { background: rgba(255,255,255,0.03); padding: 12px; border-radius: 8px; border-left: 2px solid var(--accent); }
.platform-icons { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 1.5rem; color: var(--text-muted); font-size: 0.8rem; }
.platform-icons span { background: rgba(255,255,255,0.05); padding: 5px 10px; border-radius: 6px; }
.actions { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 2rem; }

/* ACCORDION */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-header {
    padding: 20px 0; cursor: pointer; display: flex;
    justify-content: space-between; align-items: center; font-weight: 600; transition: color 0.3s;
}
.accordion-header:hover { color: var(--accent); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; padding-right: 20px; }
.accordion-content p { margin-bottom: 10px; font-size: 0.95rem; color: var(--text-muted); }
.accordion-item.active .accordion-content { max-height: 500px; padding-bottom: 20px; }
.accordion-item.active .icon { transform: rotate(45deg); }

/* N8N & FINAL */
.glass-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 1px solid var(--border); padding: 40px; border-radius: 20px; text-align: center;
}
.final-cta { text-align: center; }
.center-actions { justify-content: center; }

/* FOOTER */
.footer { padding: 40px 0; border-top: 1px solid var(--border); margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.social-links { display: flex; gap: 16px; align-items: center; }

/* MODAL */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); backdrop-filter: blur(5px);
    z-index: 998; opacity: 0; visibility: hidden; transition: 0.3s;
}
.modal {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -45%);
    width: 90%; max-width: 450px;
    background: #1e1e22; border: 1px solid var(--border);
    padding: 30px; border-radius: 20px;
    z-index: 999; opacity: 0; visibility: hidden; transition: 0.3s;
}
.modal.active, .modal-overlay.active { opacity: 1; visibility: visible; }
.modal.active { transform: translate(-50%, -50%); }
.close-modal { position: absolute; top: 15px; right: 20px; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

.tech-form { margin-top: 20px; }
.input-group { margin-bottom: 15px; }
.input-group input, .input-group textarea {
    width: 100%; background: #121214; border: 1px solid var(--border);
    padding: 14px; border-radius: 10px; color: #fff; font-family: var(--font-main);
}
.input-group input:focus, .input-group textarea:focus { outline: none; border-color: var(--accent); }
.success-icon { font-size: 3rem; margin-bottom: 10px; }

/* HEADER TG BUTTON */
.btn-tg-header {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 18px; border-radius: 10px;
    background: rgba(0, 229, 255, 0.1); border: 1px solid rgba(0, 229, 255, 0.3);
    color: var(--accent); font-size: 0.875rem; font-weight: 600;
    text-decoration: none; transition: all 0.2s; font-family: var(--font-main);
    white-space: nowrap;
}
.btn-tg-header:hover { background: var(--accent); color: #000; }
.btn-tg-header svg { flex-shrink: 0; }

/* FOOTER LINKS */
.footer-link-channel {
    color: var(--text-muted); font-size: 0.9rem; text-decoration: none; transition: color 0.2s;
}
.footer-link-channel:hover { color: #fff; }
.footer-link-write {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 16px; border-radius: 9px;
    background: rgba(0, 229, 255, 0.1); border: 1px solid rgba(0, 229, 255, 0.3);
    color: var(--accent); font-size: 0.875rem; font-weight: 600;
    text-decoration: none; transition: all 0.2s;
}
.footer-link-write:hover { background: var(--accent); color: #000; }
.footer-link-write svg { flex-shrink: 0; }

/* PORTFOLIO HEADER NEW */
.portfolio-big-title {
    font-family: var(--font-display); font-size: 3.5rem; font-weight: 800;
    color: #fff; letter-spacing: -1px; margin-bottom: 0.75rem;
}
.portfolio-subtitle {
    font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2.5rem;
}

/* DARK BG */
.dark-bg { background: #0d0d0f; }

/* DETAIL TITLE */
.detail-title { font-size: 1.5rem; margin-bottom: 1rem; }

/* PORTFOLIO NEW */
.portfolio-new { background: var(--bg-dark); }
.portfolio-header { text-align: center; margin-bottom: 40px; }
.portfolio-tag {
    font-size: 0.75rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
    color: var(--accent); margin-bottom: 1rem; display: block;
}
.portfolio-header h2 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 0.75rem; }
.accent-inline { color: var(--accent); }
.portfolio-sub { color: var(--text-muted); max-width: 520px; margin: 0 auto 2.5rem auto; }

.filter-tabs {
    display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; justify-content: center;
    width: 100%; overflow: visible;
}
.filter-btn {
    padding: 8px 20px; border-radius: 30px; border: 1px solid var(--border);
    background: transparent; color: var(--text-muted); font-size: 0.875rem;
    font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: var(--font-main);
    white-space: nowrap; flex-shrink: 0;
}
.filter-btn:hover { border-color: rgba(255,255,255,0.2); color: #fff; }
.filter-btn.active { background: var(--accent); color: #000; border-color: var(--accent); }

.portfolio-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px;
}

.portfolio-card {
    background: #111113; border: 1px solid var(--border);
    border-radius: 14px; padding: 24px; cursor: pointer;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.portfolio-card::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0; transition: opacity 0.25s;
}
.portfolio-card:hover { transform: translateY(-4px); border-color: rgba(0,229,255,0.3); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.portfolio-card:hover::after { opacity: 1; }
.portfolio-card.hidden { display: none; }

.pc-num {
    font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    color: #3a3a5c; margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.pc-num::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.pc-live {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
    color: #22c55e; background: rgba(34,197,94,.1);
    border: 1px solid rgba(34,197,94,.25); border-radius: 20px;
    padding: 3px 9px; margin-bottom: 10px;
}
.pc-live::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: #22c55e; animation: livepulse 1.5s infinite;
}
@keyframes livepulse { 0%,100%{opacity:1} 50%{opacity:.3} }

.pc-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.pc-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 8px; }
.pc-desc { font-size: 0.825rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.pc-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 16px; }
.pc-tag {
    font-size: 0.7rem; font-weight: 600; padding: 3px 9px; border-radius: 20px;
    background: rgba(0,229,255,0.08); color: var(--accent); border: 1px solid rgba(0,229,255,.15);
}
.pc-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.pc-metric { background: rgba(255,255,255,0.03); border-radius: 8px; padding: 10px 12px; }
.pc-metric-val { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--accent); }
.pc-metric-lbl { font-size: 0.7rem; color: var(--text-muted); margin-top: 2px; display: block; }
.pc-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border); }
.pc-stack { display: flex; gap: 4px; flex-wrap: wrap; }
.pc-badge { font-size: 0.625rem; padding: 2px 7px; border-radius: 4px; background: rgba(255,255,255,0.04); color: var(--text-muted); border: 1px solid var(--border); }
.pc-cta { font-size: 0.75rem; color: var(--accent); font-weight: 600; white-space: nowrap; }

/* CASE MODALS */
.case-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(8px);
    z-index: 500; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.case-overlay.open { opacity: 1; pointer-events: all; }

.case-modal {
    position: fixed; top: 50%; left: 50%;
    transform: translate(-50%, -48%) scale(0.96);
    z-index: 501; width: min(820px, 96vw); max-height: 90vh;
    overflow-y: auto; background: #1a1a1e;
    border: 1px solid var(--border); border-radius: 18px;
    opacity: 0; pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.case-modal.open { opacity: 1; pointer-events: all; transform: translate(-50%, -50%) scale(1); }
.case-modal::-webkit-scrollbar { width: 4px; }
.case-modal::-webkit-scrollbar-track { background: transparent; }
.case-modal::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.cm-head {
    position: sticky; top: 0; background: #1a1a1e;
    border-bottom: 1px solid var(--border); padding: 18px 26px;
    display: flex; align-items: center; justify-content: space-between; z-index: 1;
}
.cm-head-left { display: flex; align-items: center; gap: 12px; }
.cm-head-icon { font-size: 22px; }
.cm-head-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: #fff; }
.cm-close {
    width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border);
    background: transparent; color: var(--text-muted); font-size: 1.2rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.cm-close:hover { border-color: var(--accent); color: var(--accent); }

.cm-body { padding: 28px 26px; }
.cm-section { margin-bottom: 28px; }
.cm-label {
    font-size: 0.625rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    color: var(--accent); margin-bottom: 12px; display: flex; align-items: center; gap: 10px;
}
.cm-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.cm-section p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 8px; }
.cm-section ul { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.cm-section ul li { font-size: 0.875rem; color: var(--text-muted); padding-left: 18px; position: relative; line-height: 1.55; }
.cm-section ul li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }

.cm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-bottom: 24px; }
.cm-stat { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 8px; padding: 16px 14px; text-align: center; }
.cm-stat-val { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.cm-stat-lbl { font-size: 0.7rem; color: var(--text-muted); display: block; }
.cm-stat-sub { font-size: 0.625rem; color: #3a3a5c; display: block; margin-top: 2px; }

.cm-arch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cm-arch-item { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; }
.cm-arch-item h4 { font-size: 0.8rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.cm-arch-item p { font-size: 0.75rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

.cm-info-box {
    background: rgba(0,229,255,0.04); border: 1px solid rgba(0,229,255,.18);
    border-left: 3px solid var(--accent); border-radius: 8px; padding: 14px 18px; margin: 12px 0;
}
.cm-info-box p { font-size: 0.8rem; color: var(--text-main); margin: 0; line-height: 1.65; }
.cm-info-box strong { color: #fff; }

.cm-chip-row { display: flex; gap: 7px; flex-wrap: wrap; }
.cm-chip { font-size: 0.75rem; font-weight: 600; padding: 5px 12px; border-radius: 6px; background: rgba(255,255,255,0.04); color: var(--accent); border: 1px solid rgba(0,229,255,.18); }

.cm-cta-box { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 14px; padding: 22px 24px; text-align: center; margin-top: 24px; }
.cm-cta-box h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.cm-cta-box p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 18px; }

.cm-demo-box { background: linear-gradient(135deg, rgba(0,229,255,.06), rgba(139,92,246,.06)); border: 1px solid rgba(0,229,255,.25); border-radius: 14px; padding: 22px 24px; text-align: center; margin-top: 24px; }
.cm-demo-box h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.cm-demo-box p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 18px; }

.cm-btn-primary {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 12px 24px; border-radius: 10px; background: var(--accent); color: #000;
    font-size: 0.875rem; font-weight: 700; text-decoration: none; transition: all 0.2s;
    border: none; cursor: pointer; font-family: var(--font-main);
}
.cm-btn-primary:hover { background: #00ccee; transform: translateY(-1px); }

/* VIDEO IN CASE MODAL */
.cm-video-wide { margin-bottom: 28px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: #000; aspect-ratio: 16/9; }
.cm-video-wide video { width: 100%; height: 100%; display: block; object-fit: cover; }

.cm-video-showcase { display: flex; gap: 12px; justify-content: center; margin-bottom: 28px; }
.cm-video-showcase video { width: calc(50% - 6px); max-width: 220px; border-radius: 12px; border: 1px solid var(--border); background: #000; aspect-ratio: 9/16; object-fit: cover; }

.cm-video-slider { position: relative; margin-bottom: 40px; display: flex; align-items: center; gap: 10px; justify-content: center; }
.cm-vslider-track { width: 220px; flex-shrink: 0; }
.cm-vslider-track video { width: 100%; border-radius: 12px; border: 1px solid var(--border); background: #000; aspect-ratio: 9/16; object-fit: cover; display: none; }
.cm-vslider-track video.active { display: block; }
.cm-vslider-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); background: rgba(255,255,255,0.05); color: var(--text-muted); font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.2s; }
.cm-vslider-btn:hover { border-color: var(--accent); color: var(--accent); }
.cm-vslider-dots { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; }
.cm-vslider-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--border); transition: background 0.2s; cursor: pointer; }
.cm-vslider-dot.active { background: var(--accent); }

/* MOBILE */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }

    .hero { padding-top: 60px; }
    .hero-avatar { width: 130px; height: 130px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

    .header-inner { padding: 0 10px; }
    .btn-tg-header { padding: 8px 12px; font-size: 0.8rem; }

    .grid-menu { grid-template-columns: 1fr; }

    .portfolio-big-title { font-size: 2.2rem; }
    .portfolio-subtitle { font-size: 1rem; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .filter-tabs { gap: 8px; width: 100%; justify-content: center; }
    .filter-btn { font-size: 0.8rem; padding: 7px 14px; }

    .footer-inner { flex-direction: column; align-items: center; gap: 16px; text-align: center; }
    .social-links { justify-content: center; }

    .cm-arch-grid { grid-template-columns: 1fr; }
    .cm-body { padding: 20px 16px; }
    .cm-head { padding: 14px 16px; }
    .cm-stats { grid-template-columns: 1fr 1fr; }
    .cm-video-showcase { flex-direction: column; align-items: center; }
    .cm-video-showcase video { max-width: 260px; width: 100%; }
    .cm-vslider-track { width: 160px; }
}

@media (max-width: 480px) {
    .btn-tg-header .tg-text { display: none; }
    .btn-tg-header { padding: 9px 13px; }
    .portfolio-big-title { font-size: 1.8rem; }
    .cm-stats { grid-template-columns: 1fr; }
    .filter-tabs { flex-wrap: wrap !important; justify-content: center; overflow: visible; width: 100%; }
    .filter-btn { font-size: 0.78rem; padding: 6px 12px; }
    .hero-list { text-align: left; }
    .final-cta .btn { width: 100%; max-width: 320px; }
}