:root {
        --bs-font-sans-serif: 'Inter', system-ui, -apple-system, sans-serif;
        --primary: #2563EB;
        --primary-dark: #1E40AF;
        --primary-light: #EFF6FF;
        --accent: #F59E0B;
        --dark-bg: #0F172A;
        --bg-alt: #F8FAFC;
        --text-main: #1E293B;
        --text-muted: #4E5C6D;
        --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
        --card-radius: 20px;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }

    html, body {
        max-width: 100%;
        overflow-x: hidden;
        background-color: #fff;
        color: var(--text-main);
    }

    body { line-height: 1.6; }

    .container { padding-left: 16px; padding-right: 16px; }
    .row { --bs-gutter-x: 1.5rem; }

    /* === REUSABLE COMPONENTS === */
    .section-label {
        display: inline-block; color: var(--primary); font-weight: 700;
        text-transform: uppercase; letter-spacing: 1.5px; font-size: 20px; margin-bottom: 16px;
    }
    .section-title { font-size: 2.75rem; font-weight: 800; line-height: 1.2; margin-bottom: 24px; color: var(--text-main); }
    .section-title span { color: var(--primary); }
    .section-desc { font-size: 1.15rem; color: var(--text-muted); line-height: 1.7; }

    .btn-cta {
        background: var(--primary); color: #fff; padding: 14px 28px; border-radius: 14px;
        font-weight: 700; font-size: 16px; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3); transition: all 0.3s; border: none;
    }
    .btn-cta:hover {
        background: var(--primary-dark); color: #fff; transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    }
    .btn-outline-cta { background: transparent; color: var(--primary); border: 2px solid var(--primary); box-shadow: none; }
    .btn-outline-cta:hover { background: var(--primary-light); color: var(--primary-dark); border-color: var(--primary); box-shadow: none; transform: translateY(-2px); }

    .feature-list { list-style: none; padding: 0; }
    .feature-list li { display: flex; gap: 16px; margin-bottom: 20px; font-size: 17px; align-items: flex-start; color: var(--text-main); }
    .feature-list li i { color: var(--primary); font-size: 20px; margin-top: -2px; flex-shrink: 0; }

    /* === NAVBAR === */
    .navbar { backdrop-filter: blur(20px); background: rgba(255, 255, 255, 0.85); border-bottom: 1px solid #F1F5F9; }
    .brand-icon { background: var(--primary); color: #fff; padding: 6px; border-radius: 10px; }

    /* === HERO === */
    .hero-section { padding-top: 140px; padding-bottom: 80px; background: radial-gradient(circle at 90% 10%, rgba(37, 99, 235, 0.05) 0%, transparent 60%); }
    .hero-badge {
        background: var(--primary-light); /*border: 1px solid rgba(37, 99, 235, 0.2);*/
        display: inline-block; padding: 6px 14px; border-radius: 40px; color: var(--primary);
        font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 18px; margin-bottom: 20px;
    }
    .hero-title { font-size: 2.9rem; line-height: 1.1; font-weight: 900; letter-spacing: -1px; }
    .hero-title span { color: var(--primary); }

    /* === PHONE MOCKUP === */
    .phone-wrapper { position: relative; max-width: 320px; margin: 0 auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.12)); transform: rotate(2deg); }
    .phone-frame { background: #1a1a1a; border-radius: 20px; padding: 10px; border: 4px solid #333; }
    .phone-screen { background: #F4F6F8; border-radius: 16px; overflow: hidden; aspect-ratio: 9 / 19; position: relative; }
    .phone-screen img {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
    }
    .mock-header { background: #fff; padding: 12px 16px; border-bottom: 1px solid #e2e6ea; }
    .mock-search { background: #F4F6F8; border-radius: 10px; height: 32px; width: 70%; }
    .mock-icon { width: 32px; height: 32px; background: rgba(37,99,235,0.1); border-radius: 8px; }
    .mock-card { background: #fff; margin: 10px; padding: 12px; border-radius: 14px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
    .mock-photo { width: 100%; height: 50px; background: #e9ecef; border-radius: 8px; margin-bottom: 6px; display: flex; align-items: center; justify-content: center; color: #ced4da; font-size: 18px; }
    .mock-line { height: 8px; background: #e9ecef; border-radius: 4px; margin-bottom: 5px; }
    .mock-line.price { background: var(--primary); width: 40%; height: 10px; }
    .mock-line.addr { width: 80%; }
    .mock-line.name { width: 50%; background: #1a1a2e; }
    .mock-badge { padding: 3px 6px; border-radius: 4px; font-size: 9px; font-weight: 700; }
    .badge-sale-m { background: #e8f5e9; color: #2e7d32; }
    .badge-type-m { background: #f0f0f5; color: #555; }
    .mock-btn-match { background: var(--primary); color: white; padding: 6px; border-radius: 6px; text-align: center; font-size: 10px; font-weight: 700; margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 4px; }
    .mock-nav { position: absolute; bottom: 0; left: 0; right: 0; background: #fff; padding: 10px 0 20px; border-top: 1px solid #e2e6ea; }
    .mock-nav-item { width: 24px; height: 24px; background: #e9ecef; border-radius: 6px; }
    .mock-nav-item.active { background: var(--primary); }

    .float-card { position: absolute; background: #fff; padding: 12px 16px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; z-index: 2; animation: float 3s ease-in-out infinite; border: 1px solid #F1F5F9; }
    .float-icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; }
    .float-1 { top: 20%; left: -40px; }
    .float-1 .float-icon { background: #10B981; }
    .float-2 { bottom: 25%; right: -30px; animation-delay: 1.5s; }
    .float-2 .float-icon { background: var(--primary); }
    @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

    /* === PHONE SCREEN CROSSFADE LOOP === */
    .phone-screen img {
        transition: opacity 1s ease-in-out;
    }
    .phone-screen .mock-header,
    .phone-screen .mock-card,
    .phone-screen .mock-nav {
        z-index: 1;
        transition: opacity 1s ease-in-out;
    }

    .phone-screen.fade-to-real img { opacity: 1; }
    .phone-screen.fade-to-real .mock-header,
    .phone-screen.fade-to-real .mock-card,
    .phone-screen.fade-to-real .mock-nav { opacity: 0; }
	
.swiper {
  width: 100%;
  height: 85vh;
  background: #000;
  border-radius: 10px;
}

.swiper-slide {
  font-size: 18px;
  color: #fff;
  box-sizing: border-box;
  padding: 10px 20px;
  display: flex;
  align-items: center;
}

.slide-content {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.text-content {
  position: absolute;
  left: 40px;
  top: 40px;
  max-width: 56%;
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px;
  border-radius: 10px;
}

.image-content {
  width: 53%;
  height: 100%;
  position: absolute;
  right: 40px;
  top: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
  border-radius: 10px;
}

.image-content img {
  height: 100%;
  object-fit: cover;
  border: 9px solid #1a1a1a;
  border-radius: 10px;
}

.parallax-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 130%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.swiper-slide .title { font-size: 41px; font-weight: 600; color: #CCFFFF; }
.swiper-slide .subtitle { font-size: 21px; }
.swiper-slide .text { font-size: 16px; line-height: 1.3; }

@media (max-width: 768px) {
  .swiper-slide { padding: 0; }
  .text-content { display: none !important; }
  .image-content { width: 96%; height: 90%; right: 2%; top: 5%; border-radius: 0; }
  .image-content img { height: 100%; width: 100%; object-fit: cover; }
}
@media (max-width: 480px) { .swiper { height: 100vh; } }

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 2rem;
    margin-top: 0.8rem;
}
.feature-grid .item { display: flex; gap: 10px; align-items: flex-start; }
.feature-grid .item i { color: #CCFFFF; font-size: 1.2rem; min-width: 20px; margin-top: -3px; }
.feature-grid .item span { font-size: 0.98rem; color: #E5E5E5; line-height: 18px; }

/* === UNIFIED BENTO CARD (СВЕТЛАЯ ВЕРСИЯ) === */
.bento-card {
    position: relative;
    border-radius: 24px;
    padding: 28px;
    overflow: hidden;
    color: #1E293B;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 200px;
    will-change: transform;
    border: 1px solid rgba(0,0,0,0.06);
}
.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(255,255,255,0.5) 0%, transparent 50%);
    pointer-events: none;
}
.bento-card .bento-icon {
    font-size: 38px;
    margin-bottom: 14px;
    opacity: 0.9;
    color: #5B5B5B;
	display: none;
}
.bento-card h4, .bento-card .bento-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
    color: #1E293B;
}
.bento-card p, .bento-card .bento-desc {
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.5;
    margin: 0;
    color: #1F2935;
}
.bento-card .bento-badge {
    display: inline-block;
    background: rgba(0,0,0,0.08);
    color: #1E293B;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    width: fit-content;
}
.bento-card .bento-big-icon {
    position: absolute;
    right: 4px;
    top: -20px;
    font-size: 82px;
    opacity: 0.12;
    color: #1E293B;
    transform: rotate(-15deg);
    pointer-events: none;
}

/* Размеры карточек */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 16px;
    margin-top: 40px;
}
.bento-wide { grid-column: span 2; }
.bento-tall { grid-row: span 2; }
.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-full { grid-column: 1 / -1; }

/* === КЛАССЫ ДЛЯ РАЗНЫХ СЕТОК === */
.bento-grid-2 { grid-template-columns: 1fr 1fr; }
.bento-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* === СВЕТЛЫЕ ПАСТЕЛЬНЫЕ ГРАДИЕНТЫ === */
.bento-gradient-1 { background: linear-gradient(135deg, #e8e0ff 0%, #d4c5ff 100%); }
.bento-gradient-2 { background: linear-gradient(135deg, #ffe0f5 0%, #ffd4e0 100%); }
.bento-gradient-3 { background: linear-gradient(135deg, #d4e8ff 0%, #c5f5ff 100%); }
.bento-gradient-4 { background: linear-gradient(135deg, #d4ffe0 0%, #c5fff5 100%); }
.bento-gradient-5 { background: linear-gradient(135deg, #ffe0e8 0%, #fff5d4 100%); }
.bento-gradient-6 { background: linear-gradient(135deg, #d4f5f5 0%, #e0d4f5 100%); }
.bento-gradient-7 { background: linear-gradient(135deg, #e0f5f2 0%, #f5e0e8 100%); }
.bento-gradient-8 { background: linear-gradient(135deg, #ffe8e8 0%, #f5e0f0 100%); }
.bento-gradient-9 { background: linear-gradient(135deg, #d4e0ff 0%, #c5d4ff 100%); }
.bento-gradient-10 { background: linear-gradient(135deg, #e0e5f0 0%, #d4dae8 100%); }
.bento-gradient-11 { background: linear-gradient(135deg, #ffe0e5 0%, #d4ecff 100%); }
.bento-gradient-12 { background: linear-gradient(135deg, #fff5d4 0%, #ffe8d4 100%); }
.bento-gradient-13 { background: linear-gradient(135deg, #ffe0d4 0%, #ffd4d4 100%); }
.bento-gradient-14 { background: linear-gradient(135deg, #d4f0d4 0%, #e0f5d4 100%); }
.bento-gradient-15 { background: linear-gradient(135deg, #e0d4f0 0%, #d4d8f5 100%); }
.bento-gradient-16 { background: linear-gradient(135deg, #f5e0d4 0%, #f0d4e8 100%); }
.bento-gradient-17 { background: linear-gradient(135deg, #d4d8f0 0%, #d4d8e8 100%); }
.bento-gradient-18 { background: linear-gradient(135deg, #ffd4d4 0%, #ffe0d4 100%); }
.bento-gradient-19 { background: linear-gradient(135deg, #e0d4e8 0%, #d4d4e8 100%); }
.bento-gradient-20 { background: linear-gradient(135deg, #d4f0e8 0%, #d4f5e0 100%); }
.bento-gradient-pain { background: linear-gradient(135deg, #ffd4d4 0%, #ffe0d4 100%); }
.bento-gradient-compare-bad { background: linear-gradient(135deg, #ffd4d4 0%, #ffe0d4 100%); }
.bento-gradient-compare-good { background: linear-gradient(135deg, #d4f0d4 0%, #d4f5e0 100%); }
.bento-gradient-cta { background: linear-gradient(135deg, #EFF6FF 0%, #BCDAFF 100%); }

/* === SECTION BENTO WRAPPERS === */
.bento-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* === STEP CARDS === */
.bento-step-num {
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.08);
    color: #1E293B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-bottom: 12px;
}

/* === FEATURE VISUAL === */
.feature-visual {
    background: var(--bg-alt);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    position: relative;
    border: 1px solid #F1F5F9;
    overflow: hidden;
}
.feature-visual-inner {
    width: 100%;
    max-width: 350px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    overflow: hidden;
    z-index: 2;
    border: 1px solid #F1F5F9;
    display: flex;
    flex-direction: column;
	
	
  overflow: hidden;
}
.feature-visual-inner.search {
height: 500px;
}
.fv-header {
    background: #F1F5F9;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #e2e8f0;
}
.fv-header-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
}
.fv-header-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-main);
}
.fv-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.fv-card {
    background: #F8FAFC;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #e2e8f0;
}
.fv-photo {
    width: 100%;
    height: 70px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    border-radius: 8px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 24px;
}
.fv-line {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    margin-bottom: 5px;
}
.fv-line.accent { background: var(--primary); }
.fv-line.price { background: var(--primary); width: 45%; height: 10px; }
.fv-line.addr { width: 80%; }
.fv-line.name { width: 55%; background: #1e293b; }
.fv-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    margin-right: 4px;
}
.fv-badge-sale { background: #e8f5e9; color: #2e7d32; }
.fv-badge-type { background: #f0f0f5; color: #555; }
.fv-btn {
    background: var(--primary);
    color: white;
    padding: 8px;
    border-radius: 8px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 8px;
}

/* AI typing animation */
.ai-typing-demo {
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    border: 1px solid #e2e8f0;
}
.ai-typing-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
}
.ai-typing-input {
    background: #f8fafc;
    border-radius: 8px;
    padding: 10px;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 10px;
    border: 1px solid #e2e8f0;
}
.ai-typing-output {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-main);
    min-height: 60px;
}
.ai-typing-cursor {
    display: inline-block;
    width: 2px;
    height: 12px;
    background: var(--primary);
    animation: blink 1s infinite;
    vertical-align: middle;
    margin-left: 2px;
}
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Action buttons demo */
.fv-action-buttons {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}
.fv-action-btn {
    flex: 1;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    font-weight: 700;
    gap: 4px;
}
.fv-action-btn.call { background: var(--primary); }
.fv-action-btn.wa { background: #25D366; }
.fv-action-btn.tg { background: #0088cc; }

/* Map mock */
.fv-map {
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}
.fv-map::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(90deg, transparent 49%, #cbd5e1 49%, #cbd5e1 51%, transparent 51%),
        linear-gradient(0deg, transparent 49%, #cbd5e1 49%, #cbd5e1 51%, transparent 51%);
    background-size: 30px 30px;
    opacity: 0.5;
}
.fv-map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    color: #ef4444;
    font-size: 24px;
    z-index: 2;
    animation: pin-bounce 2s ease-in-out infinite;
}
@keyframes pin-bounce {
    0%, 100% { transform: translate(-50%, -100%); }
    50% { transform: translate(-50%, -110%); }
}

/* === ANIMATED MATCHING BLOCK === */
#matchBody {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    position: relative;
}

#matchCardsContainer,
#matchSkeletons {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 54px; /* высота match-status + отступ */
    bottom: 0;
    transition: opacity 0.35s ease;
}

#matchCardsContainer {
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
}

.match-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.02));
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    border: 1px solid rgba(37, 99, 235, 0.15);
    min-height: 34px;
    flex-shrink: 0;
}
.match-status .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    position: relative;
    flex-shrink: 0;
}
.match-status .pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.4;
    animation: pulse-ring 1.4s ease-out infinite;
}
@keyframes pulse-ring {
    0% { transform: scale(0.6); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

.match-card-item {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.match-card-item.visible {
    opacity: 1;
    transform: translateY(0);
}
.match-card-item.fading {
    opacity: 0;
    transform: translateY(-8px);
}

.match-percent {
    display: inline-block;
    min-width: 55px;
	border-radius: 4px;
	text-align: center;
}

.match-scanner {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    pointer-events: none;
    z-index: 3;
}
.match-scanner.active {
    animation: scan 1.2s ease-in-out;
}
@keyframes scan {
    0% { top: 0; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Skeleton плейсхолдеры */
.match-skeleton {
    background: #F8FAFC;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 10px;
    transition: opacity 0.35s ease;
}
.match-skeleton.hidden {
    opacity: 0;
    pointer-events: none;
}
.match-skeleton .sk-photo {
    width: 100%;
    height: 70px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    border-radius: 8px;
    margin-bottom: 8px;
}
.match-skeleton .sk-line {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    margin-bottom: 5px;
}
.match-skeleton .sk-line.name { width: 70%; }
.match-skeleton .sk-line.price { width: 45%; background: var(--primary); height: 10px; }
.match-skeleton .sk-line.addr { width: 85%; }

/* CTA section */
.cta-section { background: var(--primary-light); border-radius: 40px; border: 1px solid #DBEAFE; }

/* === FAQ SECTION === */
.faq-section { padding-top: 80px; padding-bottom: 80px; background: #fff; }
.faq-item {
    background: var(--bg-alt);
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 22px 26px;
    margin-bottom: 14px;
    transition: all 0.25s ease;
}
.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
    transform: translateY(-2px);
}
.faq-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.4;
}
.faq-item h3 i {
    color: var(--primary);
    font-size: 22px;
    margin-top: -2px;
    flex-shrink: 0;
}
.faq-item p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
    padding-left: 34px;
}
.faq-item p strong {
    color: var(--text-main);
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .hero-title { font-size: 2.5rem; }
    .phone-wrapper { transform: rotate(0); margin-top: 40px; max-width: 280px; }
    .float-card { display: none; }
    .feature-visual { min-height: 300px; padding: 20px; }
    .section-title { font-size: 2.2rem; }
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-large, .bento-wide, .bento-full { grid-column: span 2; }
    .bento-tall { grid-row: span 1; }
    .bento-grid-2,
    .bento-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767.98px) {
    .hero-section { padding-top: 120px; padding-bottom: 60px; }
    .row { --bs-gutter-x: 1rem; }
    .bento-section { padding-top: 60px; padding-bottom: 60px; }
    .faq-section { padding-top: 60px; padding-bottom: 60px; }
    .faq-item { padding: 18px 20px; }
    .faq-item h3 { font-size: 1.05rem; }
    .faq-item p { padding-left: 0; font-size: 0.95rem; }
}
@media (max-width: 575.98px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-large, .bento-wide, .bento-tall, .bento-full { grid-column: span 1; grid-row: span 1; }
    .bento-card { padding: 22px; min-height: 160px; }
    .bento-card h4, .bento-card .bento-title { font-size: 1.15rem; }
    .bento-card .bento-big-icon { font-size: 80px; }
    .bento-grid-2,
    .bento-grid-3 {
        grid-template-columns: 1fr;
    }
}










/* === FAQ ADVANCED === */
.faq-advanced-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background: #fff;
}

/* --- Поиск --- */
.faq-search-box {
    position: relative;
    max-width: 600px;
    margin: 32px auto 0;
}
.faq-search-box .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 20px;
    pointer-events: none;
}
.faq-search-box input {
    width: 100%;
    padding: 16px 20px 16px 52px;
    border: 2px solid #E2E8F0;
    border-radius: 16px;
    font-size: 16px;
    font-family: inherit;
    background: var(--bg-alt);
    color: var(--text-main);
    transition: all 0.3s;
    outline: none;
}
.faq-search-box input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
.faq-search-box input::placeholder { color: var(--text-muted); }

/* --- Категории (пилюли) --- */
.category-nav {
    margin-bottom: 48px;
    padding: 28px 32px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #F8FAFC 100%);
    border: 2px solid rgba(37, 99, 235, 0.15);
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.category-nav h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-nav h3 i {
    font-size: 1.3rem;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    background: #fff;
    border: 2px solid #E2E8F0;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.category-pill:hover {
    color: var(--primary);
    background: #fff;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2);
}

.category-pill i {
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.category-pill:hover i {
    transform: scale(1.15);
}

.category-pill.active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
    transform: translateY(-2px);
}

.category-pill.active i {
    transform: scale(1.1);
}

/* --- Заголовки секций --- */
.faq-category-section {
    margin-bottom: 48px;
    scroll-margin-top: 100px;
}
.faq-section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #F1F5F9;
}
.faq-section-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

/* --- Переопределение Bootstrap accordion --- */
.faq-accordion .accordion-item {
    background: var(--bg-alt);
    border: 1px solid #E2E8F0;
    border-radius: 16px !important;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.25s;
}
.faq-accordion .accordion-item:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
    transform: translateY(-2px);
}
.faq-accordion .accordion-button {
    background: transparent !important;
    border: none;
    padding: 20px 24px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    box-shadow: none !important;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary);
}
.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232563EB'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-top: 4px;
}
.faq-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}
.faq-accordion .accordion-body {
    padding: 0 24px 20px 24px;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.65;
}
.faq-accordion .accordion-body strong {
    color: var(--text-main);
    font-weight: 600;
}

/* --- CTA внутри FAQ --- */
.faq-cta-section {
    background: var(--primary-light);
    border: 1px solid #DBEAFE;
    border-radius: 40px;
    padding: 60px 40px;
    text-align: center;
    margin-top: 48px;
}
.faq-cta-section h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
}
.faq-cta-section p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.faq-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    transition: all 0.3s;
}
.faq-cta-button:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* --- Адаптив --- */
@media (max-width: 767.98px) {
    .faq-advanced-section { padding-top: 60px; padding-bottom: 60px; }
    .faq-section-title { font-size: 1.3rem; }
    .faq-accordion .accordion-button { padding: 16px 18px; font-size: 0.95rem; }
    .faq-accordion .accordion-body { padding: 0 18px 16px; font-size: 0.95rem; }
    .faq-cta-section { padding: 40px 24px; border-radius: 24px; }
    .faq-cta-section h2 { font-size: 1.5rem; }
    .category-pill { padding: 8px 14px; font-size: 13px; }
}
@media (max-width: 575.98px) {
    .faq-section-title { font-size: 1.15rem; gap: 10px; }
    .faq-section-icon { width: 36px; height: 36px; font-size: 18px; }
}