@font-face {
    font-family: 'SF-Pro';
    src: url("../fonts/SF-Pro-Display-UltralightItalic.woff2");
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SF-Pro';
    src: url("../fonts/SF-Pro-Display-Light.woff2");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF-Pro';
    src: url("../fonts/SF-Pro-Display-Thin.woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF-Pro';
    src: url("../fonts/SF-Pro-Display-Regular.woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF-Pro';
    src: url("../fonts/SF-Pro-Display-Medium.woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF-Pro';
    src: url("../fonts/SF-Pro-Display-Semibold.woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF-Pro';
    src: url("../fonts/SF-Pro-Display-Bold.woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF-Pro';
    src: url("../fonts/SF-Pro-Display-Heavy.woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.close {
    position: absolute;
    top: 90px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.close:hover {
    color: #ccc;
}

.modal-content {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 4px;
    transition: opacity 0.3s ease;
}

.review-full {
    max-width: 700px;
    width: 90%;
    color: #fff;
    text-align: left;
    padding: 40px;
    background: rgba(30, 30, 30, 0.9);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-full-name {
    font-size: 28px;
    font-weight: 600;
    text-transform: uppercase;
}

.review-full-text {
    font-size: 18px;
    line-height: 1.6;
    color: #ccc;
    max-height: 60vh;
    overflow-y: auto;
    white-space: pre-wrap;
}

.review-full-vk {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #aaa;
    text-decoration: none;
    font-size: 18px;
    margin-top: 10px;
}

.review-full-vk img {
    width: 36px;
    height: 36px;
}

.review-full-vk:hover {
    color: #fff;
}

.custom-prev,
.custom-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.sign-window {
    display: flex;
    opacity: 0;
    transition: opacity 0.3s ease;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    width: 90%;
    height: 270px;
    margin: 0 auto;
    background: rgba(30, 30, 30, 0.9);
    border-radius: 12px;
    padding: 70px 30px;
    color: #fff;
    text-align: center;
}

.sign-window .content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;    
}

.sign-window .top-info {
    display: flex;
    align-items: center;
    gap: 40px;
}

.sign-window .top-info img {
    width: 50px;             
    height: auto;
}

.sign-window .top-info p {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    text-align: left; 
    color: #AAAAAA;
}

.sign-window hr {
    width: 100%;
    margin: 20px 0;
    border: 1px solid #ffffff;
}

.sign-window .bottom-info {
    display: flex;
    align-items: center;
    gap: 40px;
}

.sign-window .bottom-info img {
    width: 36px;
    height: 36px;
}

.sign-window .bottom-info .vk img {
    width: 36px;
    height: 36px;
}

.sign-window .bottom-info .phone {
    margin: 0;
    font-size: 20px;
    letter-spacing: 1px;
    width: 200px;
}

.mobile-message {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 400px;
    width: 90%;
    margin: 0 auto;
    background: rgba(30, 30, 30, 0.95);
    border-radius: 12px;
    padding: 30px 20px;
    color: #fff;
    text-align: center;
}

.mobile-message-content p {
    font-size: 18px;
    line-height: 1.5;
    color: #ccc;
    margin-bottom: 25px;
}

.mobile-message-close {
    background: #eb6363;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.mobile-message-close:hover {
    background: #c94a4a;
}


@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-5%);
    }
    to {
        opacity: 1;
        transform: translateY(0%);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(5%);
    }
    to {
        opacity: 1;
        transform: translateX(0%);
    }
}

@media (max-width: 600px) {
    section.about h2,
    section.directions .directions__title,
    section.philosophy h2,
    section.gallery h2,
    section.reviews h2 {
        font-size: 36px;
        line-height: 1.2;
    }
    .section {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 768px) {
    .only-mobile {
        display: block !important;
    }
    .only-desktop {
        display: none !important;      
    } 
}

.sign-window .bottom-info .phone-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.sign-window .bottom-info img {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    min-width: 36px;
}

.sign-window .bottom-info .phone {
    white-space: nowrap;
    width: auto;
    font-size: 20px;
    margin: 0;
}

@media (max-width: 768px) {
    .sign-window {
        padding: 30px 20px;
        height: auto;
        min-height: 220px;
    }

    .sign-window .bottom-info {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .sign-window .top-info {
        gap: 15px;
    }

    .sign-window .top-info p {
        font-size: 16px;
    }

    .sign-window hr {
        margin: 15px 0;
    }
}

@media (max-width: 360px) {
    .sign-window .bottom-info .phone {
        font-size: 17px;
    }
    .sign-window .bottom-info {
        gap: 10px;
    }
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}

.phone-link .phone {
    white-space: nowrap;
    font-size: 20px;
    letter-spacing: 1px;
    margin: 0;
    color: inherit;
}

.phone-link img {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    min-width: 36px;
}

.bottom-info .vk img,
.bottom-info .phone-link img {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    min-width: 36px;
}

@media (max-width: 768px) {
    .bottom-info {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .phone-link .phone {
        font-size: 18px;
    }
}

@media (max-width: 360px) {
    .phone-link .phone {
        font-size: 16px;
    }
}

.phone-overlay,
.phone,
.phone-link {
    text-decoration: none;
    color: inherit;
}

.phone-overlay:hover,
.phone:hover,
.phone-link:hover {
    color: inherit;
}

html.modal-open,
body.modal-open {
    overflow: hidden !important;
    height: 100% !important;
    position: relative;
}

.modal-open {
    -webkit-overflow-scrolling: touch;
}

.review-full-text {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px;
    transition: all 0.4s ease;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    position: relative;
}

.header-logo {
    position: absolute;
    left: 43px;
    top: 15px;
    text-decoration: none;
    color: #ffffff;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    z-index: 1002;
    transition: all 0.4s ease;
}

nav {
    backdrop-filter: blur(20px);
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    transition: all 0.4s ease;
}

.nav-btn {
    margin-right: 55px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 1px;
    padding: 5px 0;
    text-shadow: 0 3px 3px rgba(0,0,0,0.5);
    transition: transform 0.3s, color 0.3s ease;
}

.nav-btn:hover {
    color: #eb6363;
    transform: scale(1.05);
}

.nav-btn:last-child {
    margin-right: 0;
}

.header-light {
    background: transparent;
}

.header-light .header-logo,
.header-light .nav-btn {
    color: #000000;
    text-shadow: none;
}

.header-light nav {
    background: transparent;
}

.header-light .nav-btn:hover {
    color: #eb6363;
}

.questions {
    background: white;
    color: black;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
        padding: 0 5px;
    }
    .header-logo {
        display: none;
    }
    nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        height: auto;
        padding: 5px 10px;
    }
    .nav-btn {
        margin: 4px 5px;
        font-size: 14px;
    }
}

.only-mobile .header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    background: transparent;
    z-index: 1000;
    box-sizing: border-box;
}

.mobile-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    z-index: 1002;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2.5px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin: 2.5px 0;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 75%;
    height: 100%;
    background: #1a1a1a;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    padding: 80px 30px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav .nav-btn {
    color: #ffffff;
    font-size: 22px;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: 1px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: color 0.2s;
}

.mobile-nav .nav-btn:hover {
    color: #eb6363;
}

.only-mobile nav {
    display: none;
}

.mobile-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    color: #ffffff;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    line-height: 1;
    transition: transform 0.2s;
    z-index: 1002;
}

.mobile-close-btn:hover {
    transform: scale(1.2);
}

.mobile-nav .mobile-logo {
    position: relative;
    top: -60px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 12px;
    margin-bottom: 16px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.mobile-nav .mobile-logo:hover {
    color: #eb6363;
}

.home {
    width: 100%;
    min-height: auto;
    background-color: #0e0e0e;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.home .background-container {
    max-width: 2100px;
    width: 2100px;
    height: auto;
    position: relative;
    background-image: url("../photo/logo1.svg"), url("../photo/homeback.webp");
    background-repeat: no-repeat, no-repeat;
    background-position: 95% 95%, 500px center;
    background-size: 10% auto, auto 1080px;
}

.home .section-content {
    padding-top: 250px;
    padding-left: 200px;
    position: relative;
    min-height: 1080px;
    width: 100%;
    max-width: 2000px;
    z-index: 2;
}

.home .logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    max-width: 650px;
    height: auto;
    color: #a9a9a9;
    font-weight: 200;
    font-size: 18px;
    text-align: justify;
    line-height: 25px;
    letter-spacing: 1px;
    animation: fadeInDown 1s ease-out forwards;
}

.logo-images {
    display: flex;
    align-items: flex-end;
    max-width: 470px;
    gap: 10px;
}

.phone-overlay {
    position: absolute;
    height: 20px;
    width: 200px;
    right: 60px;
    top: 35px;
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-size: 16px;
    color: white;
}

.home .info {
    position: absolute;
    max-width: 1000px;
    left: 200px;
    bottom: 40px;
    letter-spacing: 1px;
    font-size: 19px;
    color: #ffffff;
}

@media (max-width: 768px) {
    .home {
        min-height: 720px;
    }

    .home .background-container {
        width: 100%;
        max-width: 100%;
        background-image: url("../photo/homeback.webp");
        background-repeat: no-repeat;
        background-position: center center;
        background-size: auto 1020px;
        filter: contrast(110%);
    }

    .home .greet {
        background-color: rgba(0, 0, 0, 0.458);
        border-radius: 10px;
        padding: 10px;
        text-align: center;
        margin-bottom: 20px;
    }

    .home .section-content {
        padding-top: 40px;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 20px;
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .home .logo {
        max-width: 90%;
        width: 100%;
        align-items: center;
        text-align:justify;
        gap: 20px;
        font-size: 16px;
        line-height: 18px;
    }

    .logo-images {
        width: 80%;
        margin-top: 50px;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .logo-images .img2 {
        max-width: 80%;
    }

    .phone-overlay {
        display: none;
    }

    .home .info {
        display: none;
    }

    .crop-container {
        width: 300px;
        height: 140px;
        overflow: hidden;
    }

    .crop-container img {
        margin-top: 20px;
        margin-left: 25%;
        width: 50%;
    }
    .home {
        position: relative;
        min-height: 720px;
        overflow: hidden;
    }

    .home .background-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("../photo/homeback.webp");
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        filter: contrast(110%);
    }

    .home .section-content {
        position: relative;
        z-index: 1;
        padding-top: 40px;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 20px;
        min-height: 720px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.about {
    width: 100%;
    min-height: auto;
    background-color: #ffffff;
    overflow: hidden;
}

.about .background-container {
    max-width: 2100px;
    width: 2100px;
    margin: 0 auto;
    position: relative;
    background-image: url("../photo/logo2.svg");
    background-repeat: no-repeat;
    background-position: 100% 100%;
    background-size: 35%;
}

.about .section-content {
    display: flex;
    align-items: flex-start;
    margin-left: 100px;
    max-width: 1920px;
    position: relative;
    z-index: 1;
}

.about hr {
    width: 100%;
    max-width: 100%;
    margin: 30px 0;
}

.about h2 {
    font-size: 72px;
    font-weight: 600;
    text-align: right;
    margin-bottom: 30px;
    color: #222;
    line-height: 65px;
    max-width: 300px;
}

.about .text {
    position: relative;
    margin-right: 350px;
    margin-left: 100px;
    background-color: #262626;
    border-radius: 13px;
    padding-top: 60px;
    padding-left: 85px;
    padding-right: 85px;
    font-size: 18px;
    word-spacing: 5px;
    padding-bottom: 85px;
    max-height: 660px;
    max-width: 850px;
    font-weight: 200;
    line-height: 25px;
    color: #a9a9a9;
    text-align: justify;
}

.about .text-h1 {
    max-width: 200px;
    font-size: 20px;
    color: white;
    word-spacing: normal;
    font-weight: 700;
}

.about .sign {
    position: absolute;
    max-width: 200px;
    font-weight: 600;
    right: 200px;
    bottom: -50px;
    letter-spacing: 2px;
    font-size: 19px;
    color: #555555;
    text-decoration-thickness: 2px;
    padding: 10px 20px;
}

.about-mobile {
    min-height: auto !important;
    height: auto !important;
    padding: 20px 20px !important;
}

.about-mobile .background-container {
    background: #D9D9D9;
    border-radius: 24px;
    padding: 32px 20px 28px;
    width: 100%;
}

.about-mobile .logo {
    display: block;
    margin: 0 auto 20px auto;
    max-width: 70px;
    height: auto;
}

.about-mobile .text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: justify;
}

.about-mobile .text h2 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    margin: 0 0 12px 0;
    color: #1a1a1a;
    text-transform: uppercase;
}

.about-mobile .text .text-h1 {
    display: inline-block;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    border: 2.5px solid #ffffff;
    border-radius: 16px;
    background: transparent;
    padding: 14px 22px;
    margin: 0 0 18px 0;
    width: auto;
    max-width: 100%;
}


.about-mobile .text .text-h1~* {
    font-size: 15px;
    line-height: 1.6;
    color: #1a1a1a;
    text-align: left;
    width: 100%;
}


.about-mobile .text .main-text {
    font-size: 15px;
    line-height: 1.7;
    color: #1a1a1a;
    text-align: left;
    width: 100%;
    margin-top: 4px;
}

.videoplayer_thumb {
    width: 100%;
    aspect-ratio: 16 / 9.05;
    background-size: cover;
    background-position: center;
    background-color: var(--card-background);
    box-shadow: var(--shadow-elevation-medium);
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    border: 4px solid var(--accent-color-alt);
    transition: border-color .2s ease-in-out;
}

.videoplayer_thumb:hover {
    border-color: var(--accent-color);
}

.videoplayer_thumb:hover .play-icon svg {
    transform: scale(1.2);
}

.videoplayer_thumb.video-main-thumb {
    max-width: 1920px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    padding-top: 0;
}

.video-main {
    display: block;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    height: auto;
    aspect-ratio: 16 / 9;
    border: none;
}

.main-video {
    width: 100%;
    min-height: auto;
    padding: 100px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px !important;
}

.play-icon-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--accent-color);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0px;
}

.play-icon svg {
    fill: #000000da;
    background-color: #ffffffda;
    border: 5px solid rgba(0, 0, 0, 0.795);
    border-radius: 100px;
    transition: transform .2s ease-in-out;
}

.video-main-wrapper {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 24px;
    overflow: hidden;
}

.video-main-preview {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-main-preview .play-icon-container {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s;
}

.video-main-preview:hover .play-icon-container {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(235, 99, 99, 0.85);
}

.video-main-preview .play-icon-container svg {
    fill: #fff;
    width: 44px;
    height: 44px;
}

.video-main {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .main-video {
        padding: 0 0;
        margin-bottom: 30px;
    }
}

section.directions {
    background: #ffffff;
    color: rgb(0, 0, 0);
    max-width: 1560px;
    margin: 0 auto;
    padding: 60px 20px;
    display: block;
    margin-bottom: 110px;
    margin-top: 60px;
    min-height: auto;
}

section.directions .directions__title {
    text-align: left;
    font-size: 60px;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

section.directions .directions__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    justify-content: center;
}

section.directions .direction-card {
    position: relative;
    width: 100%;
    height: 450px;
    padding: 40px 30px;
    border-radius: 11px;
    display: flex;
    flex-direction: column;
}

section.directions .image1 {
    position: absolute;
    left: 440px;
    top: -7%;
    width: 26%;
}

section.directions .image2 {
    position: absolute;
    right: -125px;
    top: -7%;
    width: 27%;
}

section.directions .image3 {
    position: absolute;
    left: 350px;
    bottom: 3%;
    width: 34%;
}

section.directions .image4 {
    position: absolute;
    right: -40px;
    bottom: 8%;
    width: 18%;
}

section.directions .direction-card--main {
    background-color: #e9e9e9;
    color: #000000;
    
}

section.directions .direction-card--dark {
    background-color: #262626;
    color: #ffffff;
}

section.directions .direction-card--service {
    background-color: #e9e9e9;
    color: #000000;
}

section.directions .direction-card__header {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 20px;
    width: 100%;
}

section.directions .direction-card__title {
    font-size: 20px;
    margin-bottom: 10px;
    margin-left: 10px;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 0.8;
    display: flex;
    letter-spacing: 1px;
    align-items: center; 
    justify-content: left;
    flex-wrap: wrap;
    width: 100%;
}

section.directions .direction-card__subtitle {
    font-size: 22px;
    font-weight: 500;
    color: #888;
    opacity: 0.8;
    text-align: left;
    flex-shrink: 0;
    white-space: nowrap;
    margin-left: 0px; 
    padding-left: 60px; 
    position: relative;
    text-transform: lowercase;
    top: 0;
    align-self: center; 
}

section.directions .direction-card__header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -30px; 
    right: -30px; 
    height: 2px;
    background-color: #4646463d;
}

section.directions .direction-card__content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

section.directions .direction-card__note {
    margin-top: 10px;
    margin-left: 20px;
    font-size: 18px;
    letter-spacing: 1px;
    line-height: 1;
    font-weight: 400;
    text-align: justify;
    flex-grow: 0.2;
    max-width: 450px;
}

section.directions .direction-card__list {
    margin-bottom: 30px;
    padding-left: 20px;
    flex-grow: 1;
    margin-left: 20px;
    font-size: 18px;
    line-height: 1;
    max-width: 470px;
}

section.directions .direction-card__list li {
    font-weight: 400;
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 1px;
}

section.directions .direction-card--dark .direction-card__list li {
    font-weight: 300;
}

section.directions .direction-card--dark .direction-card__note {
    font-weight: 300;
}

section.directions .direction-card__footer {
    display: block;
    text-align: right;
    width: 100%;
    margin-top: auto;
}

section.directions .direction-card__footer::after {
    content: "";
    display: table;
    clear: both;
}

section.directions .direction-card__label {
    float: left;
    margin-left: 20px;
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: 400;
    color: #929292;
}

section.directions .image1,
section.directions .image2,
section.directions .image3,
section.directions .image4 {
    pointer-events: none;
    z-index: 0;
}

section.directions .direction-card__button {
    display: inline-block; 
    text-decoration: none;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 600;
    line-height: 25px;
    letter-spacing: 1px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    color: #000000;
    text-decoration: underline;
    z-index: 2002;
    text-decoration-thickness: 2px;
}

section.directions .direction-card--dark .direction-card__button {
    color: #ffffff;
    font-weight: 400;
}


.section.directions-mobile {
    min-height: auto !important; 
    height: auto !important;
    width: 100%;
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
    margin-bottom: 60px;
    padding: 20px 20px;
}

.section.directions-mobile .section__title {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
    margin-bottom: 28px;
    color: #1a1a1a;
    text-transform: uppercase;
}

.section.directions-mobile .cards-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 50px;
}

.section.directions-mobile .card-wrapper {
    position: relative;
    border-radius: 28px;
    overflow: visible;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.8s ease;
    max-height: 120px;
    min-height: 120px;
}

.section.directions-mobile .card-wrapper:nth-child(1) {
    background-color: #D9D9D9;
    color: #1a1a1a;
}

.section.directions-mobile .card-wrapper:nth-child(2) {
    background-color: #262626;
    color: #ffffff;
}

.section.directions-mobile .card-wrapper:nth-child(3) {
    background-color: #D9D9D9;
    color: #1a1a1a;
}

.section.directions-mobile .card-wrapper:nth-child(4) {
    background-color: #262626;
    color: #ffffff;
}

.section.directions-mobile .card-wrapper.open {
    max-height: 600px;
    overflow: visible;
}

.section.directions-mobile .card {
    display: flex;
    align-items: center;
    padding: 24px 28px;
    min-height: 120px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.01em;
    background: transparent;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.section.directions-mobile .card__text {
    flex: 0 1 auto;
    text-align: left;
}

.section.directions-mobile .card__btn {
    position: absolute;
    right: 0px;
    bottom: 0px;
    z-index: 3;
    border: none;
    border-radius: 40px;
    width: 66px;
    height: 66px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    background: transparent;
    transition: transform 0.2s ease;
    margin-left: auto;
}

.section.directions-mobile .card__btn:hover {
    background: transparent;
}

.section.directions-mobile .card__btn:active {
    transform: scale(0.92);
}

.section.directions-mobile .card__btn-icon {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 30px;
    height: 30px;
    filter: invert(100%);
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: rotate(90deg);
}

.section.directions-mobile .card-wrapper.open .card__btn-icon {
    transform: rotate(270deg);
}

.section.directions-mobile .card__extra-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease;
    opacity: 0;
    background: transparent;
}

.section.directions-mobile .card__extra-content {
    padding: 0 28px 24px;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    color: inherit;
    padding-top: 4px;
}

.section.directions-mobile .youwill-w {
    border: 2px solid #ffffff; 
    color: #ffffff;
    width: 150px;
    padding: 5px 20px;
    border-radius: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.section.directions-mobile .youwill-b {
    border: 1px solid #8b8b8b; 
    color: #8b8b8b;
    width: 150px;
    padding: 5px 20px;
    border-radius: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.section.directions-mobile .sign-w {
    margin-top: 20px;
    display: inline-block;
    color: #ffffff;
}

.section.directions-mobile .sign-b {
    margin-top: 20px;
    display: inline-block;
    color: #8b8b8b;
}

.section.directions-mobile .addition {
    color: #929292;
    font-size: 14px;
}

.section.directions-mobile .card-wrapper:nth-child(2) .card__extra-content,
.card-wrapper:nth-child(4) .card__extra-content {
    color: #e0e0e0;
}

.section.directions-mobile .card-wrapper.open .card__extra-wrapper {
    max-height: 400px;
    opacity: 1;
}

.section.directions-mobile .dir-icon-1 {
    position: absolute;
    width: 150px;
    right: 0px;
    top: -50px;
}

.section.directions-mobile .dir-icon-2 {
    position: absolute;
    width: 220px;
    right: 20px;
    top: -90px;
}

.section.directions-mobile .dir-icon-3 {
    position: absolute;
    width: 110px;
    right: 50px;
    top: -20px;
}

.section.directions-mobile .dir-icon-4 {
    position: absolute;
    width: 150px;
    right: 20px;
    top: -60px;
}

.section.directions-mobile .video-mobile-card {
    margin-top: 25px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.section.directions-mobile .video-mobile-card .video-main-preview {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.section.directions-mobile .video-mobile-card .play-icon-container {
    width: 60px;
    height: 60px;
}

.section.directions-mobile .video-mobile-card .play-icon-container svg {
    width: 34px;
    height: 34px;
}

.section.directions-mobile .video-mobile-card .video-main {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}

.section.directions-mobile .card-wrapper.open {
    max-height: 1100px;
    overflow: visible;
}

.section.directions-mobile .card-wrapper.open .card__extra-wrapper {
    max-height: 800px;
    opacity: 1;
}

.section.directions-mobile .video-mobile-card {
    margin-top: 25px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.section.directions-mobile .sign-w {
    margin-top: 20px;
    display: inline-block;
    color: #ffffff;
}

.section.directions-mobile .card__extra-content ul {
    list-style: none;
    padding-left: 0;
}

.section.directions-mobile .card__extra-content li {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}
.section.directions-mobile .card__extra-content li::before {
    content: "•";
    flex-shrink: 0;
}

section.philosophy {
    background-color: #0e0e0e;
    color: white;
    display: block;
    padding: 100px 20px;
    min-height: auto;
}

section.philosophy .philosophy-header {
    display: flex;
    align-items: start;
    gap: 20px;
    max-width: 1500px;
    margin: 20px auto 50px auto;
    text-align: left;
}

section.philosophy h2 {
    color: white;
    font-size: 60px;
    font-weight: 400;
    line-height: 60px;
    margin: 0;
}

section.philosophy .philosophy-subtitle {
    color: #888;
    font-size: 24px;
    line-height: 26px;
    font-style: italic;
    font-weight: 100;
    margin-left: 70px;
}

section.philosophy .philosophy-grid {
    display: grid;
    grid-template-columns: 470px 1fr;
    gap: 0;
    max-width: 1500px;
    margin: 0 auto;
    position: relative;
    border-top: 3px solid #212121;
    border-bottom: 3px solid #212121;
}

section.philosophy .philosophy-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 470px;
    width: 3px;
    height: 100%;
    background-color: #212121;
    transform: translateX(-50%);
    pointer-events: none;
}

section.philosophy .grid-item {
    text-align: justify;
    color: #535353;
    font-size: 18px;
    letter-spacing: 1px;
    line-height: 26px;
    font-weight: 200;
    position: relative;
    padding-top: 40px;
    padding-bottom: 40px;
}

section.philosophy .grid-text {
    transition: transform 1s ease, color 1s ease;
}

section.philosophy .grid-item:hover .grid-text {
    transform: scale(1.03);
    color: #a9a9a9;
}

section.philosophy .grid-item.col1-row1 {
    grid-column: 1;
    grid-row: 1;
    border-bottom: 3px solid #212121;
    padding-right: 100px;
    height: 310px;
}

section.philosophy .grid-item.col1-row2 {
    grid-column: 1;
    grid-row: 2;
    border-bottom: 3px solid #212121;
    padding-right: 100px;
    height: 290px;
    padding-top: 0;          
    position: relative;
}

section.philosophy .grid-item.col1-row3 {
    grid-column: 1;
    grid-row: 3;
    padding-right: 100px;
    padding-top: 10px;        
}

section.philosophy .grid-item.col2-row1-2 {
    grid-column: 2;
    grid-row: 1 / 3;
    border-bottom: 3px solid #212121;
    padding-left: 100px;
    padding-right: 0;
}

section.philosophy .grid-item.col2-row3 {
    grid-column: 2;
    grid-row: 3;
    padding-left: 100px;
    padding-right: 0;
    margin-top: 0;
}

section.philosophy .grid-label {
    color: #ffffff;
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 50px;
    text-align: left;
    word-spacing: 3px;
}

section.philosophy .grid-item.col1-row1 .grid-label {
    margin-bottom: 50px;
}

section.philosophy .grid-item.col1-row2 .grid-label {
    margin-top: -20px;        
    margin-bottom: 20px;     
}

section.philosophy .grid-item.col1-row3 .grid-label {
    margin-top: -20px;  
    margin-bottom: 20px;
}

section.philosophy .item-header {
    display: flex;
    align-items: start;
    gap: 30px;
    margin-bottom: 0;
    text-align: left;
}

section.philosophy .card-subtitle {
    font-style: italic;
    color: #858585;
    font-weight: 100;
}

section.philosophy .photos {
    display: flex;
    flex-direction: column;
    align-items: normal;
    gap: 220px;
    position: absolute;
    max-width: 330px;
    right: 0;
    top: 40px;
}

section.philosophy .board,
section.philosophy .combo {
    width: 330px;
    filter: grayscale(100%);
    transition: 0.5s ease;
}

section.philosophy .board:hover,
section.philosophy .combo:hover {
    transition: 1s ease;
    transform: scale(1.03);
    filter: grayscale(0%);
}

section.philosophy-mobile{
    background:#0e0e0e;
    color:#fff;
    overflow:hidden;
    padding:0 0 0;
}

section.philosophy-mobile .section-content{
    width:100%;
}

section.philosophy-mobile .philosophy-mobile-header{
    display:flex;
    flex-direction:column;

    padding:24px 20px;
}

section.philosophy-mobile h2{
    margin-top: 10px;
    text-align:center;
    font-size:40px;
    font-weight:400;
}

section.philosophy-mobile .philosophy-mobile-subtitle{
    margin-top:20px;
    width:95%;
    color:#666;
    font-size:16px;
    text-align: justify;
    letter-spacing: 1px;
    line-height:20px;
    font-style:italic;
    font-weight: 600;
}


section.philosophy-mobile .custom-prev img,
section.philosophy-mobile .custom-next img{
    width:40px;
    display:block;
    transition:.3s;
    filter: invert(100%);
}

section.philosophy-mobile .custom-prev:hover img,
section.philosophy-mobile .custom-next:hover img{
    transform:scale(1.15);
}

section.philosophy-mobile .carousel-wrapper{
    margin-top:28px;
}

section.philosophy-mobile .philosophy-carousel{
    width:100%;
} 

section.philosophy-mobile .carousel-cell {
    width: 100%;
    height: 650px;
    padding: 0 18px;
    box-sizing: border-box;
    overflow: hidden;
}

section.philosophy-mobile .philosophy-card {
    height: 650px;
    min-height: unset;
    padding: 30px 50px;
    display: flex;
    flex-direction: column;
    background-color: #2d2d2d38;
    border-radius: 20px;
    overflow-y: auto;
}


section.philosophy-mobile .card-title{
    color:#fff;
    font-size:22px;
    line-height:34px;
    letter-spacing:1px;
    margin-bottom:24px;
}

section.philosophy-mobile .card-subtitle{
    color:#535353;
    font-style:italic;
    font-size:16px;
    font-weight: 400;
    line-height:23px;
    margin-bottom:34px;
}

section.philosophy-mobile .card-section-title{
    color:#535353;
    font-size:17px;
    font-weight:700;
    margin-bottom:18px;
    text-decoration:underline;
    text-underline-offset:4px;
    text-decoration-thickness:2px;
}

section.philosophy-mobile .card-text{
    color:#535353;
    font-weight: 400;
    line-height:20px;
    text-align:justify;
    font-size:18px;
}

section.philosophy-mobile .philosophy-image {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-top: 28px;
    filter: grayscale(100%);
    transition: filter 2s ease, transform 2s ease;
    border-radius: 8px;
}

section.philosophy-mobile .carousel-cell.is-selected .philosophy-image {
    filter: none;
    transform: scale(1.02);
}

section.philosophy-mobile .philosophy-list{
    display:flex;
    flex-direction:column;
    margin: 30px 10px;
    margin-top: 0;
    gap:42px;
    padding: 30px 50px;
    border-radius: 20px;
}

section.philosophy-mobile .list-item:last-child{
    border-bottom:none;
    padding-bottom:0;
}

section.philosophy-mobile .list-title{
    color:#fff;
    font-size:22px;
    line-height:30px;
    margin-bottom:18px;
}

section.philosophy-mobile .list-text{
    text-align:justify;
    font-size:18px;
    color:#535353;
    font-weight: 400;
    line-height:20px;
}

section.philosophy-mobile .flickity-viewport{
    overflow:hidden;
}

section.philosophy-mobile .flickity-slider{
    display:flex;
    align-items:stretch;
}

section.philosophy-mobile .carousel-cell{
    min-height:100%;
}

section.philosophy-mobile .carousel-cell.is-selected .card-text,
section.philosophy-mobile .carousel-cell.is-selected .list-text,
section.philosophy-mobile .carousel-cell.is-selected .card-title,
section.philosophy-mobile .carousel-cell.is-selected .list-title,
section.philosophy-mobile .carousel-cell.is-selected .card-subtitle,
section.philosophy-mobile .carousel-cell.is-selected .card-section-title {
    color: #a9a9a9;          
    transition: color 1s ease;
    transform: scale(1.03);
    transition: transform 1s ease, color 1s ease;
}

section.philosophy-mobile .carousel-wrapper {
    position: relative;
    height: 730px;
}

section.philosophy-mobile .custom-prev img {
    transform: rotate(180deg);
}

section.philosophy-mobile .custom-next img {
    transform: none;
}

section.philosophy-mobile .custom-prev img,
section.philosophy-mobile .custom-next img {
    width: 28px;
    height: 28px;
    filter: invert(100%) brightness(0.8);
    transition: transform 0.2s, filter 0.2s;
}

section.philosophy-mobile .custom-prev:hover img,
section.philosophy-mobile .custom-next:hover img {
    transform: scale(1.15);
    filter: invert(100%);
}

section.philosophy-mobile .carousel-wrapper {
    position: relative;
    height: 730px;
}

section.philosophy-mobile .custom-prev,
section.philosophy-mobile .custom-next {
    position: absolute;
    bottom: 40px;
    top: auto;
    transform: none;
    z-index: 10;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
}

section.philosophy-mobile .custom-prev {
    left: 46px;
}

section.philosophy-mobile .custom-next {
    right: 46px;
}

section.philosophy-mobile .custom-prev img {
    transform: rotate(180deg);
    transition: transform 0.2s;
}

section.philosophy-mobile .custom-next img {
    transform: none;
    transition: transform 0.2s;
}

section.philosophy-mobile .custom-prev:hover img {
    transform: rotate(180deg) scale(1.15);
}

section.philosophy-mobile .custom-next:hover img {
    transform: scale(1.15);
}

section.gallery {
    display: flex;
    justify-content: center;
    background-color: #0e0e0e;
    color: white;
    width: 100%;
    padding: 0;
    overflow: hidden;
    min-height: auto;
}

section.gallery .section-content {
    max-width: 1500px;
    margin: 0 auto;
    text-align: left;
    width: 100%;
}

section.gallery h2 {
    width: 220px;
    color: white;
    font-size: 60px;
    font-weight: 400;
    line-height: 60px;
    margin: 0 0 70px;
    text-align: left;
}

section.gallery .canvas {
    position: relative;
    width: 100%;
    aspect-ratio: 1720 / 2000;
    overflow: hidden;
    border-radius: 16px;
}

section.gallery .canvas .photo {
    position: absolute;
}

section.gallery .canvas .photo:nth-child(1)  { left: 0;       top: 0.4%;    width: 20.3%;  height: 23%; }
section.gallery .canvas .photo:nth-child(2)  { left: 0;       top: 25%;  width: 20.3%;  height: 26.1%; }
section.gallery .canvas .photo:nth-child(3)  { left: 22%;  top: 0.4%;    width: 33.5%;  height: 14.5%; }
section.gallery .canvas .photo:nth-child(4)  { left: 22%;  top: 16.5%;   width: 33.5%;  height: 14.15%; }
section.gallery .canvas .photo:nth-child(5)  { left: 57.2%;  top: 0.4%;    width: 23.24%;  height: 27.5%; }
section.gallery .canvas .photo:nth-child(6)  { left: 82%;  top: 0.4%;    width: 16.5%;  height: 16.5%; }
section.gallery .canvas .photo:nth-child(7)  { left: 82%;  top: 18.55%;  width: 16.5%;  height: 9.45%; }
section.gallery .canvas .photo:nth-child(8)  { left: 22%;  top: 31.95%;  width: 38.44%;  height: 13%; }
section.gallery .canvas .photo:nth-child(9)  { left: 62%;  top: 29.5%;   width: 36.7%;  height: 15.5%; }
section.gallery .canvas .photo:nth-child(10) { left: 23.61%;  top: 47.75%;  width: 17.66%;  height: 2.05%; }
section.gallery .canvas .photo:nth-child(11) { left: 0;       top: 52.85%;  width: 43.13%;  height: 22.3%; }
section.gallery .canvas .photo:nth-child(12) { left: 44.9%;   top: 46.45%;  width: 27.41%;  height: 14.7%; }
section.gallery .canvas .photo:nth-child(13) { left: 44.9%;   top: 62.8%;   width: 27.41%;  height: 12.1%; }
section.gallery .canvas .photo:nth-child(14) { left: 74%;  top: 46.45%;  width: 24.76%;  height: 28.7%; }
section.gallery .canvas .photo:nth-child(15) { left: 0;       top: 76.6%;   width: 45.58%;  height: 19.05%; }
section.gallery .canvas .photo:nth-child(16) { left: 47%;  top: 76.6%;   width: 51.97%;  height: 19.05%; }

section.gallery .photo img {
    width: 100%;
    height: 100%;
    filter: saturate(0%);
    object-fit: cover;
    transition: 0.7s ease;
}

section.gallery .photo img:hover {
    transform: scale(1.03);
    filter: saturate(100%);
}

section.gallery .caption {
    color: #fff;
    padding: 10px;
    text-align: center;
}

section.gallery .carousel-cell {
    width: calc(50% - 20px);
    max-width: 700px;
    margin-right: 20px;
    display: flex;
    justify-content: center;
}

section.gallery .video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

section.gallery .flickity-prev-next-button {
    display: none;
}

section.gallery .video-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

section.gallery .video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

section.gallery .carousel-wrapper {
    position: relative;
    max-width: 1500px;
    margin: 0 auto;
}

section.gallery .carousel {
    width: 100%;
    margin: 0 auto;
    border-top: 3px solid #212121;
    border-bottom: 3px solid #212121;
    padding: 50px 0;
}

section.gallery .custom-prev {
    left: -60px;
}

section.gallery .custom-next {
    right: -60px;
}

section.gallery .custom-prev img,
section.gallery .custom-next img {
    width: 25px;
    height: auto;
    transition: transform 0.3s ease;
}

section.gallery .custom-prev:hover img,
section.gallery .custom-next:hover img {
    transform: scale(1.2);
}

.gallery-mobile {
    padding: 0px 0 0px;
    background-color: #0e0e0e;
}

.gallery-mobile h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 0;
    text-align: center;
    font-weight: 400;
}

.gallery-mobile .carousel-wrapper {
    position: relative;
    padding: 50px 0;
}

.gallery-mobile .gallery-carousel {
    width: 100%;
}

.gallery-mobile .carousel-cell {
    width: 100%;
    padding: 0 40px;
    box-sizing: border-box;
}

.gallery-mobile .carousel-cell img {
    width: 100%;
    aspect-ratio: 0.65;
    object-fit: cover;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.2s ease;
    filter: saturate(0%);
}

.gallery-mobile .gallery-carousel .carousel-cell.is-selected img {
    filter: saturate(100%);
    transition: filter 2s ease;   
}

.gallery-mobile .carousel-cell img:active {
    transform: scale(0.97);
}

.gallery-mobile .carousel-wrapper {
    position: relative;
}

.gallery-mobile .custom-prev,
.gallery-mobile .custom-next {
    position: absolute;
    bottom: 30px;
    top: auto;
    transform: none;
    z-index: 10;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
}

.gallery-mobile .custom-prev {
    left: 66px;
}

.gallery-mobile .custom-next {
    right: 66px;
}

.gallery-mobile .custom-prev img {
    transform: rotate(180deg);
}

.gallery-mobile .custom-prev img,
.gallery-mobile .custom-next img {
    width: 28px;
    height: 28px;
    filter: invert(100%) brightness(0.8);
    transition: transform 0.2s, filter 0.2s;
}

.gallery-mobile .custom-prev:hover img {
    transform: rotate(180deg) scale(1.15);
    filter: invert(100%);
}

.gallery-mobile .custom-next:hover img {
    transform: scale(1.15);
    filter: invert(100%);
}

.gallery-mobile .video-preview {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease;
    filter: saturate(0%);
}

.gallery-mobile .video-preview:hover {
    transform: scale(1.02);
    filter: saturate(100%);
}

.gallery-mobile .video-preview .play-icon-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.65);
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 4px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.gallery-mobile .video-preview:hover .play-icon-container {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(235, 99, 99, 0.85);
}

.gallery-mobile .video-preview .play-icon-container svg {
    fill: #ffffff;
    width: 44px;
    height: 44px;
}


.video-modal-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: #000;
    z-index: 5000;
}

.gallery-mobile .carousel-cell iframe {
    display: none;
    z-index: 5000;
}

.video-modal-container.showing {
    display: block;
    z-index: 9999;
    position: relative;
}

.video-modal-container {
    max-width: 90%;
    width: 860px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 9999;
}

.video-modal-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: #000;
}

.gallery .video-preview {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    filter: saturate(0%);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery .video-preview:hover {
    transform: scale(1.02);
    filter: saturate(100%);
}

.gallery .video-preview .play-icon-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.65);
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.gallery .video-preview:hover .play-icon-container {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(235, 99, 99, 0.85);
}

.gallery .video-preview .play-icon-container svg {
    fill: #ffffff;
    width: 44px;
    height: 44px;
}

@media (max-width: 768px) {
    .gallery-mobile .video-preview .play-icon-container {
        width: 52px;
        height: 52px;
    }
    .gallery-mobile .video-preview .play-icon-container svg {
        width: 34px;
        height: 34px;
    }
    .video-modal-container {
        width: 95%;
    }
}

section.reviews {
    display: flex;
    justify-content: center;
    background-color: #0e0e0e;
    color: white;
    width: 100%;
    min-height: auto;
    padding: 50px 0;
}

section.reviews .section-content {
    display: flex;
    align-items: flex-start;
    max-width: 1500px;
    margin: 0 auto;
    text-align: left;
    width: 100%;
}

section.reviews h2 {
    width: 250px;
    color: white;
    font-size: 60px;
    font-weight: 400;
    line-height: 60px;
    margin: 0;
    text-align: left;
}

section.reviews .carousel-wrapper {
    flex: 1;
    min-width: 0;
    position: relative;
    max-width: 1500px;
    margin: 0 auto;
}

section.reviews .review-carousel {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding-left: 100px;
}

section.reviews .carousel-cell {
    display: flex;
    gap: 20px;
    width: 1100px;
    margin: 0 10px;
}

section.reviews .review-small,
section.reviews .review-big {
    background-color: #232323;
    background-image: url("../photo/fox.svg");
    background-repeat: no-repeat;
    border-radius: 26px;
    height: 500px;
    padding: 60px;
    position: relative;
    overflow: hidden; 
}

section.reviews .review-small {
    background-position: 93% 10%;
    background-size: 12% auto;
    width: 550px;
}

section.reviews .review-small::after,
section.reviews .review-big::after {
    content: '';
    position: absolute;
    bottom: 70px;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, #232323 0%, transparent 100%);
    pointer-events: none;
    border-radius: 0 0 26px 26px;
}

section.reviews .review-big {
    background-position: 97% 10%;
    background-size: 6.5% auto;
    width: 1100px;
}

section.reviews .review-small .vk,
section.reviews .review-big .vk {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: row;         
    align-items: center;         
    gap: 12px;                  
    font-size: 18px;
    line-height: 1.3;
    color: #aaaaaa;
    text-decoration: none;
    white-space: nowrap;        
}

section.reviews .review-small .vk img,
section.reviews .review-big .vk img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;             
}

section.reviews .flickity-prev-next-button {
    display: none;
}


section.reviews .custom-prev {
    left: 20px;
}

section.reviews .custom-next {
    right: -80px;
}

section.reviews .custom-prev img,
section.reviews .custom-next img {
    width: 25px;
    height: auto;
    transition: transform 0.3s ease;
}

section.reviews .custom-prev:hover img,
section.reviews .custom-next:hover img {
    transform: scale(1.2);
}

section.reviews .name {
    font-size: 24px;
    margin-bottom: 20px;
}

section.reviews .adding{
    font-size: 20px;
    margin-bottom: 20px;
    color: grey;
}

section.reviews .title {
    display: flex;
}

section.reviews .section-title {
    font-size: 36px;
}

section.reviews .text {
    font-size: 18px;
    line-height: 25px;
    color: #aaaaaa;
    max-width: 95%;
    max-height: 320px; 
    overflow: hidden;
}

section.reviews .review-small .vk,
section.reviews .review-big .vk {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    text-align: left !important;  
    white-space: nowrap !important; 
}

section.reviews .review-small .vk img,
section.reviews .review-big .vk img {
    width: 40px !important;
    height: 40px !important;
    flex-shrink: 0 !important;
    display: block !important;
}

.review-full-subtitle {
    font-size: 20px;
    color: #888;
    margin-bottom: 20px;
    display: block;
}

@media (max-width: 768px) {
    section.reviews {
        padding: 40px 0;
    }

    section.reviews .section-content {
        flex-direction: column;
        align-items: center;
        text-align: left;
        padding: 0 15px;
    }

    section.reviews .section-title {
        width: auto;
        display: flex;
        gap: 20px;
        margin-bottom: 30px;
        font-size: 36px;
        line-height: 1.2;
        text-align: left;
    }

    section.reviews .adding {
        text-align: right;
        font-size: 16px;
    }

    section.reviews .carousel-wrapper {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    section.reviews .review-carousel {
        padding-left: 0;
        max-width: 100%;
    }

    section.reviews .carousel-cell {
        flex-direction: column;
        width: 100%;
        margin-right: 0;
        gap: 15px;
    }

    section.reviews .review-small,
    section.reviews .review-big {
        width: 100%;
        min-height: 300px;
        padding: 30px 20px;
        background-image: none;
    }

    section.reviews .review-small {
        height: 340px;
    }

    section.reviews .review-big {
        height: 700px;
    }

    section.reviews .carousel-wrapper {
        position: relative;
    }

    section.reviews .custom-prev,
    section.reviews .custom-next {
        position: absolute;
        bottom: 10px;
        top: auto;
        transform: none;
        z-index: 10;
        background: transparent;
        border: none;
        padding: 8px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 66px;
        height: 66px;
    }

    section.reviews .custom-prev {
        left: 16px;
    }

    section.reviews .custom-prev img {
        transform: rotate(180deg);
    }
    section.reviews .custom-next {
        right: 16px;
    }

    section.reviews .custom-prev img,
    section.reviews .custom-next img {
        width: 28px;
        height: 28px;
        filter: invert(100%) brightness(0.8);
        transition: transform 0.2s, filter 0.2s;
    }

    section.reviews .custom-prev:hover img,
    section.reviews .custom-next:hover img {
        transform: scale(1.15);
        filter: invert(100%);
    }

    section.reviews .text {
        max-height: 220px;
        font-size: 16px;
        line-height: 1.4;
        text-align: left;
    }

    section.reviews .name {
        font-size: 20px;
        margin-bottom: 15px;
    }

    section.reviews .review-big .text{
        max-height: 580px;
        height: 100%;
    }

    section.reviews .review-big.enrolled .text {
        max-height: 400px;
    }

    section.reviews .vkimage {
        width: 35px;
    }

    section.reviews .review-small::after,
    section.reviews .review-big::after {
        bottom: 50px;
        height: 50px;
    }
}

.questions {
    padding: 100px 0;
    min-height: auto;
}

.questions .section-content {
    display: flex;
    max-width: 1500px;
    margin: 0 auto;
    width: 100%;
    text-align: left;
}

.questions h2 {
    width: 430px;
    color: #000000;
    font-size: 60px;
    font-weight: 700;
    line-height: 60px;
    margin: 0;
    text-align: left;
    word-break: break-word;
}

.faq-container {
    width: 920px;
    overflow-x: hidden;
    margin-left: auto;
}

.faq-question {
    border-bottom: 2px solid #85858550;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.25s ease;
    font-family: 'SF-Pro', 'Segoe UI', system-ui, sans-serif;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 0.5px;
    color: #000000;
}

.faq-question:hover {
    opacity: 0.7;
}

.faq-question-text {
    flex: 1;
    pointer-events: none;
}

.faq-icon {
    position: relative;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: #3b3b3b;
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::before {
    width: 20px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 20px;
}

.faq-input:checked + .faq-question .faq-icon {
    transform: rotate(135deg);
}

.faq-answer-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-input:checked ~ .faq-answer-wrapper {
    grid-template-rows: 1fr;
}

.faq-answer-content {
    overflow: hidden;
}

.faq-answer-inner {
    padding: 15px 0 20px;
    color: #000000;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: 0.3px;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s ease 0.05s, transform 0.3s ease 0.05s;
}

.faq-input:checked ~ .faq-answer-wrapper .faq-answer-inner {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.35s ease 0.1s, transform 0.35s ease 0.1s;
}

.faq-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    visibility: hidden;
}

@media (max-width: 1200px) {
    .questions .section-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 15px;
    }
    .questions h2 {
        width: auto;
        font-size: 40px;
        line-height: 1.2;
        margin-bottom: 30px;
        text-align: center;
    }
    .faq-container {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .questions {
        padding: 40px 0;
    }
    .faq-question {
        padding: 16px 0;
        font-size: 17px;
    }
    .faq-icon {
        width: 20px;
        height: 20px;
    }
    .faq-icon::before { width: 14px; }
    .faq-icon::after { height: 14px; }
    .faq-answer-inner {
        font-size: 15px;
        padding-bottom: 18px;
        text-align: left;
    }
}

section.contact {
    min-height: auto;
    padding: 0;
    background-color: #0e0e0e;
}

section.contact .section-content {
    display: flex;
    align-items: flex-start;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0;
}

section.contact .logo-1 {
    margin-right: 600px;
    margin-top: 100px;
    width: 500px;
    height: 100px;
}

section.contact .info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 100px;
    margin-right: 50px;
    width: 400px;
    text-align: right;
    color: white;
}

section.contact .phone {
    letter-spacing: 2px;
}

section.contact .sign {
    color: white;
}

section.contact .info img {
    width: 40px;
}

section.contact .logo-2 {
    width: 460px;
    height: 400px;
}

@media (max-width: 768px) {
    section.contact .section-content {
        flex-direction: column;
        align-items: center;
        padding: 20px 15px;
    }

    section.contact .logo-1 {
        margin: 20px 0 0 0;
        width: 80%;
        max-width: 280px;
        height: auto;
        order: 1;
    }

    section.contact .logo-1 img {
        width: 100%;
        height: auto;
    }

    section.contact .info {
        margin: 30px 0 0 0;
        width: 100%;
        max-width: 300px;
        text-align: center;
        order: 2;
    }

    section.contact .phone {
        font-size: 20px;
        letter-spacing: 1px;
    }

    section.contact .sign {
        display: inline-block;
        font-size: 18px;
        padding: 8px 16px;
        border: 1px solid white;
        border-radius: 40px;
        text-decoration: none;
    }

    section.contact .info img {
        width: 44px;
        margin-top: 5px;
    }

    section.contact .logo-2 {
        width: 70%;
        max-width: 260px;
        height: auto;
        margin-top: 20px;
        order: 3;
    }
}

/* Уменьшаем отступы и расстояние между пунктами меню */
.mobile-nav {
    padding: 60px 30px 30px;   /* было 80px 30px 40px — верхний отступ уменьшен */
    gap: 10px;                 /* было 20px — расстояние между кнопками уменьшено */
}

/* Уменьшаем вертикальные отступы у каждой кнопки */
.mobile-nav .nav-btn {
    padding: 4px 0;            /* было 8px 0 */
    font-size: 20px;           /* можно чуть уменьшить шрифт, если нужно */
}

/* Корректируем позицию логотипа, чтобы он не сместился вниз */
.mobile-nav .mobile-logo {
    top: -50px;                /* было -60px — поднимаем логотип, чтобы сохранить пропорции */
}