
/* Основные настройки сайта */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #080808;
    color: #ffffff;
    font-family: Arial, sans-serif;
}

/* Первый кинематографичный экран */
header {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    background: radial-gradient(
        circle at center,
        #292329 0%,
        #080808 75%
    );
}

header h1 {
    font-size: clamp(42px, 7vw, 100px);
    text-transform: uppercase;
    letter-spacing: 4px;
    max-width: 1100px;
    animation: fadeUp 1.5s ease-out;
}

header p {
    margin-top: 25px;
    font-size: 18px;
    letter-spacing: 5px;
    color: #c9b8a8;
}

header a {
    margin-top: 45px;
    padding: 16px 35px;
    border: 1px solid #c9b8a8;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 2px;
    transition: 0.3s;
}

header a:hover {
    background: #c9b8a8;
    color: #080808;
}

/* Раздел о школе */
section {
    padding: 120px 10%;
    min-height: 50vh;
}

section h2 {
    font-size: 42px;
    margin-bottom: 25px;
}

/* Плавное появление заголовка */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    header h1 {
        animation: none;
    }
}

/* Кинематографичный видеофон */
.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    z-index: -2;
}


/* Кинематографичное затемнение видео */

.hero-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.75) 50%,
        rgba(0, 0, 0, 0.90) 100%
    );

    z-index: -1;
}



.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Верхнее меню */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 5%;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.65),
        transparent
    );
}

.logo {
    color: white;
    text-decoration: none;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 3px;
}

.logo span {
    display: block;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 4px;
    color: #c9b8a8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #c9b8a8;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-select {
    background: transparent;
    color: white;
    border: 1px solid #777;
    padding: 7px;
    cursor: pointer;
}

.language-select option {
    color: #111;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: white;
    font-size: 25px;
    cursor: pointer;
}

/* Адаптация для телефонов */
@media (max-width: 900px) {
    .navbar {
        padding: 20px 5%;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 75px;
        left: 5%;
        right: 5%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 15px;
        background: #151515;
        border: 1px solid #333;
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        padding: 12px;
    }

    .menu-toggle {
        display: block;
    }
}

/* Раздел о Кристине */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 8%;
    min-height: 100vh;
    padding: 100px 10%;
    background: #101010;
}

.about-image {
    overflow: hidden;
    max-height: 750px;
}

.about-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-image img:hover {
    transform: scale(1.04);
}

.about-label {
    color: #c9b8a8;
    font-size: 11px;
    letter-spacing: 4px;
}

.about-content h2 {
    margin-top: 25px;
    font-size: clamp(30px, 3.5vw, 56px);
    line-height: 1.2;
    font-weight: 400;
}

.about-content h2 em {
    color: #c9b8a8;
    font-family: Georgia, serif;
}

.about-line {
    width: 70px;
    height: 1px;
    background: #c9b8a8;
    margin: 35px 0;
}

.about-content p {
    color: #b8b8b8;
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 20px;
}

/* Адаптация для телефона */
@media (max-width: 768px) {
    .about-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 70px 7%;
    }

   
.about-image {
    width: 100%;
    max-height: none;
    overflow: visible;
}

.about-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}


    .about-content h2 {
        font-size: 34px;
    }
}

/* Показываем Кристину в полный рост */
.about-section .about-image {
    height: auto;
    max-height: none;
    overflow: visible;
}

.about-section .about-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
}

/* Направления танцев */
.directions-section {
    background: #080808;
    padding: 120px 8%;
}

.directions-heading {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    color: #c9b8a8;
    font-size: 11px;
    letter-spacing: 4px;
}

.directions-heading h2 {
    font-size: clamp(38px, 5vw, 76px);
    font-weight: 400;
    margin: 25px 0;
}

.directions-heading h2 em {
    font-family: Georgia, serif;
    color: #c9b8a8;
}

.directions-heading p {
    color: #999;
    font-size: 16px;
}

.directions-category {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 30px;
    color: #ddd;
}

.kids-heading {
    margin-top: 70px;
}

.directions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.dance-card {
    position: relative;
    min-height: 310px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;

    background: linear-gradient(
        145deg,
        #292329,
        #111111
    );

    border: 1px solid #333;
    transition: transform 0.4s ease,
                border-color 0.4s ease;
}

.dance-card:hover {
    transform: translateY(-8px);
    border-color: #c9b8a8;
}

.dance-number {
    position: absolute;
    top: 30px;
    left: 35px;
    color: #c9b8a8;
    font-size: 12px;
    letter-spacing: 3px;
}

.dance-card h3 {
    font-size: clamp(25px, 3vw, 42px);
    font-weight: 400;
    margin-bottom: 12px;
}

.dance-card p {
    color: #bbb;
    font-size: 15px;
    line-height: 1.5;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .directions-section {
        padding: 80px 6%;
    }

    .directions-heading {
        margin-bottom: 50px;
    }

    .directions-grid {
        grid-template-columns: 1fr;
    }

    .dance-card {
        min-height: 260px;
        padding: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dance-card {
        transition: none;
    }
}

.flamenco-card {
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.05) 75%
        ),
        url("images/directions/flamenco.webp")
        center 35% / cover no-repeat;
}

/* Карточка Latin Dance */
.latin-card {
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.35) 65%,
            rgba(0, 0, 0, 0.10) 100%
        ),
        url("images/directions/latin.webp")
        center center / cover no-repeat;
}

/* Карточка Ballroom Dance */
.ballroom-card {
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.30) 65%,
            rgba(0, 0, 0, 0.10) 100%
        ),
        url("images/directions/ballroom.webp")
        center center / cover no-repeat;
}

/* Карточка Private & ProAm */
.private-card {
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.30) 65%,
            rgba(0, 0, 0, 0.10) 100%
        ),
        url("images/directions/private-proam.webp")
        center center / cover no-repeat;
}

/* Карточка Group Classes */
.group-card {
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.10) 85%
        ),
        url("images/directions/group.webp")
        center / cover no-repeat;
}

/* Детские бальные танцы */
.kids-ballroom-card {
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.25) 65%,
            rgba(0, 0, 0, 0.05) 100%
        ),
        url("images/directions/kids-ballroom.webp")
        center 40% / cover no-repeat;
}

/* Kids Fun Dance */
.kids-fun-card {
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.25) 65%,
            rgba(0, 0, 0, 0.05) 100%
        ),
        url("images/directions/kids-fun.webp")
        center center / cover no-repeat;
}

/* Галерея DanceMe */
.gallery-section {
    background: #101010;
    padding: 120px 8%;
    color: #fff;
}

.gallery-heading {
    text-align: center;
    margin-bottom: 70px;
}

.gallery-label {
    color: #c9b8a8;
    font-size: 11px;
    letter-spacing: 4px;
}

.gallery-heading h2 {
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 400;
    margin: 25px 0;
}

.gallery-heading h2 em {
    font-family: Georgia, serif;
    color: #c9b8a8;
}

.gallery-heading p {
    color: #aaa;
    font-size: 16px;
    line-height: 1.8;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 250px;
    gap: 18px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border: 1px solid #333;
    background: #1b181a;
    transition: transform 0.4s ease,
                border-color 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: #c9b8a8;
}

.gallery-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    background: linear-gradient(
        145deg,
        #30262a,
        #111111
    );
}

.gallery-placeholder span {
    color: #c9b8a8;
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.gallery-placeholder h3 {
    font-size: 24px;
    font-weight: 400;
}

.gallery-instagram {
    display: table;
    margin: 55px auto 0;
    padding: 15px 30px;
    border: 1px solid #c9b8a8;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    transition: background 0.3s, color 0.3s;
}

.gallery-instagram:hover {
    background: #c9b8a8;
    color: #111;
}

/* Мобильная галерея */
@media (max-width: 768px) {
    .gallery-section {
        padding: 80px 6%;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 190px;
        gap: 12px;
    }

    .gallery-large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-placeholder {
        padding: 15px;
    }

    .gallery-placeholder h3 {
        font-size: 18px;
    }
}

@media (max-width: 420px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .gallery-large {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-item {
        transition: none;
    }
}

/* Отзывы DanceMe */
.reviews-section {
    background: #080808;
    color: #fff;
    padding: 120px 8%;
}

.reviews-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 70px;
}

.reviews-label {
    color: #c9b8a8;
    font-size: 11px;
    letter-spacing: 4px;
}

.reviews-heading h2 {
    font-size: clamp(36px, 5vw, 70px);
    font-weight: 400;
    line-height: 1.2;
    margin: 25px 0;
}

.reviews-heading h2 em {
    font-family: Georgia, serif;
    color: #c9b8a8;
}

.reviews-heading p {
    color: #aaa;
    font-size: 16px;
    line-height: 1.8;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.review-card {
    min-height: 340px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: linear-gradient(
        145deg,
        #292329,
        #111111
    );

    border: 1px solid #333;
    transition: transform 0.4s ease,
                border-color 0.4s ease;
}

.review-card:hover {
    transform: translateY(-6px);
    border-color: #c9b8a8;
}

.review-number {
    color: #c9b8a8;
    font-size: 12px;
    letter-spacing: 3px;
}

.review-type {
    color: #c9b8a8;
    font-size: 10px;
    letter-spacing: 2px;
}

.review-content h3 {
    font-size: 25px;
    font-weight: 400;
    margin: 15px 0;
}

.review-content p {
    color: #999;
    font-size: 14px;
    line-height: 1.7;
}

/* Планшеты */
@media (max-width: 900px) {
    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Телефоны */
@media (max-width: 600px) {
    .reviews-section {
        padding: 80px 6%;
    }

    .reviews-heading {
        margin-bottom: 45px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-card {
        min-height: 260px;
        padding: 25px;
    }
}


@media (prefers-reduced-motion: reduce) {
    .reveal.reveal-ready,
    .reveal.reveal-ready.is-visible {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}


/* Контакты DanceMe */
.contacts-section {
    min-height: 85vh;
    padding: 130px 8%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background:
        radial-gradient(
            ellipse at center,
            #30242a 0%,
            #101010 55%,
            #080808 100%
        );

    color: #fff;
}

.contacts-content {
    width: 100%;
    max-width: 950px;
}

.contacts-label {
    color: #c9b8a8;
    font-size: 11px;
    letter-spacing: 4px;
}

.contacts-content h2 {
    font-size: clamp(42px, 6vw, 90px);
    font-weight: 400;
    line-height: 1.15;
    margin: 30px 0;
}

.contacts-content h2 em {
    display: block;
    font-family: Georgia, serif;
    color: #c9b8a8;
}

.contacts-description {
    max-width: 550px;
    margin: 0 auto 45px;
    color: #bbb;
    font-size: 17px;
    line-height: 1.8;
}

.contacts-button {
    display: inline-block;
    padding: 18px 35px;
    border: 1px solid #c9b8a8;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    transition: background 0.3s, color 0.3s;
}

.contacts-button:hover {
    background: #c9b8a8;
    color: #111;
}

.contacts-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin-top: 100px;
    padding-top: 35px;
    border-top: 1px solid #3a3335;
}

.contact-detail span {
    display: block;
    margin-bottom: 15px;
    color: #c9b8a8;
    font-size: 10px;
    letter-spacing: 3px;
}

.contact-detail p,
.contact-detail a {
    color: #ddd;
    font-size: 14px;
    line-height: 1.7;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-detail a:hover {
    color: #c9b8a8;
}

/* Нижняя часть сайта */
.site-footer {
    padding: 60px 8% 25px;
    background: #080808;
    color: #fff;
    text-align: center;
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 5px;
}

.footer-logo span {
    display: block;
    margin-top: 5px;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 5px;
    color: #c9b8a8;
}

.site-footer > p {
    margin: 25px 0 55px;
    color: #999;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 16px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 25px;
    border-top: 1px solid #252525;
    color: #777;
    font-size: 12px;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .contacts-section {
        padding: 100px 6%;
    }

    .contacts-info {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-top: 70px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
    }
}

/* Сохраняем порядок карточек при арабском языке */
.directions-grid {
    direction: ltr;
}

[dir="rtl"] .dance-card {
    text-align: right;
    direction: rtl;
}

/* Контакты: три колонки на компьютере */
@media (min-width: 769px) {
    .contacts-info {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px;
        align-items: start;
    }
}

/* Арабский язык */
html[dir="rtl"] .contacts-content h2 {
    font-size: clamp(38px, 5vw, 76px);
}

html[dir="rtl"] .contacts-info {
    direction: ltr;
}

html[dir="rtl"] .contact-detail {
    direction: rtl;
    text-align: center;
}

/* Номера и ссылки читаются слева направо */
.contact-detail a {
    unicode-bidi: isolate;
}

html[dir="rtl"] .contact-detail a {
    direction: ltr;
    display: inline-block;
}

/* Плавное появление элементов DanceMe */
.reveal {
    opacity: 1;
    transform: none;
}


/* Плавное кинематографичное появление */
.reveal.reveal-ready {
    opacity: 0;
    transform: translateY(35px);
    filter: blur(2px);

    transition:
        opacity 1.2s ease-out,
        transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.8s ease-out;
}

.reveal.reveal-ready.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}


/* Мягкая реакция карточек на наведение */
@media (hover: hover) {
    .dance-card,
    .gallery-item,
    .review-card {
        transition:
            transform 0.4s ease,
            border-color 0.4s ease;
    }

    .dance-card:hover,
    .gallery-item:hover,
    .review-card:hover {
        transform: translateY(-5px);
    }
}

/* Учитываем настройки доступности */
@media (prefers-reduced-motion: reduce) {
    .reveal.reveal-ready,
    .reveal.reveal-ready.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Фирменный логотип DanceMe в футере */
.footer-brand-image {
    display: block;
    width: 320px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 4px;
}

.site-footer .footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width: 600px) {
    .footer-brand-image {
        width: 260px;
    }
}
/* Kids Hip-Hop: separate illustrative asset, existing photos preserved. */
.kids-hiphop-card {
    background:
        linear-gradient(to top, rgba(0, 0, 0, .92), rgba(0, 0, 0, .25) 65%, rgba(0, 0, 0, .05)),
        url("images/directions/kids-hiphop.webp") center 40% / cover no-repeat;
}
.dance-image-note {
    display: block;
    margin-top: 12px;
    color: #c9b8a8;
    font-size: 10px;
    line-height: 1.5;
}

/* Updated academy catalogue and accessible news cards. */
.pilates-card,.kids-private-card{background:linear-gradient(145deg,#34252a,#181416)}.directions-note{color:#c5bbb3;max-width:850px;line-height:1.7;margin:20px 0}.separate-venue{border:1px solid #5c4b42;padding:28px;margin-top:32px;border-radius:12px}.separate-venue h3{font-size:clamp(24px,4vw,36px);margin:12px 0}.separate-venue p{color:#c5bbb3;line-height:1.6}.news-section{padding:80px max(6vw,20px);background:#141313;color:#eee}.news-section h2{font-size:clamp(30px,5vw,60px);font-weight:400;margin:18px 0}.news-section>a,.news-card a{color:#ddc8af}.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:28px 0}.news-card{min-width:0;border:1px solid #51443b;padding:16px;border-radius:10px}.news-card img{width:100%;aspect-ratio:1;object-fit:cover}.news-card p{white-space:pre-line;overflow-wrap:anywhere;line-height:1.6}.news-card time{display:block;color:#bfb5aa;margin:10px 0}.news-section p{line-height:1.7}.news-card a:focus-visible,.news-section>a:focus-visible{outline:2px solid #ddc8af;outline-offset:4px}@media(max-width:680px){.news-grid{grid-template-columns:1fr}.dance-card h3{font-size:clamp(24px,7vw,34px)}}

.hero-motion{position:absolute;bottom:22px;right:22px;z-index:3;border:1px solid #b7a290;border-radius:24px;padding:10px 16px;color:#fff;background:#171313b8;font:inherit;cursor:pointer}.gallery-subtitle{font-weight:400;margin:30px 0 18px;font-size:26px}.gallery-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.gallery-photo{padding:0;border:1px solid #51443b;background:#171414;color:inherit;border-radius:10px;overflow:hidden;cursor:zoom-in;text-align:start;min-width:0;font:inherit}.gallery-photo img{display:block;width:100%;height:230px;object-fit:cover}.gallery-photo:last-child img{object-position:50% 24%}.gallery-photo span{display:block;padding:14px;line-height:1.4}.gallery-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.gallery-video-grid figure{margin:0;min-width:0}.gallery-video-grid video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#080808;border-radius:10px}.gallery-video-grid figcaption{padding:12px 0}.gallery-lightbox{background:#151313;color:#eee;border:1px solid #6a5545;border-radius:12px;padding:18px;max-width:94vw;max-height:94dvh}.gallery-lightbox::backdrop{background:#000d}.gallery-lightbox img{display:block;max-width:85vw;max-height:74dvh;object-fit:contain;margin:auto}.gallery-lightbox p{margin:12px 0 0}.gallery-close{display:block;margin:0 0 14px auto;padding:10px 18px;background:#342820;color:#fff;border:1px solid #92765e;border-radius:20px;cursor:pointer}.gallery-open{overflow:hidden}.gallery-photo:focus-visible,.hero-motion:focus-visible,.gallery-close:focus-visible{outline:2px solid #ead2b9;outline-offset:4px}@media(max-width:900px){.gallery-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.gallery-photo img{height:165px}.gallery-photo span{padding:10px;font-size:13px}.gallery-video-grid{grid-template-columns:1fr}.hero-motion{bottom:16px;right:16px;font-size:12px}.gallery-lightbox img{max-width:80vw}}

.hero-overlay{background:linear-gradient(to bottom,rgba(0,0,0,.4),rgba(0,0,0,.5) 55%,rgba(0,0,0,.72))}.hero-content h1{color:#fff;text-shadow:0 3px 24px #000a}.hero-content p{text-shadow:0 2px 12px #000a}

.instagram-wrap{width:min(100%,600px);margin:28px auto;border-radius:12px;overflow:hidden;background:#fff;container-type:inline-size}.instagram-profile{display:block;width:100%;height:640px;background:#fff}@supports(height:1cqw){.instagram-profile{height:calc(66.666cqw + 240px)}}

.pilates-card{background:linear-gradient(to top,#000e,#0003 80%),url('images/gallery/pilates-class.webp') center/cover no-repeat}.latin-card{background:linear-gradient(to top,#000e,#0003 80%),url('images/gallery/social-dance.webp') center/cover no-repeat}.kids-ballroom-card{background:linear-gradient(to top,#000e,#0003 80%),url('images/gallery/kids-ballroom.webp') center/cover no-repeat}.kids-fun-card{background:linear-gradient(to top,#000e,#0003 80%),url('images/gallery/kids-class.webp') center/cover no-repeat}

/* Owner-requested image and Instagram alignment refinement. */
.news-section{text-align:center;padding:120px 8%}
.news-section h2{font-size:clamp(36px,5vw,72px);font-weight:400;margin:25px 0}
.news-section>p{color:#aaa;font-size:16px;line-height:1.8;margin:0 auto;max-width:650px}
.news-section>a{display:table;margin:30px auto 0;padding:14px 24px;border:1px solid #8f7968;text-decoration:none;letter-spacing:1px;line-height:1.5}
.news-section>a:hover{background:#c9b8a8;color:#141313}
.gallery-photo:last-child img{object-position:50% 40%}
.pilates-card{background:linear-gradient(to top,#000e,#0002 85%),url('images/directions/pilates-v2.webp') center/cover no-repeat}
.latin-card{background:linear-gradient(to top,#000e,#0002 85%),url('images/directions/social-v2.webp') center/cover no-repeat}
.kids-ballroom-card{background:linear-gradient(to top,#000e,#0002 85%),url('images/directions/kids-ballroom-v2.webp') center/cover no-repeat}
.kids-fun-card{background:linear-gradient(to top,#000e,#0002 85%),url('images/directions/kids-fun-v2.webp') center/cover no-repeat}
.kids-private-card{background:linear-gradient(to top,#000e,#0002 85%),url('images/directions/kids-private-v2.webp') center/cover no-repeat}

.events-section{background:#101010;color:#fff;text-align:center;padding:100px 8%}.events-heading{max-width:760px;margin:0 auto 36px}.events-heading h2{font-size:clamp(36px,5vw,72px);font-weight:400;margin:25px 0}.events-heading>p{color:#bbb;line-height:1.8}.events-heading .event-date{color:#ddc8af;letter-spacing:2px;direction:ltr}.event-poster{display:block;max-width:600px;width:100%;padding:0;margin:0 auto;background:#171414;color:#ddc8af;border:1px solid #594437;cursor:zoom-in;font:inherit;border-radius:10px;overflow:hidden}.event-poster img{display:block;width:100%;height:auto}.event-poster span{display:block;padding:16px;line-height:1.5}.event-poster:focus-visible,.event-contact:focus-visible{outline:2px solid #ead2b9;outline-offset:5px}.event-contact{display:table;margin:28px auto 0;padding:14px 24px;border:1px solid #8f7968;color:#ddc8af;text-decoration:none;line-height:1.5}.event-contact:hover{background:#c9b8a8;color:#141313}@media(max-width:600px){.events-section{padding:70px 6%}.event-poster span{font-size:14px}}
