/* ========================================= */
/* ПОДКЛЮЧЕНИЕ ШРИФТОВ */
/* ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500&display=swap');

@font-face {
    font-family: 'Mirra Auriolic';
    src: url('fonts/Mirra-2.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* Oswald — локальный */
@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/oswald-v53-cyrillic_latin-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/oswald-v53-cyrillic_latin-500.woff2') format('woff2');
}
/* ========================================= */
/* СБРОС */
/* ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Oswald', sans-serif;
    color: #fff;
    overflow-x: hidden;
    background-color: #1a2a3a;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================= */
/* ШАПКА — GRID + СТЕКЛО */
/* ========================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 12px 60px;   /* ← вернул 60px по бокам */
    box-sizing: border-box;
    z-index: 1000;
    font-family: 'Oswald', sans-serif;
    background: transparent;
    transition: transform 0.4s ease, background 0.3s ease, backdrop-filter 0.3s ease;
}

/* СТЕКЛО ПРИ ПРОКРУТКЕ */
.header.scrolled {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.header.hidden {
    transform: translateY(-100%);
}

.header-trigger {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 999;
}

/* ЛЕВАЯ ЧАСТЬ */
.header-left {
    grid-column: 1;
    display: flex;
    align-items: center;
    gap: 30px;
    justify-self: start;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    height: 70px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
    display: block;
}

/* ЦЕНТР */
.header-center {
    grid-column: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-self: center;
}

.central-logo {
    width: 320px;
    max-width: 100%;
    height: auto;
    display: block;
}

/* ПРАВАЯ ЧАСТЬ */
.nav-right {
    grid-column: 3;
    display: flex;
    align-items: center;
    gap: 30px;
    justify-self: end;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* ШРИФТ ХЕДЕРА — 30px */
.nav a {
    color: #fff;
    text-decoration: none;
    font-size: 30px;
    letter-spacing: 1.2px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #0060A2;
}

/* ========================================= */
/* БУРГЕР И МОБИЛЬНОЕ МЕНЮ */
/* ========================================= */

.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(15, 25, 40, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 45px;
    line-height: 1;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

.mobile-menu-close:hover {
    color: #83D3FF;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;
    padding: 20px;
}

.mobile-nav a {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.mobile-nav a:hover {
    color: #83D3FF;
}

/* ========================================= */
/* ГЛАВНЫЙ ЭКРАН (HERO) */
/* ========================================= */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a2a3a;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-family: 'Mirra Auriolic', 'Playfair Display', serif;
    font-size: clamp(48px, 8.3vw, 160px);
    font-weight: 400;
    background: linear-gradient(180deg, #ffffff 0%, #a3c4d9 50%, #6b9bb5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #83D3FF;
    paint-order: stroke fill;
    letter-spacing: 2px;
    line-height: 1.1;
    margin-bottom: 40px;
    margin-top: -150px;
    position: relative;
}

.hero-subtitle-block {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.hero-subtitle-block p {
    text-align: center;
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.5;
    transform: translateY(-60px);
}

.hero-buttons-block {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    transform: translateY(200px);
    padding: 0 20px;
    box-sizing: border-box;
}

.btn {
    display: inline-block;
    padding: 20px 60px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background-color: #0060A2;
    color: #fff;
    border: 2px solid #0060A2;
}

.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline:hover {
    background-color: #0060A2;
    border-color: #0060A2;
    color: #fff;
}

/* ========================================= */
/* КАРУСЕЛЬ UTP */
/* ========================================= */

.carousel-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.carousel-bg {
    position: absolute;
    inset: 0;
    background-image: url('Images/FON_UTP2.jpg');
    background-size: cover;
    background-position: center bottom;
    z-index: 1;
}

.carousel-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 85vh;
    width: auto;
    z-index: 2;
    object-fit: contain;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}

.carousel-text {
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 100%;
    text-align: center;
    font-family: 'Mirra Auriolic', 'Playfair Display', serif;
    font-size: clamp(2rem, 3vw, 4rem);
    color: #fff;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #fff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.7), 0 2px 4px rgba(0, 0, 0, 0.5);
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.8));
    white-space: nowrap;
    z-index: 10;
    transition: opacity 0.6s ease-in-out;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 24px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    background-color: #0060A2;
    border-color: #0060A2;
    box-shadow: 0 0 20px rgba(0, 96, 162, 0.6);
}

.arrow-left { left: 30px; }
.arrow-right { right: 30px; }

.style-gala { height: 105vh; top: 47%; }
.style-podushka { height: 100vh; top: 50%; }
.style-4ernobrov { height: 90vh; top: 45%; left: 40%; }
.style-choir { height: 130vh; top: 40%; left: 51%; }

/* ========================================= */
/* БЛОК "О НАС" */
/* ========================================= */

.about-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #1a2a3a;
    scroll-margin-top: 100px;
}

.about-bg,
.about-bg-overlay {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    pointer-events: none;
}

.about-bg-overlay {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.about-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    width: 100%;
    height: 100%;
}

.about-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    transition: background 0.4s ease;
}

.about-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: background 0.4s ease, opacity 0.4s ease;
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
    text-align: center;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.about-content h3 {
    font-family: 'Mirra Auriolic', 'Playfair Display', serif;
    font-size: clamp(2.5rem, 3.5vw, 4rem);
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    transition: color 0.4s ease, text-shadow 0.4s ease;
}

.about-link {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    border-bottom: 1px solid #fff;
    display: inline-block;
    padding-bottom: 3px;
}

.about-link span {
    margin-left: 8px;
    font-size: 20px;
}

.about-item:hover::before,
.about-item.is-active::before {
    background: rgba(255, 255, 255, 0.8);
    opacity: 1;
}

.about-item:hover .about-content,
.about-item.is-active .about-content {
    transform: translateY(-15px);
}

.about-item:hover .about-content h3,
.about-item.is-active .about-content h3 {
    color: #000;
    text-shadow: none;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: rgba(0, 0, 0, 0.7);
    paint-order: stroke fill;
}

.about-item:hover .about-link,
.about-item.is-active .about-link {
    color: #000;
    border-bottom-color: #000;
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: rgba(0, 0, 0, 0.7);
    paint-order: stroke fill;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ========================================= */
/* БЛОК "ПРОМО" */
/* ========================================= */

.promo-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #1a2a3a;
    background-image: url('Images/Promo_background2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    gap: 10px;
    scroll-margin-top: 100px;
}

.promo-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.promo-title,
.promo-container {
    position: relative;
    z-index: 2;
}

.promo-title {
    font-family: 'Mirra Auriolic', 'Playfair Display', serif;
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-align: center;
    margin: 0;
    line-height: 1;
    background: linear-gradient(180deg, #ffffff 0%, #a3c4d9 50%, #6b9bb5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #83D3FF;
    paint-order: stroke fill;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.8));
}

.promo-container {
    width: 100%;
    max-width: 1600px;
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
}

.promo-featured { display: contents; }

.promo-featured-item {
    background-color: #000;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    position: relative;
    grid-column: span 2;
    grid-row: span 1;
}

.promo-featured-item:first-child { grid-column: 2 / 3; }
.promo-featured-item:last-child { grid-column: 3 / 4; }

.promo-featured-item iframe,
.promo-featured-item video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.promo-gallery { display: contents; }

.promo-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: zoom-in;
    min-height: 0;
    grid-row: auto;
    grid-column: auto;
}

.promo-gallery img:nth-child(-n+4) { grid-row: 2; }
.promo-gallery img:nth-child(n+5) { grid-row: 3; }

.promo-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
    z-index: 3;
}

/* ========================================= */
/* ЛАЙТБОКС */
/* ========================================= */

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
    padding: 40px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.is-open {
    display: flex;
    opacity: 1;
}

.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    animation: zoomIn 0.3s ease;
    cursor: default;
}

@keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 50px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
    user-select: none;
}

.lightbox-close:hover {
    color: #0060A2;
    transform: scale(1.2);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 24px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.lightbox-arrow:hover {
    background-color: #0060A2;
    border-color: #0060A2;
    box-shadow: 0 0 20px rgba(0, 96, 162, 0.6);
}

.lightbox-arrow-left { left: 30px; }
.lightbox-arrow-right { right: 30px; }

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    letter-spacing: 2px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 20px;
    border-radius: 30px;
    z-index: 10000;
}

/* ========================================= */
/* БЛОК "КОНТАКТЫ" */
/* ========================================= */

.contacts-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #1a2a3a;
    background-image: url('Images/Promo_background2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    gap: 15px;
    scroll-margin-top: 100px;
}

.contacts-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.contacts-title,
.contacts-container {
    position: relative;
    z-index: 2;
}

.contacts-title {
    font-family: 'Mirra Auriolic', 'Playfair Display', serif;
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-align: center;
    margin: 0;
    line-height: 1;
    flex-shrink: 0;
    background: linear-gradient(180deg, #ffffff 0%, #a3c4d9 50%, #6b9bb5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #83D3FF;
    paint-order: stroke fill;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.8));
}

.contacts-container {
    width: 100%;
    max-width: 1400px;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contacts-map {
    position: relative;
    width: 100%;
    flex: 0 0 70%;
    min-height: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    background-color: #000;
}

.contacts-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    filter: invert(1) hue-rotate(180deg) brightness(0.95) contrast(0.9);
}

.contacts-map-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    cursor: pointer;
    background: transparent;
    transition: background 0.3s ease;
}

.contacts-map:hover .contacts-map-overlay {
    background: rgba(0, 96, 162, 0.08);
}

.contacts-map.active .contacts-map-overlay {
    display: none;
}

.contacts-info {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 40px;
    color: #fff;
    font-family: 'Oswald', sans-serif;
}

.contacts-column {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contacts-column p {
    margin: 0;
    font-size: clamp(14px, 1.1vw, 18px);
    line-height: 1.4;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.contacts-column strong {
    font-weight: 500;
    color: #a3c4d9;
}

/* ========================================= */
/* ФУТЕР */
/* ========================================= */

.footer {
    width: 100%;
    background-color: #000;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    padding: 60px 40px 40px;
    box-sizing: border-box;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
}

.footer-title {
    font-family: 'Mirra Auriolic', 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 400;
    color: #fff;
    letter-spacing: 3px;
    margin: 0 0 30px 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.footer-contacts p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 15px 0;
    letter-spacing: 0.5px;
    color: #fff;
}

.footer-contacts p span {
    color: #fff;
    font-weight: 500;
}

.footer-logos {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
}

.footer-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.footer-logo-item p {
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    color: #ddd;
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.3;
    text-align: center;
}

.footer-logo-item img {
    display: block;
    margin: 0 auto;
    object-fit: contain;
    background: none;
    padding: 0;
    border-radius: 0;
}

.footer-logo-item:first-child img { width: 110px; height: 130px; }
.footer-logo-item:nth-child(2) img { width: 240px; height: 170px; }

.footer-hotline {
    background-color: #fff;
    color: #000;
    padding: 15px 20px;
    border-radius: 4px;
    max-width: 340px;
    margin: 0 auto;
}

.footer-hotline p {
    font-size: 13px;
    text-align: center;
    line-height: 1.4;
    margin: 0 0 8px 0;
    color: #000;
    font-weight: 500;
}

.footer-hotline-phone {
    font-size: 20px !important;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0 !important;
    color: #000;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.social-link:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}

.social-rutube { background-color: #fff; color: #000; }
.social-vk     { background-color: #0077FF; }
.social-ok     { background-color: #EE8208; }
.social-tg     { background-color: #26A5E4; }

.footer-quality {
    color: #a3c4d9;
    font-size: 15px;
    line-height: 1.5;
    text-decoration: underline;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.footer-quality:hover {
    color: #0060A2;
}

.footer-copyright {
    font-size: 14px;
    line-height: 1.5;
    color: #ddd;
    margin: 0;
    letter-spacing: 0.5px;
}

/* ========================================= */
/* ========================================= */
/* АДАПТИВ                                    */
/* ========================================= */
/* ========================================= */

/* ========================================= */
/* БОЛЬШИЕ ЭКРАНЫ (1600px - 2000px)            */
/* ========================================= */

@media (max-width: 2000px) {
    .header {
    padding: 12px 60px;   /* было 30px */
}

    .header-left,
    .nav,
    .nav-right {
        gap: 25px;
    }
}

/* ========================================= */
/* СРЕДНИЕ МОНИТОРЫ (1400px - 1600px)          */
/* ========================================= */

@media (max-width: 1600px) {
    .header {
    padding: 12px 60px;   /* было 25px */
}

    .header-left,
    .nav,
    .nav-right {
        gap: 20px;
    }

    .nav a {
        font-size: 26px;
        letter-spacing: 1px;
    }

    .logo-icon {
        height: 55px;
        max-width: 65px;
    }

    .central-logo {
        width: 260px;
    }

    .hero-title {
        font-size: 130px;
        margin-top: -130px;
    }
}

/* ========================================= */
/* НЕБОЛЬШИЕ НОУТБУКИ (1200px - 1400px)         */
/* ========================================= */

@media (max-width: 1400px) {
    .header {
    padding: 12px 60px;   /* было 20px */
}

    .header-left,
    .nav,
    .nav-right {
        gap: 15px;
    }

    .nav a {
        font-size: 22px;
        letter-spacing: 0.8px;
    }

    .logo-icon {
        height: 50px;
        max-width: 60px;
    }

    .central-logo {
        width: 220px;
    }

    .hero-title {
        font-size: 100px;
        margin-top: -100px;
    }

    .hero-subtitle-block p {
        font-size: 24px;
    }
}

/* ========================================= */
/* ПЛАНШЕТЫ (992px - 1200px) — БУРГЕР          */
/* ========================================= */

@media (max-width: 1200px) {

    .header {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 20px;
        background: rgba(26, 42, 58, 0.85);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }

    .header.scrolled {
        background: rgba(26, 42, 58, 0.98);
    }

    .header-left,
    .nav-right {
        display: none;
    }

    .header-center {
        grid-column: auto;
        justify-self: auto;
    }

    .central-logo {
        width: 180px;
        max-width: 60vw;
    }

    .burger {
        display: flex;
    }

    /* HERO */
    .hero {
        height: auto;
        min-height: 100vh;
        justify-content: center;
        padding: 120px 20px 60px;
    }

    .hero-title {
        font-size: 44px;
        margin-top: 0;
        margin-bottom: 25px;
        line-height: 1.15;
        letter-spacing: 1px;
    }

    .hero-subtitle-block {
        margin-bottom: 25px;
    }

    .hero-subtitle-block p {
        font-size: 18px;
        transform: none;
        line-height: 1.4;
        padding: 0;
    }

    .hero-buttons-block {
        flex-direction: column;
        max-width: 320px;
        transform: none;
        margin: 0 auto;
        gap: 12px;
    }

    .btn {
        width: 100%;
        padding: 14px 25px;
        font-size: 16px;
    }

    /* КАРУСЕЛЬ — СКРЫТА */
    .carousel-section {
        display: none;
    }

    /* О НАС */
    .about-section {
        height: auto;
        min-height: auto;
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, auto);
    }

    .about-item {
        min-height: 140px;
        padding: 25px 15px;
    }

    .about-content h3 { font-size: 28px; }
    .about-link { font-size: 13px; }

    /* ПРОМО */
    .promo-section {
        height: auto;
        min-height: 100vh;
        padding: 80px 20px 40px;
    }

    .promo-title {
        font-size: 32px;
        letter-spacing: 3px;
        margin-bottom: 20px;
    }

    .promo-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 10px;
    }

    .promo-featured-item,
    .promo-featured-item:first-child,
    .promo-featured-item:last-child {
        grid-column: span 1;
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .promo-gallery img {
        grid-row: auto;
        height: 130px;
    }

    .promo-gallery img:nth-child(-n+4),
    .promo-gallery img:nth-child(n+5) {
        grid-row: auto;
    }

    /* КОНТАКТЫ */
    .contacts-section {
        height: auto;
        min-height: 100vh;
        padding: 80px 20px 40px;
    }

    .contacts-title {
        font-size: 32px;
        letter-spacing: 3px;
        margin-bottom: 20px;
    }

    .contacts-map {
        flex: 0 0 350px;
    }

    .contacts-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contacts-column p {
        font-size: 14px;
    }

    /* ФУТЕР */
    .footer {
        padding: 40px 20px 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-title { font-size: 24px; }

    .footer-contacts p,
    .footer-quality,
    .footer-copyright {
        font-size: 14px;
    }

    .footer-logo-item:first-child img { width: 90px; height: 110px; }
    .footer-logo-item:nth-child(2) img { width: 180px; height: 130px; }

    .footer-socials {
        justify-content: center;
    }

    /* ВНУТРЕННИЕ СТРАНИЦЫ */
    .personal-title {
        font-size: 30px;
        letter-spacing: 3px;
        margin-bottom: 25px;
        padding: 0 15px;
        line-height: 1.15;
    }

    .choir-page,
    .afisha-page,
    .news-page,
    .personal-page,
    .official-page,
    .history-page,
    .documents-page {
        padding: 100px 15px 40px;
        min-height: auto;
        height: auto;
    }

    .choir-glass,
    .afisha-glass {
        padding: 30px 15px;
        border-radius: 12px;
        max-width: 100%;
    }

    .choir-grid,
    .management-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px 15px;
    }

    .choir-name { font-size: 14px; }
    .choir-title { font-size: 12px; }

    .afisha-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .afisha-name { font-size: 16px; }
    .afisha-line { font-size: 13px; }
    .afisha-btn { padding: 11px 18px; font-size: 13px; }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .news-subtitle { font-size: 16px; margin-bottom: 30px; }
    .news-title { font-size: 16px; }
    .news-text { font-size: 13px; }

    .news-modal-content { padding: 35px 20px; }
    .news-modal-body h2 { font-size: 20px; padding-right: 30px; }
    .news-modal-body p { font-size: 15px; }
    .news-modal-close { font-size: 32px; top: 10px; right: 15px; }

    .personal-row {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 18px 15px;
    }

    .personal-text { font-size: 15px; }

    .pdf-btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 13px;
    }

    .official-table-header,
    .official-row {
        padding: 15px;
        font-size: 14px;
    }

    .official-subtitle {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .personal-back {
        margin-top: 25px;
        text-align: center;
    }

    .back-link {
        font-size: 14px;
        padding: 10px 18px;
        display: inline-block;
    }

    .history-figure-float {
        float: none;
        width: 100%;
        max-width: 240px;
        margin: 0 auto 25px auto;
    }

    .history-text-with-photos {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .history-photos-left {
        flex-direction: row;
        gap: 15px;
    }

    .history-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .documents-nav {
        gap: 20px;
        padding: 0 15px;
    }

    .documents-link {
        font-size: 18px;
    }

    .lightbox { padding: 15px; }
    .lightbox-arrow { width: 40px; height: 40px; font-size: 16px; }
    .lightbox-arrow-left { left: 8px; }
    .lightbox-arrow-right { right: 8px; }
    .lightbox-counter { font-size: 13px; }
    .lightbox-close { top: 10px; right: 15px; font-size: 36px; }
}

/* ========================================= */
/* ТЕЛЕФОНЫ (до 768px)                        */
/* ========================================= */

@media (max-width: 768px) {

    .central-logo { width: 160px; }
    .burger { width: 30px; height: 22px; right: 15px; }

    .hero { padding: 100px 15px 30px; }
    .hero-title { font-size: 32px; margin-bottom: 20px; }
    .hero-subtitle-block p { font-size: 14px; }

    .about-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .about-item {
        min-height: 110px;
        padding: 20px 12px;
    }

    .about-content h3 { font-size: 24px; }
    .about-link { font-size: 12px; }

    .promo-container { grid-template-columns: 1fr; }

    .promo-featured-item,
    .promo-featured-item:first-child,
    .promo-featured-item:last-child {
        grid-column: span 1;
    }

    .promo-gallery img { height: 180px; }

    .promo-title,
    .contacts-title {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .personal-title {
        font-size: 26px;
        letter-spacing: 2px;
        margin-bottom: 20px;
    }

    .choir-grid,
    .management-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 12px;
    }

    .choir-glass { padding: 25px 12px; }
    .choir-name { font-size: 13px; }
    .choir-title { font-size: 11px; }

    .afisha-grid { grid-template-columns: 1fr; }
    .afisha-card { max-width: 400px; margin: 0 auto; width: 100%; }
    .afisha-subtitle { font-size: 20px; }

    .news-grid { grid-template-columns: 1fr; gap: 25px; }
    .news-title { font-size: 17px; }
    .news-text { font-size: 14px; }

    .documents-title { font-size: 28px; }
    .documents-link { font-size: 16px; }

    .history-subtitle { font-size: 15px; }
    .history-content { font-size: 15px; }
}

/* ========================================= */
/* МАЛЕНЬКИЕ ТЕЛЕФОНЫ (до 480px)               */
/* ========================================= */

@media (max-width: 480px) {

    .central-logo { width: 140px; }
    .burger { width: 28px; height: 22px; }

    .hero { padding: 90px 12px 25px; }
    .hero-title { font-size: 28px; margin-bottom: 20px; }
    .hero-subtitle-block p { font-size: 13px; }

    .btn {
        font-size: 14px;
        padding: 12px 20px;
    }

    .about-content h3 { font-size: 22px; }
    .about-link { font-size: 12px; }

    .promo-title,
    .contacts-title { font-size: 24px; letter-spacing: 2px; }

    .promo-gallery img { height: 150px; }

    .contacts-map { flex: 0 0 260px; }

    .footer-title { font-size: 20px; }

    .personal-title {
        font-size: 22px;
        letter-spacing: 2px;
    }

    .choir-grid,
    .management-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 8px;
    }

    .choir-page,
    .afisha-page,
    .news-page,
    .personal-page,
    .official-page,
    .history-page,
    .documents-page {
        padding: 85px 10px 30px;
    }

    .choir-glass,
    .afisha-glass { padding: 20px 10px; }

    .choir-name { font-size: 12px; }
    .choir-title { font-size: 10px; }

    .afisha-title,
    .documents-title { font-size: 24px; }
    .afisha-name { font-size: 15px; }
    .afisha-line { font-size: 12px; }

    .personal-text { font-size: 14px; }
    .pdf-btn { font-size: 12px; padding: 11px 15px; }
    .back-link { font-size: 13px; padding: 9px 15px; }

    .history-content { font-size: 14px; }
    .history-photos-left { flex-direction: column; }
}

/* ========================================= */
/* УВЕЛИЧЕНИЕ ЭЛЕМЕНТОВ НА УЛЬТРАШИРОКИХ     */
/* ========================================= */

@media (min-width: 2001px) {
    .central-logo {
        width: 360px;
    }

    .logo-icon {
        height: 80px;
        max-width: 90px;
    }

    .nav a {
        font-size: 32px;
    }

    .header-left,
    .nav,
    .nav-right {
        gap: 40px;
    }

    .header {
        padding: 12px 80px;
    }

    .hero-title {
        font-size: 180px;
    }

    .hero-subtitle-block p {
        font-size: 34px;
    }

    .about-content h3 {
        font-size: 4.5rem;
    }
}

/* ========================================= */
/* МОБИЛЬНЫЙ HERO (до 1200px) — БЕЗ КАРУСЕЛИ  */
/* ========================================= */

@media (max-width: 1200px) {

    /* КАРУСЕЛЬ UTP — СКРЫТА */
    .carousel-section {
        display: none !important;
    }

    /* HERO — заголовок сверху, под хедером */
    .hero {
        height: auto !important;
        min-height: 100vh !important;
        justify-content: flex-start !important;
        align-items: center !important;
        padding: 130px 20px 60px !important;
    }

    .hero-content {
        justify-content: flex-start !important;
        align-items: center !important;
        width: 100% !important;
    }

    /* Заголовок */
    .hero-title {
        font-size: 42px !important;
        margin-top: 0 !important;
        margin-bottom: 25px !important;
        line-height: 1.15 !important;
        letter-spacing: 1px !important;
        text-align: center !important;
    }

    /* Подзаголовок */
    .hero-subtitle-block {
        width: 100% !important;
        margin-bottom: 30px !important;
        padding: 0 15px !important;
    }

    .hero-subtitle-block p {
        font-size: 16px !important;
        transform: none !important;
        line-height: 1.5 !important;
        padding: 0 !important;
        text-align: center !important;
    }

    /* Кнопки */
    .hero-buttons-block {
        width: 100% !important;
        max-width: 340px !important;
        flex-direction: column !important;
        transform: none !important;
        margin: 0 auto !important;
        gap: 12px !important;
        padding: 0 !important;
    }

    .btn {
        width: 100% !important;
        padding: 16px 30px !important;
        font-size: 16px !important;
        text-align: center !important;
    }
}

/* ========================================= */
/* МОБИЛЬНЫЙ HERO (до 768px)                    */
/* ========================================= */

@media (max-width: 768px) {
    .hero {
        padding: 120px 15px 50px !important;
    }

    .hero-title {
        font-size: 34px !important;
        margin-bottom: 20px !important;
    }

    .hero-subtitle-block p {
        font-size: 15px !important;
    }

    .btn {
        padding: 14px 25px !important;
        font-size: 15px !important;
    }
}

/* ========================================= */
/* МОБИЛЬНЫЙ HERO (до 480px)                    */
/* ========================================= */

@media (max-width: 480px) {
    .hero {
        padding: 110px 12px 40px !important;
    }

    .hero-title {
        font-size: 28px !important;
        margin-bottom: 18px !important;
    }

    .hero-subtitle-block p {
        font-size: 14px !important;
    }

    .btn {
        padding: 13px 22px !important;
        font-size: 14px !important;
    }
}
/* ========================================= */
/* ССЫЛКА НА РАЗРАБОТЧИКА В ФУТЕРЕ */
/* ========================================= */

.footer-developer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-developer-label {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    color: #a3c4d9;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-developer-link {
    display: inline-block;
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.footer-developer-link:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.footer-developer-logo {
    max-width: 300px;
    height: auto;
    display: block;
    filter: brightness(1);
    transition: filter 0.3s ease;
}

.footer-developer-link:hover .footer-developer-logo {
    filter: brightness(1.2);
}