/* ============================================ */
/* ЖИВОЙ ДИЗАЙН — leralera ТАТУ                  */
/* ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1280px;
    width: 100%;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #F5F5F5;;
    color: #1a1a1a;
    line-height: 1.5;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.section {
    scroll-margin-top: 120px;
    padding: 100px 0;
}

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

/* ========== АНИМАЦИИ ========== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ========== ТИПОГРАФИКА ========== */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #a0a0a0;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}
.section-subtitle {
    color: #777;
    font-size: 1rem;
}
.accent {
    background: linear-gradient(135deg, #1a1a1a, #444);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    border-bottom: 3px solid #1a1a1a;
}

/* ========== ШАПКА ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/*.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1a1a1a, #555);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
    cursor: pointer;
}
/* ========== СТИЛЬ ДЛЯ ЛОГОТИПА С АНИМАЦИЕЙ ========== */
.logo {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    -webkit-text-stroke: 1.5px #1a1a1a;  /* Обводка */
    color: transparent;                   /* Прозрачный текст */
    position: relative;
    cursor: pointer;
    display: inline-block;                /* <<< ЭТО КЛЮЧЕВАЯ СТРОЧКА! */
}

/* Анимированный слой (при наведении) */
.logo::before {
    content: "leralera — ТАТУ";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    color: #1a1a1a;                      /* Цвет заливки */
    border-right: 2px solid #1a1a1a;     /* Граница */
    overflow: hidden;
    white-space: nowrap;
    transition: width 0.6s cubic-bezier(0.77, 0, 0.18, 1);
}

/* При наведении — текст заливается */
.logo:hover::before {
    width: 100%;
}

.nav-menu {
    display: flex;
    gap: 0.5rem;
    list-style: none;
}
.nav-link {
    text-decoration: none;
    color: #333;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: #1a1a1a;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* ========== СОЦСЕТИ ========== */
.social-bar {
    background: #fafafa;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 6px 0;
}
.social-icons {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}
.social-link {
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 30px;
    transition: all 0.2s ease;
}
.social-link.vk { background: #edf2f7; color: #1a1a1a; }
.social-link.vk:hover { background: #0077FF; color: white; transform: translateY(-2px); }
.social-link.tg { background: #edf2f7; color: #1a1a1a; }
.social-link.tg:hover { background: #26A5E4; color: white; transform: translateY(-2px); }
.social-link.ig { background: #edf2f7; color: #1a1a1a; }
.social-link.ig:hover { background: #E4405F; color: white; transform: translateY(-2px); }

/* ========== HERO ========== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 120px;
    position: relative;
}
.hero-content {
    display: flex;
    gap: 60px;
    align-items: center;
}
.hero-text { flex: 1; }
.hero-badge {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #aaa;
    margin-bottom: 1rem;
}
.hero-text h1 {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    line-height: 1.1;
}
.hero-name {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 1rem;
}
.hero-sub {
    color: #555;
    margin: 1rem 0 2rem;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-visual { flex: 1; }
.hero-image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(145deg, #f5f5f5, #fff);
    aspect-ratio: 1/1;
}
.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.hero-image-wrapper:hover img {
    transform: scale(1.02);
}
.hero-badge-floating {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    color: white;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.75rem;
}
.hero-scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 0.7rem;
    color: #aaa;
}
.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid #ccc;
    border-radius: 20px;
    margin: 8px auto 0;
    position: relative;
}
.scroll-mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: #aaa;
    border-radius: 2px;
    animation: scrollAnim 1.5s infinite;
}
@keyframes scrollAnim {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* ========== КНОПКИ ========== */
.btn-primary {
    display: inline-block;
    background: #1a1a1a;
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #1a1a1a;
    padding: 12px 28px;
    border-radius: 40px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    border-color: #1a1a1a;
    transform: translateY(-2px);
}

/* ========== УСЛУГИ ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    padding: 40px 28px;
    background: white;
    border: 1px solid #eee;
    border-radius: 28px;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1a1a1a, #aaa);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    border-color: #ddd;
    box-shadow: 0 25px 35px -15px rgba(0,0,0,0.1);
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.service-card p {
    color: #666;
    line-height: 1.6;
}
.service-hover {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: #aaa;
    transition: color 0.2s ease;
}
.service-card:hover .service-hover {
    color: #1a1a1a;
}

/* ========== ОБО МНЕ ========== */
.about-inner {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}
.about-text { flex: 1.5; }
.about-text .lead {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 2rem;
    line-height: 1.6;
}
.about-feature {
    display: flex;
    gap: 16px;
    margin-bottom: 2rem;
}
.about-icon {
    font-size: 1.8rem;
    min-width: 50px;
}
.about-feature h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.about-list {
    list-style: none;
    padding-left: 0;
}
.about-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}
.about-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #1a1a1a;
}
.about-image { flex: 1; }
.about-img-wrapper {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 1/1;
    background: #f5f5f5;
}
.about-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.about-img-wrapper:hover img {
    transform: scale(1.02);
}
.about-sticker {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    color: white;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.7rem;
}

/* ========== ГАЛЕРЕЯ ========== */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.filter-btn {
    background: none;
    border: none;
    padding: 8px 20px;
    font-family: inherit;
    font-size: 0.8rem;
    cursor: pointer;
    border-radius: 40px;
    transition: all 0.2s ease;
    color: #666;
}
.filter-btn.active,
.filter-btn:hover {
    background: #1a1a1a;
    color: white;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1/1;
    background: #f5f5f5;
    cursor: pointer;
    transition: all 0.3s ease;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-caption {
    color: white;
    text-align: center;
    padding: 12px;
    font-size: 0.8rem;
}
.gallery-icon {
    font-size: 1.5rem;
    color: white;
}
.placeholder-item {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ddd;
    background: #fafafa;
}
.placeholder-content {
    text-align: center;
    color: #aaa;
    font-size: 0.8rem;
}

/* ========== ОТЗЫВЫ ========== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.review-card {
    background: #f9f9f9;
    padding: 32px;
    border-radius: 28px;
    transition: all 0.3s ease;
}
.review-card:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 15px 30px -10px rgba(0,0,0,0.08);
}
.review-text {
    font-style: italic;
    color: #444;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.review-author {
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.review-stars {
    color: #ffb800;
    font-size: 0.8rem;
}

/* ========== КОНТАКТЫ ========== */
.contact-wrapper {
    display: flex;
    gap: 60px;
    background: linear-gradient(135deg, #f8f9fa, #fff);
    border-radius: 40px;
    padding: 48px;
    box-shadow: 0 10px 30px -15px rgba(0,0,0,0.05);
}
.contact-info { flex: 1; }
.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.contact-details {
    margin: 2rem 0;
}
.contact-item {
    margin-bottom: 1rem;
    font-size: 1rem;
}
.contact-item a {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #ddd;
}
.contact-small {
    font-size: 0.7rem;
    color: #aaa;
}
.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-form input,
.contact-form select {
    padding: 14px 18px;
    border: 1px solid #eee;
    border-radius: 20px;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.contact-form input:focus,
.contact-form select:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

/* ========== ФУТЕР ========== */
.footer {
    background: #f8f8f8;
    text-align: center;
    padding: 40px 0;
    color: #888;
    font-size: 0.8rem;
}
.footer-social {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.footer-social a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-social a:hover {
    color: #1a1a1a;
}
/* ========== АДАПТИВ ========== */
@media (max-width: 1024px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .navbar { padding: 1rem; }
    .mobile-menu-btn { display: block; }
    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 90px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0,0,0,0.05);
        z-index: 999;
    }
    .nav-menu.open { left: 0; }
    .hero-content { flex-direction: column; text-align: center; }
    .hero-buttons { justify-content: center; }
    .services-grid { grid-template-columns: 1fr; }
    .about-inner { flex-direction: column; }
    .contact-wrapper { flex-direction: column; padding: 32px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: 1fr; }
    .social-icons { justify-content: center; }
}
@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .hero-section { padding-top: 140px; }
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    transition: 0.2s;
    z-index: 10001;
}

.lightbox-close:hover {
    color: #ddd;
    transform: scale(1.1);
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px;
    margin: 0 auto;
    width: fit-content;
    border-radius: 20px;
}
/* ========== ФИКС ДЛЯ КЛИКОВ ПО ФОТО ========== */
.gallery-item img {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative;
    z-index: 1;
}

.gallery-overlay {
    pointer-events: none !important;  /* оверлей не должен перехватывать клики */
}
/* ========== УСЛУГИ (ДОПОЛНИТЕЛЬНЫЕ СТИЛИ) ========== */

.services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Для 5 карточек: если их 5, последние две переносятся и центрируются */
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Список особенностей услуги */
.service-features {
    list-style: none;
    margin-top: 16px;
    padding-left: 0;
    text-align: left;
}

.service-features li {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1a1a1a;
    font-weight: bold;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}
/* ========== МОДАЛЬНОЕ ОКНО ДЛЯ ЗАЯВКИ ========== */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

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

.modal-window {
    background: white;
    border-radius: 28px;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 32px;
    cursor: pointer;
    color: #999;
    transition: 0.2s;
    z-index: 10;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f0f0;
}

.modal-close:hover {
    color: #1a1a1a;
    background: #e0e0e0;
    transform: rotate(90deg);
}

.modal-header {
    padding: 28px 28px 8px 28px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
    padding-right: 30px;
}

.modal-header p {
    color: #666;
    font-size: 0.85rem;
}

.modal-body {
    padding: 24px 28px;
}

.modal-body .contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-body .contact-form input,
.modal-body .contact-form select {
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    font-family: inherit;
    font-size: 0.95rem;
    width: 100%;
}

.modal-body .contact-form button {
    margin-top: 8px;
    width: 100%;
}

.modal-footer {
    padding: 0 28px 28px 28px;
    font-size: 0.7rem;
    color: #aaa;
    text-align: center;
}

/* Кнопка внутри карточки услуги */
.service-btn {
    margin-top: 20px;
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    transition: 0.2s;
    padding: 8px 0;
}

.service-btn:hover {
    color: #666;
    transform: translateX(5px);
}
/* ============================================ */
/* ПОЛНАЯ АДАПТАЦИЯ ДЛЯ ТЕЛЕФОНОВ И ПЛАНШЕТОВ  */
/* ============================================ */

/* Планшеты (до 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .services-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content {
        gap: 30px;
    }
}

/* Телефоны (до 768px) */
@media (max-width: 768px) {
    
    /* Шапка и меню */
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .nav-menu {
        position: fixed;
        top: 110px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 110px);
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 30px 20px;
        transition: left 0.3s ease;
        box-shadow: 2px 0 20px rgba(0,0,0,0.1);
        z-index: 998;
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 28px;
        background: none;
        border: none;
        cursor: pointer;
    }
    
    .nav-link {
        font-size: 18px;
        padding: 12px;
    }
    
    /* Hero секция */
    .hero-section {
        padding-top: 140px;
        min-height: auto;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-sub {
        font-size: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-visual {
        width: 280px;
        margin: 0 auto;
    }
    
    /* Услуги */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    /* Обо мне */
    .about-inner {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-feature {
        text-align: left;
    }
    
    /* Галерея */
    .gallery-filter {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 6px 14px;
        font-size: 0.75rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    /* Отзывы */
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .review-card {
        padding: 20px;
    }
    
    /* Контакты */
    .contact-wrapper {
        flex-direction: column;
        padding: 25px;
        gap: 30px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-info h2 {
        font-size: 1.6rem;
    }
    
    .contact-form {
        width: 100%;
    }
    
    /* Модальное окно */
    .modal-window {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
    
    /* Соцсети */
    .social-icons {
        justify-content: center;
    }
    
    .social-link {
        padding: 6px 14px;
        font-size: 11px;
    }
    
    /* Секции */
    .section {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
}

/* Маленькие телефоны (до 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-badge {
        font-size: 0.6rem;
        letter-spacing: 2px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .hero-buttons {
        gap: 12px;
    }
    
    .modal-window {
        width: 95%;
    }
    
    .modal-body .contact-form input,
    .modal-body .contact-form select {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    
    .service-features li {
        font-size: 0.75rem;
    }
}
/* ========== ЛОГОТИП: НА КОМПЬЮТЕРЕ HOVER, НА ТЕЛЕФОНЕ КЛИК ========== */

/* Базовые стили логотипа */
.logo {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    -webkit-text-stroke: 1.5px #1a1a1a;
    color: transparent;
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.logo::before {
    content: "leralera — ТАТУ";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    color: #1a1a1a;
    border-right: 2px solid #1a1a1a;
    overflow: hidden;
    white-space: nowrap;
    transition: width 0.6s cubic-bezier(0.77, 0, 0.18, 1);
}

/* На компьютере (ширина > 768px) — работает hover */
@media (min-width: 769px) {
    .logo:hover::before {
        width: 100%;
    }
}

/* На телефоне (ширина ≤ 768px) — убираем hover, добавляем клик */
@media (max-width: 768px) {
    .logo::before {
        transition: width 0.4s ease;
    }
    
    /* Класс для закрашенного состояния (добавляется через JS) */
    .logo.filled::before {
        width: 100%;
    }
}
