/* ===== ПОТОК - Современный корпоративный стиль ===== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Цветовая палитра */
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-light: #60a5fa;
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --success: #10b981;
    --warning: #f59e0b;
    
    /* Нейтральные */
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --bg-dark: #0f172a;
    --text-dark: #0f172a;
    --text-body: #475569;
    --text-muted: #94a3b8;
    --text-light: #cbd5e1;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    
    /* Эффекты */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
    
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 1024px) {
    .brands-page-partial {
        grid-template-rows: none;
        grid-auto-rows: 1fr;
        align-content: start;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-body);
    color: var(--text-body);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Минимальные отступы от краев для всех разрешений */
html {
    padding: 0 6px;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

/* ===== HEADER ===== */
header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 32px;
}

.logo img {
    height: 48px;
    width: auto;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links > a,
.nav-dropdown > .nav-dropdown-toggle {
    padding: 10px 16px;
    font-weight: 500;
    font-size: 15px;
    color: var(--text-body);
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
}

.nav-links > a:hover,
.nav-dropdown:hover > .nav-dropdown-toggle {
    color: var(--accent);
    background: var(--border-light);
}

.nav-links > a.active {
    color: var(--accent);
    background: rgba(59, 130, 246, 0.1);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
}

.nav-dropdown-toggle::after {
    content: '';
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    padding: 3px;
    transform: rotate(45deg);
    margin-top: -4px;
    transition: var(--transition);
}

.nav-dropdown:hover .nav-dropdown-toggle::after {
    transform: rotate(-135deg);
    margin-top: 2px;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-body);
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-dropdown-menu a:hover {
    background: var(--border-light);
    color: var(--accent);
}

.nav-dropdown-menu a svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
}

.nav-dropdown-menu a:hover svg {
    color: var(--accent);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--accent-gradient);
    color: white;
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(59, 130, 246, 0.3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: var(--accent);
    font-weight: 600;
    font-size: 15px;
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--accent);
    color: white;
}

/* ===== HERO SECTION ===== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0 100px;
    min-height: 80vh;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-text h1 span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 20px;
    color: var(--text-body);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.hero-img {
    position: relative;
}

.hero-img img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.hero-img::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.1;
}

/* ===== PARTNERS SECTION ===== */
.partners-strip {
    background: var(--bg-dark);
    padding: 60px 0;
    overflow: hidden;
}

.partners-title {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 40px;
    font-weight: 500;
}

.partners-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.partner-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.partner-badge:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
}

.partner-badge:hover::before {
    opacity: 1;
}

.partner-badge span {
    position: relative;
    z-index: 1;
}

.partner-badge:hover span {
    color: white;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== CATALOG GRID ===== */
.catalog-section {
    padding: 80px 0 40px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.cat-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.cat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.cat-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.cat-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.cat-card:hover .cat-card-image img {
    transform: scale(1.08);
}

.cat-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.6) 0%, transparent 50%);
}

.cat-card-content {
    padding: 28px;
}

.cat-card-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.cat-card-content p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cat-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--accent);
    font-size: 15px;
}

.cat-link:hover {
    gap: 12px;
}

.cat-card.prod-card {
    background: var(--accent-gradient);
    border: none;
}

.cat-card.prod-card .cat-card-content h3,
.cat-card.prod-card .cat-card-content p {
    color: white;
}

.cat-card.prod-card .cat-link {
    color: rgba(255, 255, 255, 0.9);
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 60px 0;
    background: var(--border-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-box {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
}

.feature-box h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-box p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: var(--accent-gradient);
    border-radius: var(--radius-xl);
    padding: 60px;
    margin: 80px 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 56px;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 100px 0;
}

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.about-image::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.1;
}

.about-content h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-content p {
    font-size: 18px;
    color: var(--text-body);
    margin-bottom: 20px;
    line-height: 1.8;
}

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

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

.about-feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.about-feature h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* ===== REQUISITES CARD ===== */
.req-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 48px;
    border: 1px solid var(--border);
    margin: 80px 0;
}

.req-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.req-actions {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.req-list {
    display: grid;
    gap: 16px;
}

.req-list dt {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.req-list dd {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
}

/* ===== FOOTER ===== */
footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h5 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    margin-bottom: 24px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 15px;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 14px;
}

/* ===== CONTACT FORM ===== */
.contact-section {
    padding: 100px 0;
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background: var(--bg-card);
    padding: 48px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 32px;
}

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

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    font-family: inherit;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-body);
    color: var(--text-dark);
    transition: var(--transition);
}

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

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 16px;
    font-weight: 700;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(59, 130, 246, 0.3);
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-light) 100%);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== INFO PAGES (Delivery, Payment) ===== */
.info-section {
    padding: 80px 0;
}

.info-content {
    max-width: 900px;
    margin: 0 auto;
}

.info-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 48px;
    border: 1px solid var(--border);
    margin-bottom: 32px;
}

.info-card h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-card h2 .icon {
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.info-card p {
    font-size: 16px;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 16px;
}

.info-card ul {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.info-card li {
    padding: 12px 0 12px 32px;
    position: relative;
    border-bottom: 1px solid var(--border);
    color: var(--text-body);
}

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

.info-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.info-table th,
.info-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.info-table th {
    background: var(--border-light);
    font-weight: 600;
    color: var(--text-dark);
}

.info-table td {
    color: var(--text-body);
}

.info-table tr:hover td {
    background: var(--border-light);
}

/* ===== CATALOG ITEM GRID ===== */
.catalog-item-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

.catalog-item-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.info-card-accent {
    background: var(--accent-gradient);
    color: white;
}

.info-card-accent h2,
.info-card-accent p,
.info-card-accent li {
    color: white;
}

.info-card-accent .icon {
    background: rgba(255,255,255,0.2);
}

.check-list {
    list-style: none;
    margin: 20px 0;
}

.check-list li {
    padding: 10px 0 10px 32px;
    position: relative;
    border-bottom: 1px solid var(--border-light);
}

.info-card-accent .check-list li {
    border-bottom-color: rgba(255,255,255,0.2);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.info-card-accent .check-list li::before {
    color: white;
}

/* ===== CONTACT FORM ===== */
.contact-container {
    max-width: 700px;
}

.contact-form {
    background: var(--bg-card);
    padding: 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 32px;
    text-align: center;
}

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

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    font-family: inherit;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    background: var(--bg-body);
}

.form-group select {
    font-size: 16px;
    min-height: 52px;
}

.form-group select option {
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 17px;
    font-weight: 600;
    color: white;
    background: var(--accent-gradient);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== ANIMATIONS ===== */
.animate-enter {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

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

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    position: relative;
    width: 44px;
    height: 44px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
    position: absolute;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 14px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 21px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 28px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}

/* Hide mobile CTA in desktop */
.nav-cta-mobile {
    display: none;
}

/* Body lock when menu is open */
body.menu-open {
    overflow: hidden;
}

/* ===== RESPONSIVE ===== */

/* Tablet landscape - compressed nav */
@media (max-width: 1200px) and (min-width: 769px) {
    .nav-inner {
        gap: 16px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .nav-links > a,
    .nav-dropdown > .nav-dropdown-toggle {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .nav-cta-desktop {
        padding: 10px 16px;
        font-size: 13px;
        white-space: nowrap;
    }
    
    .header-top .container {
        gap: 16px;
    }
    
    .header-contact {
        font-size: 13px;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 60px 0;
        min-height: auto;
    }
    
    .hero-text h1 {
        font-size: 38px;
    }
    
    .hero-text p {
        font-size: 18px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-img {
        order: 2;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .hero-img::before {
        display: none;
    }
    
    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image::before {
        display: none;
    }
    
    .about-content h2 {
        font-size: 32px;
    }
    
    .req-card {
        grid-template-columns: 1fr;
        padding: 32px;
        gap: 32px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .section-header h2 {
        font-size: 34px;
    }
    
    .catalog-section,
    .features-section,
    .about-section,
    .info-section,
    .contact-section {
        padding: 70px 0;
    }
    
    .info-card {
        padding: 32px;
    }
    
    /* Catalog item grid tablet */
    .catalog-item-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .catalog-item-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Mobile - switch to burger menu earlier */
@media (max-width: 900px) {
    body {
        font-size: 15px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    /* Hide header top bar on mobile */
    .header-top {
        display: none;
    }
    
    /* Header Mobile */
    header {
        padding: 12px 0;
    }
    
    .nav-inner {
        position: relative;
    }
    
    .logo img {
        height: 40px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1002;
    }
    
    /* Hide desktop CTA button */
    .nav-cta-desktop {
        display: none;
    }
    
    /* Mobile Navigation */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        padding: 80px 24px 40px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
    
    .nav-links > a,
    .nav-dropdown > .nav-dropdown-toggle {
        font-size: 16px;
        padding: 16px 20px;
        width: 100%;
        text-align: left;
        border-radius: 0;
        border-bottom: 1px solid #e5e7eb;
        display: flex;
        align-items: center;
    }
    
    .nav-links > a:hover,
    .nav-links > a.active {
        background: #f9fafb;
    }

    .nav-links > a.nav-cta-mobile {
        background: var(--accent-gradient);
        color: white !important;
        border-bottom: none;
        border-radius: var(--radius);
    }

    .nav-links > a.nav-cta-mobile:hover,
    .nav-links > a.nav-cta-mobile.active {
        background: var(--accent-gradient);
        color: white !important;
    }

    .chemistry-nav.tires-nav {
        padding: 12px 0;
        margin: 0;
        scroll-padding: 16px;
    }
    
    .nav-dropdown {
        width: 100%;
    }
    
    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }
    
    .nav-dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        box-shadow: none;
        border: none;
        background: #f9fafb;
        border-radius: 0;
        margin: 0;
        padding: 0;
        min-width: 100%;
        transition: all 0.3s ease;
    }
    
    .nav-dropdown.open .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        padding: 8px 0;
    }
    
    .nav-dropdown-menu a {
        justify-content: flex-start;
        font-size: 15px;
        padding-left: 40px;
    }
    
    /* Show mobile CTA */
    .nav-cta-mobile {
        display: inline-flex !important;
        margin-top: 24px;
        width: 100%;
        justify-content: center;
        color: white !important;
    }
    
    /* Contact form mobile */
    .contact-form {
        padding: 24px;
    }
    
    .contact-form h3 {
        font-size: 22px;
    }
    
    /* Contact features grid mobile */
    .features-grid[style*="grid-template-columns: repeat(3"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Hero Mobile */
    .hero {
        padding: 40px 0 60px;
        gap: 32px;
    }
    
    .hero-text h1 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .hero-text p {
        font-size: 16px;
        margin-bottom: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
    }
    
    .hero-img {
        max-width: 100%;
    }
    
    /* Partners Mobile */
    .partners-strip {
        padding: 40px 0;
    }
    
    .partners-title {
        font-size: 12px;
        letter-spacing: 2px;
        margin-bottom: 24px;
    }
    
    .partners-grid {
        gap: 10px;
        justify-content: center;
    }
    
    .partner-badge {
        padding: 10px 16px;
        font-size: 11px;
        letter-spacing: 0.5px;
    }
    
    /* Section Headers Mobile */
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 26px;
        margin-bottom: 12px;
    }
    
    .section-header p {
        font-size: 15px;
    }
    
    /* Catalog Cards Mobile */
    .catalog-section {
        padding: 60px 0;
    }
    
    .cat-card-image {
        height: 180px;
    }
    
    .cat-card-content {
        padding: 20px;
    }
    
    .cat-card-content h3 {
        font-size: 20px;
    }
    
    /* Features Mobile */
    .features-section {
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .feature-box {
        padding: 24px;
        text-align: left;
        display: flex;
        gap: 16px;
        align-items: flex-start;
    }
    
    .feature-box .feature-icon {
        margin: 0;
        width: 48px;
        height: 48px;
        flex-shrink: 0;
    }
    
    .feature-box h4 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .feature-box p {
        font-size: 14px;
    }
    
    /* Stats Mobile */
    .stats-section {
        padding: 40px 20px;
        margin: 50px 0;
        border-radius: var(--radius-lg);
    }
    
    .stats-section h2 {
        font-size: 24px !important;
        margin-bottom: 32px !important;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .stat-num {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 13px;
    }
    
    /* About Mobile */
    .about-section {
        padding: 60px 0;
    }
    
    .about-content h2 {
        font-size: 26px;
    }
    
    .about-content p {
        font-size: 15px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Requisites Card Mobile */
    .req-card {
        padding: 24px;
        margin: 50px 0;
    }
    
    .req-info h3 {
        font-size: 22px;
    }
    
    .req-actions {
        flex-direction: column;
    }
    
    .req-actions .btn-primary,
    .req-actions .btn-outline {
        width: 100%;
        justify-content: center;
    }
    
    .req-list dt {
        font-size: 11px;
    }
    
    .req-list dd {
        font-size: 14px;
    }
    
    /* Page Header Mobile */
    .page-header {
        padding: 50px 0;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-header p {
        font-size: 16px;
    }
    
    /* Info Cards Mobile */
    .info-section {
        padding: 50px 0;
    }
    
    .info-card {
        padding: 24px;
        margin-bottom: 20px;
    }
    
    .info-card h2 {
        font-size: 20px;
        flex-wrap: wrap;
    }
    
    .info-card h2 .icon {
        width: 40px;
        height: 40px;
    }
    
    .info-card p {
        font-size: 15px;
    }
    
    .info-card li {
        padding: 10px 0 10px 28px;
        font-size: 14px;
    }
    
    /* Tables Mobile */
    .info-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .info-table th,
    .info-table td {
        padding: 12px;
        font-size: 13px;
        white-space: nowrap;
    }
    
    /* Contact Form Mobile */
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-form {
        padding: 24px;
    }
    
    .contact-form h3 {
        font-size: 22px;
        margin-bottom: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        font-size: 13px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 14px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .submit-btn {
        padding: 16px;
        font-size: 16px;
    }
    
    /* Footer Mobile */
    footer {
        padding: 50px 0 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-col:first-child {
        margin-bottom: 16px;
    }
    
    .footer-col .logo {
        justify-content: center;
    }
    
    .footer-col h5 {
        margin-bottom: 16px;
    }
    
    .footer-col li {
        margin-bottom: 10px;
    }
    
    .footer-bottom {
        padding-top: 24px;
        font-size: 12px;
    }
    
    /* Buttons Mobile */
    .btn-primary,
    .btn-outline {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    /* CTA sections Mobile */
    section[style*="text-align: center"] h2 {
        font-size: 24px !important;
    }
    
    section[style*="text-align: center"] p {
        font-size: 15px !important;
    }
    
    section[style*="text-align: center"] .btn-primary {
        padding: 16px 32px !important;
        font-size: 16px !important;
    }
}

/* Small phones */
@media (max-width: 380px) {
    .hero-text h1 {
        font-size: 24px;
    }
    
    .section-header h2 {
        font-size: 22px;
    }
    
    .partner-badge {
        padding: 8px 12px;
        font-size: 10px;
    }
    
    .stat-num {
        font-size: 30px;
    }
    
    .feature-box {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-box .feature-icon {
        margin: 0 auto;
    }
}

/* ========================================
   Footer Bottom Links
======================================== */
.footer-bottom-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

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

/* ========================================
   Policy Pages
======================================== */
.policy-card {
    margin-bottom: 24px;
}

.policy-card h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.policy-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}

.policy-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.policy-card ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: var(--text-muted);
    line-height: 1.6;
}

.policy-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

/* ========================================
   Tires Page
======================================== */
.tires-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    justify-content: center;
}

.chemistry-nav.tires-nav {
    margin-bottom: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px 0;
    margin: 0;
    scroll-padding: 24px;
    justify-content: flex-start;
}

.tire-nav-item {
    padding: 12px 24px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s;
}

.tire-nav-item:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.tire-nav-brands {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.tire-nav-brands:hover {
    background: #5a4de8;
    border-color: #5a4de8;
    color: white;
}

.tires-category {
    margin-bottom: 64px;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e5e7eb;
}

.category-title svg {
    color: var(--accent);
}

.tires-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tire-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.tire-card-full {
    grid-column: span 3;
}

.tire-card-header {
    margin-bottom: 16px;
}

.tire-season,
.tire-type {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.tire-season.summer {
    background: #fef3c7;
    color: #92400e;
}

.tire-season.winter {
    background: #dbeafe;
    color: #1e40af;
}

.tire-season.allseason {
    background: #d1fae5;
    color: #065f46;
}

.tire-type {
    background: #f3e8ff;
    color: #6b21a8;
}

.tire-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.tire-card > p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.tire-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    flex-grow: 1;
}

.tire-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    color: var(--text-muted);
    font-size: 14px;
}

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

.tire-card .btn-primary {
    align-self: flex-start;
    margin-top: auto;
}

/* ========================================
   Brands Page
======================================== */
.brands-section {
    padding: 60px 0;
}

.brands-intro {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}

.brands-intro p {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
}

.brands-category {
    margin-bottom: 48px;
}

.brands-category h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.brand-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.brand-premium {
    border: 2px solid var(--accent);
    background: linear-gradient(135deg, #f5f3ff 0%, white 100%);
}

.brand-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.brand-country {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
}

.brand-card > p:not(.brand-country) {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.brand-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.brand-categories li {
    background: #f3f4f6;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

/* ========================================
   Responsive: Tires & Brands
======================================== */
@media (max-width: 1024px) {
    .tires-grid,
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tire-card-full {
        grid-column: span 2;
    }

    .brands-page-partial {
        grid-template-rows: none;
        grid-auto-rows: 1fr;
        align-content: start;
    }
}

@media (max-width: 768px) {
    .tires-nav {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tire-nav-item {
        text-align: center;
    }

    .chemistry-nav.tires-nav {
        flex-direction: row;
        align-items: center;
        overflow-x: auto;
    }
    
    .tires-grid,
    .brands-grid {
        grid-template-columns: 1fr;
    }
    
    .tire-card-full {
        grid-column: span 1;
    }
    
    .category-title {
        font-size: 22px;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 12px;
    }
}

/* ========================================
   Contact Map (contacts page)
======================================== */
.contact-map-section .contact-map-wrap {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-body);
}

.contact-map-section .contact-map-wrap iframe {
    display: block;
}

.contact-map-link {
    padding: 14px 24px;
    background: var(--bg-card);
    margin: 0;
    font-size: 14px;
    border-top: 1px solid var(--border);
}

.contact-map-link a {
    color: var(--accent);
    text-decoration: none;
}

.contact-map-link a:hover {
    text-decoration: underline;
}

/* ========================================
   Cookie Banner
======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

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

.cookie-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    flex: 1;
    min-width: 300px;
}

.cookie-content a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-accept {
    white-space: nowrap;
}

/* ========================================
   Feedback Request Modal (всплывающая форма заявки)
======================================== */
.feedback-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    padding: 24px;
    overflow-y: auto;
}

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

body.feedback-modal-open {
    overflow: hidden;
}

.feedback-modal {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    padding: 32px;
    max-width: 560px;
    width: 100%;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: translateY(20px);
    transition: transform 0.2s ease;
    margin: auto;
}

.feedback-modal-overlay.visible .feedback-modal {
    transform: translateY(0);
}

.feedback-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--border-light);
    color: var(--text-muted);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.feedback-modal-close:hover {
    background: var(--border);
    color: var(--text-dark);
}

.feedback-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.feedback-modal-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
}

.feedback-modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feedback-modal-form .form-group {
    margin-bottom: 20px;
}

.feedback-modal-policy {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 20px;
}

.feedback-modal-policy a {
    color: var(--accent);
}

@media (max-width: 600px) {
    .feedback-modal-form .form-row {
        grid-template-columns: 1fr;
    }
    .feedback-modal {
        padding: 24px 20px;
    }
}

/* ========================================
   Form Success Modal
======================================== */
.form-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    padding: 24px;
}

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

.form-modal {
    background: white;
    border-radius: 20px;
    padding: 28px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: translateY(12px);
    transition: transform 0.2s ease;
    text-align: center;
}

.form-modal-overlay.visible .form-modal {
    transform: translateY(0);
}

.form-modal h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-modal p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.form-modal-btn {
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: var(--radius);
    background: var(--accent-gradient);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.form-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Back To Top
======================================== */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--accent-gradient);
    color: white;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ========================================
   Catalog Tabs
======================================== */
.catalog-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 0;
}

.tab-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 20px 20px 0 0;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.tab-btn.active {
    background: white;
    border-color: var(--accent);
    border-bottom-color: white;
    z-index: 3;
    margin-bottom: -2px;
    box-shadow: 0 -4px 20px rgba(59, 130, 246, 0.15);
}

.tab-btn:hover:not(.active) {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border-color: #d1d5db;
}

.tab-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.tab-btn span {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

/* Tab Panels */
.tab-panels {
    background: white;
    border: 2px solid var(--accent);
    border-radius: 0 0 20px 20px;
    padding: 32px;
    margin-bottom: 32px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.tab-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
}

.tab-panel-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.tab-panel-header p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.tab-panel-badge {
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.tab-panel-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.tab-panel-footer-left {
    display: flex;
    gap: 16px;
}

.tab-panel-footer-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tab-panel-footer.tires-footer {
    justify-content: center;
}

.tab-panel-footer.tires-footer .tab-panel-footer-left {
    flex-wrap: nowrap;
    justify-content: center;
}

.tab-panel-footer.tires-footer .tab-panel-footer-left .btn-primary,
.tab-panel-footer.tires-footer .tab-panel-footer-left .btn-outline {
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

.brands-slider-dots {
    position: static;
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    margin: 0;
}

.brands-slider-dots .slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.brands-slider-dots .slider-dot.active {
    background: var(--accent);
    transform: scale(1.3);
}

.brands-slider-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
}

.brands-slider-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.slider-nav-btn {
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.slider-nav-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* ========================================
   Brands Slider (2 rows)
======================================== */
.brands-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 50px;
}

.brands-slider .slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.brands-page {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 16px;
}

.brands-page-partial {
    grid-template-columns: 1fr !important;
    grid-template-rows: none !important;
    grid-auto-rows: 1fr !important;
    align-content: start;
}

.brand-slide {
    height: 70px;
    background: #f9fafb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    transition: all 0.2s;
}

.brand-slide:hover {
    background: #f3f4f6;
    transform: scale(1.02);
}

.brand-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.2s;
}

.brand-slide:hover img {
    filter: grayscale(0);
}

.brands-slider .slider-prev,
.brands-slider .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.brands-slider .slider-prev:hover,
.brands-slider .slider-next:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.brands-slider .slider-prev:disabled,
.brands-slider .slider-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.brands-slider .slider-prev { left: 0; }
.brands-slider .slider-next { right: 0; }

/* Hide internal slider buttons when footer buttons exist */
.tab-panel .brands-slider .slider-prev,
.tab-panel .brands-slider .slider-next {
    display: none;
}

.brands-slider .slider-dots {
    position: static;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.brands-slider .slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.brands-slider .slider-dot.active {
    background: var(--accent);
    transform: scale(1.3);
}

/* ========================================
   Production Slider
======================================== */
.production-slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.production-slider .slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.production-slider .slider-slide {
    flex: 0 0 100%;
}

.production-slider .slider-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.production-slider .slider-prev,
.production-slider .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.production-slider .slider-prev:hover,
.production-slider .slider-next:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.production-slider .slider-prev { left: 16px; }
.production-slider .slider-next { right: 16px; }

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

/* About page slider adjustments */
.about-image .production-slider .slider-slide img {
    height: 350px;
}

/* Tab production slider */
.tab-panel .production-slider {
    margin-bottom: 24px;
}

.tab-panel .production-slider .slider-slide img {
    height: 300px;
}

/* ========================================
   Chemistry Block
======================================== */
.chemistry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.chemistry-group h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chemistry-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chemistry-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
}

.chemistry-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.chemistry-item h5 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.chemistry-item p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.chemistry-standards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.standard-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-radius: 16px;
    border: 1px solid #d1fae5;
}

.standard-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #22c55e;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.standard-card h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.standard-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ========================================
   Production Features
======================================== */
.production-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.prod-feature {
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.prod-feature strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 4px;
}

/* ========================================
   Brand Logo in Cards
======================================== */
.brand-logo {
    height: 60px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.brand-logo img {
    max-height: 100%;
    max-width: 140px;
    object-fit: contain;
}

/* ========================================
   Responsive: New Components
======================================== */
@media (max-width: 1024px) {
    .catalog-tabs {
        flex-direction: column;
        gap: 8px;
    }
    
    .tab-btn {
        flex-direction: row;
        border-radius: 12px;
        margin-bottom: 0;
        border: 2px solid #e5e7eb;
    }
    
    .tab-btn::after {
        display: none;
    }
    
    .tab-btn.active {
        border-color: var(--accent);
    }
    
    .tab-icon {
        width: 60px;
        height: 60px;
    }
    
    .tab-panels {
        border-radius: 20px;
        margin-top: 16px;
    }
    
    .chemistry-grid {
        grid-template-columns: 1fr;
    }
    
    .production-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        min-width: auto;
    }
    
    .tab-panel-header {
        flex-direction: column;
    }
    
    .tab-panel-badge {
        align-self: flex-start;
    }
    
    .tab-panel-footer {
        flex-direction: column;
    }

    
    .brands-page {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .brand-slide {
        height: 55px;
        padding: 8px 12px;
    }
    
    .brands-slider {
        padding: 20px 40px;
    }
    
    .production-slider .slider-slide img,
    .about-image .production-slider .slider-slide img,
    .tab-panel .production-slider .slider-slide img {
        height: 250px;
    }
    
    .chemistry-standards {
        grid-template-columns: 1fr;
    }
    
    .production-features {
        grid-template-columns: 1fr;
    }
    
    .header-contacts {
        display: none;
    }
    
    .city-selector {
        display: none;
    }
}

@media (max-width: 480px) {
    .brands-page {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .brand-slide {
        height: 50px;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* ========================================
   Header Top Bar (Contacts & City)
======================================== */
.header-top {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 8px 0;
    font-size: 13px;
}

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

.header-contacts {
    display: flex;
    gap: 24px;
    align-items: center;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.header-contact:hover {
    color: var(--accent);
}

.header-contact svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.city-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s;
}

/* City Modal */
.city-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.2s;
}

.city-modal-overlay.visible {
    opacity: 1;
}

.city-modal {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: translateY(20px);
    transition: transform 0.2s;
}

.city-modal-overlay.visible .city-modal {
    transform: translateY(0);
}

.city-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.city-modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.city-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s;
}

.city-modal-close:hover {
    color: var(--text-dark);
}

.city-modal-search {
    padding: 16px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.city-search-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.city-search-input:focus {
    border-color: var(--accent);
}

.city-modal-list {
    padding: 16px;
    max-height: 400px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.city-option {
    padding: 12px 16px;
    background: #f9fafb;
    border: 2px solid transparent;
    border-radius: 10px;
    text-align: left;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s;
}

.city-option:hover {
    background: #f3f4f6;
    border-color: var(--accent);
}

.city-option.active {
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
    border-color: var(--accent);
    font-weight: 600;
}

.city-selector:hover {
    background: #e5e7eb;
    color: var(--text-dark);
}

.city-selector svg {
    width: 14px;
    height: 14px;
}

.city-name {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ========================================
   Scroll Animations
======================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for grids */
.features-grid .animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.features-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.features-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.features-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }

.stats-container .animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.stats-container .animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.stats-container .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.stats-container .animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }

.brands-grid .animate-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.brands-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.brands-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.15s; }
.brands-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.2s; }
.brands-grid .animate-on-scroll:nth-child(5) { transition-delay: 0.25s; }
.brands-grid .animate-on-scroll:nth-child(6) { transition-delay: 0.3s; }

/* ========================================
   Packaging Page
======================================== */
.packaging-section {
    padding: 60px 0;
}

.badge-own {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.packaging-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.packaging-item {
    background: rgba(255,255,255,0.1);
    padding: 24px;
    border-radius: 16px;
}

.packaging-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.packaging-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.packaging-item li {
    color: rgba(255,255,255,0.9);
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
}

.packaging-item li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #fbbf24;
    font-weight: 700;
    font-size: 16px;
}

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

.packaging-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.packaging-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.packaging-card ul {
    flex: 1;
}

.packaging-card .btn-outline {
    margin-top: auto;
    align-self: flex-start;
}

.packaging-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 20px;
}

.packaging-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.packaging-card > p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.packaging-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.packaging-card li {
    padding: 6px 0;
    color: var(--text-muted);
    font-size: 13px;
    padding-left: 20px;
    position: relative;
}

.packaging-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

/* ========================================
   How to Order Page
======================================== */
.how-to-order-section {
    padding: 60px 0;
}

.order-steps {
    max-width: 800px;
    margin: 0 auto 80px;
}

.order-step {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
}

.order-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 28px;
    top: 70px;
    bottom: -28px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), #e5e7eb);
}

.step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: white;
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
    padding-top: 8px;
}

.step-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.step-content > p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.step-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.step-features li {
    padding: 8px 0;
    color: var(--text-muted);
    padding-left: 28px;
    position: relative;
}

.step-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: 600;
    font-size: 16px;
}

.step-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.payment-methods {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f9fafb;
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 14px;
}

.payment-method svg {
    color: var(--accent);
}

/* Who We Work With */
.who-we-work-with {
    margin-bottom: 60px;
}

.client-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.client-type {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.client-type-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent);
}

.client-type h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.client-type p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Order Contacts */
.order-contacts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.order-contact-card {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.contact-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.order-contact-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.order-contact-card a {
    color: var(--accent);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
}

.order-contact-card a:hover {
    text-decoration: underline;
}

.order-contact-card p {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0;
}

/* Responsive: Packaging & How to Order */
@media (max-width: 1024px) {
    .packaging-grid,
    .packaging-categories,
    .client-types,
    .order-contacts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .packaging-grid,
    .packaging-categories,
    .client-types,
    .order-contacts {
        grid-template-columns: 1fr;
    }
    
    .order-step {
        flex-direction: column;
        gap: 16px;
    }
    
    .order-step:not(:last-child)::after {
        display: none;
    }
    
    .step-number {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

/* ========================================
   Chemistry Page
======================================== */
.page-header-chemistry {
    background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
    padding: 80px 0;
}

.page-header-chemistry h1 {
    color: white;
}

.page-header-chemistry p {
    color: rgba(255,255,255,0.9);
}

.page-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

/* Chemistry Navigation */
.chemistry-nav-section {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.chemistry-nav {
    display: flex;
    gap: 8px;
    padding: 16px 0;
    overflow-x: auto;
}

.chemistry-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #f9fafb;
    border-radius: 12px;
    color: var(--text-muted);
    text-decoration: none;
    border: 2px solid transparent;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s;
}

.chemistry-nav-item:hover {
    background: var(--accent);
    color: white;
}

.chemistry-nav-item.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.chemistry-nav-item svg {
    width: 20px;
    height: 20px;
}

/* Chemistry Category Section */
.chemistry-category-section {
    padding: 80px 0;
}

.chemistry-category-alt {
    background: #f9fafb;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.section-badge-green {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #059669;
}

.section-badge-purple {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    color: #7c3aed;
}

/* Chemistry Products Grid */
.chemistry-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.chemistry-product-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
}

.chemistry-product-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.chemistry-product-icon.danger {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    color: #dc2626;
}

.chemistry-product-icon.corrosive {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
}

.chemistry-product-icon.cleaning {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #2563eb;
}

.chemistry-product-icon.medical {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #059669;
}

.chemistry-product-icon.special {
    background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
    color: #9333ea;
}

.chemistry-product-icon.auto {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    color: #4f46e5;
}

.chemistry-product-icon.water {
    background: linear-gradient(135deg, #cffafe, #a5f3fc);
    color: #0891b2;
}

.chemistry-product-icon.galvanic {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #ca8a04;
}

.chemistry-product-icon.lab {
    background: linear-gradient(135deg, #fce7f3, #fbcfe8);
    color: #db2777;
}

.chemistry-product-icon.salt {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    color: #6b7280;
}

.chemistry-product-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.chemistry-product-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.chemistry-product-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.chemistry-product-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
    color: var(--text-muted);
}

.chemistry-product-list li:last-child {
    border-bottom: none;
}

.chemistry-product-list li strong {
    color: var(--text-dark);
}

.chemistry-product-packaging {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
}

.chemistry-product-packaging > span {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

.packaging-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.packaging-options span {
    padding: 4px 12px;
    background: white;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    border: 1px solid #e5e7eb;
}

/* Chemistry Standards Section */
.chemistry-standards-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #5b21b6 100%);
}

.chemistry-standards-section .section-header h2,
.chemistry-standards-section .section-header p {
    color: white;
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.standard-big-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(255,255,255,0.2);
}

.standard-big-icon {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 20px;
}

.standard-big-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.standard-big-card p {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* Responsive: Chemistry */
@media (max-width: 1024px) {
    .chemistry-products-grid,
    .standards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .chemistry-nav {
        gap: 8px;
        padding: 12px 0;
    }
    
    .chemistry-nav-item {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .chemistry-product-card {
        padding: 24px;
    }
    
    .page-header-chemistry {
        padding: 60px 0;
    }
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   - Large Desktop: > 1440px
   - Desktop: 1024px - 1440px
   - Tablet: 768px - 1024px
   - Large Phone: 480px - 768px
   - Small Phone: < 480px
======================================== */

/* === LARGE DESKTOP (>1440px) === */
@media (min-width: 1441px) {
    .container {
        max-width: 1400px;
    }
    
    .hero h1 {
        font-size: 64px;
    }
    
    .hero p {
        font-size: 22px;
    }
    
    .section-header h2 {
        font-size: 48px;
    }
    
    .features-grid {
        gap: 32px;
    }
    
    .feature-box {
        padding: 40px;
    }
    
    .brands-page {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .stat-num {
        font-size: 64px;
    }
}

/* === DESKTOP (1024px - 1440px) === */
@media (min-width: 1024px) and (max-width: 1440px) {
    .container {
        max-width: 1200px;
        padding: 0 32px;
    }
    
    .hero h1 {
        font-size: 52px;
    }
    
    .brands-page {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* === TABLET (768px - 1024px) === */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 42px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-img {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .brands-page {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .brand-slide {
        height: 60px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tab-btn {
        padding: 16px 12px;
    }
    
    .tab-icon {
        width: 60px;
        height: 60px;
    }
    
    .tab-btn span {
        font-size: 14px;
    }
    
    .chemistry-standards {
        grid-template-columns: 1fr;
    }
    
    .order-steps {
        max-width: 100%;
    }
    
    .client-types,
    .order-contacts {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* === LARGE PHONE (480px - 768px) === */
@media (min-width: 480px) and (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    body {
        font-size: 15px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 15px;
    }
    
    .catalog-section {
        padding: 50px 0 30px;
    }
    
    .features-section {
        padding: 40px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .feature-box {
        padding: 24px;
        flex-direction: row;
        text-align: left;
        gap: 16px;
    }
    
    .feature-icon {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
    }
    
    .catalog-tabs {
        flex-direction: column;
        gap: 8px;
    }
    
    .tab-btn {
        flex-direction: row;
        border-radius: 16px;
        padding: 16px 20px;
        gap: 16px;
    }
    
    .tab-btn.active {
        border-radius: 16px;
        margin-bottom: 0;
    }
    
    .tab-icon {
        width: 50px;
        height: 50px;
    }
    
    .tab-panels {
        border-radius: 16px;
        padding: 24px 16px;
        margin-top: 8px;
    }
    
    .brands-page {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .brand-slide {
        height: 55px;
        padding: 8px 10px;
    }
    
    .brands-slider {
        padding: 16px 40px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .stat-num {
        font-size: 36px;
    }
    
    .req-card {
        padding: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-col .logo {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .chemistry-standards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .standard-card {
        padding: 16px;
    }
    
    .packaging-categories,
    .brands-grid {
        grid-template-columns: 1fr;
    }
    
    .order-step {
        gap: 20px;
    }
    
    .client-types,
    .order-contacts {
        grid-template-columns: 1fr;
    }
    
    .city-modal-list {
        grid-template-columns: 1fr;
    }
}

/* === SMALL PHONE (<480px) === */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    body {
        font-size: 14px;
    }
    
    .hero {
        padding: 30px 0;
    }
    
    .hero h1 {
        font-size: 26px;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        width: 100%;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .section-header p {
        font-size: 14px;
    }
    
    .partners-strip {
        padding: 20px 0;
    }
    
    .partners-grid {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .partner-badge {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .catalog-section {
        padding: 40px 0 20px;
    }
    
    .features-section {
        padding: 30px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .feature-box {
        padding: 20px;
        flex-direction: row;
        text-align: left;
        gap: 14px;
    }
    
    .feature-icon {
        width: 44px;
        height: 44px;
    }
    
    .feature-box h4 {
        font-size: 15px;
    }
    
    .feature-box p {
        font-size: 13px;
    }
    
    .catalog-tabs {
        flex-direction: column;
        gap: 8px;
    }
    
    .tab-btn {
        flex-direction: row;
        border-radius: 14px;
        padding: 14px 16px;
        gap: 14px;
    }
    
    .tab-btn.active {
        border-radius: 14px;
        margin-bottom: 0;
    }
    
    .tab-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }
    
    .tab-btn span {
        font-size: 14px;
    }
    
    .tab-panels {
        border-radius: 14px;
        padding: 20px 14px;
        margin-top: 8px;
    }
    
    .tab-panel-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .tab-panel-header h3 {
        font-size: 18px;
    }
    
    .tab-panel-header p {
        font-size: 14px;
    }
    
    .tab-panel-badge {
        padding: 8px 14px;
        font-size: 12px;
        align-self: flex-start;
    }
    
    .tab-panel-footer {
        flex-direction: column;
        gap: 12px;
    }

    
    .tab-panel-footer .btn-primary,
    .tab-panel-footer .btn-outline {
        width: 100%;
        text-align: center;
    }

    .tab-panel-footer.tires-footer .btn-primary,
    .tab-panel-footer.tires-footer .btn-outline {
        width: auto;
    }
    
    .brands-page {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .brand-slide {
        height: 48px;
        padding: 6px 8px;
        border-radius: 8px;
    }
    
    .brands-slider {
        padding: 12px 35px;
    }
    
    .brands-slider .slider-prev,
    .brands-slider .slider-next {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .chemistry-grid {
        gap: 20px;
    }
    
    .chemistry-group h4 {
        font-size: 14px;
    }
    
    .chemistry-item h5 {
        font-size: 14px;
    }
    
    .chemistry-item p {
        font-size: 12px;
    }
    
    .chemistry-standards {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .standard-card {
        padding: 14px;
        gap: 12px;
    }
    
    .standard-icon {
        width: 40px;
        height: 40px;
    }
    
    .standard-card h5 {
        font-size: 14px;
    }
    
    .standard-card p {
        font-size: 12px;
    }
    
    .production-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .prod-feature {
        padding: 12px 14px;
        font-size: 13px;
    }
    
    .stats-section {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-num {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .req-card {
        padding: 20px;
        border-radius: 16px;
    }
    
    .req-card h3 {
        font-size: 20px;
    }
    
    .req-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .req-actions .btn-primary,
    .req-actions .btn-outline {
        width: 100%;
        text-align: center;
    }
    
    .req-list {
        gap: 12px;
    }
    
    .req-list dt {
        font-size: 11px;
    }
    
    .req-list dd {
        font-size: 13px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
    
    .footer-col .logo img {
        margin: 0 auto;
    }
    
    .footer-col h5 {
        font-size: 15px;
    }
    
    .footer-col ul li a {
        font-size: 14px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        font-size: 12px;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-bottom-links a {
        font-size: 12px;
    }
    
    /* Page headers */
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .page-header p {
        font-size: 14px;
    }
    
    /* Brands page */
    .brands-intro p {
        font-size: 14px;
    }
    
    .brands-category h2 {
        font-size: 20px;
    }
    
    .brand-card {
        padding: 20px;
    }
    
    .brand-logo {
        height: 50px;
    }
    
    .brand-card h3 {
        font-size: 16px;
    }
    
    /* How to order */
    .step-number {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .step-content h3 {
        font-size: 18px;
    }
    
    .step-actions {
        flex-direction: column;
    }
    
    .step-actions .btn-primary,
    .step-actions .btn-outline {
        width: 100%;
        text-align: center;
    }
    
    /* Packaging */
    .packaging-card {
        padding: 20px;
    }
    
    .packaging-card-icon {
        width: 48px;
        height: 48px;
    }
    
    .packaging-card h3 {
        font-size: 16px;
    }
    
    /* Chemistry */
    .chemistry-nav-item {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .chemistry-product-card {
        padding: 20px;
    }
    
    .chemistry-product-icon {
        width: 52px;
        height: 52px;
    }
    
    .chemistry-product-card h3 {
        font-size: 17px;
    }
    
    .packaging-options span {
        padding: 3px 8px;
        font-size: 11px;
    }
    
    /* City modal */
    .city-modal {
        width: 95%;
        max-height: 85vh;
    }
    
    .city-modal-header {
        padding: 16px 20px;
    }
    
    .city-modal-header h3 {
        font-size: 16px;
    }
    
    .city-modal-search {
        padding: 12px 20px;
    }
    
    .city-search-input {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .city-modal-list {
        grid-template-columns: 1fr;
        padding: 12px;
        max-height: 350px;
    }
    
    .city-option {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    /* Header top on small phones */
    .header-top {
        padding: 6px 0;
    }
    
    .header-contacts {
        gap: 12px;
    }
    
    .header-contact {
        font-size: 12px;
    }
    
    .header-contact svg {
        width: 14px;
        height: 14px;
    }
    
    .city-selector {
        font-size: 12px;
    }
}
