/* ==========================================================================
   FONT FACE
   ========================================================================== */
@font-face {
    font-family: "Perpetua Titling MT Light";
    src: url("fonts/PERPETUA-TITLING-MV.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

  a, button {
    -webkit-tap-highlight-color: transparent;
  }

  a:active, a:focus,
  button:active, button:focus {
    outline: none;
    background-color: transparent;
  }

  /* Альтернатива для доступности */
  a:focus-visible {
    outline: 2px solid #4a90e2;
  }

/* ==========================================================================
   ANIMATION UTILITIES
   ========================================================================== */
[data-animate] {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
} 

[data-animate="fade-up"]    { transform: translateY(30px); }
[data-animate="fade-down"]  { transform: translateY(-30px); }
[data-animate="fade-right"] { transform: translateX(-30px); }
[data-animate="fade-right-line"] { transform: translateX(0px); width: 0; }
[data-animate="fade-left"]  { transform: translateX(30px); }
[data-animate="fade"]       { transform: none; }

[data-animate].animated {
    opacity: 1;
    transform: translate(0, 0) !important;
}

[data-animate="fade-right-line"] {
    transition: 2s;
}

[data-animate="fade-right-line"].animated {
    width: 100%;
}

.load {
    opacity: 0;
    transition: opacity 3s ease;
}

.load.animated { 
    opacity: 1; 
}


/* ==========================================================================
   BASE STYLES
   ========================================================================== */
* {    
    cursor: url('cursor.svg') 13 13, auto;
}

html, body {
    font-size: 16px;
    color: #FFF;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    line-height: 1.8;
    margin: 0;
}

body {
    position: relative;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(0deg, rgba(112, 112, 112, 1) 0%, rgba(40, 40, 40, 1) 100%);
    z-index: -1;
}

.crbg::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to right, #000 30%, #6f6c6f 100%);
    z-index: -1; 
}

.page {
    padding: 0 30px;
}

.wrapper {
    box-sizing: border-box;
    margin: auto;
    position: relative;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h2, .ttl, .button {
    font-family: "Perpetua Titling MT Light";
    letter-spacing: 0.1em;
    line-height: 1.2;
    font-weight: normal;
}

span.gld, .right-title span, h2 span {
    color: #d8bf7e;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
header {
    position: fixed;
    left: 0;
    top: 0;
    right: 0; 
    margin: 0 auto;
    z-index: 99; 
    text-align: center;
    padding: 15px 30px 10px 30px;
    clip-path: inset(0 0 0 0);
    animation: clip 2s ease-in-out 0s forwards;
}

header.lanim {
    clip-path: none;
}

header::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(0deg, rgba(112, 112, 112, 1) 0%, rgba(40, 40, 40, 1) 100%);
    z-index: -1;
}

.main header::before, .cntbg header::before {
    display: none;
}

.crbg header::before { 
    display: none; 
}

body.main::before {
    display: none; 
}

.logo { 
    width: 100%; 
    position: relative;
    line-height: 0;
}

.logo img {
    width: 100%;
}

nav {
    display: flex;
    gap: 50px;
    justify-content: flex-end;
    padding-top: 10px;
}

nav a, .submenu a {
    color: #FFF;
    text-decoration: none;
    font-size: 22px;
    letter-spacing: 0.6em;
    transition: 0.3s;
}

.main .submenu a {
    opacity: 0;
}

nav a:hover, .submenu a:hover { 
    color: #d8bf7e; 
}

.submenu {
    width: fit-content;
    margin-left: auto;
    top: 100%;
    right: 0;
    text-align: right;
    min-width: 150px;
    padding-top: 5px;
    margin-right: 0.4em;
}

.submenu a {
    text-decoration: none;
    font-size: 12px;
    margin-right: 3px;
    display: block;
}

.submenu a.active {
    color: #d8bf7e;
}

/* ==========================================================================
   DOT LINE ELEMENTS
   ========================================================================== */
.dotline {
    position: absolute;
    top: 100%;
    left: 32.3%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dotline .dline {
    border-right: 1px solid #d8bf7e;
    width: 0;
    height: 100vh;
    margin-top: -2px;
}

.dotline.t .dline {
   animation: fadeUp 1.5s ease-in-out 0s forwards; 
   opacity: 0;
}

.dotline.z {
    position: absolute;
    z-index: -1;
    top: -200px;
    bottom: 0;
}

.dotline.z .dline {
    height: 100%;
}

.dotline .dot {
    background-color: #d8bf7e;
    border-radius: 100%;
    aspect-ratio: 1/1;
}

.dotline.z .dot {
    height: 100vh;
    background-color: transparent;
}

/* ==========================================================================
   CONTENT LAYOUT
   ========================================================================== */
.content { 
    position: relative; 
}

.content .wrapper { 
    padding-bottom: 100px; 
}

.content section { 
    margin-bottom: 80px; 
}

.row { 
    display: flex; 
    overflow: hidden; 
}

.left-col {
    min-width: 32.3%;
    text-align: right;
    padding-right: 20px;
    box-sizing: border-box;
    position: relative;
}

.crbg .left-col {
    min-width: calc(47.83% - 20px);
} 

.right-col {
    padding-left: 20px;
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px;
}

/* ==========================================================================
   TITLES & CONTENT
   ========================================================================== */
.content .left-title,
.content .right-title,
h2, .button {
    font-size: 24px;
    margin-bottom: 20px;
}

.content .left-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.content .left-col .left-title .dot {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 100%;
    background-color: #d8bf7e;
    position: absolute;
    right: -20px;
    transform: translateX(50%) !important;
}

.content .right-content { 
    position: relative; 
}

.content .right-content p {
    margin-left: 16%;
    margin-right: 20%;
    text-align: justify;
}

.left-content {
    position: relative;
    text-align: right;
}

/* ==========================================================================
   IMAGE STYLES
   ========================================================================== */
.img_s2 {
    position: absolute;
    right: 0;
    top: 40px;
    width: 17%;
}

.img_s2_m, .img_s1_m {
    display: none;
    width: 200px;
    margin: 20px 0;
}

.img_s1_m {
    width: calc(100% + 80px);
    max-width: 200px;
}

.img_s36m, .img_s13m, .img_s14m, 
.img_s29m, .img_s17m, .img_s18m {
    display: none;
}

.img_s35 {
    zoom: 1.3;
}

/* ==========================================================================
   IMAGE GALLERY STYLES
   ========================================================================== */
section .row.images {
    margin-top: 40px;
    align-items: center;
}

section .row.images .left-col { 
    line-height: 0; 
}

section .row.images .left-col img { 
    position: relative; 
    z-index: 9; 
}

section .row.images .right-col .right-content p {
    gap: 40px;
    display: flex;
    align-items: center;
}

section .row.images .right-col img { 
    width: calc(50% - 20px); 
    max-width: 200px; 
}

section .row .left-col img.img_s1 {
    height: 100%;
    position: absolute;
    right: 20%;
    top: 0;
}

section .row.images .right-col img.img_s30 { 
    margin-left: 60px; 
}

section .row.images .right-col img.img_s26, 
section .row.images .right-col img.img_s28 {
    width: calc(70% - 20px);
    max-width: 300px;
}

section .row.images .right-col img.img_s18 {
    width: calc(70% - 20px);
    max-width: 250px;
}

section .row.images .right-col img.img_s30 {
    width: calc(60% - 20px);
    max-width: 250px;
}

section .row.images .right-col img.img_s16 { 
    max-width: 150px; 
}

section .row.images .right-col img.img_s20 { 
    zoom: 1.4; 
}

section .row.images .right-col img.img_s8 { 
    max-width: 130px; 
}

section .row.images .right-col img.img_s12 { 
    zoom: 0.7; 
}

section .row.images .right-col img.img_s16a { 
    margin-left: 30px; 
}



section .row.images .right-col img.img_s10 { 
    max-width: 130px; 
}

section .row.images .right-col img.img_s10a {
    max-width: 300px;
    width: calc(45% - 20px);
    position: relative;
    right: -20px;
}

section .row.images .right-col img.img_s14a {
    max-width: 320px;
    width: calc(55% - 20px);
    position: relative;
    left: 20px;
}

section .row.images .right-col img.img_s6 {
    max-width: 260px;
    width: auto;
}

.img_s34a {
    left: 40px;
    position: relative;
}


/* ==========================================================================
   CREDO SECTION
   ========================================================================== */
.credo .right-content p { 
    margin-left: 0; 
}

.credo .right-col { 
    position: relative; 
}

.credo .right-col h2 { 
    position: fixed; 
    z-index: 9; 
}

.credo .right-content.padding-top { 
    margin-top: 140px; 
}

.credo .quote {
    margin-top: 40px;
    padding-left: 50px;
    text-align: right;
    text-wrap: nowrap;
    font-style: italic;
    position: fixed;
    z-index: 9;
}

.quote span {
    font-size: 11px;
    color: #a4a4a4;
    font-style: normal;
}

.hdnbg {
    position: fixed;
    width: 100%;
    height: 380px;
    background: linear-gradient(to right, #000 30%, #6f6c6f 100%);
    z-index: 8;
}

.credo .right-content p { 
    margin-bottom: 20px; 
}

.credo .right-content p:last-of-type { 
    margin-bottom: 0; 
}

.credo .left-col { 
    position: relative; 
}

.crdimg {
    max-width: 25%;
    width: auto;
    max-height: 550px;
    position: fixed;
    top: 0;
    left: 10%;
    z-index: 8;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contactbg {
    position: fixed;
    height: 100%;
    width: 47%;
    background-image: url(img/contact_bg.jpg);
    top: 0;
    right: 0;
    background-size: cover;
    background-position: bottom center;
    z-index: 8;
}

.contact section {
    width: calc(53% - 30px);
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}

.contact .form { 
    width: 400px; 
}

.contact form { 
    display: flex; 
    flex-direction: column; 
}

.contact form input {
    border: 0;
    font-size: 16px;
    color: #FFF;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    background-color: transparent;
    padding: 0 0 7px 0;
}

.contact form .hline {
    border-bottom: 1px solid #797979;
    display: block;
    margin-bottom: 30px;
}

.contact h2 { 
    margin-bottom: 40px; 
}

.bgcont {
    background-color: #FFF;
    position: fixed;
    width: 100%;
    height: 200px;
    top:0;
    clip-path: inset(0 0 0 0);
}

.bgcont::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(0deg, rgba(112, 112, 112, 1) 0%, rgba(40, 40, 40, 1) 100%);
    z-index: -1;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.button {
    color: #d8bf7e;
    border-bottom: 2px solid #d8bf7e;
    width: fit-content;
    block-size: fit-content;
    padding: 0 0 5px 0;
    transition: 0.3s;
}

.button:hover {
    color: #FFF;
    border-color: #FFF;
}

.send {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    margin-top: 20px;
    text-align: right;
}

.send span {
    font-size: 11px;
    color: #a4a4a4;
}

/* ==========================================================================
   ALIGNMENT UTILITIES
   ========================================================================== */
section .row.images .right-col p.alb, 
section .row.images.alb { 
    align-items: flex-end; 
}

section .row.images .right-col p.alt, 
section .row.images.alt { 
    align-items: flex-start; 
}

.pdescmob { 
    display: none; 
}

.right-content .pdescmob { 
    margin-left: 60px !important; 
}

/* ==========================================================================
   OVERLAY & COMING SOON
   ========================================================================== */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 999;
}

.comingsoon {
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comingsoon span {
    opacity: 0;
    position: absolute;
    text-transform: uppercase;
    text-align: center;
}

.comingsoon img {
    opacity: 0;
    width: 170px;
    animation: rotate 3s linear infinite;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(330px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes clip {
    from { clip-path: none; }
    to { clip-path: inset(0 0 0 0); }
}

.main {
    background: #000;
}

.main .pbg {
    background-size: cover;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    opacity: 0;
    bottom: 0;
}



.btmlogos {
    position: fixed;
    right: 30px;
    bottom: 30px; 
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-end;
    text-align: right;
    gap: 30px;
}

.btmlogos img {
    width: 100%;
}

.btmlogos a:first-of-type {
    margin-right: 15%;
}

.btmlogos a {
    width: 20%;
    display: block;
}
    
#video-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
            filter: brightness(120%);
        }
        
        #video-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center 50%;
        }
        
        #fallback-image {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center 50%;
            z-index: -1;
            opacity: 0;
            transition: opacity 3s ease;
        }
        
        #fallback-image.show {
            opacity: 1;
        }
        
        
        
.main .submenu {
    opacity: 0;
}

.main .submenu:hover, .main .submenu.active {
     opacity: 1;
}

.main .submenu a {
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
}

.main .submenu:hover a, .main .submenu.active a {
    transform: translateY(0);
    opacity: 1; 
    transition: transform 1s ease, opacity 1s ease;
    pointer-events: auto;
}

.main .submenu.active a:nth-child(1) { transition-delay: 0s; }
.main .submenu.active a:nth-child(2) { transition-delay: 0.5s; }
.main .submenu.active a:nth-child(3) { transition-delay: 1s; }

    header nav {
        margin-right: 0.8% !important;
    }
    
    .submenu {
        margin-right: 1.2% !important;
    }
    
nav[data-aos="fade-up"] {
  transform: translateY(30px); 
}

.content.contact {
    margin-top: -80px;
}

section .row.images .right-col img.img_s36, section .row.images .right-col img.img_s36a {
    zoom: 0.7;
}

.img_s34a {
    zoom: 0.8;
    position: relative;
    left: 20px;
}

.img_s25 {
    zoom: 0.7;
    right: -8px;
}

.pdesctop {
    min-height: 270px;
}