:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #1e293b;
    --accent: #0ea5e9;
    --text: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --error: #ef4444;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg-light);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.text-center {
    text-align: center;
}

.hidden-mobile {
    display: block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    touch-action: manipulation;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--secondary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.1rem;
}

.phone-link:hover {
    color: var(--primary);
}

.phone-link svg {
    width: 20px;
    height: 20px;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.burger span {
    width: 24px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.hero {
    position: relative;
    padding: 140px 0 100px;
    background: linear-gradient(135deg, var(--secondary) 0%, #334155 100%);
    color: white;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(37,99,235,0.2);
    border: 1px solid var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero h1 span {
    color: var(--accent);
}

.hero-list {
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1.1rem;
}

.hero-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent);
}

.hero-image {
    position: absolute;
    right: 0;        
    bottom: 0;       
    width: 45%;      /* Чуть уменьшили ширину, чтобы влезла */
    max-width: 650px;
    opacity: 0.95;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    justify-items: center;
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border);
    max-width: 360px;
    width: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--secondary);
}

.service-list {
    flex: 1;
    margin-bottom: 24px;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.service-list li::before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    font-size: 1.4rem;
    line-height: 0.8;
    margin-top: 4px;
}

.service-card .btn {
    margin-top: auto;
}

.advantages {
    background: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.advantage-item {
    text-align: center;
    padding: 24px;
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(37,99,235,0.15), rgba(14,165,233,0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
}

.advantage-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--secondary);
}

.advantage-item p {
    color: var(--text-light);
}

.gallery-section {
    background: white;
    padding: 80px 0;
}

.gallery-category {
    margin-bottom: 60px;
}

.gallery-category:last-child {
    margin-bottom: 0;
}

.gallery-category-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}

.gallery-grid {
    display: flex;
    flex-wrap: nowrap;          /* Запрещаем перенос на новую строку */
    gap: 16px;
    overflow-x: auto;           /* Горизонтальная прокрутка */
    padding-bottom: 20px;       /* Место для скроллбара */
    scroll-snap-type: x mandatory; /* Плавная прокрутка */
    -webkit-overflow-scrolling: touch; /* Плавный скролл на iOS */
}

/* Стиль скроллбара */
.gallery-grid::-webkit-scrollbar {
    height: 8px;
}

.gallery-grid::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

.gallery-grid::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.gallery-grid::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.gallery-item {
    flex: 0 0 280px;            /* Фиксированная ширина фото */
    max-width: 280px;
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: var(--bg-light);
    scroll-snap-align: start;   /* Прилипающая прокрутка */
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(37, 99, 235, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    font-size: 3rem;
    color: white;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-counter {
    color: white;
    font-size: 1rem;
    margin-top: 12px;
    background: rgba(0,0,0,0.6);
    padding: 6px 16px;
    border-radius: 20px;
}

/* Кнопки внутри лайтбокса */
.lightbox .lightbox-close,
.lightbox .lightbox-prev,
.lightbox .lightbox-next {
    position: absolute;
    background: var(--primary);
    color: white;
    border: 2px solid white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3002;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.lightbox .lightbox-close:hover,
.lightbox .lightbox-prev:hover,
.lightbox .lightbox-next:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* Позиционирование кнопок */
.lightbox .lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox .lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox .lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .lightbox .lightbox-prev,
    .lightbox .lightbox-next {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
        left: 10px;
        right: 10px;
    }
    
    .lightbox .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
}
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.price-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.price-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.price-card-header {
    background: var(--secondary);
    color: white;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.price-card-icon {
    font-size: 2.5rem;
}

.price-card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.price-card-body {
    padding: 24px;
    text-align: center;
}

.price-card-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}

.price-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.price-card-list li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-light);
    border-bottom: 1px dashed var(--border);
}

.price-card-list li:last-child {
    border-bottom: none;
}

.faq {
    background: white;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.acc-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--bg-card);
}

.acc-head {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.acc-head:hover {
    background: rgba(37,99,235,0.08);
}

.acc-head.active {
    background: rgba(37,99,235,0.15);
    border-bottom: 1px solid var(--border);
}

.acc-head .toggle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.acc-head.active .toggle {
    transform: rotate(45deg);
}

.acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 24px;
}

.acc-body.show {
    max-height: 500px;
    padding: 16px 24px 24px;
    transition: max-height 0.4s ease-in;
}

.acc-body p {
    color: var(--text-light);
    margin-bottom: 0;
}

.contact-section {
    background: linear-gradient(135deg, var(--secondary), #334155);
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.contact-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 32px 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 1.3rem;
}

.contact-text strong {
    display: block;
    margin-bottom: 4px;
}

.contact-text a {
    color: var(--accent);
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: socialPulse 2s infinite;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
    animation: none;
}

.social-link img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

@keyframes socialPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
}

.form-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    color: var(--text);
    box-shadow: var(--shadow-lg);
}

.form-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--secondary);
}

.form-card > p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.15);
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 16px;
    text-align: center;
}

.footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.9rem;
}

.footer-developer {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-developer a {
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 4px;
}

.float-btn {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px 14px 18px;
    background: #22c55e;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(34,197,94,0.4);
    transition: var(--transition);
    animation: floatBtnPulse 2s infinite;
}

.float-btn:hover {
    transform: scale(1.05);
    animation: none;
}

.float-btn svg {
    width: 22px;
    height: 22px;
    fill: white;
}

@keyframes floatBtnPulse {
    0%, 100% { box-shadow: 0 8px 25px rgba(34,197,94,0.4); }
    50% { box-shadow: 0 8px 35px rgba(34,197,94,0.7); }
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 480px;
    width: 100%;
    padding: 32px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-light);
}

.animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

@media (max-width: 1024px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hidden-mobile {
        display: none;
    }
    .burger {
        display: flex;
    }
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-bottom: 1px solid var(--border);
        transform: translateY(-150%);
        transition: transform 0.3s;
        box-shadow: var(--shadow);
        z-index: 999;
    }
    .nav.active {
        transform: translateY(0);
    }
    .nav-link {
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
        width: 100%;
        text-align: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    .lightbox-prev,
    .lightbox-next {
        width: 44px;
        height: 44px;
        font-size: 2rem;
        left: 10px;
        right: 10px;
    }
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 44px;
        height: 44px;
    }
    .social-link {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    .float-btn span {
        display: none;
    }
    .section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .gallery-grid {
        gap: 8px;
    }
    .social-links {
        gap: 8px;
        justify-content: flex-start;
    }
}
/* ЖЕСТКОЕ ИСПРАВЛЕНИЕ ПОЗИЦИЙ КНОПОК */
.lightbox.active .lightbox-prev {
    left: 15px !important;
    right: auto !important;
}

.lightbox.active .lightbox-next {
    left: auto !important;
    right: 15px !important;
}

/* Если на телефоне кнопки всё равно слева - принудительно разводим их */
@media (max-width: 768px) {
    .lightbox.active .lightbox-prev {
        left: 10px !important;
    }
    .lightbox.active .lightbox-next {
        right: 10px !important;
    }
}
/* Картинка для мобильных устройств */
@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
        padding-bottom: 20px; /* Уменьшаем высоту секции */
    }
    
    .hero-image {
        position: relative; /* Картинка теперь не поверх текста, а под ним */
        width: 80%;
        margin: 20px auto 0; /* Центрируем и отступаем сверху */
        right: auto;
        bottom: auto;
        filter: none; /* Убираем тень для чистоты на мобильных */
    }
}