/* ===== CSS ПЕРЕМЕННЫЕ ===== */
:root {
    /* Цвета - новая палитра (розовый/фиолетовый акцент) */
    --accent:        #E91E63;        /* Яркий розовый - основной акцент */
    --accent-dark:   #C2185B;        /* Темно-розовый для hover */
    --accent-light:  #FCE4EC;        /* Светло-розовый фон */
    --accent-border: #F8BBD9;        /* Розовая рамка */
    --accent-gradient: linear-gradient(135deg, #E91E63 0%, #9C27B0 100%); /* Градиент для кнопок */
    
    --dark:          #1C1C1C;
    --text:          #2D3436;        /* Более мягкий черный */
    --text-muted:    #636E72;        /* Приглушенный серый */
    --text-hint:     #B2BEC3;        /* Светлый hint */
    --border:        #E0E0E0;        /* Мягкая граница */
    --bg:            #FFFFFF;
    --bg-soft:       #F8F9FA;        /* Светло-серый фон секций */
    --bg-section:    #F3F4F6;        /* Чередующийся фон */
    
    --wa:            #25D366;
    --tg:            #229ED9;
    --vk:            #0077FF;
    --success:       #22C55E;
    --error:         #EF4444;

    /* Типографика */
    --font-base: 'Inter', system-ui, -apple-system, sans-serif;
    --fs-xs:     11px;
    --fs-sm:     13px;
    --fs-base:   15px;
    --fs-lg:     18px;
    --fs-xl:     22px;
    --fs-2xl:    28px;
    --fs-price:  26px;

    /* Отступы и эффекты - увеличенные скругления */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 30px;              /* Pill-shaped кнопки */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(233,30,99,0.15);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.08); /* Мягкая тень для карточек */
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-base);
    font-size: var(--fs-base);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-base); }
ul, ol { list-style: none; }

/* ===== КОНТЕЙНЕР ===== */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ===== КНОПКИ ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: var(--fs-base);
    font-weight: 600;
    border-radius: var(--radius-xl); /* Pill-shaped */
    border: 1.5px solid transparent;
    transition: all 0.25s ease;
    min-height: 48px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    border: none;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233,30,99,0.35);
}

.btn-secondary {
    background: #fff;
    border-color: var(--border);
    color: var(--text);
}
.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

.btn-ghost {
    background: var(--bg-section);
    color: var(--text-muted);
}
.btn-ghost:hover {
    background: var(--border);
}

.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { filter: brightness(0.9); transform: translateY(-1px); }

.btn-tg { background: var(--tg); color: #fff; }
.btn-tg:hover { filter: brightness(0.9); transform: translateY(-1px); }

.btn-vk { background: var(--vk); color: #fff; }
.btn-vk:hover { filter: brightness(0.9); transform: translateY(-1px); }

.btn-sm {
    padding: 8px 18px;
    font-size: var(--fs-sm);
    min-height: 42px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: var(--fs-lg);
    min-height: 56px;
    border-radius: var(--radius-xl);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===== ТОП-БАР (sticky) ===== */
.topbar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    height: 52px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.topbar-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
}
.topbar-phone {
    margin-left: auto;
    color: var(--text);
    font-weight: 600;
    font-size: var(--fs-base);
}
.topbar-phone:hover {
    color: var(--accent);
}
.topbar-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}
.topbar-btn-write {
    color: var(--text);
    border-color: var(--border);
}
.topbar-btn-write:hover {
    background: var(--bg-soft);
    color: var(--accent);
}
.topbar-btn-order {
    display: none;
}
@media (min-width: 576px) {
    .topbar-btn-order { display: inline-flex; }
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    color: var(--text);
    font-size: 20px;
}
.logo-sq {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #E91E63 0%, #9C27B0 100%);
    border-radius: 10px;
    font-size: 22px;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(233,30,99,0.3);
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.logo-name {
    font-size: 18px;
    font-weight: 700;
    color: #B026FF;
    margin: 0;
}
.logo-tagline {
    font-size: 11px;
    font-weight: 600;
    color: #E91E63;
    margin: 0;
    text-transform: lowercase;
}


/* ===== НАВИГАЦИЯ УСЛУГ ===== */
.services-nav {
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-soft);
    -webkit-overflow-scrolling: touch;
    position: sticky;
    top: 64px;
    z-index: 99;
    padding: 8px 0;
}
.services-nav::-webkit-scrollbar {
    height: 6px;
}
.services-nav::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}
.services-nav-inner {
    display: flex;
    white-space: nowrap;
    gap: 4px;
    padding: 0 16px;
}
.svc-tab {
    display: inline-block;
    padding: 10px 18px;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text-muted);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.svc-tab:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-light);
}
.svc-tab.active {
    color: #fff;
    background: var(--accent-gradient);
    border-color: transparent;
}

/* ===== СЕКЦИИ ===== */
.section {
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}
.section-header {
    margin-bottom: 28px;
    text-align: center;
}
.section-header h2 {
    font-size: var(--fs-xl);
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text);
    margin-bottom: 10px;
}
.section-header h2 .accent {
    color: var(--accent);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-subtitle {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}
.accent {
    color: var(--accent);
}

/* ===== ГЛАВНАЯ — HERO ===== */
.home-hero {
    background: linear-gradient(135deg, #7E57C2 0%, #E91E63 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.home-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    pointer-events: none;
}
.home-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    pointer-events: none;
}
.home-hero h1 {
    font-size: var(--fs-2xl);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.home-subtitle {
    font-size: var(--fs-base);
    color: rgba(255,255,255,0.95);
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    line-height: 1.6;
}
.home-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
}
.badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-xl);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: #fff;
}

@media (min-width: 768px) {
    .home-hero { padding: 80px 0; }
    .home-hero h1 { font-size: 42px; }
}

/* ===== ГЛАВНАЯ — СЕТКА УСЛУГ ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.service-card {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-lg);
}
.service-card-img {
    aspect-ratio: 16/9;
    background: var(--bg-section);
    overflow: hidden;
    position: relative;
}
.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.service-card:hover .service-card-img img {
    transform: scale(1.08);
}
.service-card-img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-section) 0%, var(--accent-light) 100%);
}
.placeholder-icon {
    font-size: 48px;
    opacity: 0.3;
}
.service-card-body {
    padding: 20px;
    text-align: center;
    background: #fff;
}
.service-card-body h3 {
    font-size: var(--fs-base);
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text);
    line-height: 1.4;
}
.service-card .btn {
    width: 100%;
    justify-content: center;
}

@media (min-width: 576px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 992px) {
    .services-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.advantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.advantage-card {
    padding: 28px 20px;
    text-align: center;
    border-radius: var(--radius-lg);
    background: #fff;
    transition: all 0.3s ease;
}
.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.advantage-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: var(--accent-light);
    border-radius: 50%;
}
.advantage-card h3 {
    font-size: var(--fs-base);
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}
.advantage-card p {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: 1.6;
}

@media (min-width: 576px) {
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
    .advantages-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ===== CTA БЛОК ===== */
.home-cta {
    background: linear-gradient(135deg, var(--accent-light) 0%, #F3E5F5 100%);
}
.cta-box {
    text-align: center;
    padding: 40px 24px;
    background: #fff;
    border-radius: var(--radius-lg);
    border: none;
    box-shadow: var(--shadow-lg);
}
.cta-box h2 {
    font-size: var(--fs-xl);
    font-weight: 800;
    margin-bottom: 10px;
}
.cta-box h2 .accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cta-box p {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
@media (min-width: 576px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
    }
}

/* ===== ФУТЕР ===== */
.footer {
    background: linear-gradient(135deg, #1C1C1C 0%, #2D1B2E 100%);
    padding: 48px 0 32px;
    color: rgba(255,255,255,0.8);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
}
.footer-col-title {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-gradient);
}
/* Стили для заголовка-ссылки "Все услуги" в футере */
.footer-col-title-link {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
    transition: color 0.2s;
}
.footer-col-title-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-gradient);
}
.footer-col-title-link:hover {
    color: var(--accent);
}
/* Стили для кнопки "Посмотреть все услуги" в футере */
.footer-services-btn {
    display: inline-block;
    background: var(--accent-gradient);
    color: #fff !important;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: var(--radius-xl);
    font-size: var(--fs-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(233,30,99,0.3);
    border: none;
    line-height: 1.4;
}
.footer-services-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233,30,99,0.4);
    color: #fff !important;
}
.footer-link {
    display: block;
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
    transition: all 0.2s;
    padding-left: 0;
}
.footer-link:hover {
    color: var(--accent);
    padding-left: 6px;
}
.footer-phone {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: #fff;
    display: inline-block;
    margin-bottom: 8px;
}
.footer-phone:hover {
    color: var(--accent);
}
.footer-contact-info {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
}
.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: var(--fs-xs);
    color: rgba(255,255,255,0.5);
}
.footer-copy a {
    color: rgba(255,255,255,0.5);
}
.footer-copy a:hover {
    color: var(--accent);
}
.footer-social {
    display: flex;
    gap: 12px;
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.2s;
}
.social-icon:hover {
    background: var(--accent-gradient);
    transform: translateY(-3px);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* ===== КАРТОЧКИ ===== */
.card {
    border: none;
    border-radius: var(--radius-lg);
    background: var(--bg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}
.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* ===== ФОРМЫ ===== */
input, select, textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px; /* Важно: минимум 16px для iOS! */
    font-family: var(--font-base);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(233,30,99,0.12);
}
input::placeholder, textarea::placeholder {
    color: var(--text-hint);
}
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23E91E63' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.promo-result {
    font-size: 13px;
    margin-top: 4px;
    min-height: 18px;
}
.promo-result.success { color: var(--success); }
.promo-result.error { color: var(--error); }

/* ===== УТИЛИТЫ ===== */
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-hint { color: var(--text-hint); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 48px 16px;
    color: var(--text-muted);
}

/* ===== FLASH СООБЩЕНИЯ ===== */
.flash {
    position: fixed;
    top: 60px;
    right: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: var(--fs-sm);
    font-weight: 500;
    z-index: 200;
    animation: slideIn 0.3s ease;
    max-width: 350px;
    box-shadow: var(--shadow-md);
}
.flash-success {
    background: var(--success);
    color: #fff;
}
.flash-error {
    background: var(--error);
    color: #fff;
}
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== МОБИЛЬНЫЕ СТИЛИ ===== */
@media (max-width: 767px) {
    /* Touch targets */
    .btn, button, a.btn { min-height: 44px; }
    
    /* Поля форм — 16px чтобы iOS не зумировал */
    input, select, textarea { font-size: 16px !important; }
    
    /* Sticky итог калькулятора (будет использоваться в Задаче 2) */
    .calc-sticky-bar {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--bg);
        border-top: 2px solid var(--accent);
        padding: 10px 16px;
        z-index: 90;
        align-items: center;
        justify-content: space-between;
        box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
    }
    .calc-sticky-bar.visible { display: flex; }
}

/* ===== TABLE WRAPPER (для прайс-таблиц) ===== */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.price-table {
    min-width: 500px;
    width: 100%;
    border-collapse: collapse;
}
.price-table th,
.price-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.price-table th {
    font-weight: 600;
    background: var(--bg-section);
}
.price-table tr:hover td {
    background: var(--accent-light);
}

/* ===== КАЛЬКУЛЯТОР ===== */
.calc-section { background: var(--bg); }

/* Вкладки */
.calc-tabs {
    display: flex;
    background: var(--bg-soft);
    border-radius: var(--radius-xl);
    padding: 4px;
    gap: 4px;
    margin-bottom: 20px;
}
.calc-tab {
    flex: 1;
    padding: 10px 16px;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.25s ease;
}
.calc-tab:hover {
    color: var(--accent);
    background: rgba(233,30,99,0.05);
}
.calc-tab.active {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 12px rgba(233,30,99,0.3);
}

/* Панели вкладок */
.calc-panel { display: none; }
.calc-panel.active { display: block; }

/* Прайс-таблица расширенная */
.price-table th {
    background: var(--accent-light);
    color: #993D0F;
    font-weight: 600;
    padding: 8px 10px;
    text-align: left;
    border-bottom: 2px solid var(--accent-border);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.price-table td {
    padding: 7px 10px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    white-space: nowrap;
}
.price-table tr:hover td { background: var(--bg-soft); }
.price-table tr.selected td {
    background: var(--accent-light);
    border-color: var(--accent);
}
.price-table .price-val {
    color: var(--accent);
    font-weight: 600;
}
.price-table-meta {
    margin-top: 6px;
    font-size: 10px;
    color: var(--text-hint);
}

/* Сетка полей калькулятора */
.calc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
}
@media (min-width: 576px) {
    .calc-grid { grid-template-columns: 1fr 1fr; }
}

.calc-field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.field-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.field-input {
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 16px; /* iOS не зумирует */
    color: var(--text);
    background: var(--bg);
    font-family: var(--font-base);
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}
.field-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(233,30,99,0.12);
}

/* Readonly поле (только для чтения, затененное) */
.field-input.field-readonly,
input[readonly] {
    background: #F5F5F5;
    border-color: #DDD;
    color: #666;
    cursor: not-allowed;
    font-weight: 600;
}
.field-input.field-readonly:focus,
input[readonly]:focus {
    border-color: #DDD;
    box-shadow: none;
}

/* Блок результата */
.calc-result {
    position: relative;
    background: linear-gradient(135deg, #FCE4EC 0%, #F3E5F5 100%);
    border: 2px solid var(--accent-border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: 16px;
    overflow: hidden;
}
.calc-result::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(233,30,99,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.calc-result-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}
.calc-result-info {
    flex: 1;
    min-width: 200px;
}
.calc-result-label {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.calc-result-per {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}
.calc-result-price-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}
.calc-result-price {
    font-size: 32px;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    display: flex;
    align-items: baseline;
}
.price-currency {
    font-size: 20px;
    margin-left: 4px;
    -webkit-text-fill-color: var(--accent);
}

/* Зачеркнутая оригинальная цена */
.price-original {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 14px;
    margin-right: 8px;
}

/* Блок скидки по промокоду в калькуляторе */
.promo-discount-block {
    width: 100%;
}
.promo-discount-block-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--accent-border);
}
.promo-discount-line {
    font-size: 14px;
    color: var(--success);
}
.promo-discount-total {
    font-size: 16px;
    color: var(--success);
    font-weight: 700;
}

/* Спиннер */
.calc-spinner {
    position: absolute;
    inset: 0;
    background: rgba(252,228,236,0.9);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
}
.spinner-ring {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(233,30,99,0.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Кнопки действий */
.calc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.calc-actions .btn:first-child { flex: 2; }
.calc-actions .btn:not(:first-child) { flex: 1; }
@media (max-width: 400px) {
    .calc-actions { flex-direction: column; }
    .calc-actions .btn { flex: none; width: 100%; }
}

/* Sticky бар */
.calc-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--bg);
    border-top: 2px solid var(--accent);
    padding: 10px 16px;
    z-index: 90;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.12);
}
.calc-sticky-bar.visible { display: flex; }
.sticky-label { font-size: 10px; color: var(--text-hint); }
.sticky-price { font-size: 20px; font-weight: 700; color: var(--accent); }

/* Скрыть sticky на десктопе */
@media (min-width: 768px) {
    .calc-sticky-bar { display: none !important; }
}

/* ===== БЛОКИ УСЛУГ ===== */
.hero-section {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    min-height: auto;
}
@media (min-width: 768px) {
    .hero-grid { grid-template-columns: 1fr 1fr; }
}
.hero-media {
    background: linear-gradient(135deg, #FCE4EC 0%, #F3E5F5 100%);
    min-height: 220px;
    max-height: 320px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    position: relative;
}
@media (min-width: 768px) {
    .hero-media {
        min-height: 280px;
        max-height: 400px;
    }
}
.hero-media::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(233,30,99,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.hero-img {
    width:100%;
    height:100%;
    object-fit:cover;
    z-index: 1;
}
.hero-img-placeholder {
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:280px;
}
.hero-content {
    padding: 32px 24px;
    display:flex;
    flex-direction:column;
    gap:12px;
    justify-content: center;
}
.breadcrumb {
    font-size:12px;
    color:var(--text-hint);
    display:flex;
    gap:6px;
    align-items:center;
    margin-bottom: 8px;
}
.breadcrumb a:hover {
    color:var(--accent);
}
.hero-eyebrow {
    font-size:11px;
    font-weight:700;
    color:var(--accent);
    text-transform:uppercase;
    letter-spacing:0.15em;
}
.hero-h1 {
    font-size:clamp(26px,5vw,38px);
    font-weight:800;
    line-height:1.15;
    letter-spacing:-0.8px;
    color: var(--text);
}
.hero-subtitle {
    font-size:var(--fs-base);
    color:var(--text-muted);
    line-height:1.7;
}
.hero-badges {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top: 8px;
}
.badge {
    font-size:12px;
    padding:6px 14px;
    background:var(--accent-light);
    color:var(--accent);
    border:1px solid var(--accent-border);
    border-radius:var(--radius-xl);
    font-weight:600;
}
.btn-hero {
    align-self:flex-start;
    margin-top:12px;
    padding: 14px 28px;
}

.stats-bar {
    background: var(--accent-gradient);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 32px 0;
}
@media (min-width: 576px) {
    .stats-bar { grid-template-columns: repeat(4, 1fr); }
}
.stat-item {
    padding: 20px 16px;
    text-align:center;
    border-right:1px solid rgba(255,255,255,0.15);
    border-bottom:none;
}
.stat-item:last-child { border-right:none; }
.stat-number {
    font-size:36px;
    font-weight:800;
    color:#fff;
    letter-spacing:-1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.stat-unit {
    font-size:12px;
    color:rgba(255,255,255,0.9);
    font-weight:600;
    display: block;
    margin-top: 4px;
}
.stat-label {
    font-size:11px;
    color:rgba(255,255,255,0.85);
    margin-top:6px;
    line-height:1.5;
    display: block;
}

.timer-bar {
    background:var(--dark);
    padding: 24px 20px;
}
.timer-content {
    max-width:1140px;
    margin:0 auto;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:16px;
}
.timer-texts {
    text-align:center;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
}
.timer-title {
    font-size: 24px;
    font-weight:700;
    color:var(--accent);
    margin:0;
}
.timer-subtitle {
    font-size: 14px;
    color:#aaa;
    margin:0;
}
.timer-clock {
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    justify-content:center;
}
.timer-unit {
    text-align:center;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:6px;
}
.timer-dig {
    background:var(--accent);
    color:#fff;
    font-size: 32px;
    font-weight:700;
    width: 64px;
    height: 64px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    font-family:monospace;
    box-shadow: 0 4px 12px rgba(233,30,99,0.3);
}
.timer-dlab {
    font-size: 12px;
    color:#888;
    margin:0;
    text-transform:uppercase;
    letter-spacing:0.5px;
}
.timer-sep {
    color:var(--accent);
    font-size: 28px;
    font-weight:700;
    margin:0 4px;
    line-height: 64px;
}

/* Кнопка "Применить промокод" в таймере */
.timer-promo-btn-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.timer-promo-btn {
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(233,30,99,0.3);
}
.timer-promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(233,30,99,0.4);
}
.timer-promo-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@media (max-width: 767px) {
    .timer-bar { padding: 20px 16px; }
    .timer-content { gap:16px; }
    .timer-title { font-size: 20px; }
    .timer-subtitle { font-size: 13px; }
    .timer-clock { gap:8px; }
    .timer-dig {
        width: 52px;
        height: 52px;
        font-size: 26px;
    }
    .timer-dlab {
        font-size: 11px;
    }
    .timer-sep {
        font-size: 22px;
        line-height: 52px;
    }
    .timer-promo-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
        font-size: 14px;
    }
}

.messengers-section {
    background: var(--bg-soft);
    padding: 60px 0;
}
.messenger-btns {
    display:grid;
    grid-template-columns:1fr;
    gap:16px;
}
@media (min-width: 480px) {
    .messenger-btns { grid-template-columns:repeat(3,1fr); }
}
.messenger-btn {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    padding:18px 24px;
    font-size:15px;
    font-weight:700;
    border-radius:var(--radius-xl);
    min-height:56px;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
}
.messenger-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.how-section {
    background: var(--bg-soft);
    padding: 60px 0;
}
.steps-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
@media (min-width: 768px) {
    .steps-row { grid-template-columns: repeat(4, 1fr); }
}
.step-item {
    text-align:center;
    position:relative;
    padding: 20px;
}
.step-num {
    width:48px;
    height:48px;
    background:var(--accent-gradient);
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    font-weight:800;
    margin:0 auto 16px;
    box-shadow: 0 4px 12px rgba(233,30,99,0.3);
}
.step-title {
    font-size:15px;
    font-weight:700;
    color:var(--text);
    margin-bottom:8px;
}
.step-desc {
    font-size:13px;
    color:var(--text-muted);
    line-height:1.6;
}
.step-arrow { display:none; }
@media (min-width: 768px) {
    .step-arrow {
        display:block;
        position:absolute;
        right:-20px;
        top:24px;
        color:var(--accent);
        font-size:28px;
        font-weight:700;
    }
}

.samples-section {
    background:var(--bg);
    padding: 60px 0;
}
.samples-grid {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}
@media (min-width: 768px) {
    .samples-grid { grid-template-columns:repeat(3,1fr); }
}
.sample-hidden { display:none; }
.sample-card {
    border:none;
    border-radius:var(--radius-lg);
    overflow:hidden;
    background:var(--bg);
    transition:box-shadow 0.3s, transform 0.3s;
    box-shadow: var(--shadow-sm);
}
.sample-card:hover {
    box-shadow:var(--shadow-lg);
    transform:translateY(-6px);
}
.sample-img-wrap {
    position:relative;
    cursor:pointer;
    overflow:hidden;
    height:180px;
    background:var(--bg-soft);
}
.sample-img {
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform 0.4s ease;
}
.sample-img-wrap:hover .sample-img {
    transform:scale(1.08);
}
.sample-img-placeholder {
    display:flex;
    align-items:center;
    justify-content:center;
    height:100%;
    background: linear-gradient(135deg, var(--bg-section) 0%, var(--accent-light) 100%);
}
.sample-zoom-icon {
    position:absolute;
    top:12px;
    right:12px;
    width:32px;
    height:32px;
    background:rgba(233,30,99,0.9);
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:16px;
    opacity:0;
    transition:opacity 0.25s, transform 0.25s;
    transform: scale(0.8);
}
.sample-img-wrap:hover .sample-zoom-icon {
    opacity:1;
    transform: scale(1);
}
.sample-info {
    padding:16px;
}
.sample-title {
    font-size:15px;
    font-weight:700;
    color:var(--text);
    margin-bottom:6px;
    line-height: 1.4;
}
.sample-price {
    font-size:16px;
    font-weight:800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom:8px;
}
.sample-desc {
    font-size:12px;
    color:var(--text-muted);
    margin-bottom:12px;
    line-height:1.6;
}
.sample-order-btn {
    width:100%;
    border-radius: var(--radius-xl);
}
.samples-more-wrap {
    text-align:center;
    margin-top:32px;
}
.lightbox { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.92); z-index:200; align-items:center; justify-content:center; }
.lightbox.active { display:flex; }
.lightbox-img { max-width:90vw; max-height:80vh; object-fit:contain; border-radius:4px; }
.lightbox-close, .lightbox-prev, .lightbox-next { background:none; border:none; color:#fff; cursor:pointer; }
.lightbox-prev, .lightbox-next { position:absolute; top:50%; transform:translateY(-50%); font-size:36px; padding:12px 16px; border-radius:4px; }
.lightbox-prev { left:12px; }
.lightbox-next { right:12px; }
.lightbox-caption { color:#ccc; font-size:13px; text-align:center; margin-top:12px; }
.lightbox-content { display:flex; flex-direction:column; align-items:center; }

.trust-section {
    background: var(--bg-soft);
    padding: 60px 0;
}
.trust-grid {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}
@media (min-width: 576px) {
    .trust-grid { grid-template-columns:repeat(4,1fr); }
}
.trust-card {
    background:var(--bg);
    border: none;
    border-radius:var(--radius-lg);
    padding:28px 20px;
    text-align:center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
.trust-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.trust-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.trust-number {
    font-size:36px;
    font-weight:800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing:-0.5px;
}
.trust-unit {
    font-size:12px;
    font-weight:600;
    color:var(--text-muted);
    margin-top:4px;
}
.trust-label {
    font-size:13px;
    color:var(--text-muted);
    line-height:1.6;
    margin-top:8px;
    font-weight: 500;
}
.trust-check {
    display: none;
}

.cta-bar { background:var(--accent); padding:24px 20px; text-align:center; }
.cta-text { font-size:14px; color:rgba(255,255,255,0.9); margin-bottom:14px; line-height:1.5; }
.btn-white { background:#fff; color:var(--accent); font-weight:700; }
.btn-white:hover { background:var(--accent-light); }

.faq-section { background:var(--bg); }
.faq-list { display:flex; flex-direction:column; border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; }
.faq-item { border-bottom:1px solid var(--border); }
.faq-item:last-child { border-bottom:none; }
.faq-question { width:100%; text-align:left; background:none; border:none; padding:16px 20px; font-size:var(--fs-sm); font-weight:600; color:var(--text); cursor:pointer; display:flex; justify-content:space-between; gap:12px; transition:background 0.15s; }
.faq-question:hover { background:var(--bg-soft); }
.faq-item.open .faq-question { color:var(--accent); background:var(--accent-light); }
.faq-icon { font-size:20px; font-weight:400; color:var(--accent); flex-shrink:0; line-height:1; }
.faq-answer { max-height:0; overflow:hidden; transition:max-height 0.35s ease; }
.faq-answer-inner { padding:0 20px 16px; font-size:var(--fs-sm); color:var(--text-muted); line-height:1.7; }

.form-section {
    background: linear-gradient(135deg, var(--bg-soft) 0%, #F8F9FA 100%);
    padding: 60px 0;
}
.form-grid {
    display:grid;
    grid-template-columns:1fr;
    gap:32px;
}
@media (min-width: 992px) {
    .form-grid { grid-template-columns:1fr 1fr; }
}
.form-group {
    display:flex;
    flex-direction:column;
    gap:8px;
    margin-bottom:12px;
}
.form-row {
    display:grid;
    grid-template-columns:1fr;
    gap:16px;
}
@media (min-width: 480px) {
    .form-row { grid-template-columns:1fr 1fr; }
}
.field-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}
.field-textarea {
    resize:vertical;
    min-height:100px;
}
.field-error {
    font-size:12px;
    color:var(--error);
    margin-top:4px;
    min-height:18px;
}
.field-input.error {
    border-color:var(--error);
    box-shadow: 0 0 0 4px rgba(239,68,68,0.1);
}
.upload-zone {
    border:2px dashed var(--border);
    border-radius:var(--radius-lg);
    padding:24px;
    text-align:center;
    cursor:pointer;
    background:var(--bg);
    transition:all 0.25s ease;
    margin-bottom:16px;
}
.upload-zone:hover, .upload-zone.dragover {
    border-color:var(--accent);
    background:var(--accent-light);
    transform: translateY(-2px);
}
.upload-inner {
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    cursor:pointer;
}
.upload-text {
    font-size:14px;
    color:var(--text);
    font-weight:600;
}
.upload-formats {
    font-size:11px;
    color:var(--text-hint);
}
.upload-selected {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    font-size:13px;
    color:var(--text);
    background: var(--bg-soft);
    padding: 10px 14px;
    border-radius: var(--radius-md);
}
.upload-clear {
    background:none;
    border:none;
    color:var(--text-hint);
    font-size:18px;
    cursor:pointer;
    transition: color 0.2s;
}
.upload-clear:hover {
    color: var(--error);
}
.promo-row {
    display:flex;
    gap:10px;
    margin-bottom:10px;
}
.promo-row .field-input {
    flex:1;
}
.promo-result {
    font-size:13px;
    margin-bottom:12px;
    min-height:20px;
    font-weight: 500;
}
.promo-result.success {
    color:var(--success);
}
.promo-result.error {
    color:var(--error);
}
.btn-block {
    width:100%;
    justify-content:center;
    margin-bottom:10px;
    padding: 16px 24px;
}
.form-hint {
    font-size:11px;
    color:var(--text-hint);
    text-align:center;
    line-height: 1.6;
}
.form-hint a {
    color:var(--accent);
    text-decoration: underline;
}
.form-success {
    text-align:center;
    padding:60px 30px;
}
.success-icon {
    font-size:64px;
    color:var(--success);
    margin-bottom:20px;
    display: inline-block;
    animation: successPop 0.5s ease;
}
@keyframes successPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.form-success h3 {
    font-size:24px;
    font-weight:800;
    margin-bottom:10px;
    color: var(--text);
}
.form-success p {
    color: var(--text-muted);
    font-size: 15px;
}
.form-right {
    display:flex;
    flex-direction:column;
    gap:20px;
}
.form-info-block {
    background:var(--bg);
    border: none;
    border-radius:var(--radius-lg);
    padding:24px;
    box-shadow: var(--shadow-md);
}
.form-info-title {
    font-size:13px;
    font-weight:700;
    color: var(--text);
    margin-bottom:16px;
    text-transform:uppercase;
    letter-spacing:0.8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.form-info-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--accent-gradient);
    border-radius: 2px;
}
.form-info-list {
    list-style:none;
    display:flex;
    flex-direction:column;
    gap:10px;
}
.form-info-list li {
    font-size:13px;
    color: var(--text-muted);
    padding-left:20px;
    position:relative;
    line-height:1.6;
}
.form-info-list li::before {
    content: '✓';
    position:absolute;
    left:0;
    color: var(--success);
    font-weight:700;
    font-size: 14px;
}
.map-section { height:180px; position:relative; overflow:hidden; }
@media (min-width: 768px) { .map-section { height:260px; } }
.map-iframe { width:100%; height:100%; border:none; }
.map-placeholder { height:100%; background:#E8E8E8; display:flex; align-items:center; justify-content:center; position:relative; }
.map-grid-bg { position:absolute; inset:0; opacity:0.1; background-image:repeating-linear-gradient(0deg,#666 0,#666 1px,transparent 1px,transparent 30px),repeating-linear-gradient(90deg,#666 0,#666 1px,transparent 1px,transparent 44px); }
.map-pin-wrap { display:flex; flex-direction:column; align-items:center; z-index:1; }
.map-pin { width:20px; height:20px; background:var(--accent); border-radius:50% 50% 50% 0; transform:rotate(-45deg); border:2px solid #fff; margin-bottom:10px; }
.map-address { font-size:13px; font-weight:500; color:var(--text); }
.seo-text-section { padding:24px 0; background:var(--bg-soft); }
.seo-text-content { max-height:120px; overflow:hidden; font-size:var(--fs-sm); color:var(--text-muted); line-height:1.7; }
.seo-text-fade { height:60px; margin-top:-60px; background:linear-gradient(transparent, var(--bg-soft)); }
.seo-text-toggle { margin-top:12px; }
.seo-text-section h2, .seo-text-section h3 { font-size:16px; font-weight:600; color:var(--text); margin:16px 0 8px; }
.fade-in { opacity:0; transform:translateY(16px); transition:opacity 0.4s, transform 0.4s; }
.fade-in.visible { opacity:1; transform:translateY(0); }

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    padding: 16px;
}
.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}
.modal-window {
    background: #fff;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}
.modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}
.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}
.modal-close:hover {
    background: var(--bg-section);
    color: var(--text);
}
.modal-body {
    padding: 20px;
}
.modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
}
.form-section {
    margin-bottom: 20px;
}
.form-section:last-child {
    margin-bottom: 0;
}
.form-section h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}
.form-section .required {
    color: var(--error);
}
.form-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.form-group.full-width {
    grid-column: 1 / -1;
}

/* ===== СТАТИЧЕСКИЕ СТРАНИЦЫ ===== */
.static-page { padding: 24px 0 48px; }
.static-content {
    max-width: 760px;
    font-size: var(--fs-base);
    line-height: 1.8;
    color: var(--text);
}
.static-content h2 { font-size: 22px; font-weight: 700; margin: 28px 0 12px; }
.static-content h3 { font-size: 17px; font-weight: 600; margin: 20px 0 8px; }
.static-content p  { margin-bottom: 14px; }
.static-content ul, .static-content ol { padding-left: 20px; margin-bottom: 14px; }
.static-content li { margin-bottom: 6px; }
.static-content a  { color: var(--accent); }
.breadcrumb {
    display: flex;
    gap: 8px;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}
.breadcrumb a { color: var(--accent); }
.form-group label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
}
.form-group input {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 14px;
    font-family: var(--font-base);
}
.form-group input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,107,43,0.1);
}
@media (max-width: 576px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .modal-window {
        max-height: 100vh;
    }
}
