@font-face { font-family: "Manrope"; src: url("../fonts/manrope/manrope-cyrillic-ext.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope/manrope-cyrillic.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope/manrope-latin-ext.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope/manrope-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root { --navy: #033264; --blue: #007bff; --blue-dark: #0056b3; --text: #777; --header: 125px; }

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font: 400 14px/26px "Manrope", system-ui, sans-serif; color: var(--text); background: #fff; }
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); line-height: 1.2; }
button { font: inherit; cursor: pointer; }
.container { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; }
.header__top { height: 40px; background: #f5f5f5; }
.header__bar { background: #fff; box-shadow: 0 8px 16px -4px rgba(0, 0, 0, .1); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 85px; }
.header__logo img { width: 250px; }
.header__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 24px; }
.header__nav a { color: var(--blue); }
.below-header { padding-top: calc(var(--header) + 25px); }

/* Hero */
.hero { position: relative; height: 100vh; min-height: 420px; overflow: hidden; background: #ddd; }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s; }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__content { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(800px, 90%); text-align: center; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
.hero__content h2 { color: #fff; font-size: clamp(22px, 4vw, 40px); }
.hero__content a { display: inline-block; padding: 6px 35px; color: #fff; border: 1px solid rgba(255, 255, 255, .7); border-radius: 0 12px; text-transform: uppercase; }
.hero__dots { position: absolute; z-index: 2; bottom: 16px; width: 100%; display: flex; justify-content: center; gap: 8px; }
.hero__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.hero__dots button.is-active { background: var(--blue); }

.arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; padding: 0 0 5px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .75); color: #333; font-size: 30px; line-height: 1; display: grid; place-items: center; }
.arrow--prev { left: 8px; }
.arrow--next { right: 8px; }

/* Tour cards (masonry) */
.tours { scroll-margin-top: var(--header); }
.tours__grid { list-style: none; width: 80%; margin: 40px auto; padding: 0; columns: 3; column-gap: 15px; }
.tours__grid li { break-inside: avoid; margin-bottom: 14px; }
.card { position: relative; display: block; overflow: hidden; border-radius: 4px; background: #e9ecef; }
.card img { width: 100%; transition: filter .3s; }
.card:hover img, .card:focus-visible img { filter: brightness(.7); }
.card__price { position: absolute; z-index: 1; right: 10px; bottom: 10px; padding: 5px 10px; border-radius: 5px; background: rgba(0, 0, 0, .3); color: #ffdf00; font-weight: 700; }
.card__title { position: absolute; left: 0; bottom: 0; width: 100%; padding: 30px 18% 44px 10px; color: #fff; text-align: center; background: linear-gradient(to top, rgba(0, 0, 0, .7), transparent); }

/* Breadcrumb */
.breadcrumb { list-style: none; display: flex; margin: 10px 0 0; padding: 0; font-size: 13px; min-width: 0; }
.breadcrumb li { display: flex; align-items: center; min-width: 0; }
.breadcrumb li + li::before { content: "›"; margin: 0 12px; color: #ccc; }
.breadcrumb li + li { overflow: hidden; }
.breadcrumb span { color: var(--blue); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.breadcrumb--wide { padding: 0 48px; }

/* Tour detail */
.page { padding-bottom: 20px; }
.tour { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; margin-top: 48px; padding: 0 33px; }
.tour__media, .tour__content { padding: 0 15px; }
.tour__content { padding-left: 48px; }
.tour__media { position: sticky; top: 140px; }
.tour__intro--mobile { display: none; }
.tour__title { margin: 0; color: var(--navy); font-size: 30px; font-weight: 700; line-height: 36px; }
.tour__intro p:not(.tour__title) { margin: 12px 0 0; }

.gallery__main { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 15px; background: #e9ecef; }
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.2); transition: opacity .9s, transform 1s cubic-bezier(.7, 0, .3, 1); }
.gallery__main img.is-active { opacity: 1; transform: scale(1); }
.gallery__thumbs { position: relative; display: flex; gap: 10px; margin-top: 15px; padding: 5px; overflow-x: auto; scrollbar-width: none; }
.gallery__thumbs button { flex: 0 0 calc((100% - 40px) / 5); aspect-ratio: 3 / 2; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 8px; background: none; }
.gallery__thumbs button.is-active { border-color: var(--blue); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pricing { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 480px; margin-top: 16px; padding: 15px 20px; background: #fff; border: 1px solid #ddd; border-top: 5px solid var(--blue); border-radius: 5px; box-shadow: 0 4px 6px rgba(0, 0, 0, .1); }
.pricing__amount { margin: 0; color: #000; font-size: 24px; font-weight: 700; }
.pricing .btn { margin-left: auto; }
.pricing-sticky { display: none; }

.btn { display: inline-block; padding: 10px 20px; border: 0; border-radius: 25px; background: var(--blue); color: #fff; font-size: 16px; line-height: 24px; white-space: nowrap; }
.btn:hover { background: var(--blue-dark); }
.btn:disabled { opacity: .65; cursor: wait; }
.btn.is-loading::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 8px; vertical-align: -2px; border: 2px solid #fff; border-top-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.section-title { display: inline-block; margin: 18px 0 8px; padding-bottom: 2px; font-size: 24px; border-bottom: 5px ridge #002f6c; }
.tour__content .section-title + .rich { display: block; }
.rich { overflow-wrap: break-word; }
.rich p { margin: 0; min-height: 26px; }
.rich img { height: auto; }
.rich table { max-width: 100%; border-collapse: collapse; }
.rich td, .rich th { padding: 4px 10px; border: 1px solid #ddd; }

.review { display: flex; gap: 15px; margin-bottom: 20px; }
.review img { width: 100px; height: 100px; object-fit: cover; border-radius: 5px; }
.review p { margin: 0; color: #555; }

/* Modal */
.modal { width: min(500px, 94vw); max-height: 94vh; padding: 48px 20px 20px; border: 0; border-radius: 6px; color: #333; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.modal::backdrop { background: rgba(0, 0, 0, .5); }
.modal__close { position: absolute; top: 8px; right: 14px; border: 0; background: none; font-size: 28px; line-height: 1; color: #666; }
.modal label { display: block; margin-bottom: 10px; }
.modal input[type="email"] { width: 100%; margin-bottom: 14px; padding: 9px 12px; font: inherit; font-size: 16px; border: 1px solid #ced4da; border-radius: 4px; }
.modal__error { margin: -4px 0 12px; color: #c0262d; }
.modal__frame { display: none; }
.modal__done { text-align: center; }
.modal--wide { width: min(1200px, 94vw); }
.modal.is-embed .modal__frame { display: block; }
.modal.is-embed .modal__done p { display: none; }
.modal.is-embed .modal__done .btn { margin-top: 10px; }
.modal__frame iframe { width: 100%; height: min(800px, 74vh); border: 0; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.footer { padding: 20px 0; background: #eaedee; color: #808284; }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px; }
.footer__title { padding: 4px 0; color: var(--blue); font-size: 23px; letter-spacing: 3px; border-block: 1px solid var(--blue); }
.footer__widgets { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
.footer__widgets ul { list-style: none; margin: 0; padding: 0; }
.footer__pages { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px; margin: 20px 0 0; padding: 0; font-size: 16px; }
.footer__bottom { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 20px; text-align: center; }
.footer__bottom img { max-width: 100px; }

@media (max-width: 991px) {
    .tour { grid-template-columns: minmax(0, 1fr); margin-top: 20px; padding: 0; }
    .tour__media { position: static; }
    .tour__content { padding-left: 15px; }
    .tour__intro--mobile { display: block; padding: 0 15px 16px; }
    .tour__intro--desktop { display: none; }
    .breadcrumb--wide { padding: 0 15px; }
    .hero { height: 70vh; min-height: 0; }
}
@media (max-width: 800px) {
    .tours__grid { width: 90%; columns: 2; }
}
@media (max-width: 600px) {
    :root { --header: 108px; }
    .header__top { height: 23px; }
    .header__logo img { width: 160px; }
    .tours__grid { columns: 1; margin-top: 20px; }
    .hero { height: 32vh; min-height: 200px; }
    .arrow { width: 30px; height: 30px; font-size: 24px; }
    .tour__title { font-size: 24px; line-height: 30px; }
    .footer__bottom { flex-direction: column; }
}
@media (max-width: 480px) {
    .pricing--inline { display: none; }
    .page:has(.pricing-sticky) { padding-bottom: 0; }
    .pricing-sticky { display: block; position: sticky; bottom: 0; z-index: 5; margin-top: 16px; }
    .pricing-sticky .pricing { max-width: none; margin: 0; border-radius: 0; box-shadow: 0 -4px 6px rgba(0, 0, 0, .1); }
    .pricing-sticky .pricing__amount { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation-duration: 2s !important; }
}
