/* ==========================================
   1. ДИЗАЙН-СИСТЕМА (ТОКЕНЫ)
   ========================================== */
:root {
    /* Цветовая палитра "Винтажная студия" */
    --bg-canvas: #FDFBF7;       /* Теплый оттенок дорогой бумаги */
    --surface: #FFFFFF;         /* Чисто белые карточки */
    --ink: #1A1A1A;             /* Глубокий чернильный для текста */
    --muted: #6B7280;           /* Мягкий серый для второстепенного текста */

    --accent: #FF5A00;          /* Электрический оранжевый */
    --accent-hover: #E65000;    /* Чуть темнее для ховера */
    --accent-soft: #FFF1EB;     /* Светло-оранжевый для подложек */

    --border: #E5E7EB;
    --error-bg: #fee2e2;
    --error-text: #dc2626;

    /* Тени и скругления */
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;

    --shadow-card: 0 12px 30px rgba(26, 26, 26, 0.04);
    --shadow-card-hover: 0 20px 40px rgba(26, 26, 26, 0.08);
    --shadow-btn: 0 10px 24px rgba(255, 90, 0, 0.25);

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================
   2. БАЗОВЫЕ СТИЛИ
   ========================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-family);
    background-color: var(--bg-canvas);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { text-decoration: none; color: var(--ink); transition: color 0.2s; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.highlight { color: var(--accent); }
.mt-2 { margin-top: 1rem; }

/* ==========================================
   3. ШАПКА (НАВИГАЦИЯ)
   ========================================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: transparent;
    transition: all 0.3s ease;
}
.navbar.is-scrolled {
    background: rgba(253, 251, 247, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(26, 26, 26, 0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.nav-content { display: flex; justify-content: space-between; align-items: center; height: 80px; transition: height 0.3s; }
.navbar.is-scrolled .nav-content { height: 70px; }

.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; }
.logo img { height: 50px; width: auto; transition: 0.3s; }
.navbar.is-scrolled .logo img { height: 40px; }

.nav-links { display: flex; align-items: center; gap: 24px; font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--accent); }

/* ==========================================
   4. КНОПКИ
   ========================================== */
.btn {
    display: inline-flex; justify-content: center; align-items: center;
    padding: 14px 28px; border-radius: 99px; font-weight: 700;
    cursor: pointer; border: none; transition: all 0.25s ease; font-size: 1rem;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-btn); }
.btn-primary:hover {
    background: var(--accent-hover); color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(255, 90, 0, 0.35);
}
.btn-outline { border: 2px solid var(--ink); background: transparent; color: var(--ink); padding: 12px 26px;}
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-large { padding: 16px 32px; font-size: 1.1rem; }
.btn-full { width: 100%; }

/* ==========================================
   5. ГЛАВНЫЙ ЭКРАН (HERO) И ИИ-СКАНЕР
   ========================================== */
.hero { padding: 160px 0 80px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 24px; font-weight: 900; letter-spacing: -0.03em; }
.lead { font-size: 1.2rem; color: var(--muted); margin-bottom: 32px; font-weight: 500; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-mockup {
    width: 300px; height: 600px;
    background: #111; border: 12px solid #1A1A1A;
    border-radius: 40px; position: relative; overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}
.phone-notch {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 120px; height: 25px; background: #1A1A1A;
    border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; z-index: 10;
}
.phone-screen {
    width: 100%; height: 100%;
    background: url('../img/hero-selfie.jpg') center/cover;
    position: relative;
}
.scan-line {
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--accent); box-shadow: 0 0 20px 4px rgba(255, 90, 0, 0.6);
    animation: scan 3s ease-in-out infinite; z-index: 5;
}
@keyframes scan { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(580px); } }

.floating-badge {
    position: absolute; background: #fff; padding: 12px 20px;
    border-radius: 99px; font-weight: 800; font-size: 0.9rem;
    box-shadow: var(--shadow-card); display: flex; align-items: center; gap: 8px;
    z-index: 20; border: 1px solid var(--border);
}
.floating-badge svg { width: 18px; height: 18px; color: #10B981; }
.badge-1 { top: 100px; left: -40px; animation: float 6s ease-in-out infinite; }
.badge-2 { bottom: 150px; right: -50px; animation: float 7s ease-in-out 1s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

.social-proof { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
.avatar-stack { display: flex; }
.avatar-stack img { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--bg-canvas); margin-left: -15px; background: #ccc; }
.avatar-stack img:first-child { margin-left: 0; }
.social-text { font-size: 0.9rem; font-weight: 600; color: var(--muted); line-height: 1.3; }

/* ==========================================
   6. ИНТЕРАКТИВ "ДО / ПОСЛЕ"
   ========================================== */
.section { padding: 100px 0; }
.section h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 20px; letter-spacing: -0.02em; }

.slider-container {
    position: relative; max-width: 800px; margin: 40px auto 0;
    height: 500px; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-card); touch-action: none;
    border: 1px solid var(--border); background: #e5e7eb;
}
.slider-img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center; pointer-events: none;
}
.slider-before { clip-path: inset(0 50% 0 0); z-index: 2; }
.slider-after { z-index: 1; }
.slider-handle {
    position: absolute; top: 0; bottom: 0; left: 50%; width: 4px;
    background: var(--surface); z-index: 3; transform: translateX(-50%); cursor: ew-resize;
}
.slider-handle::after {
    content: '< >'; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%); width: 40px; height: 40px;
    background: var(--accent); color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; font-size: 12px; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ==========================================
   7. СЕТКА BENTO (Форматы документов)
   ========================================== */
.bento-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(220px, auto); gap: 24px; margin-top: 40px;
}
.bento-card {
    background: var(--surface); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; justify-content: space-between;
    position: relative; overflow: hidden; z-index: 1;
}
.bento-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, var(--accent-soft), transparent 70%);
    opacity: 0; transition: opacity 0.4s ease; z-index: -1;
}
.bento-card:hover { transform: translateY(-6px); border-color: rgba(255, 90, 0, 0.3); box-shadow: 0 20px 40px rgba(255, 90, 0, 0.08); }
.bento-card:hover::before { opacity: 1; }
.bento-card.large { grid-column: span 2; }

.bento-icon {
    width: 56px; height: 56px; border-radius: 14px; background: var(--bg-canvas); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center; color: var(--ink); margin-bottom: 24px; transition: 0.3s;
}
.bento-icon svg { width: 28px; height: 28px; stroke-width: 1.5; }
.bento-card:hover .bento-icon { background: var(--accent); color: #fff; border-color: var(--accent); transform: scale(1.1) rotate(-5deg); box-shadow: var(--shadow-btn); }
.bento-card h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.02em; }
.bento-card p { color: var(--muted); font-size: 1rem; line-height: 1.5; font-weight: 500;}


/* ==========================================
   8. КАРТОЧКИ БОЛЕЙ (Почему бракуют)
   ========================================== */
.problems-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.problem-card-new {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 16px 16px 16px 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.problem-card-new:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(255, 90, 0, 0.3);
}

.problem-content-new {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.problem-icon-new {
    width: 24px; height: 24px;
    color: var(--accent); /* Используем наш фирменный цвет */
}
.problem-icon-new svg { width: 100%; height: 100%; stroke-width: 2; }

.problem-title-new {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.25;
}

.problem-img-new {
    width: 74px;
    height: 96px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #e5e7eb; /* Заглушка, пока фото не прогрузится */
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.problem-img-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

/* Легкий зум фото при наведении на карточку */
.problem-card-new:hover .problem-img-new img {
    transform: scale(1.05);
}

/* Финальная плашка с галочкой */
.quality-pill {
    width: max-content;
    max-width: 100%;
    margin: 40px auto 0;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border);
    border-radius: 99px;
    background: var(--surface);
    box-shadow: var(--shadow-card);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink);
}

.quality-pill .check-icon {
    width: 28px; height: 28px;
    background: #10B981; /* Зеленый успех */
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.quality-pill .check-icon svg { width: 16px; height: 16px; stroke-width: 3; }

/* Адаптив для новой сетки */
@media (max-width: 1024px) {
    .problems-grid-new { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .problems-grid-new { grid-template-columns: 1fr; }
    .quality-pill { flex-direction: column; text-align: center; border-radius: 24px; padding: 20px; font-size: 0.95rem;}
}

/* ==========================================
   9. FAQ & FINAL CTA
   ========================================== */
.faq-list { max-width: 800px; margin: 40px auto 0; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 16px; overflow: hidden; }
summary { padding: 20px 24px; font-weight: 700; font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.5rem; color: var(--accent); transition: 0.3s; }
details[open] summary::after { transform: rotate(45deg); }
.faq-content { padding: 0 24px 24px; color: var(--muted); line-height: 1.6; }

/* ==========================================
   9. FINAL CTA (СПЛИТ-БЛОК С МАКЕТОМ)
   ========================================== */
.final-cta-split {
    background: var(--ink);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    overflow: hidden;
    margin-top: 60px;
    box-shadow: var(--shadow-card);
    position: relative;
}

.cta-content {
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.cta-content p {
    color: #A1A1AA;
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 480px;
    line-height: 1.6;
}

.cta-visual {
    position: relative;
    background: linear-gradient(135deg, #2A2A2E, #141415);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow: hidden;
}

/* Эффект свечения за листом */
.cta-visual::before {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    background: var(--accent);
    filter: blur(100px);
    opacity: 0.15;
    border-radius: 50%;
}

/* Сам лист для печати */
.print-sheet-mockup {
    background: #fff;
    width: 260px;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    transform: rotate(8deg) translateY(0);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 2;
    animation: floatSheet 6s ease-in-out infinite;
}

@keyframes floatSheet {
    0%, 100% { transform: rotate(8deg) translateY(0); }
    50% { transform: rotate(6deg) translateY(-15px); }
}

.final-cta-split:hover .print-sheet-mockup {
    transform: rotate(0deg) scale(1.05);
    animation-play-state: paused;
}

/* Сетка фотографий на листе */
.sheet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    position: relative;
}

.sheet-photo {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 4px;
}

/* Декоративные линии отреза (крестики между фото) */
.cut-marks {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    pointer-events: none;
}
.cut-marks::before {
    content: ''; position: absolute;
    top: 50%; left: -10px; right: -10px;
    border-top: 1px dashed rgba(26, 26, 26, 0.3);
}
.cut-marks::after {
    content: ''; position: absolute;
    left: 50%; top: -10px; bottom: -10px;
    border-left: 1px dashed rgba(26, 26, 26, 0.3);
}

/* Иконка ножниц */
.scissors-icon {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink);
    background: #fff;
    padding: 4px;
    border-radius: 50%;
}
.scissors-icon svg { width: 16px; height: 16px; display: block; }

/* Адаптив для CTA */
@media (max-width: 900px) {
    .final-cta-split { grid-template-columns: 1fr; }
    .cta-content { padding: 60px 30px; align-items: center; text-align: center; }
    .cta-visual { padding: 60px 20px; min-height: 400px; }
}

/* ==========================================
   10. ПОДВАЛ (FOOTER)
   ========================================== */
.site-footer { background: var(--bg-canvas); padding: 80px 0 30px; border-top: 1px solid var(--border); margin-top: 100px; }
.footer-inner { display: flex; flex-direction: column; gap: 50px; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 420px; }
.footer-brand .logo { font-size: 1.5rem; }
.footer-desc { color: var(--muted); font-size: 0.95rem; line-height: 1.6; font-weight: 500; }

.footer-email {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 99px;
    border: 1px solid var(--border); background: var(--surface); font-weight: 700; font-size: 0.95rem;
    color: var(--ink); width: fit-content; transition: 0.3s ease; margin-top: 8px;
}
.footer-email svg { width: 18px; height: 18px; color: var(--accent); }
.footer-email:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255, 90, 0, 0.1); }

.footer-links-group { display: flex; flex-direction: column; gap: 20px; }
.footer-docs-title { font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink); }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; }
.footer-links a { color: var(--muted); font-size: 0.95rem; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a::before { content: ""; width: 4px; height: 4px; background: #d1d5db; border-radius: 50%; transition: 0.2s ease; }
.footer-links a:hover { color: var(--accent); }
.footer-links a:hover::before { background: var(--accent); transform: scale(1.8); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.9rem; font-weight: 500; }

/* ==========================================
   11. ФОРМЫ (ЛОГИН / РЕГИСТРАЦИЯ) И КАБИНЕТ
   ========================================== */
.auth-container { display: flex; justify-content: center; padding: 120px 24px 80px; }
.auth-card { background: var(--surface); padding: 48px; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); width: 100%; max-width: 440px; border: 1px solid var(--border); }
.auth-card h2 { text-align: center; margin-bottom: 32px; font-size: 1.8rem; font-weight: 800; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 700; font-size: 0.95rem; }
.form-group input, .form-control {
    width: 100%; padding: 14px 16px; border: 2px solid var(--border); border-radius: 12px;
    font-size: 1rem; transition: 0.2s; background: var(--bg-canvas); font-family: inherit; font-weight: 500;
}
.form-group input:focus, .form-control:focus { outline: none; border-color: var(--accent); background: #fff; }
.auth-switch { text-align: center; margin-top: 24px; font-weight: 600; color: var(--muted); }
.auth-switch a { color: var(--accent); }

/* Флэш-уведомления */
.flash-messages { margin-top: 100px; }
.flash { padding: 16px 24px; border-radius: var(--radius-md); font-weight: 600; margin-bottom: 16px; text-align: center; }
.flash.error { background: var(--error-bg); color: var(--error-text); border: 1px solid rgba(220,38,38,0.2); }
.flash.success { background: #d1fae5; color: #065f46; border: 1px solid rgba(16, 185, 129, 0.2); box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1); }

/* Личный кабинет (Dashboard) */
.dashboard { padding: 120px 24px 80px; }
.dashboard-header { margin-bottom: 40px; }
.dashboard-header h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 12px; letter-spacing: -0.02em; }
.dashboard-header p { color: var(--muted); font-size: 1.1rem; }

.upload-section { background: var(--surface); padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); max-width: 600px; border: 1px solid var(--border); margin-top: 20px;}
.drop-zone {
    height: 260px; padding: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; font-weight: 600; font-size: 1.1rem; cursor: pointer; color: var(--muted);
    border: 2px dashed var(--border); border-radius: var(--radius-md); background: var(--bg-canvas); transition: 0.3s ease; position: relative; overflow: hidden;
}
.drop-zone:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.drop-zone-input { display: none; }
.drop-zone-thumb { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }

/* ==========================================
   12. АНИМАЦИИ ПРИ СКРОЛЛЕ
   ========================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================
   13. АДАПТИВ (МЕДИАЗАПРОСЫ)
   ========================================== */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero h1 { font-size: 2.8rem; }
    .lead { max-width: 100%; margin: 0 auto 30px;}
    .hero-visual { display: none; }

    .bento-grid, .problems-grid { grid-template-columns: 1fr; }
    .bento-card.large { grid-column: span 1; }
    .slider-container { height: 350px; }

    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .footer-links { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
}

@media (max-width: 600px) {
    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 2.2rem; }
    .social-proof { flex-direction: column; }
    .btn { width: 100%; }
    .nav-links a.btn-outline { display: none; } /* Прячем кнопку "Выйти" в шапке на малых экранах, оставляя ссылки */
    .bento-card { padding: 24px; }
    .problem-card { padding: 24px 16px; }
}

/* ==========================================
   14. ОТЗЫВЫ И ПРИМЕРЫ (ДО/ПОСЛЕ СЕТКА)
   ========================================== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.review-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(255, 90, 0, 0.3);
}

.review-images {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.review-photo {
    position: relative;
    flex: 1;
    aspect-ratio: 3/4;
    border-radius: 12px;
    overflow: hidden;
    background: #e5e7eb;
    border: 1px solid rgba(0,0,0,0.05);
}

.review-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.review-label {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 6px;
    letter-spacing: 0.05em;
    z-index: 2;
}

.label-before { background: var(--ink); color: #fff; }
.label-after { background: var(--accent); color: #fff; }

.review-stars {
    display: flex;
    gap: 4px;
    color: var(--accent);
    margin-bottom: 12px;
}
.review-stars svg { width: 16px; height: 16px; fill: currentColor; }

.review-quote {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.5;
    margin-bottom: 24px;
    flex-grow: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: #e5e7eb;
}

.review-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--muted);
}

/* Адаптив для отзывов */
@media (max-width: 1024px) {
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .reviews-grid { grid-template-columns: 1fr; }
    .review-card { padding: 20px; }
}

/* ==========================================
   15. COOKIE БАННЕР
   ========================================== */
.cookie-banner {
    position: fixed;
    bottom: -150%; /* Спрятан за экраном по умолчанию */
    left: 0;
    right: 0;
    background: var(--surface);
    box-shadow: 0 -10px 40px rgba(26, 26, 26, 0.08);
    z-index: 1000;
    padding: 24px;
    transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 1px solid var(--border);
}

.cookie-banner.is-visible {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-content p {
    font-size: 0.95rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

.cookie-content a {
    color: var(--ink);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

.cookie-content a:hover {
    color: var(--accent);
}

.cookie-content .btn {
    flex-shrink: 0;
}

/* Адаптив для телефонов */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .cookie-content .btn {
        width: 100%;
    }
}