/***** GLOBAL *****/

@font-face {
    font-family: "Geist";
    src: url("../fonts/Geist-Variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --main-color: #000000;
    --main-text-color: #ffffff;
    --second-color: var(--main-text-color);
    --second-text-color: var(--main-color);
    --third-color: #f5f5f5;
    --third-text-color: var(--main-color);
    --fourth-color: #1d2231;
    --fourth-text-color: var(--main-text-color);
    --accent-color: #1263b9;
    --chip-color: #e3e4e6;
    --chip-text-color: var(--main-color);
    --card-title-color: #3a3e45;
    --card-title-hover-color: #004b91;
    --border-color: #e5e5e5;
    --footer-color: #f5f5f7;
    --review-star-color: #f4bf35;
    --hero-overlay: rgba(0, 0, 0, 0.24);
    --boat-banner-overlay: rgba(0, 0, 0, 0.55);
}

body {
    color: var(--second-text-color);
    background: var(--second-color);
    font-family: "Geist", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading {
    font-family: "Geist", Arial, sans-serif;
}

.spec-font {
    font-family: Georgia, serif;
}

/* motion */

@keyframes text-rise {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .motion-ready .motion-item {
        opacity: 0;
    }

    .motion-ready .motion-item.is-visible {
        animation: text-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
        animation-delay: var(--motion-delay, 0ms);
    }
}

.container {
    max-width: 1660px;
    padding-left: 40px;
    padding-right: 40px;
}

@media (max-width: 767.98px) {
    .container {
        padding-left: 25px;
        padding-right: 25px;
    }
}

.heading-box {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

.heading-box .content {
    max-width: 620px;
}

.heading-box .specer {
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.4;
    text-transform: uppercase;
}

.heading-box .heading {
    margin: 0;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -0.035em;
}

.listing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 0;
    border-radius: 4px;
    background: var(--footer-color);
    color: var(--third-text-color);
    text-decoration: none;
}

.listing-card .image-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.listing-card .image {
    display: block;
    width: 100%;
    aspect-ratio: 1.65;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.listing-card .image-link:hover .image,
.listing-card .image-link:focus-visible .image {
    transform: scale(1.05);
}

.listing-card .body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
}

.listing-card .title {
    margin: 0 0 12px;
    color: var(--card-title-color);
    font-size: 21px;
    font-weight: 500;
    line-height: 1.3;
}

.listing-card .title a {
    color: var(--card-title-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.listing-card .title a:hover,
.listing-card .title a:focus-visible {
    color: var(--card-title-hover-color);
}

.listing-card .badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.listing-card .badge {
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--chip-color);
    color: var(--chip-text-color);
    font-size: 13px;
    font-weight: 400;
}

.listing-card .text {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.5;
}

.listing-card .price {
    margin: 0 0 20px;
    color: var(--card-title-hover-color);
    font-size: 27px;
    font-weight: 700;
    line-height: 1.15;
}

.listing-card .t-btn {
    min-width: 138px;
    margin-top: auto;
}

@media (max-width: 767.98px) {
    .heading-box {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }

    .heading-box .heading {
        font-size: 30px;
    }
}

.t-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    min-height: 48px;
    border: 1px solid transparent;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s ease;
}

.t-btn.theme {
    background: var(--main-color);
    color: var(--main-text-color);
}

.t-btn.theme2 {
    background: var(--second-color);
    color: var(--second-text-color);
    border-color: var(--main-color);
}

.t-btn.theme3 {
    background: var(--third-color);
    color: var(--third-text-color);
}

.t-btn.theme4 {
    background: var(--accent-color);
    color: var(--main-text-color);
}

.t-btn.theme:hover,
.t-btn.theme:focus-visible {
    background: var(--second-color);
    color: var(--second-text-color);
    border-color: var(--main-color);
}

.t-btn.theme2:hover,
.t-btn.theme2:focus-visible {
    background: var(--main-color);
    color: var(--main-text-color);
}

.t-btn.theme3:hover,
.t-btn.theme3:focus-visible {
    background: var(--main-color);
    color: var(--main-text-color);
}

.t-btn.theme4:hover,
.t-btn.theme4:focus-visible {
    background: var(--card-title-hover-color);
    color: var(--main-text-color);
}

/* detail return */

.detail-return-section {
    margin: 0 8px 64px;
}

.detail-return-section .inner {
    position: relative;
    min-height: 580px;
    overflow: hidden;
    border-radius: 4px;
    background: var(--fourth-color);
    color: var(--fourth-text-color);
}

.detail-return-section .image,
.detail-return-section .shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.detail-return-section .image {
    object-fit: cover;
    object-position: center;
}

.detail-return-section .shade {
    background: linear-gradient(90deg, var(--boat-banner-overlay), transparent 70%);
}

.detail-return-section .container {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 580px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding-top: 40px;
    padding-bottom: 48px;
}

.detail-return-section .content {
    max-width: 530px;
    margin-bottom: 28px;
}

.detail-return-section .specer {
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 300;
    text-transform: uppercase;
}

.detail-return-section .heading {
    margin-bottom: 24px;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: -0.035em;
}

.detail-return-section .text {
    max-width: 430px;
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
}

.detail-return-section .t-btn {
    border-color: transparent;
}

@media (max-width: 575.98px) {
    .detail-return-section .inner,
    .detail-return-section .container {
        min-height: 520px;
    }

    .detail-return-section .container {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .detail-return-section .shade {
        background: linear-gradient(90deg, var(--boat-banner-overlay), var(--hero-overlay));
    }

}

/***** HEADER *****/

/* header */

.header-wrap {
    position: sticky;
    top: 0;
    z-index: 1020;
    margin: 8px 8px 0;
    border: 1px solid var(--border-color);
}

.header {
    padding: 12px 0;
    background: var(--second-color);
}

.header .inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    min-height: 48px;
}

.header .start {
    grid-column: 1;
    display: flex;
    align-items: center;
}

.header .start,
.header .actions {
    width: 100%;
    min-width: 0;
}

/* logo */

.header .logo {
    grid-column: 2;
    justify-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header .logo img {
    display: block;
    width: 225px;
    height: auto;
}

/* navigation */

.header .navigation {
    display: flex;
    align-items: center;
    gap: 22px;
}

.header .navigation a,
.header .more-toggle,
.mobile-offcanvas .mobile-menu a,
.mobile-offcanvas .more-toggle {
    white-space: nowrap;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.header .more-toggle,
.mobile-offcanvas .more-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--second-text-color);
    cursor: pointer;
}

.header .more-toggle svg,
.mobile-offcanvas .more-toggle svg {
    width: 13px;
    height: 13px;
}

.header .navigation a,
.mobile-offcanvas .mobile-menu a {
    color: var(--second-text-color);
    text-decoration: none;
}

.header .navigation a:hover,
.mobile-offcanvas .mobile-menu a:hover,
.header .more-toggle:hover,
.mobile-offcanvas .more-toggle:hover {
    text-decoration: underline;
}

.header .dropdown-menu {
    min-width: 180px;
    margin-top: 12px;
    padding: 6px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--second-color);
    box-shadow: 0 12px 28px var(--hero-overlay);
}

.header .dropdown-menu .dropdown-item {
    padding: 9px 12px;
    color: var(--second-text-color);
}

.header .dropdown-menu .dropdown-item:hover,
.header .dropdown-menu .dropdown-item:focus {
    background: var(--third-color);
    color: var(--third-text-color);
    text-decoration: none;
}

/* actions */

.header .actions {
    grid-column: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
}

.header .actions .t-btn {
    min-width: 152px;
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .header .navigation {
        gap: 14px;
    }

    .header .navigation a,
    .header .more-toggle {
        font-size: 14px;
        letter-spacing: 0;
    }

    .header .actions {
        gap: 16px;
    }

    .header .actions .t-btn {
        min-width: 136px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .header .logo img {
        width: 190px;
    }

    .header .navigation {
        gap: 8px;
    }

    .header .navigation a,
    .header .more-toggle {
        font-size: 12px;
        letter-spacing: 0;
    }

    .header .actions {
        gap: 10px;
    }

    .header .actions .t-btn {
        min-width: 120px;
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (max-width: 575.98px) {
    .header .logo img {
        width: 180px;
    }
}

.header .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 0;
    background: transparent;
    color: var(--second-text-color);
    cursor: pointer;
}

/* offcanvas */

.mobile-offcanvas {
    background: var(--second-color);
    color: var(--second-text-color);
}

.mobile-offcanvas .mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.mobile-offcanvas .mobile-menu .more-toggle {
    width: max-content;
}

.mobile-offcanvas .mobile-menu .more-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 14px 0 0 16px;
}

/***** HOME *****/

/* hero */

.home-page .hero-section {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: calc(100vh - 100px);
    height: calc(100svh - 100px);
    min-height: 420px;
    margin: 0 8px;
    overflow: hidden;
    background: var(--main-color);
    color: var(--main-text-color);
}

.home-page .hero-section .image,
.home-page .hero-section .overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-page .hero-section .image {
    object-fit: cover;
}

.home-page .hero-section .overlay {
    background: linear-gradient(0deg, var(--hero-overlay), transparent 60%);
}

.home-page .hero-section .container {
    position: relative;
    z-index: 1;
    padding-bottom: 39px;
}

.home-page .hero-section .content {
    max-width: 580px;
}

.home-page .hero-section .eyebrow {
    margin-bottom: 18px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.4;
}

.home-page .hero-section .heading {
    margin-bottom: 34px;
    font-size: clamp(34px, 3vw, 46px);
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -0.035em;
}

.home-page .hero-section .t-btn {
    padding: 10px 30px;
    border-color: transparent;
}

@media (prefers-reduced-motion: no-preference) {
    .home-page .hero-section .eyebrow,
    .home-page .hero-section .heading,
    .home-page .hero-section .t-btn {
        animation: text-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .home-page .hero-section .eyebrow {
        animation-delay: 0.1s;
    }

    .home-page .hero-section .heading {
        animation-delay: 0.22s;
    }

    .home-page .hero-section .t-btn {
        animation-delay: 0.38s;
    }
}

@media (max-width: 767.98px) {
    .home-page .hero-section .container {
        padding-bottom: 34px;
    }

    .home-page .hero-section .heading {
        max-width: 480px;
        margin-bottom: 28px;
    }
}

/* about */

.home-page .about-section {
    padding: 96px 0;
    background: var(--footer-color);
}

.home-page .about-section .content {
    display: flex;
    height: 100%;
    min-height: 520px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.home-page .about-section .top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.home-page .about-section .specer {
    margin: 0 0 24px;
    font-size: 14px;
    font-weight: 300;
    text-transform: uppercase;
}

.home-page .about-section .heading {
    max-width: 610px;
    margin: 0 0 34px;
    font-size: clamp(34px, 3.3vw, 48px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.home-page .about-section .text {
    max-width: 560px;
    margin: 0 0 32px;
    color: var(--card-title-color);
    font-size: 18px;
    line-height: 1.55;
}

.home-page .about-section .visual {
    position: relative;
    height: 100%;
    min-height: 520px;
    overflow: hidden;
    border-radius: 4px;
    background: var(--fourth-color);
}

.home-page .about-section .visual::after {
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(0deg, var(--boat-banner-overlay), transparent);
    content: "";
}

.home-page .about-section .image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.home-page .about-section .caption {
    position: absolute;
    right: 32px;
    bottom: 26px;
    left: 32px;
    z-index: 1;
    max-width: 500px;
    margin: 0 auto;
    color: var(--main-text-color);
    font-size: 17px;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 991.98px) {
    .home-page .about-section {
        padding: 72px 0;
    }

    .home-page .about-section .content {
        min-height: 0;
    }
}

@media (max-width: 767.98px) {
    .home-page .about-section .visual,
    .home-page .about-section .image {
        min-height: 360px;
    }
}

/* trips */

.home-page .trips-section {
    padding: 96px 0 64px;
}

.home-page .trips-section .cards {
    margin-top: 30px;
}

.home-page .trips-section .listing-card .price {
    margin-top: auto;
}

.home-page .trips-section .listing-card .t-btn {
    margin-top: 0;
}

/* courses cta */

.home-page .courses-cta-section {
    margin: 0 8px;
}

.home-page .courses-cta-section .content {
    max-width: 470px;
}

/* boats */

.home-page .boats-section {
    padding: 96px 0 112px;
}

.home-page .boats-section .cards {
    margin-top: 30px;
}

@media (max-width: 767.98px) {
    .home-page .trips-section,
    .home-page .boats-section {
        padding: 72px 0;
    }
}

/* reviews */

.home-page .reviews-section {
    padding: 96px 0 112px;
    background: var(--footer-color);
}

.home-page .reviews-section .intro {
    max-width: 660px;
    margin: 0 auto 30px;
    text-align: center;
}

.home-page .reviews-section .specer {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 300;
    text-transform: uppercase;
}

.home-page .reviews-section .heading {
    margin: 0 auto 14px;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 600;
    line-height: 1.17;
    letter-spacing: -0.035em;
}

.home-page .reviews-section .controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.home-page .reviews-section .controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: var(--second-color);
    color: var(--second-text-color);
    cursor: pointer;
    transition: 0.3s ease;
}

.home-page .reviews-section .controls button:hover:not(:disabled) {
    border-color: var(--main-color);
    background: var(--main-color);
    color: var(--main-text-color);
}

.home-page .reviews-section .controls button:disabled {
    opacity: 0.35;
    cursor: default;
}

.home-page .reviews-section .controls svg {
    width: 17px;
    height: 17px;
}

.home-page .reviews-section .track {
    display: flex;
    gap: 48px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.home-page .reviews-section .track::-webkit-scrollbar {
    display: none;
}

.home-page .reviews-section .slide {
    display: flex;
    flex: 0 0 calc((100% - 96px) / 3);
    min-width: 0;
    flex-direction: column;
    scroll-snap-align: start;
}

.home-page .reviews-section .review {
    display: flex;
    min-height: 340px;
    flex: 1;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    text-align: center;
}

.home-page .reviews-section .stars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 22px;
    color: var(--review-star-color);
}

.home-page .reviews-section .stars svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linejoin: round;
}

.home-page .reviews-section .title {
    margin: 0 0 20px;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
}

.home-page .reviews-section .text {
    margin: 0 auto 24px;
    color: var(--card-title-color);
    font-size: 17px;
    line-height: 1.5;
}

.home-page .reviews-section .byline {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: auto;
    font-size: 18px;
    font-weight: 500;
}

.home-page .reviews-section .image {
    display: block;
    width: 100%;
    aspect-ratio: 1.35;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .home-page .reviews-section .slide {
        flex-basis: calc((100% - 48px) / 2);
    }
}

@media (max-width: 767.98px) {
    .home-page .reviews-section {
        padding: 72px 0 88px;
    }

    .home-page .reviews-section .slide {
        flex-basis: 100%;
    }
}

/* jobs */

.home-page .jobs-section {}

/* contact */

.home-page .contact-section {}

/***** ZAJEZDY *****/

/* listing */

.zajezdy-page .listing-section {
    padding: 48px 0 72px;
    background: var(--second-color);
}

.zajezdy-page .listing-section .heading-box {
    margin-bottom: 32px;
}

.zajezdy-page .listing-section .listing-card {
    background: var(--footer-color);
}

.zajezdy-page .listing-section .listing-card .price {
    margin-top: auto;
}

.zajezdy-page .listing-section .listing-card .t-btn {
    margin-top: 0;
}

.zajezdy-page .listing-section .sidebar {
    padding: 28px;
    border-radius: 4px;
    background: var(--footer-color);
}

.zajezdy-page .listing-section .sidebar .title {
    margin: 0 0 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 22px;
    font-weight: 600;
}

.zajezdy-page .listing-section .destinations {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.zajezdy-page .listing-section .destinations span {
    color: var(--card-title-color);
    font-size: 16px;
    line-height: 1.4;
}

.zajezdy-page .listing-section .sidebar .t-btn {
    margin-top: 28px;
}

.zajezdy-page .listing-section .sidebar .t-btn:disabled {
    opacity: 1;
    cursor: default;
}

.zajezdy-page .listing-section .sidebar .t-btn:disabled:hover {
    background: var(--accent-color);
}

@media (max-width: 991.98px) {
    .zajezdy-page .listing-section .sidebar {
        padding: 24px;
    }

    .zajezdy-page .listing-section .destinations {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px 20px;
    }
}

@media (max-width: 575.98px) {
    .zajezdy-page .listing-section .destinations {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/***** MEXICO YUCATAN *****/

/* intro */

.mexico-yucatan-page .intro-section {
    padding: 56px 0 88px;
}

.mexico-yucatan-page .intro-section .visual {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.mexico-yucatan-page .intro-section .main-photo {
    display: block;
    cursor: zoom-in;
}

.mexico-yucatan-page .intro-section .image {
    display: block;
    width: 100%;
    height: auto;
}

.mexico-yucatan-page .intro-section .gallery-open {
    position: absolute;
    right: 18px;
    bottom: 18px;
}

.mexico-yucatan-page .intro-section .previews {
    margin-top: 0;
}

.mexico-yucatan-page .intro-section .photo {
    display: block;
    overflow: hidden;
    border-radius: 4px;
}

.mexico-yucatan-page .intro-section .photo img {
    display: block;
    width: 100%;
    aspect-ratio: 1.45;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mexico-yucatan-page .intro-section .photo:hover img,
.mexico-yucatan-page .intro-section .photo:focus-visible img {
    transform: scale(1.04);
}

.mexico-yucatan-page .intro-section .content {
    max-width: 660px;
    padding-left: 32px;
}

.mexico-yucatan-page .intro-section .back-link {
    color: var(--accent-color);
    font-size: 14px;
    text-decoration: none;
}

.mexico-yucatan-page .intro-section .back-link:hover {
    text-decoration: underline;
}

.mexico-yucatan-page .intro-section .heading {
    margin: 18px 0 14px;
    font-size: clamp(34px, 3.4vw, 48px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.mexico-yucatan-page .intro-section .badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 26px;
}

.mexico-yucatan-page .intro-section .badge {
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--chip-color);
    color: var(--chip-text-color);
    font-size: 13px;
    font-weight: 400;
}

.mexico-yucatan-page .intro-section .lead,
.mexico-yucatan-page .intro-section .overview {
    font-size: 17px;
    line-height: 1.6;
}

.mexico-yucatan-page .intro-section .price {
    margin: 28px 0 4px;
    color: var(--card-title-hover-color);
    font-size: 36px;
    font-weight: 600;
    line-height: 1.1;
}

.mexico-yucatan-page .intro-section .price strong {
    font-weight: 700;
}

.mexico-yucatan-page .intro-section .price-note {
    margin-bottom: 18px;
    color: var(--card-title-color);
    font-size: 13px;
}

.mexico-yucatan-page .intro-section .overview {
    margin-top: 48px;
    padding-top: 42px;
    border-top: 1px solid var(--border-color);
}

.mexico-yucatan-page .intro-section .subheading {
    margin: 24px 0 10px;
    font-size: 23px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.mexico-yucatan-page .intro-section .overview .subheading:first-child {
    margin-top: 0;
}

.mexico-yucatan-page .intro-section .overview ul {
    padding-left: 22px;
}

/* details */

.mexico-yucatan-page .details-section {
    padding: 72px 0 96px;
    background: var(--footer-color);
}

.mexico-yucatan-page .details-section .panel {
    padding: 34px 38px 48px;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: var(--second-color);
}

.mexico-yucatan-page .details-section .nav-tabs {
    width: fit-content;
    max-width: 100%;
    gap: 6px;
    padding: 6px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--footer-color);
}

.mexico-yucatan-page .details-section .nav-link {
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--card-title-color);
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s ease;
}

.mexico-yucatan-page .details-section .nav-link:hover {
    background: var(--second-color);
    color: var(--card-title-hover-color);
}

.mexico-yucatan-page .details-section .nav-link.active {
    border-color: var(--card-title-hover-color);
    background: var(--card-title-hover-color);
    color: var(--main-text-color);
}

.mexico-yucatan-page .details-section .tab-content {
    max-width: 980px;
    padding-top: 42px;
}

.mexico-yucatan-page .details-section .heading {
    margin-bottom: 26px;
    font-size: 36px;
}

.mexico-yucatan-page .details-section .copy {
    line-height: 1.65;
}

.mexico-yucatan-page .details-section .copy p,
.mexico-yucatan-page .details-section .copy ul,
.mexico-yucatan-page .details-section .copy ol {
    margin-bottom: 18px;
}

.mexico-yucatan-page .details-section .copy h2,
.mexico-yucatan-page .details-section .copy h3 {
    margin-bottom: 18px;
    font-size: 24px;
}

.mexico-yucatan-page .details-section .table {
    color: var(--second-text-color);
}

@media (max-width: 991.98px) {
    .mexico-yucatan-page .intro-section {
        padding: 40px 0 72px;
    }

    .mexico-yucatan-page .intro-section .content {
        padding-left: 0;
    }
}

@media (max-width: 575.98px) {
    .mexico-yucatan-page .details-section {
        padding: 48px 0 72px;
    }

    .mexico-yucatan-page .details-section .panel {
        padding: 22px 18px 30px;
    }

    .mexico-yucatan-page .details-section .nav-tabs {
        width: 100%;
        border-radius: 18px;
    }

    .mexico-yucatan-page .details-section .nav-link {
        flex: 1 1 calc(50% - 6px);
        padding: 12px 10px;
        font-size: 14px;
    }

    .mexico-yucatan-page .details-section .tab-content {
        padding-top: 30px;
    }
}

/***** SAFARI LODE *****/

/* intro */

.safari-lode-page .intro-section {
    padding: 96px 0 56px;
}

.safari-lode-page .intro-section .heading {
    max-width: 750px;
    margin: 0;
    font-size: clamp(38px, 4.2vw, 58px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.safari-lode-page .intro-section .text {
    max-width: 410px;
    margin: 0 0 6px auto;
    padding-left: 40px;
    color: var(--card-title-color);
    font-size: 17px;
    line-height: 1.6;
}

/* listing */

.safari-lode-page .listing-section {
    padding: 0 0 80px;
}

@media (max-width: 991.98px) {
    .safari-lode-page .intro-section {
        padding: 64px 0 40px;
    }

    .safari-lode-page .intro-section .text {
        margin-left: 0;
        padding-left: 0;
    }
}

@media (max-width: 767.98px) {
    .safari-lode-page .intro-section .heading br {
        display: none;
    }
}

/***** HEAVEN RUBIN *****/

/* intro */

.heaven-rubin-page .intro-section {
    padding: 56px 0 96px;
}

.heaven-rubin-page .intro-section .content {
    max-width: 660px;
    padding-left: 32px;
}

.heaven-rubin-page .intro-section .back-link {
    color: var(--accent-color);
    font-size: 14px;
    text-decoration: none;
}

.heaven-rubin-page .intro-section .back-link:hover {
    text-decoration: underline;
}

.heaven-rubin-page .intro-section .heading {
    margin: 18px 0 12px;
    font-size: clamp(34px, 3.4vw, 48px);
    font-weight: 600;
    letter-spacing: -0.035em;
}

.heaven-rubin-page .intro-section .badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 26px;
}

.heaven-rubin-page .intro-section .badge {
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--chip-color);
    color: var(--chip-text-color);
    font-size: 13px;
    font-weight: 400;
}

.heaven-rubin-page .intro-section .lead {
    font-size: 17px;
    line-height: 1.6;
}

.heaven-rubin-page .intro-section .content > p:not(.lead) {
    line-height: 1.6;
}

.heaven-rubin-page .intro-section .t-btn {
    margin-top: 12px;
}

.heaven-rubin-page .intro-section .overview {
    margin-top: 48px;
    padding-top: 42px;
    border-top: 1px solid var(--border-color);
    line-height: 1.6;
}

.heaven-rubin-page .intro-section .subheading {
    margin: 28px 0 10px;
    font-size: 23px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.heaven-rubin-page .intro-section .overview .subheading:first-child {
    margin-top: 0;
}

.heaven-rubin-page .intro-section .overview ul {
    padding-left: 22px;
}

.heaven-rubin-page .intro-section .overview li {
    margin-bottom: 5px;
}

/* gallery */

.heaven-rubin-page .gallery-section {
    padding-bottom: 96px;
}

.heaven-rubin-page .gallery-section .heading-box {
    display: block;
    max-width: 650px;
    margin: 0 auto 38px;
    text-align: center;
}

.heaven-rubin-page .gallery-section .heading {
    margin: 0;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 600;
    letter-spacing: -0.035em;
}

.heaven-rubin-page .gallery-section .specer {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 300;
    text-transform: uppercase;
}

.heaven-rubin-page .gallery-section .photos {
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.heaven-rubin-page .gallery-section .photo {
    display: block;
    overflow: hidden;
    border-radius: 4px;
}

.heaven-rubin-page .gallery-section .photo img {
    display: block;
    width: 100%;
    aspect-ratio: 1.65;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.heaven-rubin-page .gallery-section .photo:hover img,
.heaven-rubin-page .gallery-section .photo:focus-visible img {
    transform: scale(1.04);
}

@media (max-width: 991.98px) {
    .heaven-rubin-page .intro-section {
        padding: 40px 0 72px;
    }

    .heaven-rubin-page .intro-section .content {
        padding-left: 0;
    }
}

/***** FOOTER *****/

/* main */

.footer .main {
    padding: 112px 0 104px;
    background: var(--footer-color);
    color: var(--third-text-color);
}

.footer .logo {
    display: block;
    width: 150px;
    height: auto;
}

.footer .socials {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 28px;
}

.footer .socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--second-color);
    color: var(--second-text-color);
    transition: background 0.3s ease, color 0.3s ease;
}

.footer .socials a:hover,
.footer .socials a:focus-visible {
    background: var(--main-color);
    color: var(--main-text-color);
}

.footer .socials svg {
    width: 20px;
    height: 20px;
}

/* newsletter */

.footer .newsletter {
    max-width: 550px;
}

.footer .label {
    display: block;
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    text-transform: uppercase;
}

.footer .newsletter .heading {
    max-width: 540px;
    margin: 0 0 24px;
    font-size: clamp(26px, 2.4vw, 36px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.footer .newsletter .form {
    display: flex;
    gap: 10px;
}

.footer .newsletter input {
    min-width: 0;
    flex: 1;
    padding: 12px 20px;
    border: 0;
    border-radius: 999px;
    background: var(--second-color);
    color: var(--second-text-color);
}

.footer .newsletter .t-btn:disabled,
.footer .newsletter input:disabled {
    opacity: 1;
}

.footer .newsletter .note {
    margin: 10px 0 0;
    font-size: 12px;
}

/* links */

.footer .links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer .links .label {
    margin-bottom: 8px;
}

.footer .links a {
    color: inherit;
    text-decoration: none;
    font-size: 15px;
}

.footer .links a:hover {
    text-decoration: underline;
}

/* bottom */

.footer .bottom {
    padding: 18px 0 22px;
    background: var(--footer-color);
    color: var(--third-text-color);
}

.footer .bottom .container {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.footer .bottom a {
    color: inherit;
}

@media (max-width: 991.98px) {
    .footer .main {
        padding: 72px 0 64px;
    }
}

@media (max-width: 575.98px) {
    .footer .newsletter .form {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer .newsletter input {
        width: 100%;
    }

    .footer .bottom .container {
        flex-direction: column;
        gap: 6px;
    }
}
