/* ===== RESET ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Фон — светлый, как был */
    --bg-gradient: linear-gradient(135deg, #e8eef5 0%, #dde5ed 50%, #e4eaf1 100%);

    /* Карточки — плотные светлые, БЕЗ стекла */
    --card: #ffffff;
    --card-hover: #f5f8fb;
    --border: #dde3ea;
    --border-strong: #c4ccd6;

    /* Кнопки — графит/чёрный (мужской стиль) */
    --btn: #2a2e35;
    --btn-hover: #1a1d22;
    --btn-text: #ffffff;
    --blog-img: #000000;

    /* Вторичная кнопка — светлая с тёмной рамкой */
    --btn-glass: #ffffff;
    --btn-glass-hover: #f0f3f7;
    --btn-glass-text: #2a2e35;
    --btn-glass-border: #cfd6de;

    /* Акцент — сдержанная бронза (для гипнотерапии и выделений) */
    --accent: #a67c52;
    --accent-hover: #8e6a45;
    --accent-soft: rgba(166, 124, 82, 0.08);
    --accent-border: rgba(166, 124, 82, 0.25);

    /* Текст */
    --text-dark: #1e2228;
    --text: #1e2228;
    --text-light: #4a525d;
    --text-soft: #4a525d;
    --text-muted: #8590a0;

    /* Утилиты */
    --radius: 16px;
    --radius-sm: 10px;
    --radius-pill: 40px;
    --transition: 0.25s ease;

    /* Заглушки для старых цветов */
    --primary: var(--btn);
    --primary-dark: var(--btn-hover);
    --primary-hover: #3d434c;
    --glass-bg: var(--card);
    --glass-bg-hover: var(--card-hover);
    --glass-border: var(--border);
    --glass-shadow: 0 2px 12px rgba(30, 34, 40, 0.06);
    --glass-blur: none;

    --coral: var(--accent);
    --purple: var(--btn);
    --teal: var(--accent);
    --pink: var(--btn);
    --orange: var(--accent);
    --blue: var(--btn);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

/* =========================================================
   ШРИФТ INTER — ЛОКАЛЬНО
   ========================================================= */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/InterVariable.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/InterVariable-Italic.woff2') format('woff2');
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg-gradient);
    background-attachment: fixed;
    min-height: 100vh;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll {
    overflow: hidden;
}

/* Красочные плавающие пятна */
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}

body::before {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(155, 126, 199, 0.55), transparent 70%);
    top: -180px;
    right: -120px;
    animation: float 20s ease-in-out infinite;
}

body::after {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.5), transparent 70%);
    bottom: -120px;
    left: -120px;
    animation: float 26s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, 40px) scale(1.12); }
}

/* ===== UTILITY ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius);
}

.section {
  /*   padding: 100px 0; */
    position: relative;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto 56px;
    font-size: 1.05rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--purple), var(--primary), var(--teal));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.98rem;
    font-family: inherit;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--btn);
    color: var(--btn-text);
    box-shadow: 0 4px 14px rgba(30, 34, 40, 0.18);
}
.btn-primary:hover {
    background: var(--btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(30, 34, 40, 0.28);
}

.btn-glass {
    background: var(--btn-glass);
    border: 1px solid var(--btn-glass-border);
    color: var(--btn-glass-text);
}
.btn-glass:hover {
    background: var(--btn-glass-hover);
    border-color: var(--btn-glass-text);
    transform: translateY(-2px);
}
.btn-full { width: 100%; }
.btn-accent {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(166, 124, 82, 0.25);
}
.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(166, 124, 82, 0.35);
}
/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: all var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 16px rgba(30, 34, 40, 0.06);
    padding: 10px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo i {
    background: linear-gradient(135deg, var(--purple), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.5rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 4px;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    transition: all var(--transition);
    font-size: 0.92rem;
}

nav a:hover {
    background: var(--glass-bg);
    color: var(--primary-dark);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* .burger {
    display: none;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    width: 44px; height: 44px;
    border-radius: 12px;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-dark);
    align-items: center;
    justify-content: center;
}
 */
/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
   /*  padding: 130px 0 80px; */
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 24px;
}

.hero-badge i { color: var(--teal); }

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-lead {
    font-size: 1.08rem;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-dark), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.hero-visual { position: relative; }

.hero-card {
    padding: 32px;
    position: relative;
    z-index: 2;
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 20px;
}

.avatar {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(155, 126, 199, 0.4);
}

.hero-card-name { font-weight: 700; font-size: 1.05rem; }
.hero-card-role { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }

.hero-card-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.hero-card-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.hero-card-list i {
    color: var(--teal);
    font-size: 0.75rem;
    background: rgba(78, 205, 196, 0.15);
    width: 24px; height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--glass-border);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-card-footer i { color: var(--purple); }

.floating-badge {
    position: absolute;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(31, 38, 135, 0.12);
    z-index: 3;
}

.badge-1 { top: -20px; left: -30px; animation: floatBadge 4s ease-in-out infinite; }
.badge-1 i { color: var(--coral); }
.badge-2 { bottom: -20px; right: -20px; animation: floatBadge 4s ease-in-out infinite 2s; }
.badge-2 i { color: var(--teal); }

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

/* ===== ABOUT ===== */
.about-main {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 40px;
   /*  margin-bottom: 80px; */
}

.about-photo-wrap {
    position: relative;
    align-self: start;
}

.about-photo {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(155, 126, 199, 0.25), rgba(78, 205, 196, 0.2));
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius) - 8px);
    display: block;
}

.photo-fallback-content {
    display: none;
    position: absolute;
    inset: 8px;
    border-radius: calc(var(--radius) - 8px);
    background: linear-gradient(135deg, rgba(155, 126, 199, 0.3), rgba(78, 205, 196, 0.25));
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--text-light);
}

.photo-fallback-content i {
    font-size: 4rem;
    color: var(--primary-dark);
    opacity: 0.6;
}

.photo-fallback-content span {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.7;
}

.about-photo.photo-fallback .photo-fallback-content {
    display: flex;
}

.about-photo-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 18px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 30px rgba(31, 38, 135, 0.15);
    z-index: 3;
}

.badge-experience {
    bottom: 30px;
    left: -20px;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: linear-gradient(135deg, var(--purple), var(--primary));
    color: #fff;
    border: none;
    padding: 16px 20px;
}

.badge-experience .badge-num { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.badge-experience .badge-txt { font-size: 0.72rem; opacity: 0.9; }

.badge-clients {
    top: 30px;
    right: -20px;
    flex-direction: row;
}

.badge-clients > i {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), #3aa89f);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.badge-clients .badge-num { font-size: 1.1rem; font-weight: 800; color: var(--text-dark); line-height: 1; }
.badge-clients .badge-txt { font-size: 0.72rem; color: var(--text-muted); }

.about-text {
    padding: 40px 36px;
}

.about-name {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.about-name span {
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text-muted);
    display: block;
    margin-top: 4px;
}

.about-intro {
    color: var(--text-light);
    font-size: 1.02rem;
    margin-bottom: 28px;
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-feature {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.feature-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.05rem;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.icon-teal { background: linear-gradient(135deg, var(--teal), #3aa89f); }
.icon-coral { background: linear-gradient(135deg, var(--coral), #e56351); }
.icon-purple { background: linear-gradient(135deg, var(--purple), #7a5fb5); }
.icon-blue { background: linear-gradient(135deg, var(--blue), #4483d6); }

.about-feature h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ===== CERTIFICATES ===== */
.certificates-block {
    padding: 48px 40px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
}

.certificates-header {
    text-align: center;
    margin-bottom: 36px;
}

.certificates-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.certificates-header h3 i {
    color: var(--orange);
}

.certificates-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.cert-card {
    padding: 16px;
    transition: all var(--transition);
    cursor: pointer;
}

.cert-card:hover {
    transform: translateY(-6px);
    background: var(--glass-bg-hover);
}

.cert-img {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(155, 126, 199, 0.2), rgba(78, 205, 196, 0.15));
    margin-bottom: 16px;
}

.cert-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition);
}

.cert-card:hover .cert-img img {
    transform: scale(1.06);
}

.img-fallback-content {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-dark);
    opacity: 0.5;
}

.cert-img.img-fallback .img-fallback-content {
    display: flex;
}

.cert-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.cert-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-coral::before { background: linear-gradient(90deg, var(--coral), #e56351); }
.service-purple::before { background: linear-gradient(90deg, var(--purple), #7a5fb5); }
.service-teal::before { background: linear-gradient(90deg, var(--teal), #3aa89f); }
.service-blue::before { background: linear-gradient(90deg, var(--blue), #4483d6); }
.service-pink::before { background: linear-gradient(90deg, var(--pink), #e56b81); }
.service-orange::before { background: linear-gradient(90deg, var(--orange), #e58e2c); }

.service-card:hover {
    transform: translateY(-6px);
    background: var(--glass-bg-hover);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px; height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 20px;
    transition: all var(--transition);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-coral .service-icon { background: linear-gradient(135deg, var(--coral), #e56351); }
.service-purple .service-icon { background: linear-gradient(135deg, var(--purple), #7a5fb5); }
.service-teal .service-icon { background: linear-gradient(135deg, var(--teal), #3aa89f); }
.service-blue .service-icon { background: linear-gradient(135deg, var(--blue), #4483d6); }
.service-pink .service-icon { background: linear-gradient(135deg, var(--pink), #e56b81); }
.service-orange .service-icon { background: linear-gradient(135deg, var(--orange), #e58e2c); }

.service-card:hover .service-icon {
    transform: scale(1.08) rotate(-4deg);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: gap var(--transition);
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    padding: 0;
    align-self: flex-start;
}

.service-link:hover { gap: 14px; color: var(--purple); }

/* ===== PROCESS ===== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.process-step {
    padding: 32px 26px;
    position: relative;
    transition: all var(--transition);
}

.process-step:hover {
    transform: translateY(-6px);
    background: var(--glass-bg-hover);
}

.step-number {
    position: absolute;
    top: 20px; right: 24px;
    font-size: 2.4rem;
    font-weight: 800;
    color: rgba(107, 140, 174, 0.15);
    line-height: 1;
}

.process-step:nth-child(1) .step-icon { background: linear-gradient(135deg, var(--coral), #e56351); }
.process-step:nth-child(2) .step-icon { background: linear-gradient(135deg, var(--purple), #7a5fb5); }
.process-step:nth-child(3) .step-icon { background: linear-gradient(135deg, var(--teal), #3aa89f); }
.process-step:nth-child(4) .step-icon { background: linear-gradient(135deg, var(--blue), #4483d6); }

.step-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.process-step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.process-step p { color: var(--text-light); font-size: 0.92rem; }

/* ===== REVIEWS ===== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.review-card {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
}

.review-card:hover {
    transform: translateY(-6px);
    background: var(--glass-bg-hover);
}

.review-stars {
    display: flex;
    gap: 4px;
    color: #ffc107;
    margin-bottom: 18px;
    font-size: 0.9rem;
}

.review-text {
    color: var(--text-light);
    font-size: 0.98rem;
    font-style: italic;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 24px;
}

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

.review-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.review-card:nth-child(1) .review-avatar { background: linear-gradient(135deg, var(--coral), #e56351); }
.review-card:nth-child(2) .review-avatar { background: linear-gradient(135deg, var(--purple), #7a5fb5); }
.review-card:nth-child(3) .review-avatar { background: linear-gradient(135deg, var(--teal), #3aa89f); }

.review-name { font-weight: 700; font-size: 0.95rem; }
.review-tag { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* ===== BLOG ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.blog-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    background: var(--glass-bg-hover);
}

.blog-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.4rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.blog-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.25), transparent 60%);
}

.blog-img-1 { background: linear-gradient(135deg, var(--purple), var(--blue)); }
.blog-img-2 { background: linear-gradient(135deg, var(--coral), var(--pink)); }
.blog-img-3 { background: linear-gradient(135deg, var(--blog-img), var(--primary)); }

.blog-img i {
    position: relative;
    z-index: 1;
    transition: transform var(--transition);
}

.blog-title-link{
    text-decoration: none;
    color: var(--blue);
}

.blog-card:hover .blog-img i {
    transform: scale(1.15) rotate(-6deg);
}

.blog-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.blog-body {
    padding: 24px 26px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.blog-meta i { margin-right: 4px; }

.blog-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-body p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap var(--transition);
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    padding: 0;
    align-self: flex-start;
}

.blog-link:hover { gap: 14px; color: var(--purple); }

.blog-cta {
    text-align: center;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item { overflow: hidden; }

.faq-question {
    width: 100%;
    padding: 22px 28px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: color var(--transition);
}

.faq-question:hover { color: var(--primary-dark); }

.faq-question i {
    color: var(--primary);
    transition: transform var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--purple);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 28px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 28px 24px;
}

.faq-answer p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== CTA ===== */
.cta-block {
    margin-top: 30px;
    padding: 64px 48px;
    text-align: center;
    background: linear-gradient(135deg, rgba(155, 126, 199, 0.2), rgba(78, 205, 196, 0.15), rgba(255, 127, 110, 0.12));
}

.cta-content h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-content > p {
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto 32px;
    font-size: 1.05rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 28px;
}

.cta-messengers {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.cta-messengers a {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all var(--transition);
}

.cta-messengers a:hover {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    color: #fff;
    transform: translateY(-4px);
}

/* ===== FOOTER ===== */
.footer {
    padding: 40px 0 30px;
    border-top: 1px solid var(--glass-border);
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
}

.footer-brand i {
    background: linear-gradient(135deg, var(--purple), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--purple); }

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-copy a {
    color: var(--text-muted);
    text-decoration: underline;
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 40, 55, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    width: 100%;
    max-width: 500px;
    padding: 40px 36px 32px;
    position: relative;
    transform: translateY(30px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 92vh;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.88);
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--glass-border);
    color: var(--text-dark);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    z-index: 5;
}

.modal-close:hover {
    background: rgba(255, 100, 100, 0.15);
    color: #d9534f;
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.modal-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--primary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 18px;
    box-shadow: 0 10px 28px rgba(155, 126, 199, 0.4);
}

.modal-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.modal-form,
.callback-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
}

.required { color: #d9534f; }

.form-group input,
.form-group select,
.form-group textarea {
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(107, 140, 174, 0.25);
    background: rgba(255, 255, 255, 0.7);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all var(--transition);
    width: 100%;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 4px rgba(155, 126, 199, 0.15);
}

.form-group input.error,
.form-group select.error {
    border-color: #d9534f;
    box-shadow: 0 0 0 4px rgba(217, 83, 79, 0.12);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1.4;
}

.form-checkbox input {
    margin-top: 3px;
    accent-color: var(--purple);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    cursor: pointer;
}

.form-note {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.form-note i { color: var(--teal); margin-right: 4px; }

/* Success */
.modal-success {
    text-align: center;
    padding: 20px 0;
    display: none;
}

.modal-success.active { display: block; }

.modal-success .success-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), #3aa89f);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 20px;
    box-shadow: 0 10px 28px rgba(78, 205, 196, 0.4);
    animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.modal-success h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.modal-success p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== CALLBACK MODAL (5 sec) ===== */
.modal-callback {
    max-width: 440px;
    background: rgba(255, 255, 255, 0.92);
}

.callback-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    height: 80px;
}

.callback-icon {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--coral), var(--purple));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 12px 30px rgba(255, 127, 110, 0.4);
    position: relative;
    z-index: 2;
    animation: ring 2s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-15deg); }
    20% { transform: rotate(15deg); }
    30% { transform: rotate(-10deg); }
    40% { transform: rotate(10deg); }
    50%, 100% { transform: rotate(0deg); }
}

.callback-pulse {
    position: absolute;
    width: 72px; height: 72px;
    border-radius: 50%;
    background: rgba(255, 127, 110, 0.4);
    animation: pulseRing 2s ease-out infinite;
    z-index: 1;
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(2.2); opacity: 0; }
}

.callback-header {
    text-align: center;
    margin-bottom: 24px;
}

.callback-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(255, 127, 110, 0.15), rgba(155, 126, 199, 0.15));
    border: 1px solid rgba(255, 127, 110, 0.3);
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--coral);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 14px;
}

.callback-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.callback-header p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.55;
}

.callback-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.callback-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.callback-note i { color: var(--teal); margin-right: 4px; }

/* ===== FAB ===== */
.fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--primary));
    color: #fff;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(155, 126, 199, 0.5);
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    animation: pulse 2.4s ease-in-out infinite;
}

.fab:hover {
    transform: scale(1.1) rotate(-8deg);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 12px 30px rgba(155, 126, 199, 0.5); }
    50% { box-shadow: 0 12px 30px rgba(155, 126, 199, 0.5), 0 0 0 12px rgba(155, 126, 199, 0.15); }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 50px; }
    .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }

    .about-main {
        grid-template-columns: 320px 1fr;
        gap: 30px;
    }
}

@media (max-width: 860px) {
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        padding: 90px 24px 24px;
        transition: right var(--transition);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    nav.active { right: 0; }

    nav ul {
        flex-direction: column;
        gap: 8px;
    }

    nav a {
        display: block;
        padding: 14px 20px;
        font-size: 1.05rem;
    }

    .burger { display: flex; }

    .nav-cta .btn span { display: none; }
    .nav-cta .btn { padding: 12px 16px; }
    .nav-cta .btn-glass { display: none; }

    .section { padding: 30px 0; }

    .about-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-photo-wrap { max-width: 320px; margin: 0 auto; }

    .about-features { grid-template-columns: 1fr; }

    .certificates-block { padding: 36px 24px; }

    .cta-block { padding: 44px 24px; }

    .section-subtitle { margin-bottom: 40px; }
}

@media (max-width: 560px) {
    .container { padding: 0 16px; }
    /* .hero { padding: 110px 0 60px; } */
    .hero { padding-top: 110px; }
    .hero-stats { gap: 24px; }
    .stat-number { font-size: 1.6rem; }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn { width: 100%; }

    .floating-badge { font-size: 0.75rem; padding: 10px 14px; }
    .badge-1 { left: -10px; top: -15px; }
    .badge-2 { right: -10px; bottom: -15px; }

    .about-photo-badge { font-size: 0.8rem; padding: 10px 14px; }
    .badge-experience { left: -8px; bottom: 20px; }
    .badge-clients { right: -8px; top: 20px; }

    .about-text { padding: 28px 22px; }
    .about-name { font-size: 1.3rem; }

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

    .modal { padding: 32px 22px 24px; }
    .modal-callback { padding: 32px 22px 24px; }

    .fab { width: 54px; height: 54px; bottom: 20px; right: 20px; }

    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; }
}

/* ===== REVIEWS: обновление ===== */
.reviews-top {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.reviews-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.reviews-loading i { font-size: 1.6rem; color: var(--purple); }

.reviews-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

.reviews-more-wrap {
    text-align: center;
    margin-top: 40px;
}

/* Кнопка "Оставить отзыв" — акцентная */
#openReviewForm {
    background: linear-gradient(135deg, var(--teal), var(--purple));
    box-shadow: 0 10px 28px rgba(78, 205, 196, 0.4);
}

#openReviewForm:hover {
    box-shadow: 0 14px 36px rgba(78, 205, 196, 0.55);
}

/* Модалка отзыва */
.modal-review { max-width: 520px; }

.modal-icon--review {
    background: linear-gradient(135deg, #ffc107, var(--coral));
    box-shadow: 0 10px 28px rgba(255, 193, 7, 0.4);
}

.form-row {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 12px;
}

@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; }
}

/* Рейтинг звёздами */
.rating-input {
    display: flex;
    gap: 6px;
}

.rating-input button {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(107, 140, 174, 0.2);
    color: #cbd5e1;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rating-input button:hover,
.rating-input button.active {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: #fff;
    border-color: transparent;
    transform: scale(1.06);
}

.rating-input button.active {
    box-shadow: 0 6px 16px rgba(255, 193, 7, 0.4);
}
/* ============================================================
   ARTICLE PAGE — модульная вёрстка
   ============================================================ */

/* HERO страницы статей */
.articles-hero {
    padding: 130px 0 40px;
    text-align: center;
}
.breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #8590a0;
    margin-bottom: 20px;
}
.breadcrumbs a { color: #8590a0; text-decoration: none; }
.breadcrumbs a:hover { color: #2a2e35; }
.breadcrumbs i { font-size: 10px; }

.articles-hero-title {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 16px;
    color: #1e2228;
}
.articles-hero-subtitle {
    color: #4a525d;
    max-width: 640px;
    margin: 0 auto 32px;
    font-size: 17px;
}
.articles-filters {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 10px 22px;
    border-radius: 40px;
    background: #fff;
    border: 1px solid #dde3ea;
    font-size: 14px;
    font-weight: 600;
    color: #1e2228;
    text-decoration: none;
    transition: all 0.25s ease;
}
.filter-btn:hover {
    background: #2a2e35;
    color: #fff;
    border-color: #2a2e35;
    transform: translateY(-2px);
}

/* ===== СЕКЦИЯ СТАТЬИ ===== */
.article-section {
    padding: 60px 0 80px;
    scroll-margin-top: 90px;
}
.article-section--alt {
    background: #f5f7fa;
}

/* Заголовок статьи */
.article-head {
    margin-bottom: 48px;
}
.article-head__inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.article-head__tag {
    display: inline-block;
    padding: 6px 16px;
    background: #f0f3f7;
    border: 1px solid #dde3ea;
    border-radius: 40px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4a525d;
    margin-bottom: 20px;
}
.article-head__tag--accent {
    background: rgba(166, 124, 82, 0.08);
    border-color: rgba(166, 124, 82, 0.3);
    color: #a67c52;
}
.article-head__title {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
    color: #1e2228;
}
.article-head__lead {
    font-size: 18px;
    line-height: 1.55;
    color: #4a525d;
    margin: 0 0 24px;
}
.article-head__meta {
    display: flex;
    gap: 22px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 14px;
    color: #8590a0;
}
.article-head__meta i { margin-right: 6px; color: #2a2e35; }

/* Тело статьи */
.article-body {
    max-width: 860px;
    margin: 0 auto;
}

/* ===== КРАТКИЙ ОТВЕТ ===== */
.answer-card {
    display: flex;
    gap: 20px;
    padding: 26px 28px;
    margin-bottom: 40px;
    background: #fff;
    border: 1px solid #dde3ea;
    border-left: 4px solid #2a2e35;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(30, 34, 40, 0.06);
}
.answer-card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #2a2e35;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.answer-card__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #2a2e35;
    margin-bottom: 8px;
}
.answer-card__content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: #1e2228;
}
.answer-card__content strong { color: #1e2228; }

/* ===== БЛОК СТАТЬИ ===== */
.article-block {
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: 18px;
    padding: 36px 40px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(30, 34, 40, 0.04);
}

.article-block--accent {
    background: linear-gradient(160deg, #fdfaf6, #fff);
    border-color: rgba(166, 124, 82, 0.3);
}

.article-block__header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0f3f7;
}

.article-block__num {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #2a2e35;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.article-block__num--accent {
    background: #a67c52;
    font-size: 20px;
}

.article-block__header h2 {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 6px;
    color: #1e2228;
    letter-spacing: -0.01em;
}

.article-block__sub {
    font-size: 14px;
    color: #8590a0;
    margin: 0;
    line-height: 1.45;
}

.article-block__body > p {
    font-size: 16px;
    line-height: 1.7;
    color: #3a4250;
    margin: 0 0 20px;
}

.article-block__body > p:last-child { margin-bottom: 0; }

/* ===== GRID 4 ФИЧИ ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}
.feature-item {
    padding: 22px 24px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    transition: all 0.25s ease;
}
.feature-item:hover {
    border-color: #2a2e35;
    transform: translateY(-3px);
}
.feature-item__icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #2a2e35;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    margin-bottom: 14px;
}
.feature-item h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #1e2228;
    line-height: 1.3;
}
.feature-item p {
    font-size: 14px;
    line-height: 1.55;
    color: #5a6473;
    margin: 0;
}

/* ===== ЗОНЫ МОЗГА (3 колонки) ===== */
.brain-zones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}
.brain-zone {
    padding: 22px 20px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    text-align: center;
}
.brain-zone__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #2a2e35;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin: 0 auto 14px;
}
.brain-zone h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #1e2228;
}
.brain-zone p {
    font-size: 13px;
    line-height: 1.5;
    color: #5a6473;
    margin: 0;
}

/* ===== INFO STRIP ===== */
.info-strip {
    display: flex;
    gap: 14px;
    padding: 18px 22px;
    background: #f0f3f7;
    border-left: 4px solid #2a2e35;
    border-radius: 10px;
    margin-top: 20px;
}
.info-strip i {
    flex-shrink: 0;
    margin-top: 3px;
    font-size: 17px;
    color: #2a2e35;
}
.info-strip p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #3a4250;
}

/* ===== CHECK LIST ===== */
.check-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}
.check-item {
    display: flex;
    gap: 14px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 12px;
}
.check-item > i {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #a67c52;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-top: 2px;
}
.check-item strong {
    display: block;
    font-size: 15px;
    color: #1e2228;
    margin-bottom: 4px;
}
.check-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #5a6473;
}

/* ===== QUOTE ===== */
.quote-card {
    margin-top: 24px;
    padding: 26px 30px;
    background: #2a2e35;
    border-radius: 16px;
    position: relative;
}
.quote-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 60px;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
}
.quote-card p {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: #fff;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* ===== STEPS 4 ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
}
.step-card {
    padding: 24px 24px 24px 24px;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    position: relative;
    transition: all 0.25s ease;
}
.step-card:hover {
    border-color: #2a2e35;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(30, 34, 40, 0.08);
}
.step-card__num {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #2a2e35;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 16px;
}
.step-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #1e2228;
}
.step-card p {
    font-size: 14px;
    line-height: 1.55;
    color: #5a6473;
    margin: 0;
}

/* ===== CYCLE (круг диеты) ===== */
.cycle-grid {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 24px 20px;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid #eef2f7;
    overflow-x: auto;
    margin: 20px 0;
}
.cycle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e9ef;
    min-width: 100px;
    flex-shrink: 0;
}
.cycle-item i {
    font-size: 20px;
    color: #2a2e35;
}
.cycle-item span {
    font-size: 13px;
    font-weight: 600;
    color: #1e2228;
}
.cycle-item--danger i { color: #d9534f; }
.cycle-item--danger { border-color: rgba(217, 83, 79, 0.3); }
.cycle-arrow {
    color: #b8bfc9;
    font-size: 14px;
    flex-shrink: 0;
}

/* ===== WARNING ===== */
.warning-card {
    display: flex;
    gap: 14px;
    padding: 18px 22px;
    background: rgba(217, 83, 79, 0.06);
    border: 1px solid rgba(217, 83, 79, 0.2);
    border-radius: 12px;
    margin-top: 20px;
}
.warning-card i {
    flex-shrink: 0;
    margin-top: 3px;
    font-size: 17px;
    color: #d9534f;
}
.warning-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #1e2228;
}

/* ===== TWO COLUMNS (миф / реальность) ===== */
.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}
.two-col {
    padding: 22px 24px;
    border-radius: 14px;
    border: 1px solid #eef2f7;
    background: #fff;
}
.two-col--myth {
    background: #fdf4f4;
    border-color: rgba(217, 83, 79, 0.15);
}
.two-col--truth {
    background: #f4f9f4;
    border-color: rgba(74, 152, 74, 0.18);
}
.two-col__label {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.two-col--myth .two-col__label {
    background: rgba(217, 83, 79, 0.12);
    color: #c9302c;
}
.two-col--truth .two-col__label {
    background: rgba(74, 152, 74, 0.14);
    color: #3d8b3d;
}
.two-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #1e2228;
    line-height: 1.35;
}
.two-col p {
    font-size: 14px;
    line-height: 1.55;
    color: #5a6473;
    margin: 0;
}
.two-col__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.two-col__list li {
    display: flex;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #3a4250;
    align-items: flex-start;
}
.two-col__list i {
    flex-shrink: 0;
    margin-top: 4px;
    font-size: 12px;
}
.two-col--truth .two-col__list i { color: #4a984a; }
.two-col--myth .two-col__list i { color: #c9302c; }

/* ===== DIRECTIONS 4 ===== */
.directions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
}
.direction-card {
    padding: 24px;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    position: relative;
    transition: all 0.25s ease;
}
.direction-card:hover {
    border-color: #a67c52;
    transform: translateY(-3px);
}
.direction-card__num {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #a67c52;
    margin-bottom: 10px;
}
.direction-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #1e2228;
    line-height: 1.35;
}
.direction-card p {
    font-size: 14px;
    line-height: 1.55;
    color: #5a6473;
    margin: 0;
}

/* ===== QUOTES GRID ===== */
.quotes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.quote-bubble {
    padding: 20px 22px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    position: relative;
}
.quote-bubble i {
    font-size: 14px;
    color: #b8bfc9;
    margin-bottom: 10px;
    display: block;
}
.quote-bubble p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: #1e2228;
    font-style: italic;
}

/* ===== SIGNS 6 ===== */
.signs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 20px;
}
.sign-card {
    padding: 22px 20px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    text-align: center;
    transition: all 0.25s ease;
}
.sign-card:hover {
    border-color: #2a2e35;
    transform: translateY(-3px);
}
.sign-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #2a2e35;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin: 0 auto 14px;
}
.sign-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #1e2228;
}
.sign-card p {
    font-size: 13px;
    line-height: 1.5;
    color: #5a6473;
    margin: 0;
}

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    padding-left: 8px;
    margin-top: 8px;
}
.timeline-item {
    display: flex;
    gap: 20px;
    padding-bottom: 28px;
    position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 44px;
    bottom: 0;
    width: 2px;
    background: #eef2f7;
}
.timeline-item:last-child::before { display: none; }

.timeline-marker {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #2a2e35;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    position: relative;
    z-index: 1;
}
.timeline-content {
    padding-top: 6px;
    flex-grow: 1;
}
.timeline-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #1e2228;
}
.timeline-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #5a6473;
    margin: 0;
}

/* ===== CTA CARD ===== */
.article-cta-card {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding: 32px 36px;
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(30, 34, 40, 0.08);
}

.article-cta-card--accent {
    background: linear-gradient(160deg, #fdfaf6, #fff);
    border-color: rgba(166, 124, 82, 0.3);
}

.article-cta-card__icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: #2a2e35;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.article-cta-card--accent .article-cta-card__icon {
    background: #a67c52;
}

.article-cta-card__content {
    flex: 1 1 300px;
}
.article-cta-card__content h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 6px;
    color: #1e2228;
    letter-spacing: -0.01em;
}
.article-cta-card__content p {
    font-size: 15px;
    line-height: 1.55;
    color: #5a6473;
    margin: 0;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 860px) {
    .feature-grid,
    .steps-grid,
    .directions-grid,
    .quotes-grid { grid-template-columns: 1fr; }

    .brain-zones,
    .signs-grid { grid-template-columns: 1fr; }

    .two-cols { grid-template-columns: 1fr; }

    .article-block { padding: 28px 24px; }
    .article-block__header h2 { font-size: 20px; }
    .article-block__num { width: 44px; height: 44px; font-size: 16px; }
}

@media (max-width: 560px) {
    .article-section { padding: 40px 0 60px; }
    .article-head { margin-bottom: 32px; }
    .article-head__title { font-size: 26px; }
    .article-head__lead { font-size: 16px; }

    .answer-card { flex-direction: column; padding: 22px 20px; }
    .answer-card__icon { width: 42px; height: 42px; font-size: 18px; }

    .article-block { padding: 24px 20px; border-radius: 14px; }
    .article-block__header { gap: 14px; margin-bottom: 20px; padding-bottom: 18px; }
    .article-block__header h2 { font-size: 18px; }
    .article-block__sub { font-size: 13px; }

    .article-cta-card {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 26px 22px;
    }
    .article-cta-card__icon { margin: 0 auto; }
    .article-cta-card .btn { width: 100%; justify-content: center; }

    .cycle-grid { padding: 18px 14px; }
    .cycle-item { min-width: 80px; padding: 12px 14px; }
    .cycle-item span { font-size: 12px; }
}

/* ==================== CALL-POPUP ==================== */
.call-popup {
    position: fixed;
    left: 24px;
    bottom: 24px;
    width: 360px;
    max-width: calc(100vw - 32px);
    padding: 26px 24px 20px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(31, 38, 135, 0.22);
    z-index: 1500;
    transform: translateX(-120%);
    opacity: 0;
    transition: transform 0.55s cubic-bezier(0.34, 1.4, 0.5, 1),
                opacity 0.4s ease;
    pointer-events: none;
}

.call-popup.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.call-popup__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(107, 140, 174, 0.1);
    border: none;
    color: var(--text-light);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.call-popup__close:hover {
    background: rgba(255, 100, 100, 0.15);
    color: #d9534f;
    transform: rotate(90deg);
}

.call-popup__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.call-popup__avatar {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--primary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(155, 126, 199, 0.4);
}

.call-popup__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.call-popup__online {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4ecdc4;
    border: 2px solid #fff;
    animation: onlinePulse 2s ease-in-out infinite;
}

@keyframes onlinePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(78, 205, 196, 0.6); }
    50% { box-shadow: 0 0 0 6px rgba(78, 205, 196, 0); }
}

.call-popup__name {
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--text-dark);
}

.call-popup__role {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.call-popup__title {
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.call-popup__title span {
    background: linear-gradient(135deg, var(--coral), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.call-popup__text {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.55;
    margin-bottom: 16px;
}

.call-popup__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.call-popup__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.call-popup__list i {
    color: var(--teal);
    font-size: 0.7rem;
    background: rgba(78, 205, 196, 0.18);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.call-popup__btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, var(--coral), var(--purple));
    color: #fff;
    text-decoration: none;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(255, 127, 110, 0.4);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.call-popup__btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--purple), var(--primary));
    opacity: 0;
    transition: opacity var(--transition);
}

.call-popup__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(155, 126, 199, 0.5);
}

.call-popup__btn:hover::before { opacity: 1; }

.call-popup__btn > * { position: relative; z-index: 1; }

.call-popup__btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    animation: ring 2.4s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0); }
    10% { transform: rotate(-18deg); }
    20% { transform: rotate(18deg); }
    30% { transform: rotate(-12deg); }
    40% { transform: rotate(12deg); }
    50%, 100% { transform: rotate(0); }
}

.call-popup__btn-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.call-popup__btn-label {
    font-size: 0.75rem;
    opacity: 0.85;
    font-weight: 500;
}

.call-popup__btn-phone {
    font-size: 1rem;
    font-weight: 700;
}

.call-popup__btn-arrow {
    font-size: 0.9rem;
    opacity: 0.85;
    transition: transform var(--transition);
}

.call-popup__btn:hover .call-popup__btn-arrow {
    transform: translateX(4px);
}

.call-popup__footer {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid rgba(107, 140, 174, 0.15);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.call-popup__stars {
    display: flex;
    gap: 2px;
    color: #ffc107;
    font-size: 0.72rem;
}

@media (max-width: 560px) {
    .call-popup {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        padding: 22px 18px 16px;
    }
    
}

/* ==================== HORIZONTAL GALLERY ==================== */
.photo-gallery-section {
    margin-top: 60px;
}

.photo-gallery-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.photo-gallery-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.photo-gallery-header h3 i { color: var(--accent); }

.photo-gallery-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.photo-gallery-hint i { animation: hintSwipe 1.8s ease-in-out infinite; }

@keyframes hintSwipe {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}

.photo-gallery {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--border-strong) transparent;
    -webkit-overflow-scrolling: touch;
}

.photo-gallery::-webkit-scrollbar { height: 6px; }
.photo-gallery::-webkit-scrollbar-track { background: transparent; }
.photo-gallery::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 3px;
}

.photo-gallery__item {
    flex: 0 0 280px;
    scroll-snap-align: start;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border);
    position: relative;
    transition: all var(--transition);
    cursor: pointer;
}

.photo-gallery__item:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.photo-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.photo-gallery__item:hover img {
    transform: scale(1.06);
}

.photo-gallery__caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 16px 18px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity var(--transition);
}

.photo-gallery__item:hover .photo-gallery__caption {
    opacity: 1;
}

.photo-gallery__item--fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.photo-gallery__item--fallback i {
    font-size: 2.5rem;
    opacity: 0.5;
}

/* Для сертификатов — горизонтальный формат (4:3) */
.cert-gallery .photo-gallery__item {
    flex: 0 0 320px;
    aspect-ratio: 4 / 3;
}

@media (max-width: 560px) {
    .photo-gallery__item { flex: 0 0 240px; }
    .cert-gallery .photo-gallery__item { flex: 0 0 260px; }
}

/* Блок гипнотерапии в "Обо мне" */
.about-specialty {
    display: flex;
    gap: 18px;
    padding: 20px 22px;
    margin-bottom: 28px;
    background: var(--accent-soft);
    border: 1px solid rgba(184, 147, 90, 0.25);
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
}

.about-specialty::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--accent);
}

.about-specialty-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), #8b6d3f);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(184, 147, 90, 0.3);
}

.about-specialty-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
}

.about-specialty-name {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.35;
}

.about-specialty-text p {
    font-size: 0.9rem;
    color: var(--text-soft);
    line-height: 1.55;
}

@media (max-width: 560px) {
    .about-specialty { flex-direction: column; }
}

.about-specialty {
    display: flex;
    gap: 18px;
    padding: 20px 22px;
    margin-bottom: 28px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
}

.about-specialty::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--accent);
}

.about-specialty-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(166, 124, 82, 0.25);
}

.about-specialty-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
}

.about-specialty-name {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.35;
}

.about-specialty-text p {
    font-size: 0.9rem;
    color: var(--text-soft);
    line-height: 1.55;
}
.feature-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--btn);
    font-size: 1.05rem;
    flex-shrink: 0;
    background: #f0f3f7;
    border: 1px solid var(--border);
}
/* ============================================================
   REVIEWS PAGE
   ============================================================ */

/* HERO страницы отзывов */
.reviews-hero {
    padding: 130px 0 40px;
    text-align: center;
}

.reviews-hero__title {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 16px 0 16px;
    color: #1e2228;
}

.reviews-hero__subtitle {
    color: #4a525d;
    max-width: 640px;
    margin: 0 auto 40px;
    font-size: 17px;
}

.reviews-hero__actions {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

/* Статистика */
.reviews-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 720px;
    margin: 0 auto 32px;
}

.review-stat {
    padding: 24px 20px;
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(30, 34, 40, 0.04);
}

.review-stat__num {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    color: #1e2228;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.review-stat__stars {
    display: flex;
    gap: 3px;
    justify-content: center;
    color: #f0b429;
    font-size: 13px;
    margin-bottom: 8px;
}

.review-stat__label {
    font-size: 13px;
    color: #8590a0;
    font-weight: 500;
}

/* Секция отзывов */
.reviews-section {
    padding: 40px 0 80px;
}

/* Фильтры */
.reviews-filters {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.reviews-filters .filter-btn {
    padding: 10px 20px;
    border-radius: 40px;
    background: #fff;
    border: 1px solid #dde3ea;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #1e2228;
    cursor: pointer;
    transition: all 0.25s ease;
}

.reviews-filters .filter-btn:hover {
    background: #f0f3f7;
    border-color: #2a2e35;
    transform: translateY(-2px);
}

.reviews-filters .filter-btn.active {
    background: #2a2e35;
    color: #fff;
    border-color: #2a2e35;
}

/* ===== GRID ОТЗЫВОВ ===== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.reviews-grid--full {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* Карточка отзыва */
.review-card {
    padding: 26px 26px 24px;
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(30, 34, 40, 0.04);
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    animation: reviewFadeIn 0.4s ease both;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(30, 34, 40, 0.1);
    border-color: #cfd6de;
}

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

.review-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.review-stars {
    display: flex;
    gap: 3px;
    color: #f0b429;
    font-size: 14px;
}

.review-date {
    font-size: 12px;
    color: #8590a0;
    white-space: nowrap;
}

.review-text {
    font-size: 15px;
    line-height: 1.65;
    color: #3a4250;
    flex-grow: 1;
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid #f0f3f7;
}

.review-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #2a2e35;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.review-name {
    font-weight: 700;
    font-size: 15px;
    color: #1e2228;
    margin-bottom: 2px;
}

.review-tag {
    font-size: 13px;
    color: #8590a0;
}

/* Кнопка "Показать ещё" и CTA */
.reviews-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.reviews-cta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 32px 36px;
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(30, 34, 40, 0.06);
}

.reviews-cta__icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: #2a2e35;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.reviews-cta__content {
    flex: 1 1 300px;
}

.reviews-cta__content h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 6px;
    color: #1e2228;
}

.reviews-cta__content p {
    margin: 0;
    font-size: 15px;
    color: #5a6473;
    line-height: 1.55;
}

/* Загрузка / пусто */
.reviews-loading,
.reviews-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #8590a0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.reviews-loading i {
    font-size: 24px;
    color: #2a2e35;
}

.reviews-otzuv{
    color: #ffffff;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 860px) {
    .reviews-stats {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .review-stat {
        padding: 20px 16px;
    }
    .review-stat__num { font-size: 26px; }

    .reviews-cta {
        padding: 24px 22px;
        text-align: center;
        justify-content: center;
    }
    .reviews-cta__icon { margin: 0 auto; }
    .reviews-cta .btn { width: 100%; justify-content: center; }
}

@media (max-width: 560px) {
    .reviews-grid,
    .reviews-grid--full {
        grid-template-columns: 1fr;
    }
    .review-card { padding: 22px 20px; }
}
/* =========================================================
   COOKIE BANNER
   ========================================================= */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 720px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--c-border);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(22, 32, 46, 0.2);
    padding: 18px 22px;
    z-index: 9998;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease;
    pointer-events: none;
}

.cookie-banner.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cookie-banner__inner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.cookie-banner__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--c-primary-soft);
    color: var(--c-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.cookie-banner__content {
    flex: 1 1 300px;
}

.cookie-banner__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 6px;
}

.cookie-banner__text {
    font-size: 13px;
    line-height: 1.55;
    color: var(--c-text-soft);
    margin: 0;
}

.cookie-banner__text a {
    color: var(--c-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner__text a:hover {
    color: var(--c-primary-hover);
}

.cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: auto;
}

.cookie-banner__close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    color: var(--c-text-muted);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    padding: 0;
    font-family: inherit;
}

.cookie-banner__close:hover {
    background: rgba(217, 67, 67, 0.12);
    color: #d94343;
    border-color: rgba(217, 67, 67, 0.3);
}

@media (max-width: 640px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 16px 18px;
    }

    .cookie-banner__icon {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }

    .cookie-banner__actions {
        width: 100%;
        margin-left: 0;
        margin-top: 12px;
    }

    .cookie-banner__actions .btn {
        flex: 1;
    }
}

/* =========================================================
   BURGER MENU — современное
   ========================================================= */
.burger {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--btn-glass);
    border: 1px solid var(--btn-glass-border);
    cursor: pointer;
    padding: 0;
    transition: all var(--transition);
    z-index: 1100;
    flex-shrink: 0;
}

.burger span {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 2px;
    background: var(--btn);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: all 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }

.burger:hover {
    background: var(--btn);
    border-color: var(--btn);
}

.burger:hover span {
    background: #fff;
}

.burger.active {
    background: var(--btn);
    border-color: var(--btn);
}

.burger.active span {
    background: #fff;
}

.burger.active span:nth-child(1) {
    top: 21px;
    transform: translateX(-50%) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-50%) scaleX(0);
}

.burger.active span:nth-child(3) {
    top: 21px;
    transform: translateX(-50%) rotate(-45deg);
}

/* =========================================================
   NAVIGATION — десктоп
   ========================================================= */
.nav {
    display: flex;
    align-items: center;
}

.nav__list {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__list li { list-style: none; }

.nav__list a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.nav__list a:hover {
    background: var(--card-hover);
    color: var(--accent);
}

/* Скрываем мобильные блоки на десктопе */
.nav__header,
.nav__contacts {
    display: none;
}

/* =========================================================
   МОБИЛЬНЫЕ
   ========================================================= */
@media (max-width: 860px) {

    .burger {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Выезжающая панель */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 340px;
        max-width: 90vw;
        height: 100vh;
        background: #fff;
        box-shadow: -20px 0 60px rgba(30, 34, 40, 0.15);
        padding: 90px 0 40px;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

    .nav.active { right: 0; }

    /* Затемнение фона */
    .nav.active::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(30, 34, 40, 0.5);
        z-index: -1;
        pointer-events: auto;
        cursor: pointer;
    }

    /* Заголовок меню */
    .nav__header {
        display: block;
        padding: 0 24px 20px;
        border-bottom: 1px solid var(--border);
        margin-bottom: 16px;
    }

    .nav__title {
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--text-muted);
    }

    /* Список ссылок */
    .nav__list {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0 12px;
        margin: 0 0 24px;
    }

    .nav__list li {
        border-bottom: 1px solid var(--border);
    }

    .nav__list li:last-child { border-bottom: none; }

    .nav__list a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 12px;
        font-size: 16px;
        font-weight: 600;
        color: var(--text-dark);
        border-radius: 8px;
    }

    .nav__list a::after {
        content: '\f054';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 11px;
        color: var(--text-muted);
        opacity: 0.5;
        transition: all 0.25s ease;
    }

    .nav__list a:hover {
        background: var(--accent-soft);
        color: var(--accent);
    }

    .nav__list a:hover::after {
        color: var(--accent);
        opacity: 1;
        transform: translateX(4px);
    }

    /* Контакты внизу меню */
    .nav__contacts {
        display: flex;
        flex-direction: column;
        gap: 14px;
        margin-top: auto;
        padding: 20px 24px 0;
        border-top: 1px solid var(--border);
    }

    .nav__phone {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px;
        background: var(--accent-soft);
        border-radius: 14px;
        text-decoration: none;
        transition: all 0.25s ease;
    }

    .nav__phone i {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: var(--accent);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        flex-shrink: 0;
    }

    .nav__phone div {
        display: flex;
        flex-direction: column;
        line-height: 1.3;
    }

    .nav__phone-label {
        font-size: 12px;
        color: var(--text-muted);
        font-weight: 500;
    }

    .nav__phone-number {
        font-size: 17px;
        font-weight: 800;
        color: var(--text-dark);
    }

    .nav__messengers {
        display: flex;
        gap: 10px;
    }

    .nav__messengers a {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px;
        background: var(--card-hover);
        border: 1px solid var(--border);
        border-radius: 12px;
        font-size: 14px;
        font-weight: 600;
        color: var(--text-dark);
        text-decoration: none;
        transition: all 0.25s ease;
    }

    .nav__messengers a:hover {
        background: var(--btn);
        border-color: var(--btn);
        color: #fff;
    }

    /* Прячем «Позвонить» в шапке на мобильных */
    .nav-cta .btn-glass { display: none; }

    /* Сжимаем кнопку с телефоном */
    .nav-cta .btn span { display: none; }
    .nav-cta .btn { padding: 12px 16px; }
}

/* Очень узкие экраны */
@media (max-width: 380px) {
    .nav {
        width: 100vw;
        max-width: 100vw;
    }
}

/* =========================================================
   ВОССТАНОВЛЕНИЕ: HERO + BADGES + ВСЁ, ЧТО БЫЛО УБРАНО
   ========================================================= */

/* ===== ПЛАВАЮЩИЕ ПЯТНА НА ФОНЕ ===== */
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}

body::before {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(155, 126, 199, 0.55), transparent 70%);
    top: -180px;
    right: -120px;
    animation: float 20s ease-in-out infinite;
}

body::after {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.5), transparent 70%);
    bottom: -120px;
    left: -120px;
    animation: float 26s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, 40px) scale(1.12); }
}

/* ===== ВОССТАНОВЛЕНИЕ: КНОПКИ ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.98rem;
    font-family: inherit;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--btn);
    color: var(--btn-text);
    box-shadow: 0 4px 14px rgba(30, 34, 40, 0.18);
}
.btn-primary:hover {
    background: var(--btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(30, 34, 40, 0.28);
}

.btn-glass {
    background: var(--btn-glass);
    border: 1px solid var(--btn-glass-border);
    color: var(--btn-glass-text);
}
.btn-glass:hover {
    background: var(--btn-glass-hover);
    border-color: var(--btn-glass-text);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(166, 124, 82, 0.25);
}
.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(166, 124, 82, 0.35);
}

.btn-full { width: 100%; }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 130px 0 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 24px;
}

.hero-badge i { color: var(--accent); }

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-lead {
    font-size: 1.08rem;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--btn-hover), var(--btn));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.hero-visual { position: relative; }

.hero-card {
    padding: 32px;
    position: relative;
    z-index: 2;
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.avatar {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--btn), var(--btn-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(30, 34, 40, 0.25);
}

.hero-card-name { font-weight: 700; font-size: 1.05rem; }
.hero-card-role { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }

.hero-card-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.hero-card-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.hero-card-list i {
    color: var(--accent);
    font-size: 0.75rem;
    background: var(--accent-soft);
    width: 24px; height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-card-footer i { color: var(--accent); }

/* ===== ПЛАВАЮЩИЕ БЕЙДЖИ НА HERO ===== */
.floating-badge {
    position: absolute;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: 0 10px 30px rgba(31, 38, 135, 0.12);
    z-index: 3;
}

.badge-1 {
    top: -20px; left: -30px;
    animation: floatBadge 4s ease-in-out infinite;
}
.badge-1 i { color: var(--accent); }

.badge-2 {
    bottom: -20px; right: -20px;
    animation: floatBadge 4s ease-in-out infinite 2s;
}
.badge-2 i { color: var(--accent); }

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

/* ===== ABOUT: БЕЙДЖИ НА ФОТО ===== */
.about-photo-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 18px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 30px rgba(31, 38, 135, 0.15);
    z-index: 3;
}

.badge-experience {
    bottom: 30px;
    left: -20px;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: linear-gradient(135deg, var(--btn), var(--btn-hover));
    color: #fff;
    border: none;
    padding: 16px 20px;
}

.badge-experience .badge-num { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.badge-experience .badge-txt { font-size: 0.72rem; opacity: 0.9; }

.badge-clients {
    top: 30px;
    right: -20px;
    flex-direction: row;
}

.badge-clients > i {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.badge-clients .badge-num { font-size: 1.1rem; font-weight: 800; color: var(--text-dark); line-height: 1; }
.badge-clients .badge-txt { font-size: 0.72rem; color: var(--text-muted); }

/* ===== ABOUT FEATURES + ЦВЕТНЫЕ ИКОНКИ ===== */
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-feature {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.about-feature h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

.icon-teal { background: var(--accent); }
.icon-coral { background: var(--accent); }
.icon-purple { background: var(--btn); }
.icon-blue { background: var(--btn); }

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
    background: linear-gradient(90deg, var(--accent), var(--btn));
}

.service-card:hover {
    transform: translateY(-6px);
    background: var(--card-hover);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px; height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 20px;
    transition: all var(--transition);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background: var(--btn);
}

.service-card:hover .service-icon {
    transform: scale(1.08) rotate(-4deg);
    background: var(--accent);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--btn);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: gap var(--transition);
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    padding: 0;
    align-self: flex-start;
}

.service-link:hover { gap: 14px; color: var(--accent); }

/* ===== PROCESS ===== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.process-step {
    padding: 32px 26px;
    position: relative;
    transition: all var(--transition);
}

.process-step:hover {
    transform: translateY(-6px);
    background: var(--card-hover);
}

.step-number {
    position: absolute;
    top: 20px; right: 24px;
    font-size: 2.4rem;
    font-weight: 800;
    color: rgba(107, 140, 174, 0.15);
    line-height: 1;
}

.step-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: var(--btn);
}

.process-step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.process-step p { color: var(--text-light); font-size: 0.92rem; }

/* ===== REVIEWS (главная) ===== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.review-card {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.review-card:hover {
    transform: translateY(-6px);
    background: var(--card-hover);
}

.review-stars {
    display: flex;
    gap: 4px;
    color: #ffc107;
    margin-bottom: 18px;
    font-size: 0.9rem;
}

.review-text {
    color: var(--text-light);
    font-size: 0.98rem;
    font-style: italic;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 24px;
}

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

.review-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    background: var(--btn);
}

.review-name { font-weight: 700; font-size: 0.95rem; }
.review-tag { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* ===== BLOG ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.blog-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.blog-card:hover {
    transform: translateY(-8px);
    background: var(--card-hover);
}

.blog-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.4rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
    background: var(--btn);
}

.blog-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.25), transparent 60%);
}

.blog-img-1 { background: linear-gradient(135deg, var(--btn), var(--btn-hover)); }
.blog-img-2 { background: linear-gradient(135deg, var(--accent), var(--accent-hover)); }
.blog-img-3 { background: linear-gradient(135deg, var(--blog-img), var(--btn-hover)); }

.blog-img i {
    position: relative;
    z-index: 1;
    transition: transform var(--transition);
}

.blog-title-link {
    text-decoration: none;
    color: var(--text-dark);
}

.blog-card:hover .blog-img i {
    transform: scale(1.15) rotate(-6deg);
}

.blog-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.blog-body {
    padding: 24px 26px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.blog-meta i { margin-right: 4px; }

.blog-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-body p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--btn);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap var(--transition);
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    padding: 0;
    align-self: flex-start;
}

.blog-link:hover { gap: 14px; color: var(--accent); }

.blog-cta { text-align: center; }

/* ===== FAQ ===== */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.faq-question {
    width: 100%;
    padding: 22px 28px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: color var(--transition);
}

.faq-question:hover { color: var(--accent); }

.faq-question i {
    color: var(--btn);
    transition: transform var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 28px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 28px 24px;
}

.faq-answer p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== CTA ===== */
.cta-block {
    margin-top: 30px;
    padding: 64px 48px;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-soft), rgba(166, 124, 82, 0.15));
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.cta-content h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-content > p {
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto 32px;
    font-size: 1.05rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 28px;
}

.cta-messengers {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.cta-messengers a {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all var(--transition);
}

.cta-messengers a:hover {
    background: var(--btn);
    color: #fff;
    transform: translateY(-4px);
    border-color: var(--btn);
}

/* ===== FOOTER ===== */
.footer {
    padding: 40px 0 30px;
    border-top: 1px solid var(--border);
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
}

.footer-brand i {
    background: linear-gradient(135deg, var(--btn), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--accent); }

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== FAB (круглая кнопка звонка) ===== */
.fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--btn);
    color: #fff;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(30, 34, 40, 0.35);
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    animation: pulse 2.4s ease-in-out infinite;
    text-decoration: none;
}

.fab:hover {
    transform: scale(1.1) rotate(-8deg);
    background: var(--accent);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 12px 30px rgba(30, 34, 40, 0.35); }
    50% { box-shadow: 0 12px 30px rgba(30, 34, 40, 0.35), 0 0 0 12px rgba(30, 34, 40, 0.1); }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== SECTION PADDING ===== */
.section {
    padding: 80px 0;
    position: relative;
}

.section--alt {
    background: #f5f7fa;
}

/* ===== MODAL (запись на консультацию) ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 40, 55, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    width: 100%;
    max-width: 500px;
    padding: 40px 36px 32px;
    position: relative;
    transform: translateY(30px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 92vh;
    overflow-y: auto;
    background: #fff;
    border-radius: var(--radius);
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--card-hover);
    border: 1px solid var(--border);
    color: var(--text-dark);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    z-index: 5;
}

.modal-close:hover {
    background: rgba(255, 100, 100, 0.15);
    color: #d9534f;
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.modal-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--btn);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 18px;
    box-shadow: 0 10px 28px rgba(30, 34, 40, 0.25);
}

.modal-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.modal-form,
.callback-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
}

.required { color: #d9534f; }

.form-group input,
.form-group select,
.form-group textarea {
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all var(--transition);
    width: 100%;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

.form-group input.error,
.form-group select.error {
    border-color: #d9534f;
    box-shadow: 0 0 0 4px rgba(217, 83, 79, 0.12);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1.4;
}

.form-checkbox input {
    margin-top: 3px;
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    cursor: pointer;
}

.form-note {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.form-note i { color: var(--accent); margin-right: 4px; }

/* Success */
.modal-success {
    text-align: center;
    padding: 20px 0;
    display: none;
}

.modal-success.active { display: block; }

.modal-success .success-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 20px;
    box-shadow: 0 10px 28px rgba(166, 124, 82, 0.4);
    animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.modal-success h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.modal-success p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== CERTIFICATES (сетка) ===== */
.certificates-block {
    padding: 48px 40px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
}

.certificates-header {
    text-align: center;
    margin-bottom: 36px;
}

.certificates-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.certificates-header h3 i { color: var(--accent); }

.certificates-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.cert-card {
    padding: 16px;
    transition: all var(--transition);
    cursor: pointer;
}

.cert-card:hover {
    transform: translateY(-6px);
    background: var(--card-hover);
}

.cert-img {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background: var(--card-hover);
    margin-bottom: 16px;
}

.cert-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition);
}

.cert-card:hover .cert-img img {
    transform: scale(1.06);
}

.cert-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.cert-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== СТРЕЛКА "ЛИСТАЙТЕ ВБОК" ===== */
.photo-gallery-hint i {
    animation: hintSwipe 1.8s ease-in-out infinite;
}

@keyframes hintSwipe {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 50px; }
    .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
}

@media (max-width: 860px) {
    .section { padding: 50px 0; }
    .about-features { grid-template-columns: 1fr; }
    .cta-block { padding: 44px 24px; }
    .certificates-block { padding: 36px 24px; }
}

@media (max-width: 560px) {
    .hero { padding: 110px 0 60px; }
    .hero-stats { gap: 24px; }
    .stat-number { font-size: 1.6rem; }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions .btn { width: 100%; }

    .floating-badge { font-size: 0.75rem; padding: 10px 14px; }
    .badge-1 { left: -10px; top: -15px; }
    .badge-2 { right: -10px; bottom: -15px; }

    .about-photo-badge { font-size: 0.8rem; padding: 10px 14px; }
    .badge-experience { left: -8px; bottom: 20px; }
    .badge-clients { right: -8px; top: 20px; }

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

    .modal { padding: 32px 22px 24px; }

    .fab { width: 54px; height: 54px; bottom: 20px; right: 20px; font-size: 1.1rem; }

    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; }
}

/* ===== CALL-POPUP ===== */
.call-popup {
    position: fixed;
    left: 24px;
    bottom: 24px;
    width: 360px;
    max-width: calc(100vw - 32px);
    padding: 26px 24px 20px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(31, 38, 135, 0.22);
    z-index: 1500;
    transform: translateX(-120%);
    opacity: 0;
    transition: transform 0.55s cubic-bezier(0.34, 1.4, 0.5, 1),
                opacity 0.4s ease;
    pointer-events: none;
}

.call-popup.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.call-popup__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(107, 140, 174, 0.1);
    border: none;
    color: var(--text-light);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.call-popup__close:hover {
    background: rgba(255, 100, 100, 0.15);
    color: #d9534f;
    transform: rotate(90deg);
}

.call-popup__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.call-popup__avatar {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--btn);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(30, 34, 40, 0.25);
}

.call-popup__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.call-popup__online {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4ecdc4;
    border: 2px solid #fff;
    animation: onlinePulse 2s ease-in-out infinite;
}

@keyframes onlinePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(78, 205, 196, 0.6); }
    50% { box-shadow: 0 0 0 6px rgba(78, 205, 196, 0); }
}

.call-popup__name {
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--text-dark);
}

.call-popup__role {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.call-popup__title {
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.call-popup__title span {
    background: linear-gradient(135deg, var(--accent), var(--btn));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.call-popup__text {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.55;
    margin-bottom: 16px;
}

.call-popup__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.call-popup__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.call-popup__list i {
    color: var(--accent);
    font-size: 0.7rem;
    background: var(--accent-soft);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.call-popup__btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--btn);
    color: #fff;
    text-decoration: none;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(30, 34, 40, 0.25);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.call-popup__btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    opacity: 0;
    transition: opacity var(--transition);
}

.call-popup__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(166, 124, 82, 0.4);
}

.call-popup__btn:hover::before { opacity: 1; }

.call-popup__btn > * { position: relative; z-index: 1; }

.call-popup__btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    animation: ring 2.4s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0); }
    10% { transform: rotate(-18deg); }
    20% { transform: rotate(18deg); }
    30% { transform: rotate(-12deg); }
    40% { transform: rotate(12deg); }
    50%, 100% { transform: rotate(0); }
}

.call-popup__btn-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.call-popup__btn-label {
    font-size: 0.75rem;
    opacity: 0.85;
    font-weight: 500;
}

.call-popup__btn-phone {
    font-size: 1rem;
    font-weight: 700;
}

.call-popup__btn-arrow {
    font-size: 0.9rem;
    opacity: 0.85;
    transition: transform var(--transition);
}

.call-popup__btn:hover .call-popup__btn-arrow {
    transform: translateX(4px);
}

.call-popup__footer {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid rgba(107, 140, 174, 0.15);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.call-popup__stars {
    display: flex;
    gap: 2px;
    color: #ffc107;
    font-size: 0.72rem;
}

@media (max-width: 560px) {
    .call-popup {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        padding: 22px 18px 16px;
    }
}

/* ===== АНИМАЦИЯ БЕЙДЖЕЙ "12+ ЛЕТ" И "100+ КЛИЕНТОВ" ===== */

.badge-experience {
    bottom: 30px;
    left: -20px;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: linear-gradient(135deg, var(--btn), var(--btn-hover));
    color: #fff;
    border: none;
    padding: 16px 20px;
    animation: floatBadge 4s ease-in-out infinite;
}

.badge-clients {
    top: 30px;
    right: -20px;
    flex-direction: row;
    animation: floatBadge 4s ease-in-out infinite 2s;
}