/* ==========================================================================
   1. ПЕРЕМЕННЫЕ И СИСТЕМНЫЕ СТИЛИ
   ========================================================================== */

:root {
    --dark-bg: #1a1f2b;
    --darker-bg: #131820;
    --accent-red: #f04132;
    --accent-yellow: #ffc107;
    --white: #ffffff;
    --light-gray: #f5f6f8;
    --text-dark: #1e2330;
    --text-gray: #6c757d;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 12px 35px rgba(0, 0, 0, 0.15);
    --border-subtle: #e9ecef;
    --admin-line: rgba(255, 255, 255, 0.08);
    --admin-muted: rgba(255, 255, 255, 0.56);
    --admin-blue: #4b8dff;
    --admin-green: #21d36b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==========================================================================
   2. ТИПОГРАФИКА И ОБЩИЕ ЭЛЕМЕНТЫ
   ========================================================================== */

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.02em;
    line-height: 1;
}

h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    letter-spacing: 0.03em;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    letter-spacing: 0.03em;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent-red);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-weight: 400;
    margin-bottom: 3rem;
    display: block;
}

/* ==========================================================================
   3. АНИМАЦИИ ПРИ СКРОЛЛЕ (REVEAL)
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.2s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.4s; }
.reveal-delay-4 { transition-delay: 0.5s; }

/* ==========================================================================
   4. НАВИГАЦИЯ (NAVBAR)
   ========================================================================== */

.navbar {
    background-color: rgba(26, 31, 43, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(19, 24, 32, 0.98);
}

.navbar-brand {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    color: var(--white) !important;
    font-weight: 400;
}

.navbar-brand span {
    color: var(--accent-red);
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 8px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-red) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent-red);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 70%;
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 4px 8px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.phone-header {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.phone-header:hover {
    color: var(--accent-red);
}

.phone-header i {
    color: var(--accent-red);
    margin-right: 8px;
    font-size: 0.9rem;
}

/* ==========================================================================
   5. HERO СЕКЦИЯ
   ========================================================================== */

.hero-section {
    background-color: var(--dark-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    pointer-events: none;
}

.hero-glow.red {
    background-color: var(--accent-red);
    top: -200px;
    right: -200px;
}

.hero-glow.yellow {
    background-color: var(--accent-yellow);
    bottom: -250px;
    left: -150px;
    opacity: 0.1;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    color: var(--white);
    letter-spacing: 0.04em;
    line-height: 0.95;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--accent-red);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.7;
}

.btn-hero {
    background-color: var(--accent-red);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 40px;
    border: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-hero:hover {
    background-color: #d9362a;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(240, 65, 50, 0.3);
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-isometric {
    width: 100%;
    height: 100%;
    position: relative;
}

/* ==========================================================================
   6. СЕКЦИЯ СТАТИСТИКИ (КЛЮЧЕВЫЕ ЦИФРЫ)
   ========================================================================== */

.stats-section {
    background-color: var(--white);
    padding: 80px 0;
    position: relative;
    z-index: 2;
    margin-top: -40px;
}

.stats-card {
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
}

.stats-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4.5rem;
    color: var(--accent-red);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: 0.03em;
}

.stats-label {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 500;
    max-width: 200px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ==========================================================================
   7. СЕКЦИЯ КОМПЕТЕНЦИЙ
   ========================================================================== */

.competencies-section {
    background-color: var(--light-gray);
    padding: 90px 0;
}

.comp-card {
    background: var(--white);
    padding: 35px 30px;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.comp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent-red);
    transition: width 0.3s ease;
}

.comp-card.bottom-line::before {
    top: auto;
    bottom: 0;
}

.comp-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: transparent;
}

.comp-card:hover::before {
    width: 100%;
}

.comp-icon {
    width: 60px;
    height: 60px;
    border: 2px solid var(--accent-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 10px;
}

.comp-card:hover .comp-icon {
    background-color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    color: var(--text-dark);
}

.comp-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.comp-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ==========================================================================
   8. СЕКЦИЯ ТОВАРОВ / УСЛУГ (SERVICES)
   ========================================================================== */

.services-section {
    background-color: var(--white);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.services-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 30%, rgba(240, 65, 50, 0.03) 0%, transparent 50%),
                      radial-gradient(circle at 80% 70%, rgba(255, 193, 7, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.services-section .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 320px;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    z-index: 1;
    background: linear-gradient(135deg, #1a1f2b 0%, #2a3040 100%);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.service-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 0;
}

.service-card:hover .service-card-image {
    opacity: 0.75;
    transform: scale(1.05);
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.05) 100%);
    z-index: 1;
    transition: background 0.4s ease;
}

.service-card:hover .service-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0.1) 100%);
}

.service-card-content {
    position: relative;
    z-index: 2;
}

.service-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    transition: all 0.4s ease;
}

.service-card:hover .service-card-icon {
    background: var(--accent-red);
    border-color: var(--accent-red);
    box-shadow: 0 8px 25px rgba(240, 65, 50, 0.4);
    transform: translateY(-3px);
}

.service-card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    color: var(--white);
    letter-spacing: 0.03em;
    margin-bottom: 8px;
    line-height: 1.1;
    transition: color 0.3s ease;
}

.service-card:hover .service-card-title {
    color: var(--accent-yellow);
}

.service-card-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.service-card:hover .service-card-desc {
    color: rgba(255, 255, 255, 0.9);
}

.service-card.gradient-1 { background: linear-gradient(135deg, #1a1f2b 0%, #2c3e50 100%); }
.service-card.gradient-2 { background: linear-gradient(135deg, #1a1f2b 0%, #3d2c3a 100%); }
.service-card.gradient-3 { background: linear-gradient(135deg, #1a1f2b 0%, #2a3a4a 100%); }
.service-card.gradient-4 { background: linear-gradient(135deg, #1a1f2b 0%, #3a2c2c 100%); }
.service-card.gradient-5 { background: linear-gradient(135deg, #1a1f2b 0%, #2c3a3a 100%); }
.service-card.gradient-6 { background: linear-gradient(135deg, #1a1f2b 0%, #3a352c 100%); }

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--accent-red);
    z-index: 3;
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover::after {
    width: 100%;
}

/* ==========================================================================
   9. ПРОЦЕСС РАБОТЫ
   ========================================================================== */

.process-section {
    background-color: var(--dark-bg);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.process-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.process-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.process-glow.center {
    background-color: var(--accent-red);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.process-section .section-title {
    color: var(--white);
    position: relative;
    z-index: 2;
}

.process-section .section-title::after {
    background-color: var(--accent-yellow);
}

.process-section .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 2;
}

.step-item {
    text-align: center;
    position: relative;
    padding: 20px;
    z-index: 2;
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
}

.step-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.step-item:hover .step-number {
    color: rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 40px rgba(240, 65, 50, 0.3);
}

.step-circle {
    width: 60px;
    height: 60px;
    border: 3px solid var(--accent-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.3rem;
    color: var(--accent-red);
    background-color: rgba(240, 65, 50, 0.1);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step-item:hover .step-circle {
    background-color: var(--accent-red);
    color: var(--white);
    border-color: var(--accent-red);
    box-shadow: 0 0 30px rgba(240, 65, 50, 0.4);
}

.step-title {
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.step-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

.process-line {
    position: absolute;
    top: -5%;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-yellow), var(--accent-red));
    z-index: 1;
    transition: width 1.5s ease;
}

.process-line.animated {
    width: 100%;
}

/* ==========================================================================
   10. БЕНТО-ГРИД (ПОЧЕМУ МЫ) + ПЛЕЙСХОЛДЕРЫ
   ========================================================================== */

.why-section {
    padding: 80px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.bento-item {
    padding: 35px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-item.large {
    grid-row: span 2;
    background-color: var(--light-gray);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
}

.bento-item.large::after {
    content: '\f071';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: -20px;
    right: -10px;
    font-size: 8rem;
    color: rgba(0, 0, 0, 0.03);
    pointer-events: none;
    z-index: 0;
}

.bento-item.large > * {
    position: relative;
    z-index: 1;
}

.bento-item.accent {
    background-color: var(--accent-red);
    color: var(--white);
    border-radius: 20px;
    animation: subtlePulse 4s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% { background-color: var(--accent-red); }
    50% { background-color: #e8382a; }
}

.bento-item.image-placeholder, .image-placeholder {
    background-color: var(--light-gray);
    border: 2px dashed var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-size: 0.9rem;
    min-height: 180px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.bento-item.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.4) 50%, transparent 60%);
    animation: placeholderShine 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes placeholderShine {
    0% { transform: translateX(-100%) translateY(-100%); }
    100% { transform: translateX(100%) translateY(100%); }
}

.bento-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

.bento-title {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.bento-item.accent .bento-title {
    font-size: 1.5rem;
}

.bento-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bento-list li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.bento-list li::before {
    content: '✕';
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--accent-red);
    font-weight: 700;
    font-size: 0.8rem;
}

.bento-item.accent .bento-list li {
    color: rgba(255, 255, 255, 0.9);
}

.bento-item.accent .bento-list li::before {
    content: '✓';
    color: var(--accent-yellow);
}

/* ==========================================================================
   11. CTA (ФОРМА ОБРАТНОЙ СВЯЗИ) И УВЕДОМЛЕНИЯ
   ========================================================================== */

.cta-section {
    background-color: var(--darker-bg);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.cta-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    color: var(--white);
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.form-cta input {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 14px 18px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-cta input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-cta input:focus {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-red);
    color: var(--white);
    outline: none;
    box-shadow: 0 0 0 3px rgba(240, 65, 50, 0.2);
}

.btn-cta {
    background-color: var(--accent-red);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 30px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-cta:hover {
    background-color: #d9362a;
    color: var(--white);
    box-shadow: 0 8px 25px rgba(240, 65, 50, 0.3);
}

.btn-cta:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-message {
    display: none;
    margin-top: 14px;
    padding: 13px 15px;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.45;
}

.form-message.success {
    display: block;
    color: #d9ffe8;
    background: rgba(28, 199, 105, 0.16);
    border: 1px solid rgba(28, 199, 105, 0.3);
}

.form-message.error {
    display: block;
    color: #ffe0e0;
    background: rgba(240, 65, 50, 0.16);
    border: 1px solid rgba(240, 65, 50, 0.32);
}

/* ==========================================================================
   12. СЕКЦИЯ КОНТАКТОВ
   ========================================================================== */

.contact-section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: var(--darker-bg);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-section .section-title {
    color: var(--white);
}

.contact-section .section-title::after {
    background-color: var(--accent-yellow);
}

.contact-section .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.contact-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    cursor: pointer;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    transition: all 0.5s ease;
    z-index: 0;
    opacity: 0;
}

.contact-card:hover::before {
    width: 400px;
    height: 400px;
    opacity: 0.06;
}

/* Эффекты свечения соцсетей */
.contact-card.telegram::before { background: #0088cc; }
.contact-card.viber::before { background: #7360f2; }
.contact-card.vk::before { background: #0077ff; }
.contact-card.email::before { background: var(--accent-red); }

.contact-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    transition: all 0.4s ease;
}

.contact-card.telegram:hover .contact-icon {
    background: #0088cc;
    border-color: #0088cc;
    box-shadow: 0 10px 35px rgba(0, 136, 204, 0.5);
    color: #fff;
}

.contact-card.viber:hover .contact-icon {
    background: #7360f2;
    border-color: #7360f2;
    box-shadow: 0 10px 35px rgba(115, 96, 242, 0.5);
    color: #fff;
}

.contact-card.vk:hover .contact-icon {
    background: #0077ff;
    border-color: #0077ff;
    box-shadow: 0 10px 35px rgba(0, 119, 255, 0.5);
    color: #fff;
}

.contact-card.email:hover .contact-icon {
    background: var(--accent-red);
    border-color: var(--accent-red);
    box-shadow: 0 10px 35px rgba(240, 65, 50, 0.5);
    color: #fff;
}

.contact-card-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.contact-card-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
    word-break: break-all;
}

.contact-card:hover .contact-card-text {
    color: rgba(255, 255, 255, 0.85);
}

/* Блок с номером телефона */
.contact-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    margin-top: 20px;
}

.contact-phone-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    box-shadow: 0 8px 30px rgba(240, 65, 50, 0.35);
    flex-shrink: 0;
}

.contact-phone-info {
    text-align: left;
}

.contact-phone-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

.contact-phone-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--white);
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1;
}

.contact-phone-number:hover {
    color: var(--accent-red);
}

/* ==========================================================================
   13. ФУТЕР (ПОДВАЛ САЙТА)
   ========================================================================== */

.footer {
    background-color: var(--darker-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0 20px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-brand {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--white);
    letter-spacing: 0.05em;
}

.footer-brand span {
    color: var(--accent-red);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-contact a:hover {
    color: var(--accent-red);
}

.footer-contact i {
    color: var(--accent-red);
    width: 20px;
    margin-right: 10px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 30px;
    padding-top: 20px;
    font-size: 0.85rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 8px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--accent-red);
}

.footer-nav-title {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   14. МОДАЛЬНЫЕ ОКНА
   ========================================================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(19, 24, 32, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1050;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--dark-bg);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    color: var(--white);
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
    margin: auto; /* Добавлено центрирование */
    top: 50%; /* Добавлено центрирование */
    transform: translateY(-50%); /* Добавлено центрирование */
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 1.5rem;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--accent-red);
}

.modal h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-align: center;
}

.modal p {
    color: rgba(255,255,255,0.7);
    text-align: center;
    margin-bottom: 20px;
}

.modal-step {
    display: none;
}

.modal-step.active {
    display: block;
}

.modal-input {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: var(--white) !important;
    padding: 12px 15px !important;
    margin-bottom: 15px;
    width: 100%;
}

.modal-input:focus {
    border-color: var(--accent-red) !important;
    outline: none;
}

.modal-btn {
    width: 100%;
    margin-top: 10px;
    padding: 12px !important;
    font-size: 0.9rem !important;
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: none;
    cursor: pointer;
}

.modal-message {
    margin-top: 25px;
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    display: none;
    min-height: 55px;
    align-items: center;
    justify-content: center;
    animation: messageFadeIn 0.3s ease;
}

@keyframes messageFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-message.success {
    background: rgba(76, 175, 80, 0.15);
    color: #66bb6a;
    border: 1px solid rgba(76, 175, 80, 0.3);
    display: flex;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
}

.modal-message.error {
    background: rgba(244, 67, 54, 0.15);
    color: #ef5350;
    border: 1px solid rgba(244, 67, 54, 0.3);
    display: flex;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.1);
}

.modal-message.info {
    background: rgba(33, 150, 243, 0.15);
    color: #42a5f5;
    border: 1px solid rgba(33, 150, 243, 0.3);
    display: flex;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.1);
}

.modal-content {
    padding: 40px 30px 35px;
}

.modal h3 {
    margin-bottom: 25px;
}

.modal p {
    margin-bottom: 25px;
    line-height: 1.6;
}

.modal-input {
    margin-bottom: 18px;
}

.modal-btn {
    margin-top: 15px;
}

#step2 .modal-btn {
    margin-top: 12px;
}

#step2 .btn-secondary {
    margin-top: 8px;
}


/* ==========================================================================
   15. СТИЛИ ДЛЯ СТРАНИЦЫ АВТОРИЗАЦИИ АДМИНКИ (body.admin-login-page)
   ========================================================================== */
body.admin-login-page {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 82% 8%, rgba(240, 65, 50, 0.22), transparent 30%), 
                radial-gradient(circle at 12% 90%, rgba(255, 193, 7, 0.12), transparent 28%), 
                #1a1f2b; /* --dark-bg */
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    padding: 24px;
}

body.admin-login-page .login-card {
    width: min(430px, 100%);
    background: rgba(19, 24, 32, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    padding: 34px;
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
}

body.admin-login-page .login-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, #f04132, #ffc107);
}

body.admin-login-page .brand {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 26px;
}

body.admin-login-page .brand-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(240, 65, 50, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f04132;
    box-shadow: inset 0 0 0 1px rgba(240, 65, 50, 0.24);
}

body.admin-login-page .brand-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 31px;
    letter-spacing: .05em;
    line-height: 1;
}

body.admin-login-page .brand-title span {
    color: #f04132;
}

body.admin-login-page .brand-subtitle {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    margin-top: 4px;
}

body.admin-login-page h1 {
    margin: 0 0 8px;
    font-size: 28px;
    letter-spacing: -.03em;
}

body.admin-login-page p {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.55;
}

body.admin-login-page label {
    display: block;
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

body.admin-login-page input {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 15px 16px;
    color: #ffffff;
    outline: none;
    font-size: 15px;
    margin-bottom: 16px;
}

body.admin-login-page input:focus {
    border-color: rgba(240, 65, 50, 0.75);
    box-shadow: 0 0 0 4px rgba(240, 65, 50, 0.13);
}

body.admin-login-page button {
    width: 100%;
    border: 0;
    border-radius: 14px;
    padding: 15px 18px;
    color: #fff;
    background: #f04132;
    font-weight: 800;
    cursor: pointer;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: .2s;
}

body.admin-login-page button:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

body.admin-login-page .error {
    background: rgba(240, 65, 50, 0.13);
    color: #ffd1cd;
    border: 1px solid rgba(240, 65, 50, 0.28);
    padding: 12px 14px;
    border-radius: 14px;
    margin-bottom: 16px;
    font-size: 14px;
}

body.admin-login-page .hint {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 12px;
    text-align: center;
}


/* ==========================================================================
   16. СТИЛИ ДЛЯ ПАНЕЛИ УПРАВЛЕНИЯ (body.admin-dashboard-page)
   ========================================================================== */
body.admin-dashboard-page {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at 86% 0%, rgba(240, 65, 50, 0.16), transparent 28%), 
                radial-gradient(circle at 12% 24%, rgba(255, 193, 7, 0.08), transparent 26%), 
                #1a1f2b; 
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

body.admin-dashboard-page a {
    color: inherit;
    text-decoration: none;
}

body.admin-dashboard-page button, 
body.admin-dashboard-page input, 
body.admin-dashboard-page select, 
body.admin-dashboard-page textarea {
    font-family: inherit;
}

body.admin-dashboard-page .topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    min-height: 76px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(19, 24, 32, 0.95);
    backdrop-filter: blur(16px);
}

body.admin-dashboard-page .wrap {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
}

body.admin-dashboard-page .topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

body.admin-dashboard-page .brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

body.admin-dashboard-page .brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(240, 65, 50, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f04132;
    box-shadow: inset 0 0 0 1px rgba(240, 65, 50, 0.24), 0 14px 34px rgba(0, 0, 0, 0.24);
}

body.admin-dashboard-page .brand-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 30px;
    letter-spacing: .05em;
    line-height: 1;
}

body.admin-dashboard-page .brand-title span {
    color: #f04132;
}

body.admin-dashboard-page .brand-subtitle {
    color: rgba(255, 255, 255, 0.48);
    font-size: 12px;
    margin-top: 2px;
    font-weight: 600;
}

body.admin-dashboard-page .top-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

body.admin-dashboard-page .pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--admin-line);
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
    font-size: 13px;
}

body.admin-dashboard-page .pill i {
    color: #f04132;
}

body.admin-dashboard-page .page {
    padding: 78px 0 54px;
}

body.admin-dashboard-page .title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 24px;
}

body.admin-dashboard-page h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 52px;
    line-height: .95;
    letter-spacing: .04em;
    margin: 0 0 10px;
}

body.admin-dashboard-page h1 span {
    color: #f04132;
}

body.admin-dashboard-page .lead {
    color: var(--admin-muted);
    font-size: 15px;
    margin: 0;
    line-height: 1.65;
    max-width: 780px;
}

body.admin-dashboard-page .stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

body.admin-dashboard-page .stat-badge {
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid var(--admin-line);
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

body.admin-dashboard-page .stat-badge strong {
    color: #f04132;
}

body.admin-dashboard-page .panel {
    background: rgba(19, 24, 32, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 26px 76px rgba(0, 0, 0, 0.34);
    overflow: hidden;
}

body.admin-dashboard-page .panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

body.admin-dashboard-page .tabs {
    display: flex;
    gap: 0;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(0, 0, 0, 0.14);
    border-radius: 13px;
    flex-wrap: wrap;
}

body.admin-dashboard-page .tab {
    padding: 8px 15px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.62);
    font-weight: 800;
    font-size: 13px;
    transition: .2s;
}

body.admin-dashboard-page .tab:hover, 
body.admin-dashboard-page .tab.active {
    background: rgba(240, 65, 50, 0.16);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(240, 65, 50, 0.28);
}

body.admin-dashboard-page .admin-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

body.admin-dashboard-page .updated {
    color: rgba(255, 255, 255, 0.48);
    font-size: 13px;
    white-space: nowrap;
}

body.admin-dashboard-page .sort-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

body.admin-dashboard-page .sort-form label {
    color: rgba(255, 255, 255, 0.48);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

body.admin-dashboard-page .sort-form select, 
body.admin-dashboard-page .status-select, 
body.admin-dashboard-page .comment-field {
    color: #fff;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    outline: none;
}

body.admin-dashboard-page .sort-form select {
    padding: 9px 34px 9px 12px;
    font-size: 13px;
    font-weight: 700;
}

body.admin-dashboard-page .sort-btn {
    border: 0;
    cursor: pointer;
    border-radius: 12px;
    color: #fff;
    background: #f04132;
    padding: 10px 13px;
    font-weight: 800;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: .2s;
}

body.admin-dashboard-page .sort-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

body.admin-dashboard-page .table-wrap {
    overflow-x: auto;
}

body.admin-dashboard-page table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1240px;
}

body.admin-dashboard-page th {
    text-align: left;
    padding: 18px 20px 13px;
    color: #f04132;
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .055em;
    font-weight: 800;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

body.admin-dashboard-page td {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.045);
    color: rgba(255, 255, 255, 0.76);
    vertical-align: top;
    font-size: 14px;
}

body.admin-dashboard-page tr:last-child td {
    border-bottom: none;
}

body.admin-dashboard-page tr.active-row {
    background: linear-gradient(90deg, rgba(240, 65, 50, 0.13), rgba(240, 65, 50, 0.03));
    box-shadow: inset 3px 0 0 #f04132;
}

body.admin-dashboard-page tr.progress-row {
    background: linear-gradient(90deg, rgba(75, 141, 255, 0.12), rgba(75, 141, 255, 0.03));
    box-shadow: inset 3px 0 0 var(--admin-blue);
}

body.admin-dashboard-page tr.waiting-row {
    background: linear-gradient(90deg, rgba(255, 193, 7, 0.12), rgba(255, 193, 7, 0.03));
    box-shadow: inset 3px 0 0 #ffc107;
}

body.admin-dashboard-page tr.completed-row {
    opacity: .74;
}

body.admin-dashboard-page .id-cell {
    color: rgba(255, 255, 255, 0.42);
    font-weight: 800;
    white-space: nowrap;
}

body.admin-dashboard-page .date-cell {
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.66);
}

body.admin-dashboard-page .person {
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

body.admin-dashboard-page .contact-line {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
    margin-top: 5px;
}

body.admin-dashboard-page .contact-line i {
    color: #f04132;
    width: 14px;
}

body.admin-dashboard-page .message {
    max-width: 300px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
    word-break: break-word;
}

body.admin-dashboard-page .status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    margin-bottom: 10px;
}

body.admin-dashboard-page .status-active {
    background: rgba(240, 65, 50, 0.14);
    color: #ffd8d5;
    border: 1px solid rgba(240, 65, 50, 0.22);
}

body.admin-dashboard-page .status-progress {
    background: rgba(75, 141, 255, 0.14);
    color: #d8e7ff;
    border: 1px solid rgba(75, 141, 255, 0.2);
}

body.admin-dashboard-page .status-waiting {
    background: rgba(255, 193, 7, 0.13);
    color: #ffe8a3;
    border: 1px solid rgba(255, 193, 7, 0.23);
}

body.admin-dashboard-page .status-completed {
    background: rgba(33, 211, 107, 0.12);
    color: #bfffd8;
    border: 1px solid rgba(33, 211, 107, 0.18);
}

body.admin-dashboard-page .status-select {
    width: 190px;
    padding: 10px 12px;
    font-weight: 800;
    margin-top: 2px;
}

body.admin-dashboard-page .mail {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
}

body.admin-dashboard-page .mail.sent i {
    color: var(--admin-green);
}

body.admin-dashboard-page .mail.error i {
    color: #ffc107;
}

body.admin-dashboard-page .mail.not_sent i {
    color: rgba(255, 255, 255, 0.42);
}

body.admin-dashboard-page .comment-field {
    width: 270px;
    min-height: 96px;
    padding: 12px;
    resize: vertical;
    line-height: 1.45;
}

body.admin-dashboard-page .comment-field:focus, 
body.admin-dashboard-page .status-select:focus, 
body.admin-dashboard-page .sort-form select:focus {
    border-color: rgba(240, 65, 50, 0.72);
    box-shadow: 0 0 0 4px rgba(240, 65, 50, 0.12);
}

body.admin-dashboard-page .actions {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-end;
}

body.admin-dashboard-page .action-form {
    margin: 0;
}

body.admin-dashboard-page .btn {
    border: 0;
    cursor: pointer;
    border-radius: 12px;
    color: #fff;
    padding: 12px 16px;
    font-weight: 800;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: .2s;
    white-space: nowrap;
}

body.admin-dashboard-page .btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

body.admin-dashboard-page .btn-save {
    background: #f04132;
}

body.admin-dashboard-page .btn-red {
    background: rgba(240, 65, 50, 0.12);
    color: #ffd1cd;
    border: 1px solid rgba(240, 65, 50, 0.25);
    width: 48px;
    height: 48px;
    justify-content: center;
    padding: 0;
}

body.admin-dashboard-page .empty {
    padding: 44px 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.52);
}

body.admin-dashboard-page .empty i {
    font-size: 34px;
    color: #f04132;
    margin-bottom: 14px;
}

body.admin-dashboard-page .db-error {
    margin-bottom: 20px;
    background: rgba(240, 65, 50, 0.12);
    color: #ffd1cd;
    border: 1px solid rgba(240, 65, 50, 0.25);
    border-radius: 16px;
    padding: 16px 18px;
    line-height: 1.55;
}

@media (max-width: 900px) {
    body.admin-dashboard-page .wrap {
        width: min(100% - 24px, 1280px);
    }
    body.admin-dashboard-page .topbar-inner, 
    body.admin-dashboard-page .title-row, 
    body.admin-dashboard-page .panel-head {
        align-items: flex-start;
        flex-direction: column;
    }
    body.admin-dashboard-page .page {
        padding-top: 46px;
    }
    body.admin-dashboard-page .top-actions, 
    body.admin-dashboard-page .stats, 
    body.admin-dashboard-page .admin-controls, 
    body.admin-dashboard-page .sort-form {
        justify-content: flex-start;
    }
    body.admin-dashboard-page h1 {
        font-size: 42px;
    }
}
/* ==========================================================================
   17. ГЛОБАЛЬНАЯ АДАПТИВНОСТЬ (MEDIA QUERIES)
   ========================================================================== */

/* --- Брейкпоинт: 991.98px (Планшеты) --- */
@media (max-width: 991.98px) {
    .hero-title { font-size: 3.5rem; }
    .hero-visual { height: 300px; margin-top: 40px; }
    .stats-number { font-size: 3.5rem; }
    .process-line { display: none; }
    .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .bento-item.large { grid-row: span 1; }
    .cta-title, h2, .section-title { font-size: 2.2rem; }
    
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .service-card { min-height: 280px; padding: 24px; }
    .service-card-title { font-size: 1.4rem; }
    
    .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .contact-card { min-height: 190px; padding: 28px 20px; }
    .contact-icon { width: 60px; height: 60px; font-size: 1.5rem; }

    .step-item::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 4px;
        background-color: var(--accent-red);
        border-radius: 50%;
        z-index: 2;
    }
    .step-item:last-child::after { display: none; }
}

/* --- Брейкпоинт: 767.98px (Большие мобильные) --- */
@media (max-width: 767.98px) {
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-visual { height: 250px; margin-top: 30px; }
    .stats-card { padding: 20px 10px; }
    .stats-number { font-size: 3rem; }
    .comp-card { padding: 25px 20px; }
    .step-item { margin-bottom: 30px; }
    .bento-item { padding: 25px; min-height: auto; }
    .cta-section { padding: 50px 0; }
    h2, .section-title { font-size: 2rem; }
    .navbar-brand { font-size: 1.5rem; }
}

/* --- Брейкпоинт: 575.98px (Маленькие мобильные) --- */
@media (max-width: 575.98px) {
    .hero-title { font-size: 2.3rem; }
    .hero-section { min-height: auto; padding: 120px 0 60px; }
    .hero-visual { height: 200px; }
    .stats-number { font-size: 2.5rem; }
    .step-number { font-size: 3.5rem; margin-bottom: -20px; }
    .step-circle { width: 50px; height: 50px; font-size: 1.1rem; }
    
    .services-grid { grid-template-columns: 1fr; gap: 14px; }
    .service-card { min-height: 240px; padding: 24px 20px; }
    .service-card-title { font-size: 1.3rem; }
    
    .contact-grid { grid-template-columns: 1fr; gap: 12px; }
    .contact-card { min-height: 160px; padding: 24px 20px; }
    .contact-bottom { flex-direction: column; text-align: center; gap: 15px; }
    .contact-phone-info { text-align: center; }
    .contact-phone-number { font-size: 1.6rem; }
}