/* ========== ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ И СБРОС ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #D33;
    --secondary-color: #666666;
    --accent-color: #333333;
    --dark-color: #000000;
    --light-color: #111111;
    --text-color: #ffffff;
    --text-light: #cccccc;
    --white: #ffffff;
    --transition: all 0.3s ease;
}
.zoom{
    opacity:0.2;
    transition:0.2s;
}
.pzoom:hover .zoom{
     opacity:0.8;
}
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-color);
    background-image: radial-gradient(circle at 20% 20%, rgba(102, 102, 102, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(102, 102, 102, 0.08) 0%, transparent 50%);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    line-height: 1.2;
}

/* ========== УНИВЕРСАЛЬНЫЕ КЛАССЫ ========== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    position: relative;
    display: block;
    opacity: 0;
    transform: translateX(-180px) translateY(-120px) rotateZ(-10deg);
    filter: blur(6px);
    transition: all 0.8s cubic-bezier(0.16, 0.9, 0.23, 1);
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    padding-top: 20px;
    font-size: 2.8rem;
    text-align: center;
    color: var(--white);
    font-weight: 600;
    letter-spacing: 4px;
}
.bg{

           padding: 80px 0;
}
.section-title.visible {
    opacity: 1;
    transform: translateX(0) translateY(0) rotateZ(0);
    filter: blur(0);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.8s ease-out 0.3s;
}

.section-title.visible::after {
    width: 80px;
}

/* ========== ЕДИНЫЙ СТИЛЬ ДЛЯ КНОПОК ========== */
.btn {
    padding: 1rem 2rem;
    border: none;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    background: transparent;
    color: var(--white);
    border: 2px solid transparent;
    border-radius: 4px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: #E05A5A;
    border-color: #E05A5A;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(221, 51, 51, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--primary-color);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

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

.btn-small {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
}

/* ========== ХЕДЕР ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(221, 51, 51, 0.3);
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 2px 20px rgba(221, 51, 51, 0.3);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.logo::before {
    content: 'YA';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    opacity: 0.6;
    z-index: -1;
    filter: blur(2px);
    text-shadow: 0 0 20px rgba(102, 102, 102, 0.5);
}

.logo:hover {
    transform: scale(1.05);
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
li.active .nav-link::after {
    width: 100%;
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}
.nav-link:hover,
li.active .nav-link {
    color: var(--primary-color);
}

.nav-link-outline {
    border: 1px solid var(--primary-color);
    padding: 0.5rem 1rem !important;
    border-radius: 4px;
}

.nav-link-outline::after {
    display: none;
}

.nav-link-outline:hover {
    background-color: rgba(221, 51, 51, 0.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1001;
}

/* ========== ФУТЕР ========== */
.footer {
    background: var(--light-color);
    color: var(--text-light);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(221, 51, 51, 0.3);
    margin-top: 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-title {
    position: relative;
    display: block;
    opacity: 0;
    transform: translateX(-180px) translateY(-120px) rotateZ(-10deg);
    filter: blur(6px);
    transition: all 0.8s cubic-bezier(0.16, 0.9, 0.23, 1);
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    padding-top: 20px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.footer-title.visible {
    opacity: 1;
    transform: translateX(0) translateY(0) rotateZ(0);
    filter: blur(0);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.3rem;
    border-radius: 12px;
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-copyright {
    border-top: 1px solid #444;
    padding-top: 1rem;
    font-size: 0.9rem;
    color: #999;
}

/* ========== ВИДЖЕТ СВЯЗИ ========== */
.contact-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1001;
}

.contact-btn {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(221, 51, 51, 0.3);
    transition: var(--transition);
    animation: smoothPulse 1.8s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes smoothPulse {
    0% { box-shadow: 0 0 0 0 rgba(221, 51, 51, 0.7); transform: scale(1); }
    50% { box-shadow: 0 0 0 15px rgba(221, 51, 51, 0); transform: scale(1.05); }
    100% { box-shadow: 0 0 0 0 rgba(221, 51, 51, 0); transform: scale(1); }
}

.contact-btn:hover {
    transform: scale(1.1);
    background: #E05A5A;
}

.contact-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: var(--white);
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transform: scale(0);
    transform-origin: bottom right;
    transition: var(--transition);
    opacity: 0;
    pointer-events: none;
    min-width: 220px;
}

.contact-options.active {
    transform: scale(1);
    opacity: 1;
    pointer-events: all;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--dark-color) !important;
    transition: var(--transition);
    margin-bottom: 0.5rem;
}

.contact-option i {
    color: var(--primary-color);
}

.contact-option:hover {
    background: rgba(221, 51, 51, 0.1);
}

.widget-close-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;
    transform: scale(0.5);
    pointer-events: none;
    z-index: 10;
}

.contact-options.active .widget-close-btn {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.widget-close-btn:hover {
    background: #E05A5A;
    transform: scale(1.1) rotate(90deg);
}

/* ========== МОДАЛЬНОЕ ОКНО ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--light-color);
    border: 1px solid var(--primary-color);
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.7);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(221, 51, 51, 0.3);
    border-radius: 12px;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    background: #E05A5A;
    transform: rotate(90deg);
}

.modal-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.5rem;
}

.modal-form .form-group {
    margin-bottom: 1.2rem;
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(221, 51, 51, 0.3);
    color: var(--white);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
}

.modal-form input:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.modal-form button {
    width: 100%;
    border-radius: 8px;
}

/* ========== АНИМАЦИИ ========== */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ========== ОБЩАЯ АДАПТИВНОСТЬ ========== */
@media (max-width: 768px) {
    .nav-menu { 
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(17, 17, 17, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        padding: 2rem;
        transform: translateX(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
        border: 1px solid rgba(221, 51, 51, 0.3);
        z-index: 1000;
    }
    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-menu .nav-link {
        font-size: 1.5rem;
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.4s ease 0.2s;
    }
    .nav-menu.active .nav-link {
        opacity: 1;
        transform: translateX(0);
    }
    .mobile-menu-btn {
        display: block;
        z-index: 1002;
    }
    .section-title {
        font-size: 2rem;
    }
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
}

/* ========== СТИЛИ ДЛЯ ОСНОВНОГО КОНТЕНТА СТРАНИЦ ========== */
.main-content {
    padding-top: 90px;
}

/* ========== ГЛАВНАЯ СТРАНИЦА ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--dark-color);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(221, 51, 51, 0.1) 0%, transparent 50%),
               radial-gradient(circle at 70% 70%, rgba(102, 102, 102, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}
.hero-title span {
    color: var(--primary-color);
    display: block;
    font-size: 2.5rem;
    font-weight: 300;
}
.main-container {
    margin: 120px auto 60px;
    padding: 0 2rem;
}
#hero-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(221, 51, 51, 0.5);
}
.hero-subtitle {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    background: rgba(0, 0, 0, 0.5);
    padding: 1.5rem;
    border-left: 3px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
    backdrop-filter: blur(5px);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    animation: slideInRight 1s ease-out;
}

.hero-image-container {
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    border: 2px solid rgba(221, 51, 51, 0.3);

    max-height: 80vh;
    width: 100%;
}

.hero-image-container:hover {
    transform: scale(1.02);
    border-color: var(--primary-color);
}

.hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Карусель */
.photo-carousel-section {
    padding: 60px 0;
    background: var(--light-color);
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    margin-top: 2rem;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    animation: scroll 40s linear infinite;
    width: fit-content;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-item {
    flex: 0 0 auto;
    width: 300px;
    height: 400px;
    overflow: hidden;
    border: 2px solid rgba(221, 51, 51, 0.3);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.carousel-item:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(221, 51, 51, 0.4);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-300px * 4 - 1.5rem * 4)); }
}

/* Работы */
.works {
    padding: 80px 0;
    background: var(--dark-color);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.work-card {
    background: var(--light-color);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(221, 51, 51, 0.3);
    text-decoration:none;
}

.work-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(221, 51, 51, 0.4);
    border-color: var(--primary-color);
}

.work-image {
    height: 250px;
    overflow: hidden;
}

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

.work-card:hover .work-image img {
    transform: scale(1.1);
}

.work-content {
    padding: 1.5rem;
}

.work-title {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 0.8rem;
}

.work-description {
    color: var(--text-light);
    font-size: 0.95rem;
    white-space: pre-line;
}

/* ========== ART-PARTIES ========== */
.artparty-hero {
    padding: 60px 0 80px;
    background: var(--dark-color);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title-art {
    position: relative;
    display: block;
    opacity: 0;
    transform: translateX(-180px) translateY(-120px) rotateZ(-10deg);
    filter: blur(6px);
    transition: all 0.8s cubic-bezier(0.16, 0.9, 0.23, 1);
    margin-top: 0.5em;
    margin-bottom: 1.5rem;
    padding-top: 20px;
    font-size: 3.2rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: 2px;
}

.hero-title-art.visible {
    opacity: 1;
    transform: translateX(0) translateY(0) rotateZ(0);
    filter: blur(0);
}

.hero-title-art span {
    color: var(--primary-color);
    font-style: italic;
}

.hero-title-art::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.8s ease-out 0.3s;
}

.hero-title-art.visible::after {
    width: 80px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(221, 51, 51, 0.1);
    padding: 0.7rem 1.3rem;
    border: 1px solid rgba(221, 51, 51, 0.3);
}

.hero-feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.hero-image-art {
    position: relative;
    animation: slideInRight 1s ease-out;
}

.hero-image-art img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(221, 51, 51, 0.3);
    transform: rotate(2deg);
    transition: var(--transition);
    border: 1px solid rgba(221, 51, 51, 0.5);
}

.hero-image-art img:hover {
    transform: rotate(0deg) scale(1.02);
}

.format-section {
    padding: 80px 0;
    background: var(--light-color);
}
.format-section2 {
    background: var(--light-color);
}

.format-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.format-card {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(221, 51, 51, 0.2);
    padding: 2.5rem 1.8rem;
    text-align: center;
    transition: var(--transition);
}

.format-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(221, 51, 51, 0.15);
}

.format-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.format-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.format-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.events-section {
    padding: 80px 0;
    background: var(--dark-color);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 4rem 0 2rem;
}

.event-card {
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid rgba(221, 51, 51, 0.3);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(5px);
    overflow: hidden;
}

.event-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(221, 51, 51, 0.2);
}

.event-image {
    height: 200px;
    overflow: hidden;
    border-bottom: 1px solid rgba(221, 51, 51, 0.3);
}

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

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-content {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.event-card h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.event-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.event-details {
    margin-bottom: 1.2rem;
    border-top: 1px solid rgba(221, 51, 51, 0.2);
    border-bottom: 1px solid rgba(221, 51, 51, 0.2);
    padding: 0.8rem 0;
}

.event-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-size: 0.95rem;
}

.event-detail-item i {
    color: var(--primary-color);
    width: 20px;
}

.event-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price-tag {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--white);
    font-family: 'Playfair Display', serif;
}

.price-tag small {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 300;
}

.quote-section {
    padding: 60px 0;
    background: var(--light-color);
    border-top: 1px solid rgba(221, 51, 51, 0.2);
    border-bottom: 1px solid rgba(221, 51, 51, 0.2);
}

.quote-text {
    font-size: 1.8rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: var(--white);
    font-style: italic;
    font-family: 'Playfair Display', serif;
}

.quote-author {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-top: 1rem;
}

.faq-section {
    padding: 80px 0;
    background: var(--dark-color);
}

.faq-grid {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    background: rgba(17, 17, 17, 0.7);
    border: 1px solid rgba(221, 51, 51, 0.2);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--white);
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 1.5rem;
}

/* ========== ЗАКАЗ КАРТИН ========== */
.order-hero {
    position: relative;
 
    background: var(--dark-color);
    overflow: hidden;
}
.order-hero .bg{
       padding: 60px 0 100px;
}

.order-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.order-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 580px;
    margin: 0 auto 0 0;
}

.order-hero-content h1 {
    position: relative;
    display: block;
    opacity: 0;
    transform: translateX(-180px) translateY(-120px) rotateZ(-10deg);
    filter: blur(6px);
    transition: all 0.8s cubic-bezier(0.16, 0.9, 0.23, 1);
    margin-top: 0.5em;
    margin-bottom: 1.5rem;
    padding-top: 20px;
    font-size: 3.2rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: 2px;
}

.order-hero-content h1.visible {
    opacity: 1;
    transform: translateX(0) translateY(0) rotateZ(0);
    filter: blur(0);
}

.order-hero-content h1 span {
    color: var(--primary-color);
    font-style: italic;
}

.order-hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.8s ease-out 0.3s;
}

.order-hero-content h1.visible::after {
    width: 80px;
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-description-order {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.8rem;
    line-height: 1.8;
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    text-align: left;
    width: 100%;
}

.hero-contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 2rem;
    width: 100%;
    padding-left: 1.5rem;
}

.hero-contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--white);
    font-size: 1.1rem;
}

.hero-contact-item i {
    color: var(--primary-color);
    width: 24px;
    font-size: 1.2rem;
}

.hero-contact-item a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.hero-contact-item a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.order-hero-image {
    position: relative;
    animation: slideInRight 1s ease-out;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.order-hero-image img {
    width: 100%;
    max-width: 650px;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(221, 51, 51, 0.3);
    transition: var(--transition);
    border: 1px solid rgba(221, 51, 51, 0.5);
}

.process {
    background: var(--dark-color);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.step-card {
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid rgba(221, 51, 51, 0.2);
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(221, 51, 51, 0.2);
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(221, 51, 51, 0.2);
    position: absolute;
    top: 10px;
    left: 20px;
}

.step-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.step-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.benefits {
    padding: 80px 0;
    background: var(--light-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(221, 51, 51, 0.05);
    border-left: 4px solid var(--primary-color);
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 30px;
}

.execution-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.execution-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(221, 51, 51, 0.3);
    padding: 1.5rem;
    border-radius: 0;
    transition: var(--transition);
}

.execution-card:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.execution-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.price-note {
    margin-top: 2rem;
    font-size: 1.2rem;
    text-align: center;
    color: var(--primary-color);
    font-weight: 500;
}

.paintings-section {
    padding: 100px 0;
    background: var(--light-color);
}

.section-subtitle {
    position: relative;
    display: block;
    opacity: 0;
    transform: translateX(-180px) translateY(-120px) rotateZ(-10deg);
    filter: blur(6px);
    transition: all 0.8s cubic-bezier(0.16, 0.9, 0.23, 1);
    margin: 2.5rem 0 2rem;
    padding-top: 15px;
    font-size: 2rem;
    color: var(--white);
    text-align: center;
    font-weight: 400;
    letter-spacing: 2px;
}

.section-subtitle.visible {
    opacity: 1;
    transform: translateX(0) translateY(0) rotateZ(0);
    filter: blur(0);
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.8s ease-out 0.3s;
}

.section-subtitle.visible::after {
    width: 80px;
}

.art-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.art-card {
    position: relative;
    background: var(--dark-color);
    border: 1px solid rgba(221, 51, 51, 0.3);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    cursor: pointer;
}

.art-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.art-card:hover img {
    transform: scale(1.15);
}

.art-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.8rem 1.5rem;
    transition: opacity 0.5s ease;
    color: white;
    pointer-events: none;
}

.art-overlay h4 {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
    color: var(--white);
    font-family: 'Playfair Display', serif;
}

.art-overlay p {
    font-size: 0.95rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.art-overlay i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.art-card:hover .art-overlay {
    opacity: 0;
}

.reference-block {
    background: var(--dark-color);
    border-top: 1px solid rgba(221, 51, 51, 0.3);
    border-bottom: 1px solid rgba(221, 51, 51, 0.3);
}

.reference-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    background: rgba(17, 17, 17, 0.6);
    border: 1px solid rgba(221, 51, 51, 0.2);
    padding: 3rem 4rem;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.reference-wrapper:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(221, 51, 51, 0.15);
}

.reference-content {
    flex: 1.2;
}

.reference-content h3 {
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.reference-content h3 i {
    color: var(--primary-color);
    font-size: 2.5rem;
}

.reference-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    line-height: 1.6;
}

.reference-action {
    flex: 0 0 auto;
}

.reference-action .btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 0;
    background: var(--primary-color);
    border-color: var(--primary-color);
    white-space: nowrap;
}

.reference-action .btn:hover {
    background: #E05A5A;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(221, 51, 51, 0.4);
}

/* ========== КАЛЬКУЛЯТОР ========== */
.calculator-main {
    max-width: 1400px;
    margin: 0 auto 60px;
    padding: 0 2rem;
}

.calc-header {
    text-align: center;
    margin-bottom: 3rem;
}

.calc-title {
    position: relative;
    display: block;
    opacity: 0;
    transform: translateX(-180px) translateY(-120px) rotateZ(-10deg);
    filter: blur(6px);
    transition: all 0.8s cubic-bezier(0.16, 0.9, 0.23, 1);
    margin-top: 0.5em;
    margin-bottom: 1rem;
    padding-top: 20px;
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 4px;
}

.calc-title.visible {
    opacity: 1;
    transform: translateX(0) translateY(0) rotateZ(0);
    filter: blur(0);
}

.calc-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.8s ease-out 0.3s;
}

.calc-title.visible::after {
    width: 80px;
}

.calc-sub {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 300;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border: 1px solid rgba(221, 51, 51, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.params-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.param-group {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.8rem;
    border: 1px solid rgba(221, 51, 51, 0.2);
    transition: var(--transition);
}

.param-group:hover {
    border-color: var(--primary-color);
    background: rgba(221, 51, 51, 0.05);
}

.group-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(221, 51, 51, 0.3);
    padding-bottom: 0.8rem;
}

.group-header i {
    font-size: 1.4rem;
}

.group-header span {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
}

.param-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.2rem;
}

.param-row label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.param-row label i {
    color: var(--primary-color);
    font-size: 0.9rem;
    width: 16px;
}

select, .dimension-input {
    background: var(--light-color);
    border: 1px solid rgba(221, 51, 51, 0.3);
    padding: 0.8rem 1.2rem;
    color: var(--white);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='%23D33'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    font-family: 'Inter', sans-serif;
}

.dimension-input {
    background-image: none;
}

select:hover, .dimension-input:hover, select:focus, .dimension-input:focus {
    border-color: var(--primary-color);
    background-color: rgba(221, 51, 51, 0.1);
    box-shadow: 0 0 0 2px rgba(221, 51, 51, 0.2);
}

.size-row {
    display: flex;
    gap: 1rem;
}

.size-field {
    flex: 1;
}

.artist-fixed-block {
    background: rgba(221, 51, 51, 0.08);
    border: 1px solid var(--primary-color);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.artist-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--white);
    box-shadow: 0 0 30px rgba(221, 51, 51, 0.4);
}

.artist-info h4 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.artist-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.artist-info p i {
    color: var(--primary-color);
}

.result-panel {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(221, 51, 51, 0.3);
    position: relative;
    overflow: hidden;
}

.result-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.price-box {
    text-align: center;
    margin-bottom: 2rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem 1rem;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 25px rgba(221, 51, 51, 0.3);
}

.price-label {
    font-size: 0.9rem;
    color: var(--white);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.price-value {
    font-size: 4rem;
    font-weight: 300;
    color: var(--white);
    line-height: 1.1;
    text-shadow: 0 0 30px rgba(221, 51, 51, 0.7);
    font-family: 'Playfair Display', serif;
}

.price-currency {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-left: 0.25rem;
    font-weight: 600;
}

.price-sub {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.influence-meter {
    display: flex;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.7);
    padding: 1.5rem 1.2rem;
    margin-bottom: 1.8rem;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(221, 51, 51, 0.2);
}

.meter-item {
    text-align: center;
    flex: 1;
}

.meter-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.percent {
    font-size: 1.8rem;
    font-weight: 500;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    background: rgba(221, 51, 51, 0.3);
    display: inline-block;
    padding: 0.2rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(2px);
}

.example-works {
    margin-top: auto;
    border-top: 1px solid rgba(221, 51, 51, 0.3);
    padding-top: 1.5rem;
}

.example-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.example-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.8rem 1.2rem;
    margin-bottom: 0.7rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.example-item:hover {
    background: rgba(221, 51, 51, 0.15);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.example-icon {
    color: var(--primary-color);
    font-size: 1.3rem;
    width: 30px;
    text-align: center;
}

.example-title {
    flex: 1;
    font-weight: 400;
    color: var(--white);
}

.example-price {
    color: var(--primary-color);
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.small-note {
    font-size: 0.7rem;
    color: #999;
    margin-top: 0.8rem;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.small-note i {
    color: var(--primary-color);
}

.cosmic-quote {
    text-align: right;
    margin-top: 1.8rem;
    color: var(--text-light);
    border-top: 1px solid rgba(221, 51, 51, 0.2);
    padding-top: 1.5rem;
    font-size: 0.95rem;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.8rem;
}

.cosmic-quote i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* ========== ТАТУ-СТУДИЯ ========== */
.main-content-wrapper {
    padding-top: 90px;
}

.tattoo-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.hero-content-tattoo {
    animation: slideInLeft 1s ease-out;
}

.hero-title-tattoo {
    position: relative;
    display: block;
    opacity: 0;
    transform: translateX(-180px) translateY(-120px) rotateZ(-10deg);
    filter: blur(6px);
    transition: all 0.8s cubic-bezier(0.16, 0.9, 0.23, 1);
    margin-top: 0.5em;
    margin-bottom: 1.5rem;
    padding-top: 20px;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: 2px;
}

.hero-title-tattoo.visible {
    opacity: 1;
    transform: translateX(0) translateY(0) rotateZ(0);
    filter: blur(0);
}

.hero-title-tattoo span {
    color: var(--primary-color);
    display: block;
    font-size: 2.5rem;
    font-weight: 300;
}

.hero-description-tattoo {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image-tattoo {
    position: relative;
    animation: slideInRight 1s ease-out;
}

.hero-image-tattoo img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: rotate(2deg);
    transition: var(--transition);
    border: 1px solid rgba(221, 51, 51, 0.5);
}

.hero-image-tattoo img:hover {
    transform: rotate(0deg) scale(1.02);
}
 #info-block {
            background: rgba(17, 17, 17, 0.8); backdrop-filter: blur(10px); border: 1px solid rgba(221, 51, 51, 0.3);
            padding: 3rem; margin: 4rem 0;
        }
  
         #info-block .benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2rem;    align-items: normal; }
         #info-block .benefit-item {
            display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.5rem;
            background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(221, 51, 51, 0.2); transition: var(--transition);
        }
         #info-block .benefit-item i { font-size: 2rem; color: var(--primary-color); margin-bottom: 1rem; }

.info-block {
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(221, 51, 51, 0.3);
    padding: 3rem;
    margin: 4rem 0;
}
.section-title.visible{
        margin-bottom: 60px;
}
.info-block-title {
    position: relative;
    display: block;
    opacity: 0;
    transform: translateX(-180px) translateY(-120px) rotateZ(-10deg);
    filter: blur(6px);
    transition: all 0.8s cubic-bezier(0.16, 0.9, 0.23, 1);
    margin-top: 0.5em;
    margin-bottom: 2rem;
    padding-top: 10px;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.info-block-title.visible {
    opacity: 1;
    transform: translateX(0) translateY(0) rotateZ(0);
    filter: blur(0);
}

.benefits-grid-tattoo {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-item-tattoo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(221, 51, 51, 0.2);
    transition: var(--transition);
}

.benefit-item-tattoo:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.benefit-item-tattoo i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-item-tattoo span {
    font-size: 0.95rem;
    color: var(--white);
}

.action-banner {
    background: linear-gradient(135deg, rgba(221, 51, 51, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    border: 1px solid var(--primary-color);
    padding: 3rem;
    text-align: center;
    margin: 4rem 0;
}

.banner-title {
    position: relative;
    display: block;
    opacity: 0;
    transform: translateX(-180px) translateY(-120px) rotateZ(-10deg);
    filter: blur(6px);
    transition: all 0.8s cubic-bezier(0.16, 0.9, 0.23, 1);
    margin-top: 0.5em;
    margin-bottom: 1rem;
    padding-top: 20px;
    font-size: 2.2rem;
    color: var(--white);
}

.banner-title.visible {
    opacity: 1;
    transform: translateX(0) translateY(0) rotateZ(0);
    filter: blur(0);
}

.banner-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.gallery-card {
    background: var(--light-color);
    border: 1px solid rgba(221, 51, 51, 0.3);
    transition: var(--transition);
}

.gallery-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(221, 51, 51, 0.4);
}

.gallery-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.gallery-card p {
    padding: 1rem;
    text-align: center;
    color: var(--white);
    border-top: 1px solid rgba(221, 51, 51, 0.3);
    font-weight: 500;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid rgba(221, 51, 51, 0.2);
    padding: 2rem 1.5rem;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    color: var(--primary-color);
    font-weight: 600;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.course-card {
    background: rgba(17, 17, 17, 0.9);
    border: 1px solid var(--primary-color);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(221, 51, 51, 0.4);
}

.course-img {
    height: 220px;
    overflow: hidden;
}

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

.course-card:hover .course-img img {
    transform: scale(1.1);
}

.course-content {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-content h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-align: center;
}

.course-desc {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    flex-grow: 1;
}

.course-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.course-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.course-features li i {
    color: var(--primary-color);
    width: 20px;
}

.course-price-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    border-top: 1px solid rgba(221, 51, 51, 0.3);
    padding-top: 1rem;
}

.course-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.price-note {
    font-size: 0.8rem;
    color: #999;
}

.pmu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.pmu-card {
    background: rgba(17, 17, 17, 0.9);
    border: 1px solid var(--primary-color);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pmu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(221, 51, 51, 0.4);
}

.pmu-img {
    height: 180px;
    overflow: hidden;
}

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

.pmu-card:hover .pmu-img img {
    transform: scale(1.1);
}

.pmu-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pmu-content h4 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-align: center;
}

.pmu-details {
    margin-bottom: 1rem;
    flex-grow: 1;
}

.pmu-details p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pmu-details i {
    color: var(--primary-color);
    width: 20px;
}

.pmu-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    border-top: 1px solid rgba(221, 51, 51, 0.3);
    padding-top: 1rem;
}

.pmu-price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.address-block {
    margin: 4rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid rgba(221, 51, 51, 0.3);
    padding: 3rem;
}

.address-info h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.address-details p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-light);
}

.address-details i {
    color: var(--primary-color);
    width: 25px;
}

.price-list {
    border-top: 1px solid rgba(221, 51, 51, 0.3);
    padding-top: 2rem;
    margin-top: 1rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(221, 51, 51, 0.1);
}

.price-item span:first-child {
    color: var(--text-light);
}

.price-item span:last-child {
    color: var(--primary-color);
    font-weight: 600;
}

.map-placeholder {
    background: var(--light-color);
    border: 1px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    color: var(--text-light);
    gap: 1rem;
    text-align: center;
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--primary-color);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(221, 51, 51, 0.3);
    padding: 3rem;
}

.form-container h3 {
    position: relative;
    display: block;
    opacity: 0;
    transform: translateX(-180px) translateY(-120px) rotateZ(-10deg);
    filter: blur(6px);
    transition: all 0.8s cubic-bezier(0.16, 0.9, 0.23, 1);
    margin-top: 0.5em;
    margin-bottom: 0.8rem;
    padding-top: 10px;
    font-size: 1.8rem;
    text-align: center;
    color: var(--white);
}

.form-container h3.visible {
    opacity: 1;
    transform: translateX(0) translateY(0) rotateZ(0);
    filter: blur(0);
}

.form-group {
    margin-bottom: 1.5rem;
}

input, textarea, select {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(221, 51, 51, 0.3);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

select option {
    background: var(--dark-color);
    color: var(--white);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(221, 51, 51, 0.1);
}

/* ========== АДАПТИВНОСТЬ ДЛЯ ВСЕХ СТРАНИЦ ========== */
@media (max-width: 1024px) {
    .hero-container,
    .hero-grid,
    .order-grid,
    .benefits-grid,
    .tattoo-hero {
        grid-template-columns: 1fr;
    }
    
    .format-grid,
    .art-grid,
    .gallery-grid,
    .testimonials-grid,
    .pmu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps,
    .benefits-grid-tattoo {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title,
    .hero-title-art,
    .hero-title-tattoo,
    .order-hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-image-container,
    .order-hero-image,
    .hero-image-tattoo {
        max-width: 80%;
        margin: 0 auto;
    }
    
    .reference-wrapper {
        padding: 2.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .reference-content h3 {
        justify-content: center;
    }
    
    .address-block {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title,
    .hero-title-art,
    .hero-title-tattoo,
    .order-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description,
    .hero-description-order,
    .hero-description-tattoo {
        font-size: 0.95rem;
        padding: 1rem;
    }
    
    .format-grid,
    .art-grid,
    .gallery-grid,
    .testimonials-grid,
    .pmu-grid,
    .works-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps,
    .benefits-grid-tattoo {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .banner-buttons {
        flex-direction: column;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .calc-title {
        font-size: 2rem;
    }
    
    .price-value {
        font-size: 3rem;
    }
    
    .course-price-block {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .hero-contact-info {
        padding-left: 1rem;
    }
}

@media (max-width: 600px) {
    .hero-buttons .btn,
    .banner-buttons .btn {
        width: 100%;
    }
    
    .size-row {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title,
    .hero-title-art,
    .hero-title-tattoo,
    .order-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .calc-title {
        font-size: 1.8rem;
    }
    
    .price-value {
        font-size: 2.5rem;
    }
    
    .calculator-main {
        padding: 0 1rem;
    }
    
    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
    
    .event-price {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .carousel-item {
        width: 250px;
        height: 350px;
    }
    
    @keyframes scroll {
        100% { transform: translateX(calc(-250px * 4 - 1.5rem * 4)); }
    }
}

#contactForm{
    margin-top:60px;
}
.modal-overlay {
            position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.9); backdrop-filter: blur(10px);
            z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease;
        }
        .modal-overlay.active { opacity: 1; visibility: visible; }
        .modal-container {
            max-width: 500px; width: 90%; background: var(--light-color); border: 2px solid var(--primary-color);
            padding: 2.5rem; position: relative; transform: scale(0.9); transition: transform 0.3s ease;
        }
        .modal-overlay.active .modal-container { transform: scale(1); }
        .modal-close {
            position: absolute; top: 15px; right: 15px; width: 30px; height: 30px; background: var(--primary-color);
            border: none; color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition);
        }
        .modal-close:hover { transform: rotate(90deg); background: #E05A5A; }
        .modal-title {
            position: relative; display: block; opacity: 0; transform: translateX(-180px) translateY(-120px) rotateZ(-10deg); filter: blur(6px);
            transition: all 0.8s cubic-bezier(0.16, 0.9, 0.23, 1); margin-top: 0.5em; margin-bottom: 1.5rem; padding-bottom: 10px;
            font-size: 1.8rem; color: var(--primary-color); text-align: center;
        }
        .modal-title.visible { opacity: 1; transform: translateX(0) translateY(0) rotateZ(0); filter: blur(0); }
        .modal-event-name { text-align: center; color: var(--white); margin-bottom: 2rem; font-size: 1.1rem; border-bottom: 1px solid rgba(221, 51, 51, 0.3); padding-bottom: 1rem; }