/* style.css */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Advent Pro', sans-serif;
    font-weight: 400;
    color: #111;
    background-color: #fff;
}

* {
    box-sizing: border-box;
}

.page-container {
    padding: 20px;
    background-color: #fff;
}

.divider {
    width: 60px;
    height: 1px;
    background-color: #111;
    margin: 20px 0;
}

/* HERO */
.hero {
    display: flex;
    height: calc(100vh - 40px);
    width: 100%;
    gap: 20px;
}

.hero-left {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand {
    font-weight: 700;
    font-size: 3.2rem;
    margin: 0 0 60px 0;
    letter-spacing: 2px;
    text-align: center;
    align-self: center;
    position: relative;
    top: -5%;
}

.innovation-block {
    max-width: 400px;
    position: relative;
    margin-top: 160px;
}

.innovation-block>*:not(.divider) {
    margin-left: 20px;
}

.innovation-block h2 {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.innovation-block p {
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin: 20px 0;
}

.hero-right {
    flex: 2.2;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.hero-image {
    position: relative;
    height: 100%;
    width: 100%;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 40px;
}

.hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.photo-engraved {
    display: flex;
    align-items: center;
    gap: 14px;
}

.photo-engraved span {
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: #fff;
    display: flex;
    align-items: center;
}

.photo-engraved .v-line {
    width: 1px;
    height: 35px;
    background-color: #fff;
}

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

.mobile-menu-btn {
  display: none;
}


.hero-nav a,
.hero-nav-btn {
    font-weight: 500;
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    transition: opacity 0.3s;
}

.hero-nav a:hover,
.hero-nav-btn:hover {
    opacity: 0.7;
}

.hero-nav-btn {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.presentations-panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: min(340px, 80vw);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(17, 17, 17, 0.10);
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
    padding: 16px 16px;
    display: none;
    z-index: 50;
    backdrop-filter: blur(6px);
}

.presentations-panel.is-open {
    display: block;
}

.presentations-title {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.6px;
    color: #111;
    margin: 0 0 10px 0;
}

.presentations-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.presentation-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-top: 1px solid rgba(17, 17, 17, 0.10);
}

.presentation-item:first-child {
    border-top: none;
    padding-top: 4px;
}

.presentation-name {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.2px;
    color: #111;
    line-height: 1.2;
}

.presentation-download {
    font-weight: 700;
    font-size: 0.95rem;
    color: #111;
    text-decoration: none;
    border-bottom: 2px solid #111;
    padding-bottom: 2px;
    white-space: nowrap;
    transition: opacity 0.3s;
}

.presentation-download:hover {
    opacity: 0.65;
}

/* VISUALIZER */
.visualizer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 150px 60px;
    gap: 80px;
}

.visualizer-video {
    flex: 1.6;
    display: flex;
    justify-content: center;
}

.visualizer-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.visualizer-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.visualizer-text h2 {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 2px;
}

.visualizer-text .subtitle {
    font-weight: 400;
    font-size: 1rem;
    color: #aaa;
    margin-top: 4px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.visualizer-text .description {
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.6;
    color: #222;
    margin: 15px 0;
    max-width: 420px;
}

.visualizer-text .divider {
    margin: 15px 0;
}

.try-link {
    font-weight: 700;
    font-size: 1.1rem;
    color: #111;
    text-decoration: none;
    border-bottom: 2px solid #111;
    width: fit-content;
    padding-bottom: 2px;
    transition: opacity 0.3s;
    letter-spacing: 0.5px;
    margin-top: 25px;
}

.try-link:hover {
    opacity: 0.6;
}

.try-link--mobile {
    display: none;
}

/* SECTION HEAD */
.section-head {
    display: block;
}

.section-head h2 {
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0;
    letter-spacing: 0.5px;
}

.section-head .subtitle {
    font-weight: 400;
    font-size: 1rem;
    color: #aaa;
    margin-top: 4px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.section-head .divider {
    margin: 15px 0 0 0;
}

/* WORLD */
.world-section {
    padding: 70px 60px 70px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.world {
    margin-top: 0;
}

.world-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

.world-card {
    grid-column: span 4;
    border: none;
    padding: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.2s, opacity 0.25s;
    position: relative;
}

.world-card:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.world-media {
    height: 220px;
    border-radius: 14px;
    overflow: hidden;
}

.world-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
}

.world-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 16px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0));
    color: #fff;
}

.world-country {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    opacity: 0.92;
}

.world-place {
    margin-top: 4px;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.4px;
}

/* WORKS */
.works {
    padding: 70px 60px 150px;
    display: flex;
    flex-direction: column;
    gap: 44px;
}

/* CAROUSEL */
.carousel-media {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-shell {
    position: relative;
    width: min(540px, 42vw);
}

.carousel-shell--modal {
    width: min(980px, 80vw);
    padding: 0 34px;
}

.carousel-shell--center {
    width: min(820px, 76vw);
}

.carousel-shell--modal .carousel-arrow--left {
    left: 10px;
}

.carousel-shell--modal .carousel-arrow--right {
    right: 10px;
}

.carousel-viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    border-radius: 14px;
    outline: none;
    scrollbar-width: none;
}

.carousel-viewport::-webkit-scrollbar {
    height: 0;
}

.carousel-track {
    display: flex;
    gap: 0;
    padding: 0;
}

.carousel-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    height: min(70vh, 740px);
}

.carousel-slide img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 14px;
    background: transparent;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    color: #111;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, opacity 0.25s;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
    user-select: none;
}

.carousel-arrow:hover {
    opacity: 0.85;
}

.carousel-arrow:active {
    transform: translateY(-50%) translateY(1px);
}

.carousel-arrow--left {
    left: -18px;
}

.carousel-arrow--right {
    right: -18px;
}

.carousel-dots {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    justify-content: center;
}

#tilesCarousel .carousel-dots {
    display: grid;
    grid-template-columns: repeat(auto-fill, 10px);
    gap: 10px;
    justify-content: center;
}

.carousel-dots--scroll {
    max-width: 800px;
    margin: 18px auto 0;
    overflow: visible;
    padding-bottom: 0;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: rgba(17, 17, 17, 0.18);
    cursor: pointer;
    transition: transform 0.2s, opacity 0.25s, background 0.25s;
    opacity: 0.95;
}

.carousel-dot:hover {
    opacity: 1;
}

.carousel-dot.is-active {
    background: #111;
    transform: scale(1.08);
}

/* SPLIT */
.carousel--split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

@media (min-width: 1101px) {
    .carousel--split .carousel-media {
        width: min(540px, 42vw);
        justify-self: start;
        align-items: center;
    }

    .carousel--split .carousel-shell {
        width: 100%;
    }

    .carousel--split .carousel-dots {
        width: 100%;
        justify-content: center;
    }
}

.carousel-info {
    max-width: 460px;
}

.carousel-title {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.6px;
    margin: 0;
}

.carousel-text {
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.6;
    color: #222;
    margin: 10px 0 0 0;
}

/* TILES */
.tiles {
    margin-top: 24px;
}

.tiles-head {
    max-width: 820px;
}

.tiles-head h3 {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.6px;
    margin: 0;
}

.carousel--center {
    margin-top: 18px;
}

#tilesCarousel .carousel-slide {
    height: min(62vh, 560px);
}

/* GALLERY */
.gallery {
    margin-top: 22px;
}

.gallery-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.gallery-top h3 {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.6px;
    margin: 0;
}

.parent {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 12px;
    height: 2000px;
}

.g-item {
    margin: 0;
    overflow: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: none;
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 0;
}

.g-media {
    position: relative;
    min-height: 0;
    border-radius: 8px;
    overflow: hidden;
}

.g-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.01);
}

.g-caption {
    padding: 14px 0px 0px 0px;
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 0.4px;
    color: rgba(17, 17, 17, 0.78);
    background: #fff;
    border-top: none;
}

.div1 { grid-column: span 3 / span 3; }

.div2 {
    grid-column: span 2 / span 2;
    grid-row-start: 2;
}

.div3 {
    grid-column-start: 3;
    grid-row-start: 2;
}

.div4 {
    grid-column: span 2 / span 2;
    grid-column-start: 2;
    grid-row-start: 3;
}

.div5 {
    grid-column-start: 1;
    grid-row-start: 3;
}

.div6 {
    grid-column: span 3 / span 3;
    grid-row-start: 4;
}

/* FORMS */
.forms {
    padding: 140px 60px;
}

.forms-head h2 {
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0 0 2px 0;
    letter-spacing: 0.5px;
}

.forms-head .subtitle {
    font-weight: 400;
    font-size: 1rem;
    color: #aaa;
    margin: 4px 0 10px 0;
    letter-spacing: 0.5px;
}

.forms-head .divider {
    margin: 15px 0 0 0;
}

.forms-content {
    margin-top: 26px;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 80px;
    align-items: stretch;
}

.forms-left {
    min-width: 0;
}

.forms-text {
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.65;
    color: #222;
    margin: 0;
    max-width: 560px;
}

.forms-figure {
    margin-top: 28px;
    max-width: 640px;
}

.forms-label {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.65);
    margin-bottom: 10px;
}

.forms-figure__media {
    border-radius: 8px;
    overflow: hidden;
}

.forms-figure__media img {
    display: block;
    width: 100%;
    height: auto;
}

.forms-right {
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    min-width: 0;
}

.carousel-shell--forms {
    width: min(420px, 30vw);
    height: 100%;
    max-height: 720px;
    margin-right: 40px;
}

.carousel--forms .carousel-media {
    height: 100%;
    align-items: flex-end;
}

.carousel--forms .carousel-viewport,
.carousel--forms .carousel-track {
    height: 100%;
}

.carousel--forms .carousel-slide {
    height: 100%;
    padding: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.forms-video {
    width: 85%;
    height: 85%;
    display: flex;
    flex-direction: column;
}

.forms-video__media {
    flex: 1;
    min-height: 0;
    border-radius: 0;
    overflow: hidden;
}

.forms-video__media video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
}

.carousel-shell--forms .carousel-arrow--left {
    left: -22px;
}

.carousel-shell--forms .carousel-arrow--right {
    right: -22px;
}

.carousel--forms .carousel-dots {
    width: 100%;
    justify-content: center;
    margin-top: -4px;
}

/* CONTACTS */
.contacts {
    padding: 150px 60px;
    margin-top: 120px;
    border-top: 1px solid rgba(17, 17, 17, 0.12);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 80px;
}

.contacts-left {
    flex: 1;
    min-width: 280px;
}

.contacts-left h2 {
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0 0 2px 0;
    letter-spacing: 0.5px;
}

.contacts-left .subtitle {
    font-weight: 400;
    font-size: 1rem;
    color: #aaa;
    margin: 4px 0 10px 0;
    letter-spacing: 0.5px;
}

.contacts-left .divider {
    margin: 15px 0;
}

.contacts-lead {
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.65;
    color: #222;
    margin: 0;
    max-width: 560px;
}

.contacts-people {
    margin-top: 22px;
}

.contacts-people__title {
    margin: 0 0 8px 0;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.65);
}

.contacts-people__item {
    margin: 6px 0;
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: 0.2px;
    color: #111;
}

.contacts-sign {
    margin: 10px 0 0 0;
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(17, 17, 17, 0.7);
}

.contacts-right {
    flex: 0.9;
    min-width: 260px;
    display: flex;
    justify-content: flex-end;
}

.contacts-logo {
    width: min(320px, 36vw);
    margin-top: 64px;
    margin-right: 64px;
}

.contacts-logo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.contacts-footer {
    width: 100%;
    margin-top: 34px;
}

.contacts-footer__line {
    width: 60px;
    height: 1px;
    background: rgba(17, 17, 17, 0.35);
    margin-bottom: 10px;
}

.contacts-footer__note {
    margin: 0;
    font-weight: 500;
    font-size: 1rem;
    color: rgba(17, 17, 17, 0.65);
    letter-spacing: 0.4px;
}

/* MODAL */
body.is-modal-open {
    overflow: hidden;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.modal.is-open {
    display: block;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.modal-panel {
    position: relative;
    width: min(1020px, calc(100vw - 40px));
    margin: 40px auto;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
}

.modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 22px 10px 22px;
}

.modal-kicker {
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.55);
}

.modal-title {
    margin: 6px 0 0 0;
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.6px;
}

.modal-meta {
    margin: 6px 0 0 0;
    font-weight: 400;
    font-size: 1rem;
    color: #aaa;
    letter-spacing: 0.5px;
}

.modal-close {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    cursor: pointer;
    font-size: 1.1rem;
    transition: opacity 0.25s, transform 0.2s;
}

.modal-close:hover { opacity: 0.8; }
.modal-close:active { transform: translateY(1px); }

.modal-body {
    padding: 10px 22px 22px 22px;
}

/* PRESENTATIONS SAFETY */
.presentations-panel .presentation-download {
    color: #111;
    border-bottom-color: #111;
}

/* RESPONSIVE (desktop/tablet only; mobile overrides in stylemobile.css) */
@media (max-width: 1100px) {
    .visualizer { padding: 120px 40px; }
    .world-section { padding: 60px 40px 60px; }
    .works { padding: 60px 40px 130px; }
    .forms { padding: 120px 40px; }

    .carousel--split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .carousel-shell { width: min(560px, 86vw); }
    .carousel-shell--center { width: min(900px, 90vw); }

    .world-grid .world-card { grid-column: span 6; }

    .forms-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .forms-right {
        justify-content: flex-start;
    }

    .carousel-shell--forms {
        width: min(520px, 86vw);
        max-height: 620px;
        margin-right: 0;
    }

    .carousel-shell--forms .carousel-arrow--left { left: -18px; }
    .carousel-shell--forms .carousel-arrow--right { right: -18px; }
}

@media (max-width: 820px) {
    .contacts {
        padding: 120px 40px;
        gap: 40px;
    }

    .contacts-right {
        justify-content: flex-start;
    }

    .contacts-logo {
        width: min(520px, 82vw);
        margin-top: 0;
        margin-right: 0;
    }

    .parent {
        max-width: 720px;
        gap: 10px;
        height: clamp(700px, 110vw, 980px);
    }
}

/* keep legacy small tweaks for <=600, but mobile layout is handled in stylemobile.css */
@media (max-width: 600px) {
    .presentations-panel {
        right: -10px;
        width: min(360px, 86vw);
    }
}



/* ====== Общая сетка: ПК две колонки ====== */
.product-extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 80px 0;
  align-items: start;
}

/* Колонка */
.product-extra__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Заголовок */
.product-extra__title {
  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
}

/* Вертикальная стопка изображений */
.product-extra__stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

/* Контейнер картинки */
.product-extra__image {
  width: 100%;
  max-width: 520px; /* размер на ПК */
}

/* Картинка */
.product-extra__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* ====== Mobile: всё в одну колонку (сначала радиальные, потом барельеф) ====== */
@media (max-width: 768px) {
  .product-extra {
    grid-template-columns: 1fr;
    gap: 34px;
    margin: 50px 0;
  }

  .product-extra__title {
    font-size: 1.4rem;
  }

  .product-extra__image {
    max-width: 92vw; /* чтобы не упиралось в края */
  }
}
