/* =========================================================
   СТИЛЬ STARTAZOT.RU — ИЗУМРУДНО-ЗЕЛЕНЫЙ НА БЕЛОМ ФОНЕ
   - Чистый белый фон: #ffffff
   - Карточки и подложки: #ffffff, #f8fafc, #ecfdf5
   - Кнопки: фирменный градиент изумрудного и насыщенного зеленого
   - Акцентные теги: неоновый зеленый с полупрозрачным фоном
   ========================================================= */

:root {
    --bg-main: #ffffff;
    --bg-surface: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f0fdf4;
    --border-color: #e2e8f0;
    --border-glow: rgba(16, 185, 129, 0.4);
    
    /* Зеленая гамма */
    --brand-green-light: #10b981;
    --brand-green-dark: #047857;
    --brand-gradient: linear-gradient(135deg, #10b981 0%, #047857 100%);
    --brand-gradient-hover: linear-gradient(135deg, #059669 0%, #065f46 100%);
    
    --text-primary: #090d16;
    --text-secondary: #334155;
    --text-muted: #64748b;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 6px 24px rgba(9, 13, 22, 0.06);
    --shadow-neon: 0 4px 18px rgba(16, 185, 129, 0.35);
    --shadow-neon-hover: 0 8px 26px rgba(16, 185, 129, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 70px;
}

@media (min-width: 992px) {
    body { padding-bottom: 0; }
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Отступы */
.mt-1 { margin-top: 10px !important; }
.mt-2 { margin-top: 18px !important; }
.mt-3 { margin-top: 26px !important; }
.mt-4 { margin-top: 38px !important; }
.mt-5 { margin-top: 55px !important; }

.mb-1 { margin-bottom: 10px !important; }
.mb-2 { margin-bottom: 18px !important; }
.mb-3 { margin-bottom: 26px !important; }
.mb-4 { margin-bottom: 38px !important; }
.mb-5 { margin-bottom: 55px !important; }

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    font-size: 15px;
    font-weight: 800;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    line-height: 1.2;
    background: var(--brand-gradient);
    color: #ffffff;
    box-shadow: var(--shadow-neon);
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    background: var(--brand-gradient-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-neon-hover);
}

.btn-primary {
    background: var(--brand-gradient);
    color: #ffffff;
}

.btn-secondary {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: none;
    text-shadow: none;
}
.btn-secondary:hover {
    background: var(--brand-gradient);
    color: #ffffff;
    box-shadow: var(--shadow-neon);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: #ffffff;
    color: #ffffff;
    border: 2px solid #10b981;
    box-shadow: none;
    text-shadow: none;
}
.btn-outline:hover {
    background: var(--brand-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: var(--shadow-neon);
}

.btn-link {
    background: none;
    border: none;
    color: #059669;
    padding: 8px 0;
    font-size: 14px;
    box-shadow: none;
    text-shadow: none;
}
.btn-link:hover {
    text-decoration: underline;
    background: none;
    color: #047857;
    transform: none;
    box-shadow: none;
}

.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-block { width: 100%; }
.w-100 { width: 100%; }

/* Шапка */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
}

.logo {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.logo-accent {
    color: #059669;
}

.logo-dot { color: var(--text-muted); font-size: 16px; }
.header-tagline { display: block; font-size: 11px; color: var(--text-secondary); }

.desktop-nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

.desktop-nav a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 6px 0;
    position: relative;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: #059669;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.phone-block {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.phone-number {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    white-space: nowrap;
}
.phone-number:hover { color: #059669; }

.work-time {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger-btn span {
    width: 26px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mobile-menu a {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.mobile-menu.active { display: block; }

.mobile-menu-contacts {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.messengers-row {
    display: flex;
    gap: 10px;
}

/* Секции */
.section {
    padding: 80px 0;
    position: relative;
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.page-header {
    padding: 60px 0 45px;
    background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 100%);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.breadcrumbs {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.breadcrumbs a { color: #059669; }

.page-title {
    font-size: 38px;
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.page-lead {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 800px;
}

.section-header { margin-bottom: 45px; }

.section-tag {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #059669;
    font-weight: 800;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.section-title.text-sm { font-size: 26px; }

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 10px;
}

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

/* Сетка */
.grid { display: grid; gap: 28px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Карточки */
.feature-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 34px 28px;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    height: 100%;
    box-shadow: var(--shadow-card);
}

.feature-box:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15);
}

.box-icon { font-size: 36px; margin-bottom: 16px; }

.delivery-details-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 42px 36px;
    margin: 45px 0;
    box-shadow: var(--shadow-card);
}

.table-custom {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin: 25px 0;
}

.table-custom th,
.table-custom td {
    padding: 18px 22px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table-custom th {
    background: #f8fafc;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--text-primary);
    font-weight: 800;
    border-bottom: 2px solid var(--border-color);
}

.table-custom td { font-size: 15px; color: var(--text-primary); }
.price-accent { color: #047857; font-weight: 800; }
.table-sub { display: block; font-size: 12px; color: var(--text-muted); }

.card-outline {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 28px 24px;
    border-radius: var(--radius-md);
    height: 100%;
    box-shadow: var(--shadow-card);
}

.cta-banner {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.08) 100%);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: var(--radius-md);
    padding: 45px 35px;
    margin: 55px 0 35px;
    text-align: center;
}

.cta-banner h3 { font-size: 24px; margin-bottom: 12px; color: var(--text-primary); font-weight: 800; }
.cta-banner p { color: var(--text-secondary); max-width: 650px; margin: 0 auto 24px; }

/* Товары */
.product-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.8);
}

.card-badge {
    position: absolute;
    top: 16px; left: 16px;
    background: var(--brand-gradient);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.card-badge.secondary-badge { background: #475569; color: #fff; box-shadow: none; }

.card-img-wrap {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 10px;
    background: #f8fafc;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.card-img-wrap img { max-height: 100%; object-fit: contain; transition: transform 0.3s ease; }
.product-card:hover .card-img-wrap img { transform: scale(1.05); }

.card-title { font-size: 20px; font-weight: 800; margin-bottom: 6px; color: var(--text-primary); }
.card-subtitle { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; min-height: 38px; }

.prices-dual {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
}

.price-item { display: flex; flex-direction: column; }
.price-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; font-weight: 700; }
.price-val { font-size: 17px; font-weight: 900; color: var(--text-primary); }
.price-exchange .price-val { color: #047857; }
.single-price { font-size: 22px; font-weight: 900; color: #047857; margin-bottom: 16px; }

.card-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

/* SEO блоки */
.seo-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 45px 40px;
    margin-top: 55px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-card);
}

.seo-content h2, .seo-card h2 { font-size: 26px; font-weight: 800; margin-bottom: 18px; color: var(--text-primary); }
.seo-content h3, .seo-card h3 { font-size: 20px; font-weight: 800; margin: 28px 0 14px; color: #047857; }
.seo-content p, .seo-card p { font-size: 15px; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.75; }

.styled-list { margin: 16px 0 24px 20px; color: var(--text-secondary); }
.styled-list li { margin-bottom: 10px; line-height: 1.6; }

/* Статьи */
.article-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.article-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.7);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.article-cat { color: #047857; font-weight: 800; }
.article-title { font-size: 22px; font-weight: 800; margin-bottom: 14px; line-height: 1.35; color: var(--text-primary); }
.article-title a:hover { color: #047857; }
.article-snippet { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; flex-grow: 1; }

.article-body {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 50px 40px;
    box-shadow: var(--shadow-card);
}

.article-body h2 { font-size: 26px; font-weight: 800; margin: 40px 0 16px; color: var(--text-primary); }
.article-body h3 { font-size: 21px; font-weight: 800; margin: 28px 0 12px; color: #047857; }
.article-body p { font-size: 16px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; }

/* FAQ */
.faq-accordion {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.faq-question {
    width: 100%;
    padding: 22px 24px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    font-size: 17px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.faq-question:hover { color: #047857; }
.faq-arrow { font-size: 22px; color: #10b981; font-weight: 900; transition: transform 0.2s; }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer { max-height: 400px; padding-bottom: 22px; }
.faq-item.active .faq-arrow { transform: rotate(45deg); }

/* Футер */
.site-footer {
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
    padding: 70px 0 35px;
    margin-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-desc { font-size: 14px; color: var(--text-secondary); margin: 18px 0; }
.legal-badge { font-size: 12px; color: #065f46; background: #d1fae5; padding: 8px 12px; border-radius: 6px; display: inline-block; font-weight: 700; }
.footer-title { font-size: 16px; font-weight: 800; margin-bottom: 22px; color: var(--text-primary); }

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: var(--text-secondary); }
.footer-links a:hover { color: #047857; }

.footer-phone { font-size: 20px; font-weight: 900; color: #047857; display: block; margin-bottom: 6px; }
.footer-subtext { font-size: 13px; color: var(--text-secondary); margin-bottom: 18px; }
.address-text { font-size: 13px; color: var(--text-muted); margin-top: 16px; }

.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 25px; font-size: 13px; color: var(--text-muted); }
.footer-bottom-flex { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Мобильный бар */
.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 64px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
    z-index: 999;
    grid-template-columns: repeat(4, 1fr);
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
    gap: 4px;
}

.action-btn .icon { font-size: 18px; }
.action-order { background: var(--brand-gradient); color: #ffffff; font-weight: 800; border: none; cursor: pointer; text-shadow: 0 1px 2px rgba(0,0,0,0.2); }

/* Модальное окно */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(9, 13, 22, 0.65);
    backdrop-filter: blur(6px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active { display: flex; }

.modal-window {
    background: #ffffff;
    border: 1px solid rgba(16, 185, 129, 0.5);
    border-radius: var(--radius-md);
    padding: 35px 30px;
    width: 100%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: 16px; right: 18px;
    background: none; border: none;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
}
.modal-close:hover { color: var(--text-primary); }

.modal-title { font-size: 22px; font-weight: 800; margin: 8px 0 4px; color: var(--text-primary); }
.modal-subtitle { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--text-secondary); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 14px;
    background: #ffffff; border: 1px solid var(--border-color);
    border-radius: var(--radius-sm); color: var(--text-primary);
    font-size: 15px; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.radio-toggle { display: flex; gap: 16px; padding: 6px 0; }
.radio-toggle label { display: flex; align-items: center; gap: 6px; cursor: pointer; color: var(--text-primary); }
.form-legal { font-size: 11px; color: var(--text-muted); margin-top: 12px; text-align: center; }

.toast {
    position: fixed; bottom: 80px; right: 20px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #fff;
    padding: 14px 24px; border-radius: var(--radius-sm);
    font-weight: 800; box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
    transform: translateY(100px); opacity: 0;
    transition: all 0.3s ease; z-index: 1001;
}
.toast.show { transform: translateY(0); opacity: 1; }

.badge-tag {
    display: inline-block;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.45);
    color: #047857;
    font-size: 11px; font-weight: 800;
    text-transform: uppercase;
    padding: 4px 12px; border-radius: 20px;
    margin-bottom: 10px;
}

@media (max-width: 992px) {
    .desktop-nav { display: none; }
    .burger-btn { display: flex; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .mobile-action-bar { display: grid; }
}

@media (max-width: 640px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .page-title { font-size: 28px; }
    .section-title { font-size: 24px; }
    .header-actions .btn-primary { display: none; }
}
