:root {
    --green: #07534f;
    --green-2: #0a625c;
    --green-3: #083f3c;
    --cream: #eee9dc;
    --paper: #f3f0e8;
    --gold: #c2ac6c;
    --ink: #133c39;
    --white: #fffdf5;
    --muted: #ead295;
    --max: 1240px;
    --gap: 24px;
    --radius: 24px;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--green);
    color: var(--white);
    font-family: "Montserrat", sans-serif;
    line-height: 1.45;
}



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

a {
    color: inherit;
    text-decoration: none
}

button {
    font: inherit
}

.container {
    width: min(var(--max), calc(100% - 80px));
    margin: 0 auto
}

.grid-12 {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--gap)
}

.col-3 {
    grid-column: span 3
}

.col-4 {
    grid-column: span 4
}

.col-5 {
    grid-column: span 5
}

.col-6 {
    grid-column: span 6
}

.col-7 {
    grid-column: span 7
}

.col-8 {
    grid-column: span 8
}

.col-12 {
    grid-column: 1/-1
}

.col-start-3 {
    grid-column-start: 3
}

.section-dark {
    background: var(--green);
    color: var(--white)
}

.section-light {
    background: var(--paper);
    color: var(--ink)
}

.eyebrow {
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 16px
}

.eyebrow.dark {
    color: var(--green-2)
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1,
h2 {
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: .95
}

h1 {
    font-size: clamp(54px, 6.8vw, 100px);
    max-width: 940px;
    margin-bottom: 28px
}

h1 span,
h2 span {
    color: var(--gold)
}

h2 {
    font-size: clamp(42px, 5vw, 72px);
    margin-bottom: 28px
}

h3 {
    font-size: 28px;
    line-height: 1.02;
    letter-spacing: -.02em
}

p {
    font-size: 16px
}

.lead {
    font-size: 22px;
    max-width: 650px;
    color: var(--muted)
}

.site-header {
    position: absolute;
    z-index: 20;
    left: 0;
    right: 0;
    top: 0;
    height: 102px;
    background: #124545;
    border-top: 0px solid rgba(255, 255, 255, .08)
}

.header-grid {
    min-height: 99px;
    display: grid;
    grid-template-columns: 78px 1fr auto;
    align-items: center;
    gap: 26px
}

.logo {
    display: block;
    width: 70px;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
}

.nav {
    display: flex;
    justify-content: start;
    gap: 0;
    font-size: 13px;
    letter-spacing: .08em
}

.nav a {
    opacity: .9;
    padding: 0 11px;
    border-right: 1px solid rgba(255, 255, 255, .72);
    line-height: 1
}

.nav a:last-child {
    border-right: 0
}

.nav a,
.langs a {
    color: #ffffff
}

.nav a:hover,
.langs a:hover,
.langs .active {
    opacity: 1;
    color: #c2ac6b
}

.langs {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #c2ac6b
}

.hero {
    height: 840px;
    min-height: 640px;
    position: relative;
    overflow: hidden;
    background: #245f60;
    padding-top: 102px;
}

.hero-bg {
    position: absolute;
    inset: 102px 0 0;
    width: 100%;
    height: calc(100% - 102px);
    object-fit: cover;
    object-position: center 45%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 102px 0 0;
    z-index: 1;
    background:
        linear-gradient(90deg,
            rgba(17, 73, 73, .86) 0%,
            rgba(20, 80, 79, .72) 32%,
            rgba(12, 60, 59, .22) 66%,
            rgba(5, 50, 48, .05) 100%),
        linear-gradient(0deg, rgba(8, 61, 59, .28), transparent 40%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    height: 738px;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-tools {
    display: flex;
    gap: 12px;
    align-items: center;
}

.hero-copy {
    position: relative;
    margin-top: 105px;
    width: 100%;
    z-index: 2;
}

.hero-copy .eyebrow {
    font-size: 18px;
    letter-spacing: .04em;
    text-transform: none;
    margin-bottom: 14px;
    color: #c2ac6c;
}

.hero-copy h1 {
    font-size: 58px;
    line-height: 1.04;
    letter-spacing: .01em;
    max-width: 720px;
    margin: 0;
    font-weight: 700;
    color: #f4f2ee;
}

.hero-pill {
    height: 43px;
    padding: 0 16px;
    border-radius: 24px;
    background: #c2ad6c;
    border: 1px solid rgba(255, 255, 255, .32);
    display: flex;
    align-items: center;
    gap: 9px;
    color: #254646;
    font-size: 13px;
    font-weight: 600;
    /* Толщина */
    letter-spacing: .04em;
    white-space: nowrap;
}

.pill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 20px;
    line-height: 1;
    color: #294b4a;
}

.clock-icon {
    border: 2px solid #294b4a;
    border-radius: 50%;
    position: relative;
    width: 17px;
    height: 17px;
}

.clock-icon::before {
    content: '';
    position: absolute;
    width: 1.5px;
    height: 5px;
    background: #294b4a;
    top: 3px;
    left: 7px;
}

.clock-icon::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 1.5px;
    background: #294b4a;
    top: 8px;
    left: 7px;
    transform: rotate(25deg);
    transform-origin: left center;
}


.hero-grid {
    align-items: center
}

.hero-side {
    position: absolute;
    z-index: 4;
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    background: #eee9dc;
    top: calc(50% + 100px);
    transform: translateY(-50%);
    padding: 0;
}

.hero-side-left {
    left: -29px
}

.hero-side-right {
    right: -29px
}

.about {
    padding: 50px 0 150px
}

.about-grid {
    align-items: center
}

.about {
    position: relative;
    background: #0a403d;
    overflow: hidden;
    max-height: 800px;
}

/* PNG-текстура */
.about::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("assets/texture.png");
    background-repeat: repeat;
    background-position: center;
    background-size: 1920px auto;
    pointer-events: none;
}

/* Контент поверх текстуры */
.about .container {
    position: relative;
    z-index: 1;
}


/* Основной заголовок */
.about-copy h2 {
    color: #e6c982;
}

/* Если используешь span внутри заголовка */
.about-copy h2 span {
    color: #e6c982;
}

/* Подзаголовок */
.about-copy .lead {
    color: #f2f0e8;
}

/* Основной текст */
.about-copy p {
    color: #f2f0e8;
}

/* Надпись «О компании» */
.about-copy .eyebrow {
    color: #e6c982;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

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

/* .services {
    padding: 120px 0
} */

.section-head {
    align-items: end;
    margin-bottom: 55px
}

.section-intro {
    align-self: end;
    max-width: 520px;
    font-size: 18px;
    color: rgba(19, 60, 57, .72)
}



.service-card {
    background: var(--green);
    color: var(--white);
    border-radius: 24px;
    padding: 38px 36px 34px;
    min-height: 260px;
    position: relative;
    overflow: hidden
}

/* .service-card:nth-child(2) {
    transform: translateY(32px)
}

.service-card:nth-child(3) {
    transform: translateY(-12px)
}

.service-card:nth-child(4) {
    transform: translateY(20px)
} */

.card-num {
    color: var(--gold);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .15em;
    margin-bottom: 34px
}

/* .service-card p {
    color: var(--muted);
    max-width: 600px
} */

.philosophy {
    padding: 150px 0;
    background: var(--green-3)
}

.philosophy-box {
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 32px;
    padding: 60px 70px
}

.philosophy-box h2 {
    max-width: 980px
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 34px 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 34px;
    color: var(--muted)
}

.checklist li {
    position: relative;
    padding-left: 28px
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 800
}

.texture-bg {
    background-color: var(--green);
    background-image: linear-gradient(rgba(5, 83, 79, .95), rgba(5, 83, 79, .95)), url('assets/texture.png');
    background-size: auto, 640px;
    background-blend-mode: normal, multiply
}

.impressions {
    padding: 130px 0 160px
}

.impressions-head {
    margin-bottom: 50px
}

.impression-grid {
    align-items: stretch
}

.filters {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.filter {
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, .04);
    color: rgba(255, 255, 255, .72);
    text-align: left;
    cursor: pointer
}

.filter.active,
.filter:hover {
    background: var(--gold);
    color: var(--green-3);
    border-color: var(--gold)
}

.impression-image {
    margin: 0;
    height: 102%;

    border-radius: 20px;
    overflow: hidden;
    min-height: 460px
}

.impression-image img {
    height: 102%;
    object-fit: cover
}

.impression-copy {
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 26px;
    padding: 36px
}

.impression-copy h3 {
    font-size: 40px
}

.impression-copy p {
    color: var(--muted)
}



.dark-copy {
    color: rgba(19, 60, 57, .72)
}

.route-grid {
    align-items: stretch
}

.route-card {
    background: var(--green);
    border-radius: 24px;
    overflow: hidden;
    color: var(--white);
    display: flex;
    flex-direction: column
}

.route-card img {
    aspect-ratio: 1/.82;
    object-fit: cover
}

.route-content {
    padding: 24px
}

.route-days {
    font-size: 12px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .14em;
    margin-bottom: 12px
}

.route-content h3 {
    font-size: 26px;
    margin-bottom: 12px
}

.route-content p {
    font-size: 14px;
    color: var(--muted);
    min-height: 62px
}

.route-content a {
    display: inline-block;
    margin-top: 12px;
    color: var(--gold);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .09em
}


.testimonial {
    background: #f5f1e7;
    color: var(--ink);
    border-radius: 28px;
    padding: 34px;
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 28px;
    align-items: start
}

.testimonial img {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    object-fit: cover
}

.quote-mark {
    font-size: 72px;
    line-height: .7;
    color: var(--gold);
    grid-column: 1/-1
}

.testimonial p {
    font-size: 22px;
    line-height: 1.35
}

.testimonial-meta {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .65
}


.footer {
    /* border-top: 1px solid rgba(255, 255, 255, .12); */
    padding: 20px 0 28px;
    font-size: 12px;
    color: rgba(255, 255, 255, .55)
}

.footer {
    background: #0b3131;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr
}

.footer-grid div:last-child {
    text-align: right
}

@media (max-width: 1050px) {
    .container {
        width: min(var(--max), calc(100% - 40px))
    }

    .nav {
        gap: 14px
    }

    .nav a:nth-child(4),
    .nav a:nth-child(5) {
        display: none
    }

    .col-7,
    .col-8 {
        grid-column: span 12
    }

    .about-copy {
        margin-bottom: 25px
    }

    .col-5 {
        grid-column: span 6
    }

    /* .service-card {
        grid-column: span 6
    } */

    .route-card {
        grid-column: span 6
    }

    .impression-copy {
        grid-column: span 4
    }

    .impression-image {
        grid-column: span 5
    }

    .filters {
        grid-column: span 3
    }
}


/* =========================
   SERVICES
========================= */

.services {
    position: relative;

    min-height: 1000px;

    padding: 80px 0 0px;

    overflow: hidden;

    background: #e8e5dc;
}


/* Фоновое изображение */

.services-bg {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: 0;
}


/* Контент */

.services-inner {
    position: relative;

    z-index: 2;
}


/* =========================
   HEADER
========================= */

.services-head {
    width: 1000px;
    max-width: 100%;
    margin: 0 100px 22px;
}

.service-grid {
    width: 900px;
    max-width: 100%;
    margin: 0px 0;
    margin-left: 100px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}


.services .eyebrow {
    margin-bottom: 8px;

    color: #2C8080;

    font-size: 16px;

    font-weight: 700;

    letter-spacing: 0.02em;
}


/* Заголовок */

.services-head h2 {
    margin: 0;

    color: #144a4a;

    font-size: 58px;

    line-height: 1.05;

    font-weight: 700;

    letter-spacing: -0.02em;
}


/* Описание */

.services-intro {
    margin-top: 12px;
    margin-bottom: 10px;
    max-width: 760px;

    color: #2C8080;

    font-size: 24px;

    line-height: 1.1;

    font-weight: 600;
}




/* =========================
   CARD
========================= */

.service-card {
    position: relative;

    height: 100px;

    padding:
        30px 44px 28px;

    border-radius: 42px;

    background: #164c4c;

    color: #f2f0e8;

    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}


/* Верх карточки */

.service-card-top {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 20px;
}


/* Заголовок карточки */

.service-card h3 {
    margin: 0;

    color: #D7B56D;

    font-size: 28px;

    line-height: 1.05;

    font-weight: 600;

    letter-spacing: 0.01em;
}


/* Текст карточки */

.service-card p {
    margin: 10px 0 0;

    max-width: 400px;

    color: #ffffff;

    font-size: 19px;

    line-height: 1.25;

    font-weight: 400;
}


/* =========================
   ICONS
========================= */

.service-icon {
    width: 65px;

    min-width: 58px;

    height: 65px;

    color: #D7B56D;
}


.service-icon svg {
    display: block;

    width: 100%;

    height: 100%;
}


/* Убираем старые номера */

/* .card-num {
    display: none;
} */

/* =========================
   ADVANTAGES
========================= */

.advantages {
    position: relative;
    overflow: hidden;
    max-height: 1000px;

    padding: 100px 0;

    background: #0b4544;
}


/* PNG-текстура */
/* .advantages::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("assets/texture.png");
    background-repeat: repeat;
    background-position: center;
    background-size: 1920px auto;
    pointer-events: none;
} */




/* Затемнение поверх текстуры */

.advantages::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(9, 54, 53, 0.25),
            rgba(9, 54, 53, 0.08));

    pointer-events: none;

    z-index: 0;
}


/* Контейнер */

.advantages-inner {
    position: relative;

    z-index: 1;
}


/* Основная рамка */

.advantages-box {
    position: relative;

    max-width: 1180px;
    min-height: 700px;
    margin: 0 auto;

    padding:
        80px 95px 90px;

    border: 4px solid #226c6c;

    border-radius: 54px;

    box-sizing: border-box;

    background: rgba(12, 60, 59, 0.35);
}

.advantage-icon {
    width: 30px;
    height: 30px;
}

.advantage-item {
    display: flex;
    align-items: center;
    /* иконка и текст по одной линии */
    gap: 18px;
    font-size: 25px;
    /* размер текста */
    font-weight: 700;
    /* bold */
}


.advantage-item span {
    margin: 0;
}

.advantages-list {
    margin-top: 55px;
    display: flex;
    flex-direction: column;
    gap: 34px;
    /* расстояние между строками */
}

/* =========================
   IMPRESSIONS
========================= */

.impressions {
    position: relative;
    padding: 70px 0 90px;
    min-height: 600px;

    overflow: hidden;

    background: #0b4544;
}


.impressions .container {
    position: relative;

    z-index: 2;
}

.impressions::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("assets/texture.png");
    background-repeat: repeat;
    background-position: center;
    background-size: 1920px auto;
    pointer-events: none;
}

.impressions::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(9, 54, 53, 0.25),
            rgba(9, 54, 53, 0.08));

    pointer-events: none;

    z-index: 0;
}


.impressions-inner {
    position: relative;
    z-index: 2;

    width: 900px;
    max-width: calc(100% - 40px);

    margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.impressions-heading {
    width: 100%;
    margin: 0 0 35px;
}

.impressions .eyebrow {
    margin-bottom: 10px;

    color: #D7B56D;

    font-size: 30px;

    font-weight: 700;

    letter-spacing: 0.02em;
}


.impressions h2 {
    margin: 0;

    color: #f3f1eb;

    font-size: 55px;

    line-height: 1.05;

    font-weight: 700;
}


/* =========================
   CONTENT
========================= */

.impressions-content {
    display: grid;

    grid-template-columns:
        150px 255px 1fr;

    gap: 15px;

    align-items: center;
}


/* =========================
   MENU
========================= */

.impressions-menu {
    display: flex;

    flex-direction: column;

    gap: 10px;
}



.impression-btn {
    width: 150px;

    min-height: 48px;

    padding: 10px 16px;

    display: flex;

    align-items: center;

    gap: 12px;

    border: 1px solid rgba(101, 161, 160, 0.25);

    border-radius: 30px;

    background:
        rgba(37, 95, 95, 0.75);

    color: #f3f1eb;

    cursor: pointer;

    transition:
        background .25s ease,
        transform .25s ease,
        border-color .25s ease;
}


.impression-btn:hover {
    transform: translateX(4px);

    background:
        rgba(51, 116, 116, 0.9);
}


/* Активная кнопка */

.impression-btn.active {
    background:
        #276b6b;

    border-color:
        rgba(207, 176, 104, 0.45);
}


/* Иконка */

.impression-btn img {
    width: 28px;

    height: 28px;

    object-fit: contain;

    flex-shrink: 0;
}


/* Текст кнопки */

.impression-btn span {
    font-size: 11px;

    line-height: 1.1;

    font-weight: 600;

    text-align: left;
}


/* =========================
   IMAGE
========================= */

.impression-image-wrap {
    width: 100%;
    border: 1px solid #226c6c;

    height: 350px;

    overflow: hidden;

    border-radius: 22px;

    background: #1c5555;
}


.impression-image {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transition:
        opacity .3s ease,
        transform .5s ease;
}

/* =========================
   INFO
========================= */

.impression-info {
    min-height: 335px;
    height: 350px;

    padding: 32px 30px;

    box-sizing: border-box;

    border-radius: 22px;

    background:
        rgba(54, 112, 112, 0.85);

    border: 1px solid #226c6c;

}


.impression-info h3 {
    margin: 0 0 14px;

    color: #D7B56D;

    font-size: 25px;

    line-height: 1.1;

    font-weight: 700;
}


.impression-info p {
    margin: 0;

    max-width: 700px;

    color: #f3f1eb;

    font-size: 16px;

    line-height: 1.45;

    font-weight: 400;
}


/* =========================
   IDEAS
========================= */

.ideas {
    position: relative;
    overflow: hidden;
    min-height: 900px;


    padding: 65px 0 90px;

    background: #0b4544;
}


/* =========================
   TEXTURE
========================= */

/* .ideas-texture {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("assets/texture.png");
    background-repeat: repeat;
    background-position: center;
    background-size: 1920px auto;
    pointer-events: none;
} */


/* =========================
   DECORATIVE IMAGE
========================= */

.ideas-decoration {
    position: absolute;

    left: 0;
    right: 0;

    top: 190px;

    height: 725px;

    overflow: hidden;

    z-index: 1;

    pointer-events: none;
}


/* Сама картинка */

.ideas-decoration img {
    position: absolute;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    display: block;
}


/* Затемнение изображения */

.ideas-decoration::after {
    content: "";

    position: absolute;
    inset: 0;

}


/* =========================
   CONTENT
========================= */

.ideas-inner {
    position: relative;

    z-index: 3;
}


/* =========================
   HEADER
========================= */

.ideas-head {
    max-width: 1000px;

    margin: 0 auto 38px;
}


.ideas-eyebrow {
    margin-bottom: 12px;

    color: #d7b66a;

    font-size: 17px;

    font-weight: 700;
}


.ideas-head h2 {
    margin: 0 0 25px;

    color: #f5f2eb;

    font-size: 62px;

    line-height: 1.08;

    font-weight: 700;

    letter-spacing: -0.025em;
}


.ideas-head p {
    max-width: 1000px;

    margin: 0;

    color: #f3f0e9;

    font-size: 25px;

    line-height: 1.25;

    font-weight: 400;
}


/* =========================
   CARDS
========================= */

.ideas-cards {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;

    max-width: 1000px;

    margin: 0 auto;
}


/* =========================
   CARD
========================= */

.idea-card {
    position: relative;
    border: 1px solid #226c6c;
    height: 330px;
    width: 260px;
    overflow: hidden;
    object-position: center;

    border-radius: 25px;

    background: #164f4f;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.18);
}


/* Картинка карточки */

.idea-card-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    z-index: 0;
}


/* Затемнение */

.idea-card-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.30) 0%,
            rgba(0, 0, 0, 0.15) 30%,
            rgba(0, 45, 45, 0.82) 100%);

    z-index: 1;
}


/* =========================
   CARD CONTENT
========================= */

.idea-card-content {
    position: relative;

    z-index: 2;

    height: 100%;

    padding: 32px;

    box-sizing: border-box;

    display: flex;

    flex-direction: column;
}


.idea-card h3 {
    margin: 0;

    color: #ffffff;

    font-size: 23px;

    line-height: 1.05;

    font-weight: 700;
}


/* Информация */

.idea-card-info {
    margin-top: auto;

    display: flex;

    flex-direction: column;

    gap: 5px;
}


.idea-card-info strong {
    color: #d8b66b;

    font-size: 24px;

    line-height: 1;

    font-weight: 700;
}


.idea-card-info span {
    color: #ffffff;

    font-size: 13px;

    line-height: 1.15;

    font-weight: 600;
}


/* =========================
   BUTTON
========================= */

.idea-card-button {
    width: 100%;
    min-height: 45px;
    width: 200px;
    margin-top: 18px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 25px;
    background: #238080;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: background .25s ease, transform .25s ease;
}

.idea-card-button:hover {
    background: #2d9292;
    transform: translateY(-2px);
}

.idea-card-button img {
    width: 16px;
    height: 16px;
}

/* =========================
   REVIEWS
========================= */

.reviews {
    position: relative;
    overflow: hidden;

    min-height: 600px;

    padding: 70px 0 90px;

    background: #0d5050;
}


/* Текстура */

.reviews-texture {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("assets/texture.png");
    background-repeat: repeat;
    background-position: center;
    background-size: 1920px auto;
    pointer-events: none;
}


/* Контент */

.reviews-inner {
    position: relative;

    z-index: 2;

    max-width: 900px;

    margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.reviews-head {
    margin-bottom: 42px;
}


.reviews-eyebrow {
    margin-bottom: 12px;

    color: #d7b66a;

    font-size: 18px;

    font-weight: 700;
}


.reviews-head h2 {
    margin: 0;

    color: #ffffff;

    font-size: 58px;

    line-height: 1.08;

    font-weight: 700;

    letter-spacing: -0.025em;
}


/* =========================
   SLIDER
========================= */

.reviews-slider {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;
}


/* =========================
   REVIEW CARD
========================= */

.review-card {
    width: 825px;

    min-height: 205px;

    padding: 28px 42px;

    box-sizing: border-box;

    display: flex;

    align-items: center;

    gap: 42px;

    background: #f4f2ec;

    border: 2px solid #388b8a;

    border-radius: 28px;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}


/* Фото */

.review-photo {
    width: 145px;

    height: 145px;

    flex-shrink: 0;

    overflow: hidden;

    border-radius: 50%;

    border: 2px solid #238080;
}


.review-photo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* Текст */

.review-content {
    flex: 1;

    min-width: 0;

    display: flex;

    flex-direction: column;

    height: 145px;
}


.review-content p {
    margin: 0;

    color: #143f3f;

    font-size: 15px;

    line-height: 1.2;

    font-weight: 500;
}


/* Автор */

.review-author {
    margin-top: auto;

    color: #143f3f;

    font-size: 14px;

    font-weight: 500;
}


/* =========================
   ARROWS
========================= */

.review-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 42px;
    height: 42px;

    padding: 0;

    border: none;

    background: transparent;

    color: #ffffff;

    font-size: 42px;

    line-height: 1;

    cursor: pointer;

    z-index: 5;

    transition:
        transform 0.2s ease,
        color 0.2s ease;
}


.review-prev {
    left: -10px;
}


.review-next {
    right: -10px;
}


.review-arrow:hover {
    color: #d7b66a;

    transform:
        translateY(-50%) scale(1.15);
}

/* =========================
   CONTACTS
========================= */

.contacts {
    position: relative;
    overflow: hidden;

    min-height: 400px;

    padding: 60px 0 100px;

    background: #0b4544;
}


/* =========================
   TEXTURE
========================= */

/* .contacts-texture {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("assets/texture.png");
    background-repeat: repeat;
    background-position: center;
    background-size: 1920px auto;
    pointer-events: none;
} */


/* =========================
   CONTENT
========================= */

.contacts-inner {
    position: relative;

    z-index: 2;

    max-width: 900px;

    margin: 0 auto;
}


/* =========================
   EYEBROW
========================= */

.contacts-eyebrow {
    margin-bottom: 12px;

    color: #d7b66a;

    font-size: 18px;

    font-weight: 700;
}


/* =========================
   TITLE
========================= */

.contacts-title {
    margin: 0 0 45px;

    color: #ffffff;

    font-size: 58px;

    line-height: 1.08;

    font-weight: 700;

    letter-spacing: -0.025em;
}


/* =========================
   ICON
========================= */

.contact-icon {
    display: block;

    object-fit: contain;

    flex-shrink: 0;
}


/* E-mail icon */

.email-icon {
    width: 45px;
    height: 45px;
}


/* Messenger icons */

.messenger-icon {
    width: 50px;
    height: 50px;
}

/* =========================
   EMAIL
========================= */

.contact-email {
    display: flex;

    align-items: flex-start;

    gap: 30px;

    margin-bottom: 32px;
}


.contact-info {
    min-width: 0;
}


.contact-info h3 {
    margin: -5px 0 0;

    color: #ffffff;

    font-size: 30px;

    line-height: 1;

    font-weight: 700;
}


.email-addresses {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 7px;

    color: #d7b66a;

    font-size: 20px;

    line-height: 1.2;
}


.email-addresses a {
    color: #d7b66a;

    text-decoration: none;
}


.email-addresses a:hover {
    text-decoration: underline;
}

/* =========================
   MESSENGERS
========================= */

.contact-messengers {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;
}


.messenger {
    display: flex;

    align-items: flex-start;

    gap: 18px;
}


.messenger-info {
    min-width: 0;
}


.messenger-info h3 {
    margin: -5px 0 4px;

    color: #ffffff;

    font-size: 30px;

    line-height: 1;

    font-weight: 700;
}


/* Языки */

.messenger-languages {
    display: flex;

    align-items: center;

    gap: 10px;

    color: #ffffff;

    font-size: 20px;

    line-height: 1.2;
}


.messenger-languages a {
    color: #ffffff;

    text-decoration: none;
}


.messenger-languages a:hover {
    color: #d7b66a;
}


/* Телефоны */

.messenger-phones {
    display: flex;

    gap: 22px;

    margin-top: 8px;

    white-space: nowrap;
}


.messenger-phones a {
    color: #d7b66a;

    text-decoration: none;

    font-size: 10px;

    line-height: 1;
}

@media (max-width: 768px) {

    .contacts {
        padding: 45px 20px 70px;
    }


    .contacts-inner {
        max-width: 100%;
    }


    .contacts-title {
        font-size: 40px;

        margin-bottom: 35px;
    }


    .contact-email {
        gap: 18px;
    }


    .email-addresses {
        flex-wrap: wrap;

        font-size: 16px;
    }


    .contact-messengers {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .messenger-info h3,
    .contact-info h3 {
        font-size: 25px;
    }


    .messenger-languages {
        font-size: 17px;
    }


    .messenger-phones {
        gap: 10px;

        flex-wrap: wrap;

        white-space: normal;
    }

}

.review-card {
    transition:
        transform 0.45s ease,
        opacity 0.45s ease;
}

/* Language switcher */
.langs { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.lang-btn {
  border: 0;
  padding: 5px 3px;
  background: transparent;
  color: #fff;
  opacity: .72;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: color .2s ease, opacity .2s ease;
}
.lang-btn:hover, .lang-btn.active { color: #c2ac6c; opacity: 1; }
.lang-btn:focus-visible { outline: 1px solid #c2ac6c; outline-offset: 4px; }

/* =========================================================
   BURGER (скрыт на десктопе)
   ========================================================= */

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 3px auto;
    border-radius: 2px;
    background: #fff;
    transition: transform .25s ease, opacity .2s ease, background .2s ease;
}

.site-header.nav-open .burger span {
    background: #c2ac6c;
}

.site-header.nav-open .burger span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.site-header.nav-open .burger span:nth-child(2) {
    opacity: 0;
}

.site-header.nav-open .burger span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}


/* =========================================================
   MOBILE  (≤ 760px)
   ========================================================= */

@media (max-width: 760px) {

    /* ---------- GLOBAL ---------- */

    :root {
        --gap: 16px;
    }

    html {
        -webkit-text-size-adjust: 100%;
    }

    body {
        overflow-x: hidden;
    }

    button,
    a {
        -webkit-tap-highlight-color: transparent;
    }

    section[id] {
        scroll-margin-top: 72px;
    }

    .container {
        width: calc(100% - 28px);
        max-width: none;
    }

    .col-3,
    .col-4,
    .col-5,
    .col-6,
    .col-7,
    .col-8 {
        grid-column: 1 / -1;
    }

    h2 {
        font-size: clamp(30px, 8.6vw, 42px);
        line-height: 1.08;
        margin-bottom: 20px;
    }

    h3 {
        font-size: 22px;
    }

    p {
        font-size: 15px;
    }

    .about,
    .services,
    .advantages,
    .impressions,
    .ideas,
    .reviews,
    .contacts {
        padding-top: 56px;
        padding-bottom: 64px;
    }


    /* ---------- HEADER + BURGER MENU ---------- */

    .site-header {
        position: fixed;
        height: 72px;
        box-shadow: 0 2px 14px rgba(0, 0, 0, .18);
    }

    .header-grid {
        min-height: 72px;
        grid-template-columns: 52px 1fr auto auto;
        gap: 6px;
    }

    .logo {
        grid-column: 1;
        grid-row: 1;
        width: 52px;
    }

    .langs {
        grid-column: 3;
        grid-row: 1;
        gap: 2px;
    }

    .lang-btn {
        font-size: 12px;
        padding: 10px 6px;
    }

    .burger {
        grid-column: 4;
        grid-row: 1;
        display: flex;
        margin-right: -8px;
    }

    .nav {
        display: none;
    }

    .site-header.nav-open .nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        padding: 6px 22px 20px;
        background: #124545;
        border-top: 1px solid rgba(255, 255, 255, .12);
        box-shadow: 0 20px 30px rgba(0, 0, 0, .28);
        font-size: 15px;
        letter-spacing: .04em;
    }

    .nav a,
    .nav a:nth-child(4),
    .nav a:nth-child(5) {
        display: block;
        padding: 16px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
        line-height: 1.2;
        opacity: 1;
    }

    .nav a:last-child {
        border-bottom: 0;
    }


    /* ---------- HERO ---------- */

    .hero {
        height: min(720px, 100svh);
        min-height: 580px;
        padding-top: 72px;
    }

    .hero-bg,
    .hero-overlay {
        inset: 72px 0 0;
        height: calc(100% - 72px);
    }

    .hero-bg {
        object-position: 58% center;
    }

    .hero-overlay {
        background:
            linear-gradient(180deg,
                rgba(8, 61, 59, .5) 0%,
                rgba(8, 61, 59, .5) 50%,
                rgba(6, 48, 46, .65) 100%);
    }

    .hero-inner {
        height: 100%;
        padding-top: 16px;
    }

    .hero-tools {
        width: 100%;
        gap: 6px;
        flex-wrap: wrap;
    }

    .hero-pill {
        height: 32px;
        padding: 0 11px;
        gap: 6px;
        font-size: 11px;
        letter-spacing: .02em;
    }

    /* Текст по центру первого экрана (по вертикали) */
    .hero-copy {
        margin-top: auto;
        margin-bottom: auto;
        padding-bottom: 0;
    }

    .hero-copy .eyebrow {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .hero-copy h1 {
        font-size: clamp(25px, 7vw, 38px);
        line-height: 1.12;
        letter-spacing: 0;
        max-width: 100%;
    }


    /* ---------- ABOUT ---------- */

    .about {
        max-height: none;
    }

    .about::before {
        background-size: 1000px auto;
    }

    .about-grid {
        gap: 28px;
    }

    .about-copy {
        margin-bottom: 0;
    }

    .about-copy .lead {
        font-size: 17px;
        line-height: 1.4;
    }

    .image-card {
        margin: 0;
    }

    .image-card img {
        height: auto;
        max-height: none;
        border-radius: 20px;
        object-fit: contain;
    }


    /* ---------- SERVICES ---------- */

    .services {
        min-height: 0;
    }

    .services-overlay {
        position: absolute;
        inset: 0;
        z-index: 1;
        background: rgba(232, 229, 220, .35);
    }

    .services .eyebrow {
        font-size: 14px;
    }

    .services-head {
        width: 100%;
        max-width: none;
        margin: 0 0 26px;
    }

    .services-head h2 {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 0;
    }

    .services-intro {
        max-width: 100%;
        margin-top: 14px;
        font-size: 16px;
        line-height: 1.4;
    }

    .service-grid {
        width: 100%;
        max-width: none;
        margin: 0;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .service-card {
        height: auto;
        min-height: 0;
        padding: 24px 22px;
        border-radius: 28px;
    }

    .service-card-top {
        gap: 12px;
    }

    .service-card h3 {
        font-size: 22px;
        line-height: 1.1;
    }

    .service-icon {
        width: 52px;
        min-width: 52px;
        height: 52px;
        flex-shrink: 0;
    }

    .service-card p {
        max-width: 100%;
        margin-top: 14px;
        font-size: 14px;
        line-height: 1.45;
    }

    .service-card p br {
        display: none;
    }


    /* ---------- ADVANTAGES ---------- */

    .advantages {
        max-height: none;
    }

    .advantages-box {
        min-height: 0;
        padding: 34px 22px 38px;
        border-width: 2px;
        border-radius: 26px;
    }

    .advantages-title {
        font-size: clamp(25px, 7.4vw, 36px);
        line-height: 1.15;
        margin-bottom: 0;
    }

    .advantages-list {
        margin-top: 30px;
        gap: 20px;
    }

    .advantage-item {
        align-items: flex-start;
        gap: 14px;
        font-size: 16px;
        line-height: 1.35;
        font-weight: 600;
    }

    .advantage-icon {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
        margin-top: 1px;
    }


    /* ---------- IMPRESSIONS ---------- */

    .impressions {
        min-height: 0;
    }

    .impressions::before {
        background-size: 1000px auto;
    }

    .impressions-inner {
        width: calc(100% - 28px);
        max-width: none;
    }

    .impressions-heading {
        margin-bottom: 24px;
    }

    .impressions .eyebrow {
        font-size: 15px;
    }

    .impressions h2 {
        font-size: clamp(28px, 8vw, 40px);
    }

    .impressions-content {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .impressions-menu {
        flex-direction: row;
        gap: 8px;
        width: calc(100% + 14px);
        margin-right: -14px;
        padding: 2px 14px 8px 0;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .impressions-menu::-webkit-scrollbar {
        display: none;
    }

    .impression-btn {
        width: auto;
        min-width: max-content;
        min-height: 44px;
        padding: 8px 14px;
        gap: 8px;
        border-radius: 24px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .impression-btn:hover {
        transform: none;
    }

    .impression-btn img {
        width: 22px;
        height: 22px;
    }

    .impression-btn span {
        font-size: 12px;
        white-space: nowrap;
    }

    .impression-image-wrap {
        height: 240px;
        border-radius: 20px;
    }

    .impression-info {
        height: auto;
        min-height: 0;
        padding: 24px 22px;
        border-radius: 20px;
    }

    .impression-info h3 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .impression-info p {
        font-size: 14px;
        line-height: 1.55;
    }


    /* ---------- IDEAS (горизонтальная карусель) ---------- */

    .ideas {
        min-height: 0;
    }

    /* Плашка позади карточек: по центру, без обрезки */
    .ideas-decoration {
        top: auto;
        bottom: 78px;
        height: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: visible;
    }

    /* Шире экрана: края уходят за границы, центр остаётся на месте.
       Меняйте width (130–180%), чтобы регулировать ширину */
    .ideas-decoration img {
        position: static;
        flex: 0 0 auto;
        width: 150%;
        max-width: none;
        height: auto;
        object-fit: contain;
    }

    .ideas-head {
        max-width: none;
        margin: 0 0 26px;
    }

    .ideas-eyebrow {
        font-size: 14px;
    }

    .ideas-head h2 {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 16px;
    }

    .ideas-head p {
        font-size: 15px;
        line-height: 1.5;
    }

    .ideas-cards {
        display: flex;
        gap: 14px;
        width: auto;
        max-width: none;
        margin: 0 -14px;
        padding: 4px 14px 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 14px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .ideas-cards::-webkit-scrollbar {
        display: none;
    }

    .idea-card {
        flex: 0 0 80%;
        width: auto;
        max-width: 340px;
        height: 400px;
        border-radius: 24px;
        scroll-snap-align: start;
    }

    .idea-card-content {
        padding: 24px;
    }

    .idea-card h3 {
        font-size: 23px;
    }

    .idea-card-info strong {
        font-size: 21px;
    }

    .idea-card-info span {
        font-size: 13px;
        line-height: 1.35;
    }

    .idea-card-button {
        width: 100%;
        max-width: none;
        min-height: 46px;
        margin-top: 16px;
        font-size: 12px;
    }

    .idea-card-button:hover {
        transform: none;
    }


    /* ---------- REVIEWS ---------- */

    .reviews {
        min-height: 0;
    }

    .reviews-texture {
        background-size: 1000px auto;
    }

    .reviews-inner {
        width: calc(100% - 28px);
        max-width: none;
    }

    .reviews-eyebrow {
        font-size: 14px;
    }

    .reviews-head {
        margin-bottom: 26px;
    }

    .reviews-head h2 {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 0;
    }

    .reviews-slider {
        flex-wrap: wrap;
        column-gap: 20px;
        width: 100%;
    }

    .review-card {
        order: 0;
        flex: 0 0 100%;
        width: 100%;
        min-height: 0;
        padding: 26px 20px;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        border-radius: 22px;
        text-align: center;
    }

    .review-photo {
        width: 96px;
        height: 96px;
    }

    .review-content {
        width: 100%;
        height: auto;
        min-height: 0;
    }

    .review-content p {
        font-size: 15px;
        line-height: 1.5;
    }

    .review-author {
        margin-top: 16px;
        font-size: 13px;
        font-weight: 600;
    }

    .review-arrow,
    .review-arrow:hover {
        position: static;
        transform: none;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        margin-top: 18px;
        padding: 0 0 4px;
        border: 1px solid rgba(255, 255, 255, .4);
        border-radius: 50%;
        font-size: 30px;
        line-height: 1;
    }

    .review-prev {
        order: 1;
    }

    .review-next {
        order: 2;
    }


    /* ---------- CONTACTS ---------- */

    .contacts {
        min-height: 0;
        padding: 56px 0 64px;
    }

    .contacts-inner {
        width: calc(100% - 28px);
        max-width: none;
    }

    .contacts-eyebrow {
        font-size: 14px;
    }

    .contacts-title {
        font-size: clamp(28px, 8vw, 40px);
        line-height: 1.1;
        margin-bottom: 30px;
    }

    .contact-email {
        gap: 14px;
        margin-bottom: 30px;
    }

    .email-icon {
        width: 38px;
        height: 38px;
    }

    .contact-info h3,
    .messenger-info h3 {
        font-size: 22px;
        margin-top: 0;
    }

    .email-addresses {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        font-size: 16px;
    }

    .email-addresses span {
        display: none;
    }

    .email-addresses a {
        padding: 6px 0;
    }

    .contact-messengers {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .messenger {
        gap: 14px;
    }

    .messenger-icon {
        width: 42px;
        height: 42px;
    }

    .messenger-languages {
        flex-wrap: wrap;
        gap: 4px 10px;
        font-size: 16px;
    }

    .messenger-languages a {
        padding: 6px 0;
    }

    .messenger-phones {
        flex-direction: column;
        gap: 0;
        margin-top: 6px;
        white-space: normal;
    }

    .messenger-phones a {
        padding: 8px 0;
        font-size: 15px;
    }


    /* ---------- FOOTER ---------- */

    .footer {
        padding: 18px 0 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footer-grid div:last-child {
        text-align: left;
    }
}


/* =========================================================
   VERY SMALL PHONES (≤ 390px)
   ========================================================= */

@media (max-width: 390px) {

    .container,
    .impressions-inner,
    .reviews-inner,
    .contacts-inner {
        width: calc(100% - 24px);
    }

    .hero-pill {
        font-size: 10px;
        padding: 0 9px;
    }

    .service-card {
        padding: 22px 18px;
    }

    .service-card h3 {
        font-size: 20px;
    }

    .idea-card {
        flex-basis: 84%;
        height: 390px;
    }

    .advantage-item {
        font-size: 15px;
    }
}


@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}


/* =========================================================
   PRELOADER
   ========================================================= */

#preloader {
    display: none;
}

.js #preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #124545;
    opacity: 1;
    visibility: visible;
    transition: opacity .7s ease, visibility 0s linear .7s;
}

.js #preloader.preloader-hide {
    opacity: 0;
    visibility: hidden;
}

html.is-loading {
    overflow: hidden;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    transition: transform .7s ease;
}

.preloader-hide .preloader-inner {
    transform: translateY(-14px) scale(.96);
}

.preloader-logo {
    width: 96px;
    height: auto;
    animation: preloaderPulse 1.8s ease-in-out infinite;
}

.preloader-bar {
    position: relative;
    width: 150px;
    height: 2px;
    overflow: hidden;
    border-radius: 2px;
    background: rgba(255, 255, 255, .18);
}

.preloader-bar span {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    border-radius: 2px;
    background: #c2ac6c;
    animation: preloaderFill 2.4s cubic-bezier(.2, .7, .3, 1) forwards;
}

.preloader-done .preloader-bar span {
    animation: none;
    width: 100%;
    transition: width .35s ease;
}

@keyframes preloaderFill {
    0% {
        width: 0;
    }

    100% {
        width: 88%;
    }
}

@keyframes preloaderPulse {

    0%,
    100% {
        opacity: .75;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}


/* =========================================================
   SCROLL REVEAL (всплывающий текст)
   ========================================================= */

.js .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity .9s cubic-bezier(.22, .7, .25, 1),
        transform .9s cubic-bezier(.22, .7, .25, 1);
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, transform;
}

.js .reveal.reveal-title {
    transform: translateY(44px);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 760px) {

    .js .reveal,
    .js .reveal.reveal-title {
        transform: translateY(22px);
        transition-duration: .7s;
    }
}

@media (prefers-reduced-motion: reduce) {

    .js .reveal,
    .js .reveal.reveal-title {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .preloader-logo,
    .preloader-bar span {
        animation: none;
    }
}


/* =========================================================
   FOOTER — чёткое окончание страницы
   ========================================================= */

html {
    background: #0b3131;
}

.footer {
    position: relative;
    overflow: hidden;
    margin: 0;
    background: #0b3131;
    color: rgba(255, 255, 255, .7);
}


/* =========================================================
   MOBILE — отступы между заголовками и текстом
   ========================================================= */

@media (max-width: 760px) {

    /* Подписи над заголовками */
    .eyebrow,
    .services .eyebrow,
    .impressions .eyebrow,
    .ideas-eyebrow,
    .reviews-eyebrow,
    .contacts-eyebrow {
        margin-bottom: 14px;
    }

    /* Заголовки: чуть больше межстрочный интервал */
    h2,
    .services-head h2,
    .impressions h2,
    .ideas-head h2,
    .reviews-head h2,
    .contacts-title,
    .advantages-title {
        line-height: 1.15;
    }

    /* О компании */
    .about-copy h2 {
        margin-bottom: 26px;
    }

    .about-copy .lead {
        margin-bottom: 20px;
    }

    /* Что организуем */
    .services-head h2 {
        margin-bottom: 20px;
    }

    .services-intro {
        margin-top: 0;
        margin-bottom: 0;
    }

    .services-head {
        margin-bottom: 34px;
    }

    .service-card p {
        margin-top: 16px;
    }

    /* Преимущества */
    .advantages-list {
        margin-top: 36px;
    }

    /* Карта впечатлений */
    .impressions-heading {
        margin-bottom: 30px;
    }

    .impression-info h3 {
        margin-bottom: 14px;
    }

    /* Идеи путешествий */
    .ideas-head h2 {
        margin-bottom: 22px;
    }

    .ideas-head {
        margin-bottom: 32px;
    }

    /* Отзывы */
    .reviews-head {
        margin-bottom: 34px;
    }

    /* Контакты */
    .contacts-title {
        margin-bottom: 38px;
    }

    .contact-info h3,
    .messenger-info h3 {
        margin-bottom: 8px;
    }
}


/* =========================================================
   ПЕРЕКЛЮЧЕНИЕ ЯЗЫКА — анимация смены текста
   ========================================================= */

html.lang-out :is(
    .nav a, h1, h2, h3, p, .eyebrow, .ideas-eyebrow, .reviews-eyebrow, .contacts-eyebrow,
    .services-intro, .idea-card-info strong, .idea-card-info span, .idea-card-button span,
    .impression-btn span, .advantage-item span, .hero-pill span, .review-author,
    .email-addresses a, .messenger-languages a
) {
    opacity: 0 !important;
    transform: translateY(-10px) !important;
    filter: blur(4px);
    transition: opacity .28s ease, transform .28s ease, filter .28s ease !important;
    transition-delay: 0s !important;
}

html.lang-in :is(
    .nav a, h1, h2, h3, p, .eyebrow, .ideas-eyebrow, .reviews-eyebrow, .contacts-eyebrow,
    .services-intro, .idea-card-info strong, .idea-card-info span, .idea-card-button span,
    .impression-btn span, .advantage-item span, .hero-pill span, .review-author,
    .email-addresses a, .messenger-languages a
) {
    transition: opacity .5s ease, transform .5s ease, filter .5s ease !important;
    transition-delay: 0s !important;
}

@media (prefers-reduced-motion: reduce) {
    html.lang-out *, html.lang-in * {
        transition: none !important;
        filter: none !important;
    }
}
