@font-face {
    font-family: Montserrat;
    src: url(fonts/Montserrat.ttf) format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap
}

:root {
    --accent: #e58909;
    --accent-control: #a65100;
    --accent-control-hover: #864100;
    --ink: #171717;
    --muted: #f6f6f6;
    --container: 1320px;
    --radius: 12px
}

*, *::before, *::after {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5
}

img {
    max-width: 100%;
    display: block
}

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

button, input, textarea {
    font: inherit
}

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

button {
    cursor: pointer
}

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
    outline: 3px solid #be6800;
    outline-offset: 5px
}

p {
    margin: 0 0 16px
}

h1, h2, h3 {
    margin: 0;
    font-weight: 700;
    line-height: 1.3
}

h2 {
    font-size: 48px;
    letter-spacing: -1.2px;
    margin-bottom: 30px
}

h3 {
    font-size: 20px
}

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

.container {
    width: min(var(--container), calc(100% - 64px));
    margin-inline: auto
}

.section {
    padding: 70px 0
}

.section-description {
    max-width: 1120px;
    margin-bottom: 38px
}

.section-description p:last-child {
    margin-bottom: 0
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    background: var(--accent-control);
    color: #fff;
    min-height: 57px;
    padding: 15px 28px;
    border: 1px solid var(--accent-control);
    border-radius: 10px;
    font-weight: 500;
    transition: background .18s, transform .18s
}

.button:hover {
    background: var(--accent-control-hover);
    transform: translateY(-2px)
}

.button span {
    font-size: 26px;
    line-height: 1
}

.site-header {
    height: 72px;
    background: #fff;
    position: relative;
    z-index: 10
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    height: 100%
}

.brand img {
    width: 140px;
    height: 58px;
    object-fit: contain
}

.site-header nav {
    display: flex;
    gap: 70px;
    align-items: center
}

.site-header nav a {
    font-size: 18px
}

.site-header nav a:hover, .footer-middle a:hover {
    color: var(--accent)
}

.header-button {
    min-height: 47px;
    padding: 10px 23px;
    font-size: 18px
}

.menu-toggle {
    display: none
}

.hero {
    min-height: 670px;
    position: relative;
    color: white;
    background: #343431;
    isolation: isolate;
    display: flex;
    align-items: center
}

.hero-background {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    inset: 0;
    z-index: -2
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(0, 0, 0, .76), rgba(0, 0, 0, .22) 65%, rgba(0, 0, 0, .08))
}

.hero-content {
    padding-block: 64px
}

.hero h1 {
    font-size: 54px;
    letter-spacing: -1px;
    margin-bottom: 3px
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 42px
}

.hero-date, .hero-description {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    font-size: 18px;
    max-width: 720px
}

.hero-date {
    margin-bottom: 18px
}

.hero-date > span, .hero-description > span {
    font-size: 28px;
    color: var(--accent);
    width: 25px;
    flex-shrink: 0;
    line-height: 1.2
}

.hero-description p {
    margin: 0
}

.hero-note {
    margin: 34px 0 24px;
    font-size: 18px
}

.hero-button {
    min-width: 269px
}

.home-video {
    padding-block: clamp(32px, 6vw, 72px);
}

.home-video__player {
    display: block;
    width: min(100%, 420px);
    aspect-ratio: 9 / 16;
    margin-inline: auto;
    border-radius: 16px;
    background: #111;
    object-fit: contain;
}

.video-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 30px);
}

.video-gallery__player {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: var(--radius);
    background: #111;
    object-fit: contain;
}

@media (max-width: 600px) {
    .video-gallery__grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 420px;
        margin-inline: auto;
    }
}

.benefits {
    padding-top: 100px;
    padding-bottom: 45px
}

.benefits h2 {
    margin-bottom: 65px
}

.benefits-grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 65px 30px
}

.benefit {
    text-align: center
}

.benefit-icon {
    width: 70px;
    height: 70px;
    color: var(--accent);
    margin: 0 auto 30px
}

.benefit-icon svg {
    width: 100%;
    height: 100%
}

.benefit h3 {
    margin-bottom: 16px;
    font-weight: 600;
    white-space: normal
}

.benefit p {
    max-width: 260px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.4
}

.week {
    padding-top: 65px;
    padding-bottom: 110px
}

.week h2 {
    margin-bottom: 48px
}

.cards-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 30px
}

.week-card, .travel-card {
    background: var(--muted);
    overflow: hidden;
    border-radius: var(--radius)
}

.week-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover
}

.week-card__gallery {
    position: relative;
}

.week-card__photo:not([hidden]) {
    display: block;
    cursor: zoom-in;
    touch-action: pan-y pinch-zoom;
}

.week-card__controls:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 2vw, 16px);
}

.week-card__controls {
    position: absolute;
    inset: auto 8px 8px;
    pointer-events: none;
}

.week-card__dots {
    flex-wrap: wrap;
    justify-content: center;
}

.card-body {
    padding: 30px 35px
}

.card-body h3 {
    margin-bottom: 16px
}

.week-card p {
    font-size: 14px;
    line-height: 1.4;
    margin: 0
}

.about {
    padding: 70px 0 100px
}

.about-grid {
    display: grid;
    grid-template-columns:1.15fr .85fr;
    align-items: center;
    gap: 65px
}

.about-grid_reversed {
    grid-template-columns: .85fr 1.15fr;
    margin-top: clamp(35px, 5vw, 65px);
}

.about-grid_reversed .section-description:only-child {
    margin-bottom: 0;
}

.about h2 {
    margin-bottom: 30px
}

.about .section-description {
    margin-bottom: 34px
}

.about-callout {
    border-left: 4px solid var(--accent);
    padding-left: 26px
}

.about-callout p {
    margin: 0
}

.about-photo {
    height: 430px;
    border-radius: var(--radius);
    overflow: hidden
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.program {
    padding-top: 75px
}

.program .section-description {
    margin-bottom: 16px
}

.program-intro {
    margin-bottom: 35px
}

.accordion-list {
    display: grid;
    gap: 12px
}

.accordion {
    background: var(--muted);
    border-radius: 8px;
    overflow: hidden
}

.accordion summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 28px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer
}

.accordion summary::-webkit-details-marker {
    display: none
}

.accordion-sign {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0
}

.accordion-sign::before, .accordion-sign::after {
    content: '';
    position: absolute;
    background: currentColor;
    top: 9px;
    left: 2px;
    width: 16px;
    height: 2px
}

.accordion-sign::after {
    transform: rotate(90deg)
}

.accordion[open] summary {
    background: var(--accent-control);
    color: white
}

.accordion[open] .accordion-sign::after {
    transform: rotate(0)
}

.accordion-body {
    padding: 24px 28px 30px
}

.accordion-body p:last-child {
    margin: 0
}

.section-note {
    font-size: 14px;
    margin: 20px 0 0
}

.application {
    padding-top: 45px;
    padding-bottom: 95px
}

.form-panel {
    background: var(--muted);
    border-radius: 12px;
    padding: 34px
}

.form-panel .wpcf7 {
    width: 100%
}

.form-row {
    display: grid;
    grid-template-columns:1fr 1fr 1fr;
    gap: 30px;
    align-items: start
}

.form-row > p {
    margin: 0
}

.form-row label {
    display: block
}

.form-row input[type=text], .form-row input[type=tel] {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 100%;
    height: 60px;
    padding: 16px 22px;
    outline-offset: 1px
}

.form-row input::placeholder {
    color: #777;
    opacity: 1
}

.form-row .wpcf7-submit {
    border: 0;
    border-radius: 8px;
    background: var(--accent-control);
    color: white;
    min-height: 60px;
    white-space: normal;
    width: 100%;
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600
}

.form-row .wpcf7-submit:disabled {
    opacity: .55;
    cursor: default
}

.form-row .wpcf7-submit:hover:not(:disabled) {
    background: var(--accent-control-hover)
}

.consent {
    font-size: 13px;
    margin-top: 20px;
    line-height: 1.5
}

.consent p {
    margin-bottom: 0
}

.consent a {
    text-decoration: underline;
    text-underline-offset: 3px
}

.consent .wpcf7-list-item {
    margin: 0
}

.consent label {
    display: flex;
    gap: 10px;
    align-items: flex-start
}

.consent input {
    margin-top: 4px;
    accent-color: var(--accent);
    min-width: 17px;
    min-height: 17px
}

.wpcf7-spinner {
    margin: 6px auto !important;
    display: block !important
}

.wpcf7-not-valid-tip {
    font-size: 13px !important;
    margin-top: 8px
}

.wpcf7-response-output {
    margin: 16px 0 0 !important;
    border-radius: 6px;
    padding: 15px !important
}

.faq {
    padding-top: 35px;
    padding-bottom: 100px
}

.faq h2 {
    margin-bottom: 48px
}

.trainers {
    padding-top: 70px;
    padding-bottom: 100px
}

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

.trainer > img {
    height: 395px;
    width: 100%;
    object-fit: cover;
    object-position: center 26%;
    border-radius: 12px
}

.trainer h3 {
    margin: 25px 0 14px;
    font-size: 18px;
    font-weight: 600
}

.trainer p {
    font-size: 18px;
    max-width: 590px
}

.gallery {
    padding-top: 70px;
    padding-bottom: 100px
}

.gallery-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 18px
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px
}

.gallery-item img {
    height: 338px;
    width: 100%;
    object-fit: cover;
    transition: transform .3s
}

.gallery-item:hover img {
    transform: scale(1.035)
}

.gallery-item > span {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: white;
    border-radius: 50%;
    font-size: 24px
}

.travel {
    padding-top: 70px;
    padding-bottom: 95px
}

.travel .cards-grid {
    gap: 18px
}

.travel-card > img {
    width: 100%;
    height: 263px;
    object-fit: cover
}

.travel-card .card-body {
    padding: 25px 30px
}

.travel-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.4
}

.site-footer {
    background: #202020;
    color: white;
    padding: 50px 0 25px
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px
}

.footer-brand img {
    width: 202px;
    height: 83px;
    object-fit: contain
}

.footer-middle {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 120px;
    margin: 25px 0 60px
}

.footer-middle nav {
    display: flex;
    gap: 60px;
    font-size: 18px
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    text-align: right;
    gap: 16px
}

.footer-bottom {
    border-top: 1px solid #4d4d4d;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    font-size: 13px;
    color: #c2c2c2
}
.footer-copy{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-bottom a:hover {
    color: white
}
.logoCompanyProduction {
    position: relative;
    height: 54px;
    display: flex;
    justify-content: flex-end;
    opacity: 0.9;
    transition: 0.3s;
}

.logoCompanyProduction:hover {
    opacity: 1;
}
.logoCompanyProduction svg {
    height: 100%;
}
.logoCompanyProduction__link {
    position: absolute;
    right: 1px;
    bottom: 3px;
    color: #8D8787;
    font-size: 7px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}
.page-content {
    min-height: 60vh;
    padding-block: 65px 100px
}

.page-content h1 {
    font-size: 44px;
    margin: 30px 0
}

.back-link {
    color: #ad6200
}

.prose {
    max-width: 900px
}

.prose h2 {
    font-size: 28px;
    margin-top: 40px
}

.prose a {
    text-decoration: underline
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 15px;
    background: white;
    padding: 12px;
    z-index: 100
}

.skip-link:focus {
    top: 10px
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    border: 0;
    padding: 0;
    overflow: hidden;
    background: #111;
    color: white;
}

.lightbox[open] {
    display: grid;
    grid-template: minmax(0, 1fr) auto / minmax(0, 1fr);
}

.lightbox__stage {
    position: relative;
}

.lightbox__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    z-index: 1;
    right: max(8px, env(safe-area-inset-right));
    top: max(8px, env(safe-area-inset-top));
    font-size: 28px;
}

.lightbox__controls:not([hidden]) {
    position: absolute;
    inset: 0 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.lightbox-close, .lightbox__arrow {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #ffffff80;
    border-radius: 50%;
    background: #111b;
    color: white;
    line-height: 1;
    pointer-events: auto;
}

.lightbox__arrow {
    font-size: 22px;
}

.lightbox__thumbnails {
    display: flex;
    gap: 8px;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    overflow-x: auto;
    padding: 8px 12px max(8px, env(safe-area-inset-bottom));
}

.lightbox__thumbnail {
    flex: 0 0 auto;
    width: clamp(52px, 11vw, 88px);
    height: clamp(40px, 8vw, 62px);
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 6px;
    background: transparent;
}

.lightbox__thumbnail[aria-pressed="true"] {
    border-color: var(--accent);
}

.lightbox__thumbnail:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
}

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

@media (min-width: 1600px) {
    .about-grid {
        grid-template-columns:714px 1fr;
        gap: 65px
    }

    .about-grid_reversed {
        grid-template-columns: 1fr 714px;
    }

    .about-grid:not(.about-grid_reversed) .about-photo {
        margin-right: -20px
    }
}

@media (max-width: 1150px) {
    h2 {
        font-size: 38px
    }

    .site-header nav {
        gap: 28px
    }

    .site-header nav a {
        font-size: 15px
    }

    .header-inner {
        gap: 24px
    }

    .header-button {
        font-size: 15px
    }

    .benefits-grid {
        gap: 50px 20px
    }

    .benefit h3 {
        font-size: 17px
    }

    .card-body {
        padding: 24px
    }

    .about-grid {
        gap: 35px
    }

    .footer-middle {
        gap: 50px
    }

    .footer-middle nav {
        gap: 25px
    }

    .form-row {
        gap: 18px
    }

    .form-panel {
        padding: 28px
    }

    .hero h1 {
        font-size: 48px
    }
}

@media (max-width: 800px) {
    .container {
        width: calc(100% - 40px)
    }

    .section {
        padding-block: 48px
    }

    h2 {
        font-size: 32px;
        letter-spacing: -.6px;
        margin-bottom: 24px
    }

    .section-description {
        margin-bottom: 28px
    }

    .header-inner {
        gap: 16px
    }

    .site-header {
        height: 72px
    }

    .header-button {
        margin-left: auto;
        min-height: 42px;
        padding: 8px 14px;
        gap: 12px;
        font-size: 13px
    }

    .brand img {
        width: 112px;
        height: 48px
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 42px;
        height: 42px;
        padding: 10px;
        background: white;
        border: 1px solid #ddd;
        border-radius: 6px;
        order: 3
    }

    .menu-toggle > span:not(.sr-only) {
        width: 20px;
        height: 2px;
        background: #171717
    }

    .site-header nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        padding: 24px;
        box-shadow: 0 10px 15px #0002
    }

    .site-header nav.is-open {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 22px
    }

    .site-header nav a {
        font-size: 18px
    }

    .hero {
        min-height: 640px
    }

    .hero-content {
        padding-block: 65px
    }

    .hero h1 {
        font-size: 42px
    }

    .hero-subtitle {
        font-size: 20px;
        max-width: 500px;
        margin-bottom: 36px
    }

    .hero-date, .hero-description {
        font-size: 16px;
        max-width: 620px
    }

    .hero::after {
        background: linear-gradient(90deg, #000b, #0005)
    }

    .benefits h2 {
        margin-bottom: 42px
    }

    .benefits-grid {
        grid-template-columns:repeat(2, 1fr);
        gap: 42px 25px
    }

    .benefit h3 {
        font-size: 18px
    }

    .benefit-icon {
        width: 58px;
        height: 58px;
        margin-bottom: 20px
    }

    .benefit p {
        font-size: 14px
    }

    .week h2 {
        margin-bottom: 30px
    }

    .cards-grid {
        gap: 18px
    }

    .card-body {
        padding: 20px
    }

    .card-body h3 {
        font-size: 16px
    }

    .week-card__image {
        height: 165px
    }

    .about-grid {
        grid-template-columns:1fr
    }

    .about-photo {
        height: 360px
    }

    .about .section-description {
        margin-bottom: 24px
    }

    .accordion summary {
        font-size: 16px;
        padding: 22px
    }

    .accordion-body {
        padding: 22px;
        font-size: 15px
    }

    .form-row {
        grid-template-columns:1fr 1fr
    }

    .form-row > p:last-child {
        grid-column: 1/-1
    }

    .form-panel {
        padding: 24px
    }

    .trainer > img {
        height: 310px
    }

    .trainer p {
        font-size: 15px
    }

    .gallery-item img {
        height: 245px
    }

    .travel-card > img {
        height: 200px
    }

    .travel-card .card-body {
        padding: 20px
    }

    .travel-card p {
        font-size: 14px
    }

    .footer-middle {
        justify-content: space-between;
        gap: 30px;
        margin-bottom: 40px
    }

    .footer-middle nav {
        font-size: 15px;
        gap: 16px;
        flex-wrap: wrap
    }

    .footer-contacts {
        font-size: 14px;
        min-width: 170px
    }

    .page-content h1 {
        font-size: 34px
    }
}

@media (max-width: 540px) {
    .container {
        width: calc(100% - 32px)
    }

    h2 {
        font-size: 28px
    }

    .section {
        padding-block: 40px
    }

    .hero {
        min-height: 650px
    }

    .hero h1 {
        font-size: 32px;
        letter-spacing: -.5px
    }

    .hero-subtitle {
        font-size: 18px;
        line-height: 1.5;
        margin-top: 12px;
        margin-bottom: 30px
    }

    .hero-content {
        padding-block: 48px
    }

    .hero-date, .hero-description {
        gap: 12px
    }

    .hero-note {
        font-size: 16px;
        margin-top: 28px
    }

    .hero-button {
        width: 100%;
        min-width: 0;
        max-width: 320px
    }

    .header-inner {
        gap: 10px
    }

    .header-button {
        font-size: 12px;
        padding: 8px 10px;
        gap: 6px
    }

    .header-button span {
        font-size: 20px
    }

    .brand img {
        width: 102px
    }

    .benefits-grid {
        gap: 35px 16px
    }

    .benefit h3 {
        font-size: 15px;
        min-height: 40px
    }

    .benefit p {
        font-size: 13px
    }

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

    .cards-grid {
        grid-template-columns:1fr;
        gap: 22px
    }

    .week-card__image {
        height: 220px
    }

    .card-body {
        padding: 24px
    }

    .card-body h3 {
        font-size: 18px
    }

    .week-card p {
        font-size: 15px
    }

    .about-photo {
        height: 320px
    }

    .about-callout {
        padding-left: 20px
    }

    .accordion summary {
        padding: 20px 18px;
        gap: 15px;
        font-size: 15px
    }

    .accordion-body {
        padding: 20px 18px
    }

    .form-row {
        grid-template-columns:1fr;
        gap: 16px
    }

    .form-row > p:last-child {
        grid-column: auto
    }

    .form-panel {
        padding: 20px
    }

    .consent {
        font-size: 12px
    }

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

    .trainer > img {
        height: 345px
    }

    .trainer h3 {
        margin-top: 20px
    }

    .gallery-grid {
        grid-template-columns:1fr;
        gap: 16px
    }

    .gallery-item img {
        height: 300px
    }

    .travel-card > img {
        height: 240px
    }

    .travel-card p {
        font-size: 15px
    }

    .footer-top {
        align-items: flex-start
    }

    .footer-brand img {
        width: 135px;
        height: 60px
    }

    .footer-top .button {
        font-size: 12px;
        min-height: 45px;
        padding: 12px;
        gap: 10px
    }

    .footer-top .button span {
        font-size: 20px
    }

    .footer-middle {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 30px;
        gap: 28px
    }

    .footer-middle nav {
        flex-direction: column;
        gap: 15px
    }

    .footer-contacts {
        text-align: left
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        font-size: 12px
    }

    .page-content {
        padding-block: 40px 65px
    }

    .page-content h1 {
        font-size: 28px;
        overflow-wrap: anywhere
    }

}

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

    *, *::before, *::after {
        transition: none !important
    }
}

/* First-screen background carousel. Content remains in a single fixed layer. */
.hero-slides {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background: #343431
}

.hero-slides .hero-background {
    z-index: auto;
    opacity: 0;
    transition: opacity .8s ease;
    pointer-events: none
}

.hero-slides .hero-background.is-active {
    opacity: 1
}

.hero-slider-controls {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    pointer-events: none
}

:is(.hero-slider-controls, .week-card__controls) button {
    pointer-events: auto;
    border: 1px solid #ffffff80;
    color: #fff;
    background: #18181855;
    display: grid;
    place-items: center;
    transition: background .2s
}

:is(.hero-slider-controls, .week-card__controls) button:hover {
    background: var(--accent)
}

:is(.hero-slider-controls, .week-card__controls) button:focus-visible {
    outline-color: #fff
}

.hero-arrow, .hero-autoplay, .week-card__arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    font-size: 22px
}

.hero-autoplay {
    font-size: 14px;
    letter-spacing: 1px
}

.hero-dots, .week-card__dots {
    display: flex;
    align-items: center;
    gap: 10px
}

.hero-slider-controls .hero-dot, .week-card__controls .week-card__dot {
    border-radius: 50%;
    width: 12px;
    height: 12px;
    padding: 0;
    border-color: #fff;
    background: transparent
}

.hero-slider-controls .hero-dot.is-active, .week-card__controls .week-card__dot[aria-pressed="true"] {
    background: var(--accent);
    border-color: var(--accent)
}

@media (max-width: 800px) {
    .hero-content {
        padding-bottom: 95px
    }

    .hero-slider-controls {
        bottom: 20px;
        justify-content: flex-start
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slides .hero-background {
        transition: none
    }
}

/* Travel cards: three visible on desktop, two on tablet, one on mobile. */
.travel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 36px) / 3);
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    border-radius: 12px
}

.travel-track::-webkit-scrollbar {
    display: none
}

.travel-track .travel-card {
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always
}

.travel-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
    margin-top: 28px
}

.travel-controls[hidden] {
    display: none
}

.travel-arrow {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid var(--accent);
    border-radius: 50%;
    background: white;
    color: var(--accent);
    font-size: 26px;
    line-height: 1;
    transition: background .2s, color .2s
}

.travel-arrow:hover:not(:disabled) {
    color: white;
    background: var(--accent)
}

.travel-arrow:disabled {
    opacity: .3;
    cursor: default
}

.travel-dots {
    display: flex;
    align-items: center;
    gap: 10px
}

.travel-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 1px solid var(--accent);
    border-radius: 50%;
    background: white
}

.travel-dot[aria-pressed=true] {
    background: var(--accent)
}

@media (max-width: 800px) {
    .travel-track {
        grid-auto-columns: calc((100% - 18px) / 2)
    }
}

@media (max-width: 540px) {
    .travel-track {
        grid-auto-columns: 100%
    }

    .travel-controls {
        justify-content: center;
        margin-top: 22px
    }
}

.messengers {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.messengers__link {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fff;
    border-radius: 50%;
}

.messengers__link_whatsapp {
    background: #147d48;
}

.messengers__link_telegram {
    background: #087ba9;
}

.messengers__link:hover {
    filter: brightness(.88);
}

.messengers__icon {
    width: 23px;
    height: 23px;
}

.header-inner {
    gap: clamp(8px, 1.5vw, 24px);
}

.footer-middle .messengers__link:hover {
    color: #fff;
}

@media (max-width: 540px) {
    .header-inner .brand {
        flex: 0 1 90px;
    }

    .header-button {
        text-align: center;
        line-height: 1.2;
    }

    .header-button span {
        display: none;
    }

    .footer-contacts .messengers {
        justify-content: flex-start;
    }
}
