/* ==============================================
   style.css - Основные стили сайта (Mobile First)
   ============================================== */

:root {
    --primary: #0B3B5C;
    --primary-dark: #072A44;
    --primary-light: #1A5F7A;
    --secondary: #ffffff;
    --secondary-dark: #E0911C;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --text-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-gray: #F1F5F9;
    --success: #10B981;
    --error: #EF4444;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    --font-family: 'Inter', sans-serif;
    --container-padding: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 100%;
    padding: 0 var(--container-padding);
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Прелоадер */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--bg-gray);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Кнопка наверх */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Шапка */
.header {
    position: sticky;
    top: 0;
    background: white;
    box-shadow: var(--shadow-md);
    z-index: 1000;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-image {
    height: 35px;
    width: auto;
}

.logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.nav-menu {
    display: none;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: #0c9ff3;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0c9ff3;
    font-size: 1.4rem;
    text-decoration: none;
}

.header-phone-wrapper {
    display: none;
}

.header-phone {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0c9ff3;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-phone i {
    font-size: 1.2rem;
}

.header-work-hours {
    font-size: 0.8rem;
    color: var(--text-light);
}

.header-social {
    display: none;
    gap: 10px;
}

.header-social .social-icon {
    color: #0c9ff3;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.header-social .social-icon:hover {
    color: var(--secondary);
}

.btn-callback {
    display: none;
    background: transparent;
    color: #0c9ff3;
    border: 1px solid #0c9ff3;
    padding: 6px 12px;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.btn-callback:hover {
    background: #0c9ff3;
    color: white;
    border-color: #0c9ff3;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: var(--radius-full);
    transition: 0.3s;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: white;
    z-index: 1001;
    padding: 24px;
    transition: right 0.3s ease;
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-logo img {
    height: 32px;
}

.mobile-logo span {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
}

.mobile-nav-list {
    list-style: none;
    margin-bottom: 30px;
}

.mobile-nav-link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-gray);
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
}

.mobile-contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-phone,
.mobile-email {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}

.mobile-work-hours {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.mobile-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    justify-content: flex-start;
}

.mobile-social a {
    color: var(--primary);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.mobile-social a:hover {
    color: var(--secondary);
}

.mobile-callback {
    display: block;
    width: 100%;
    margin-top: 10px;
    text-align: center;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 16px 28px;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* Hero секция */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 40px 0;
    color: white;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 80%;
}

/* Анимация фона hero – ключевые кадры добавляются динамически из PHP */
@keyframes bgsize {
    from { transform: scale(1); }
    to   { transform: scale(1.01); } /* будет заменено на значение из админки */
}

/* Услуги */
.services {
    padding: 40px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 30px;
    padding: 0 var(--container-padding);
}

.section-subtitle {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.75rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 8px;
    line-height: 1.3;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.service-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: var(--bg-gray);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-icon-wrapper {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-wrapper i {
    font-size: 4rem;
    color: white;
    opacity: 0.9;
}

.service-content {
    padding: 20px 16px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    line-height: 1.4;
}

.service-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.5;
    flex-grow: 1;
}

.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    border-top: 1px solid #edf2f7;
    padding-top: 16px;
}

.service-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.btn-service-order {
    background: none;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-service-order i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.btn-service-order:hover {
    background: var(--primary);
    color: white;
}

.btn-service-order:hover i {
    transform: translateX(4px);
    color: white;
}

/* О компании */
.about {
    padding: 40px 0;
    background: white;
}

.about-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-content {
    text-align: center;
}

.about-text {
    color: var(--text-light);
    margin: 20px 0;
    font-size: 1rem;
    line-height: 1.6;
}

.about-image img {
    width: 100%;
}

/* Контакты */
.contact {
    padding: 40px 0;
    background: var(--bg-light);
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-details {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-text a,
.contact-text p {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
}

.contact-text a:hover {
    color: var(--primary);
}

.contact-map {
    margin-top: 30px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

#company-map,
.contact-map .ymaps-2-1-79-map {
    width: 100% !important;
    height: 350px !important;
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border: none;
    display: block;
}

/* Форма */
.form-card {
    background: white;
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--bg-gray);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(11,59,92,0.1);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.form-checkbox input {
    width: auto;
    flex-shrink: 0;
}

/* Алерты */
.alert {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #D1FAE5;
    color: #065F46;
}

.alert-error {
    background: #FEE2E2;
    color: #991B1B;
}

/* Футер (Минималистичный) */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 50px 0 30px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3 {
    color: var(--secondary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-description {
    color: #94A3B8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social .social-icon {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.footer-social .social-icon:hover {
    color: var(--secondary);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: #94A3B8;
}

.footer-contact li i {
    color: var(--secondary);
    width: 20px;
    margin-top: 3px;
}

.footer-contact a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: white;
}

/* Стили для телефонов в футере */
.footer-contact li .phone-secondary {
    color: #94A3B8;
    font-size: 0.9rem;
}

.footer-contact li .phone-secondary:hover {
    color: #0B3B5C;
}


.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94A3B8;
    font-size: 0.875rem;
}

/* Модальные окна */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    max-width: 400px;
    width: 90%;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.modal-content .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
}

.modal-content .close:hover {
    color: #000;
}

.modal-content h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.modal-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.modal-content .form-group {
    margin-bottom: 15px;
}

.modal-content input[type="text"],
.modal-content input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius-md);
    font-size: 1rem;
}

.modal-content input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(11,59,92,0.1);
}

.modal-content .btn-block {
    width: 100%;
}

/* Секция FAQ */
.faq-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}


.faq-question {
    padding: 10px 16px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    color: var(--text-dark);
}

.faq-answer-content {
    padding: 10px 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Убедимся, что при открытом ответе отступы не меняются */
.faq-item.active .faq-answer-content {
    padding: 10px 16px;
}



.faq-item.active .faq-answer {
    border-top-color: var(--bg-gray);
}

/* Секция проектов */
.projects-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: visible;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-video,
.project-image {
    margin: 16px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    width: 100%;
    background: #000;
}

.project-video {
    background: #000;
}

.project-video.landscape {
    aspect-ratio: 16 / 9;
}

.project-video.portrait {
    aspect-ratio: 9 / 16;
    max-width: 280px;
    margin: 16px auto;
}

.project-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.project-image {
    aspect-ratio: 16 / 9;
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.project-card:hover .project-image img {
    transform: scale(1.03);
}

.project-image.placeholder {
    font-size: 3rem;
    color: var(--primary-light);
}

.project-content {
    padding: 0 20px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
    line-height: 1.3;
}

.project-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.btn-project-video {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
    align-self: flex-start;
}

.btn-project-video:hover {
    background: var(--primary);
    color: white;
}


/* Hero – фон под каждым текстовым блоком */
.hero-title,
.hero-subtitle,
.hero-slogan,
.hero-description {
    background: rgb(4 47 255 / 46%);
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(2px);
    display: inline-block; /* фон только под текстом */
    margin-bottom: 10px;
}

/* Чтобы кнопка не получила фон */
.hero-buttons {
    margin-top: 10px;
}


.hero-slogan {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--secondary);
    background: rgba(11,59,92,0.7);
    display: inline-block;
    padding: 8px 20px;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(2px);
}

/* ===== Карусель проектов ===== */
.projects-swiper {
    padding: 20px 0 50px;
    overflow: hidden;
    margin: 0 -10px;
}
.swiper-slide {
    height: auto;
    padding: 0 10px;
}
.project-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.project-video,
.project-image {
    margin: 16px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    width: 100%;
    background: #000;
}
.project-video.landscape {
    aspect-ratio: 16 / 9;
}
.project-video.portrait {
    aspect-ratio: 9 / 16;
    max-width: 280px;
    margin: 16px auto;
}
.project-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.project-image {
    aspect-ratio: 16 / 9;
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.project-content {
    padding: 0 20px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
}
.project-description {
    color: var(--text-light);
    line-height: 1.5;
    flex-grow: 1;
}
/* Стили навигации Swiper */
.swiper-pagination-bullet {
    background: var(--primary);
    opacity: 0.5;
}
.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary);
}
.swiper-button-prev,
.swiper-button-next {
    color: var(--primary);
    background: rgba(255,255,255,0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}
.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 20px;
}


/* ============================================
   ОТЗЫВЫ - УЛУЧШЕННАЯ ВЕРСИЯ
   ============================================ */

.reviews {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 0;
    position: relative;
}

.reviews .section-title {
    text-align: center;
    margin-bottom: 20px;
}

.reviews .section-title h2 {
    font-size: 2.5rem;
    color: #0B3B5C;
    margin-bottom: 15px;
}

.reviews .section-title p {
    color: #64748B;
    font-size: 1.1rem;
}

.reviews-container {
    margin-top: 50px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
}

/* Карточка отзыва */
.review-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Шапка отзыва */
.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

/* Аватар */
.review-avatar {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #0B3B5C, #1A5F7A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(11, 59, 92, 0.2);
}

/* Информация об авторе */
.review-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1E293B;
}

.review-project {
    font-size: 0.8rem;
    color: #0B3B5C;
    background: #E8F4FD;
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    margin-top: 5px;
}

.review-project i {
    margin-right: 5px;
    font-size: 0.7rem;
}

/* Рейтинг звёздами */
.review-rating {
    margin-bottom: 20px;
    display: flex;
    gap: 5px;
}

.review-rating .star {
    font-size: 1.3rem;
    cursor: default;
}

.review-rating .star.filled {
    color: #FFB800;
    text-shadow: 0 0 2px rgba(255, 184, 0, 0.3);
}

.review-rating .star.half-filled {
    color: #FFB800;
    position: relative;
}

.review-rating .star.empty {
    color: #E2E8F0;
}

/* Текст отзыва */
.review-text {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: normal;
    position: relative;
    padding-left: 25px;
}

.review-text:before {
    content: '"';
    font-size: 3rem;
    color: #0B3B5C;
    opacity: 0.15;
    position: absolute;
    left: -5px;
    top: -15px;
    font-family: Georgia, serif;
}

/* Дата отзыва */
.review-date {
    color: #94A3B8;
    font-size: 0.75rem;
    text-align: right;
    border-top: 1px solid #E2E8F0;
    padding-top: 15px;
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-date i {
    margin-right: 5px;
}

/* Состояние загрузки */
.loading-reviews {
    text-align: center;
    padding: 50px;
    color: #64748B;
    font-size: 1.1rem;
}

.loading-reviews i {
    margin-right: 10px;
    font-size: 1.3rem;
}

/* Кнопка "Оставить отзыв" */
.reviews-footer {
    text-align: center;
    margin-top: 50px;
}

.reviews-footer .btn {
    background: #0B3B5C;
    color: white;
    padding: 14px 35px;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s;
}

.reviews-footer .btn:hover {
    background: #1A5F7A;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(11, 59, 92, 0.2);
}

.reviews-footer .btn i {
    margin-right: 8px;
}

/* Активный пункт меню */
.nav-list a.active {
    color: #2a6ebb;
    font-weight: 600;
}

.nav-list a.active:after {
    width: 100%;
}

/* Для мобильного меню */
.mobile-nav-list a.active {
    color: #2a6ebb;
    font-weight: 600;
    background: rgba(42, 110, 187, 0.1);
}