/* ============================================
   Афалина — Tidescape-inspired design
   Light warm palette, scroll-driven animations
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #f3ebe0;
    --bg-dark: #1a1a1a;
    --text: #2a2a2a;
    --text-light: #6b6560;
    --accent: #c8622a;
    --border: rgba(42, 42, 42, 0.12);
    --serif: 'Playfair Display', 'Georgia', serif;
    --sans: 'Inter', 'Helvetica Neue', sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Page entrance */
body:not(.loaded) .hero__content,
body:not(.loaded) .hero__photo {
    opacity: 0 !important;
}

body.loaded .hero__content {
    animation: fadeUp 1s cubic-bezier(0.25, 0.1, 0.25, 1) 0.2s both;
}

body.loaded .hero__photo--1 { animation: fadeIn 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) 0.5s both; }
body.loaded .hero__photo--2 { animation: fadeIn 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) 0.65s both; }
body.loaded .hero__photo--3 { animation: fadeIn 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) 0.8s both; }
body.loaded .hero__photo--4 { animation: fadeIn 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) 0.95s both; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9) rotate(var(--r, 0deg)); }
    to { opacity: 1; }
}

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 0 clamp(20px, 4vw, 60px);
    transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.header--scrolled {
    background: rgba(243, 235, 224, 0.85);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.header__logo-icon {
    width: 32px;
    height: 32px;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.header__link {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: color 0.3s;
    position: relative;
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width 0.3s;
}

.header__link:hover::after,
.header__link.active::after {
    width: 100%;
}

.header__link--dropdown {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header__contact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    transition: color 0.3s;
}

.header__contact:hover {
    color: var(--accent);
}

.header__burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 28px;
    padding: 4px 0;
}

.header__burger span {
    display: block;
    height: 1.5px;
    background: var(--text);
    transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
}

.header__burger.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.header__burger.open span:nth-child(2) {
    opacity: 0;
}

.header__burger.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

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

.mob-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}

.mob-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mob-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

.mob-menu__link {
    font-family: var(--serif);
    font-size: 32px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s, transform 0.4s;
}

.mob-menu.active .mob-menu__link {
    opacity: 1;
    transform: translateY(0);
}

.mob-menu.active .mob-menu__link:nth-child(1) { transition-delay: 0.1s; }
.mob-menu.active .mob-menu__link:nth-child(2) { transition-delay: 0.15s; }
.mob-menu.active .mob-menu__link:nth-child(3) { transition-delay: 0.2s; }
.mob-menu.active .mob-menu__link:nth-child(4) { transition-delay: 0.25s; }
.mob-menu.active .mob-menu__link:nth-child(5) { transition-delay: 0.3s; }
.mob-menu.active .mob-menu__link:nth-child(6) { transition-delay: 0.35s; }

.mob-menu__footer {
    margin-top: 48px;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.4s 0.4s;
}

.mob-menu.active .mob-menu__footer {
    opacity: 1;
}

/* ============================================
   HERO
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 20px 80px;
}

.hero__inner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__photos {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__photo {
    position: absolute;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1), 0 4px 16px rgba(0,0,0,0.06);
    will-change: transform;
}

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

.hero__photo--1 {
    width: clamp(180px, 22vw, 300px);
    height: clamp(220px, 28vw, 380px);
    top: 5%;
    left: 2%;
    transform: rotate(-12deg);
}

.hero__photo--2 {
    width: clamp(180px, 22vw, 300px);
    height: clamp(220px, 28vw, 380px);
    top: 0%;
    right: 2%;
    transform: rotate(10deg);
}

.hero__photo--3 {
    width: clamp(150px, 18vw, 250px);
    height: clamp(180px, 22vw, 300px);
    bottom: 5%;
    left: 5%;
    transform: rotate(-6deg);
}

.hero__photo--4 {
    width: clamp(150px, 18vw, 250px);
    height: clamp(180px, 22vw, 300px);
    bottom: 2%;
    right: 5%;
    transform: rotate(15deg);
}

.hero__content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 30px;
    color: var(--text);
}

.hero__icon svg {
    width: 100%;
    height: 100%;
}

.hero__title {
    font-family: var(--serif);
    font-size: clamp(60px, 12vw, 160px);
    font-weight: 400;
    letter-spacing: 0.06em;
    line-height: 1;
    margin-bottom: 24px;
    text-shadow:
        0 0 60px rgba(235,225,210,0.5),
        0 0 120px rgba(235,225,210,0.3);
}

.hero__subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-light);
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* ============================================
   ABOUT
   ============================================ */

.about {
    padding: 0 clamp(20px, 4vw, 60px);
    max-width: 1400px;
    margin: 0 auto;
}

.about__title {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 24px;
}

.about__desc {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 32px;
}

.about__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    border: none;
    border-bottom: 1.5px solid var(--text);
    padding: 0 0 4px;
    background: none;
    color: var(--text);
    cursor: pointer;
    transition: color 0.3s, border-color 0.3s;
}

.about__link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.about__text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 0 80px;
    opacity: 0;
    transform: translateY(40px);
    filter: blur(8px);
    transition: opacity 1s cubic-bezier(0.25, 0.1, 0.25, 1), transform 1s cubic-bezier(0.25, 0.1, 0.25, 1), filter 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.about__text.revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.about__image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 120px;
    opacity: 0;
    transform: translateY(30px);
    filter: blur(6px);
    transition: opacity 1s cubic-bezier(0.25, 0.1, 0.25, 1) 0.15s, transform 1s cubic-bezier(0.25, 0.1, 0.25, 1) 0.15s, filter 1s cubic-bezier(0.25, 0.1, 0.25, 1) 0.15s;
}

.about__image.revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.about__image img {
    width: 100%;
    height: clamp(300px, 50vw, 700px);
    object-fit: cover;
    will-change: transform;
    transition: transform 0.1s linear;
}

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

.services {
    padding: 60px clamp(20px, 4vw, 60px) 120px;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.services__item {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    opacity: 0;
    transform: translateY(40px);
    filter: blur(8px);
    transition: opacity 0.8s, transform 0.8s, filter 0.8s;
}

.services__item.revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.services__name {
    font-family: var(--serif);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 400;
    font-style: italic;
}

.services__image {
    border-radius: 12px;
    overflow: hidden;
}

.services__image img {
    width: 100%;
    height: clamp(300px, 35vw, 500px);
    object-fit: cover;
    transition: transform 0.6s;
}

.services__item:hover .services__image img {
    transform: scale(1.03);
}

.services__desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   FULL-WIDTH IMAGE (scroll scale)
   ============================================ */

.fullimage {
    padding: 40px clamp(20px, 4vw, 60px);
    display: flex;
    justify-content: center;
}

.fullimage__wrap {
    width: 100%;
    max-width: 1400px;
    border-radius: 16px;
    overflow: hidden;
    will-change: transform;
}

.fullimage__wrap img,
.fullimage__wrap video {
    width: 100%;
    height: clamp(300px, 55vw, 700px);
    object-fit: cover;
}

/* Thin section divider */
.services::before,
.reviews::before,
.rooms::before {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--border);
    margin: 0 auto 40px;
}

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

.reviews {
    padding: 60px clamp(20px, 4vw, 60px);
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.reviews__label {
    font-size: 13px;
    letter-spacing: 0.15em;
    color: var(--text-light);
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(20px);
    filter: blur(6px);
    transition: opacity 0.6s, transform 0.6s, filter 0.6s;
}

.reviews__label.revealed { opacity: 1; transform: translateY(0); filter: blur(0); }

.reviews__title {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    filter: blur(6px);
    transition: opacity 0.6s 0.1s, transform 0.6s 0.1s, filter 0.6s 0.1s;
}

.reviews__title.revealed { opacity: 1; transform: translateY(0); filter: blur(0); }

.reviews__carousel {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}

.reviews__track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.reviews__card {
    width: calc((100% - 20px) / 2);
    flex-shrink: 0;
    box-sizing: border-box;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 28px;
}

.reviews__author {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.reviews__date {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 16px;
}

.reviews__text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
}

.reviews__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    transition: background 0.3s;
}

.reviews__btn:hover { background: var(--bg-dark); color: white; }
.reviews__btn--prev { left: 0; }
.reviews__btn--next { right: 0; }

@media (max-width: 640px) {
    .reviews__carousel { padding: 0 40px; }
    .reviews__card { width: 100%; }
}

@media (max-width: 768px) {
    .gallery__slide {
        position: relative;
        cursor: zoom-in;
    }
    .gallery__slide::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 44px;
        height: 44px;
        background: rgba(0,0,0,0.35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='7'/%3E%3Cpath d='M15 15l5 5'/%3E%3C/svg%3E") center / 22px no-repeat;
        border-radius: 50%;
        pointer-events: none;
        opacity: 0.7;
    }
}

/* ============================================
   ROOMS
   ============================================ */

.rooms {
    padding: 120px clamp(20px, 4vw, 60px);
    max-width: 1400px;
    margin: 0 auto;
}

.rooms__heading {
    font-family: var(--serif);
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 400;
    text-align: center;
    margin-bottom: 100px;
    line-height: 1.15;
    opacity: 0;
    transform: translateY(30px);
    filter: blur(8px);
    transition: opacity 0.8s, transform 0.8s, filter 0.8s;
}

.rooms__heading.revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.rooms__list--hidden {
    display: none;
}

.rooms__list--hidden.visible {
    display: block;
}

.rooms__item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
    min-height: 90vh;
    align-items: start;
    opacity: 0;
    transform: translateY(50px);
    filter: blur(8px);
    transition: opacity 1s cubic-bezier(0.25, 0.1, 0.25, 1), transform 1s cubic-bezier(0.25, 0.1, 0.25, 1), filter 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.rooms__item.revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.rooms__info {
    padding: 60px 0;
}

.rooms__num {
    font-family: var(--serif);
    font-size: 16px;
    color: var(--text-light);
    display: block;
    margin-bottom: 12px;
}

.rooms__name {
    font-family: var(--serif);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 400;
    margin-bottom: 8px;
    line-height: 1.2;
}

.rooms__type {
    font-size: 13px;
    color: var(--text-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.rooms__desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

.rooms__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    border-bottom: 1.5px solid var(--text);
    padding-bottom: 4px;
    transition: color 0.3s, border-color 0.3s;
    margin-bottom: 32px;
}

.rooms__link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.rooms__features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rooms__features li {
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(0,0,0,0.04);
    color: var(--text);
}

.rooms__image {
    position: sticky;
    top: 100px;
    border-radius: 16px;
    overflow: hidden;
    height: calc(100vh - 140px);
}

.rooms__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.rooms__image:hover img {
    transform: scale(1.05);
}

.rooms__show-all {
    display: block;
    margin: 40px auto 0;
    padding: 14px 40px;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1.5px solid var(--text);
    border-radius: 30px;
    background: none;
    color: var(--text);
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.rooms__show-all:hover {
    background: var(--bg-dark);
    color: white;
}

.rooms__show-all.hidden {
    display: none;
}

@media (max-width: 768px) {
    .rooms {
        padding: 60px 16px;
    }
    .rooms__heading {
        margin-bottom: 40px;
    }
    .rooms__item {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 24px;
        margin-bottom: 20px;
    }
    .rooms__info {
        padding: 20px 0;
    }
    .rooms__image {
        position: relative;
        top: 0;
        height: 50vh;
    }
}

/* ============================================
   GALLERY
   ============================================ */

.gallery-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.gallery__carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: visible;
    padding: 0 calc((100% - min(1000px, 70vw)) / 2);
}

.gallery__track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.gallery__slide {
    min-width: 100%;
    aspect-ratio: 3/2;
    padding: 0 8px;
    box-sizing: border-box;
}

.gallery__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: opacity 0.4s, transform 0.4s;
    opacity: 0.4;
    transform: scale(0.92);
}

.gallery__slide.is-active img {
    opacity: 1;
    transform: scale(1);
}

.gallery__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-dark);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: transform 0.3s, background 0.3s;
}

.gallery__btn:hover {
    transform: translateY(-50%) scale(1.1);
}

.gallery__btn--prev { left: calc((100% - min(1000px, 70vw)) / 2 + 20px); }
.gallery__btn--next { right: calc((100% - min(1000px, 70vw)) / 2 + 20px); }

/* ============================================
   CTA
   ============================================ */

.cta {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 20px;
    align-items: center;
    padding: 120px clamp(20px, 4vw, 60px);
    max-width: 1400px;
    margin: 0 auto;
    min-height: 80vh;
}

.cta__photos {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cta__photo {
    border-radius: 12px;
    overflow: hidden;
    will-change: transform;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.cta__photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.cta__photo:hover img {
    transform: scale(1.04);
}

.cta__photo--left-1 img,
.cta__photo--right-1 img {
    height: clamp(200px, 22vw, 320px);
}

.cta__photo--left-2 img,
.cta__photo--right-2 img {
    height: clamp(250px, 28vw, 400px);
}

.cta__content {
    text-align: center;
    padding: 40px 0;
}

.cta__title {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta__desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.cta__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    border-bottom: 1.5px solid var(--text);
    padding-bottom: 4px;
    transition: color 0.3s, border-color 0.3s;
}

.cta__link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

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

.contacts {
    padding: 120px clamp(20px, 4vw, 60px);
    max-width: 1400px;
    margin: 0 auto;
}

.contacts__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    opacity: 0;
    transform: translateY(40px);
    filter: blur(8px);
    transition: opacity 1s cubic-bezier(0.25, 0.1, 0.25, 1), transform 1s cubic-bezier(0.25, 0.1, 0.25, 1), filter 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.contacts__inner.revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.contacts__title {
    font-family: var(--serif);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 20px;
}

.contacts__desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 36px;
}

.contacts__info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contacts__line {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    transition: color 0.3s;
}

a.contacts__line:hover {
    color: var(--accent);
}

.contacts__map {
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
    background: #ddd;
}

.contacts__map iframe {
    width: 100%;
    height: 100%;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--bg-dark);
    color: #e8e0d8;
    padding: 48px clamp(20px, 4vw, 60px) 32px;
}

.footer__top {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 60px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: center;
    padding-top: 4px;
}

.footer__nav a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    transition: color 0.3s;
}

.footer__nav a:hover {
    color: white;
}

.footer__social-block {
    text-align: right;
}

.footer__social-label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 10px;
}

.footer__logo {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.footer__phone {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    transition: color 0.3s;
    line-height: 1.6;
}

.footer__phone:hover {
    color: white;
}

.footer__links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer__links a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    transition: color 0.3s;
}

.footer__links a:hover {
    color: white;
}

.footer__dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    flex-shrink: 0;
}

.footer__bottom {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    font-size: 13px;
    color: rgba(255,255,255,0.3);
}

@media (max-width: 768px) {
    .footer__top {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }

    .footer__social-block {
        text-align: center;
    }

    .footer__links {
        justify-content: center;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ============================================
   MODAL
   ============================================ */

.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}

.modal__body {
    position: relative;
    background: var(--bg);
    border-radius: 20px;
    padding: 48px;
    max-width: 560px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modal__body::-webkit-scrollbar {
    display: none;
    transform: translateY(20px);
    transition: transform 0.4s;
}

.modal.active .modal__body {
    transform: translateY(0);
}

.modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.modal__close:hover {
    background: rgba(0,0,0,0.05);
}

.modal__title {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 32px;
}

.modal__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.modal__field {
    margin-bottom: 16px;
}

.modal__field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 6px;
}

.modal__field input,
.modal__field select,
.modal__field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255,255,255,0.5);
    font-family: var(--sans);
    font-size: 15px;
    color: var(--text);
    outline: none;
    transition: border-color 0.3s;
}

.modal__field input:focus,
.modal__field select:focus,
.modal__field textarea:focus {
    border-color: var(--accent);
}

.modal__submit {
    width: 100%;
    padding: 16px;
    background: var(--bg-dark);
    color: white;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-top: 8px;
    transition: background 0.3s, transform 0.2s;
}

.modal__submit:hover {
    background: #333;
}

.modal__submit:active {
    transform: scale(0.98);
}

/* ============================================
   REVEAL ANIMATION
   ============================================ */

[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(8px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.1, 0.25, 1),
                transform 0.9s cubic-bezier(0.25, 0.1, 0.25, 1),
                filter 0.9s cubic-bezier(0.25, 0.1, 0.25, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-delay="4"] { transition-delay: 0.4s; }
[data-reveal][data-delay="5"] { transition-delay: 0.5s; }

/* Text split reveal */
.split-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    filter: blur(6px);
    transition: opacity 0.6s ease, transform 0.6s ease, filter 0.6s ease;
}

.revealed .split-word {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Custom cursor (desktop) */
@media (hover: hover) and (pointer: fine) {
    * { cursor: none !important; }

    .cursor {
        position: fixed;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        pointer-events: none;
        z-index: 99999;
        transform: translate(-50%, -50%);
        transition: width 0.45s cubic-bezier(0.23,1,0.32,1),
                    height 0.45s cubic-bezier(0.23,1,0.32,1),
                    background 0.4s,
                    box-shadow 0.4s;
        border: 3px solid var(--text);
        background: transparent;
        box-shadow: none;
        mix-blend-mode: difference;
    }

    .cursor--hover {
        width: 56px;
        height: 56px;
        background: var(--text);
    }
}

@media (hover: none) {
    .cursor { display: none; }
}

/* Grain overlay */
.grain {
    position: fixed;
    inset: 0;
    z-index: 9990;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .header__nav {
        display: none;
    }

    .header__contact {
        display: none;
    }

    .header__burger {
        display: flex;
    }

    .services__item {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .services__name {
        order: 1;
    }

    .services__image {
        order: 2;
    }

    .services__desc {
        order: 3;
    }

    .activities__grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .cta {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 60px 16px;
        min-height: auto;
    }

    .cta__photos {
        flex-direction: row;
        gap: 10px;
    }

    .cta__photo {
        flex: 1;
    }

    .cta__photo img {
        height: 200px !important;
        width: 100%;
    }

    .cta__photos--left {
        margin: 0 -16px;
    }

    .cta__photos--right {
        margin: 0 -16px;
    }

    .cta__photos--right {
        order: 3;
    }

    .contacts__inner {
        grid-template-columns: 1fr;
    }

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

    .footer__nav-cols {
        justify-content: flex-start;
    }

}

@media (max-width: 768px) {
    .hero__photo--1 {
        width: 140px;
        height: 180px;
        top: 10%;
        left: -5%;
    }

    .hero__photo--2 {
        width: 140px;
        height: 180px;
        top: 5%;
        right: -5%;
    }

    .hero__photo--3 {
        width: 120px;
        height: 150px;
        bottom: 10%;
        left: 0%;
    }

    .hero__photo--4 {
        width: 120px;
        height: 150px;
        bottom: 8%;
        right: 0%;
    }

    .activities__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .modal__body {
        padding: 32px 24px;
    }

    .modal__row {
        grid-template-columns: 1fr;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(42, 42, 42, 0.2);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(42, 42, 42, 0.35);
}

/* Image loading placeholder */
.about__image img,
.services__image img,
.rooms__image img,
.gallery__slide img,
.cta__photo img {
    background: rgba(42, 42, 42, 0.05);
}

/* Gallery indicator dots */
.gallery__carousel::after {
    content: '';
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    z-index: 3;
}

@media (max-width: 480px) {
    .hero__photo--3,
    .hero__photo--4 {
        display: none;
    }

    .hero__photo--1 {
        width: 120px;
        height: 160px;
    }

    .hero__photo--2 {
        width: 120px;
        height: 160px;
    }

    .activities__grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer__nav-cols {
        flex-direction: column;
        gap: 30px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    cursor: zoom-out;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

/* About Modal */
.about-modal {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}

.about-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.about-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
}

.about-modal__body {
    position: relative;
    background: var(--bg);
    border-radius: 20px;
    width: 92vw;
    height: 90vh;
    max-width: 1200px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    transform: translateY(20px);
    transition: transform 0.4s;
}

.about-modal__body::-webkit-scrollbar { display: none; }

.about-modal.active .about-modal__body {
    transform: translateY(0);
}

.about-modal__close {
    position: sticky;
    top: 16px;
    float: right;
    margin: 16px 20px 0 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg);
    font-size: 24px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.about-modal__close:hover {
    background: var(--bg-dark);
    color: white;
}

.about-modal__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 48px;
}

.about-modal__title {
    font-family: var(--serif);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 400;
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-modal__text p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 16px;
}

.about-modal__gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
    gap: 12px;
}

.about-modal__gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.about-modal__gallery img:first-child {
    grid-column: 1 / -1;
    max-height: 220px;
}

.about-modal__gallery img:last-child {
    grid-column: 1 / -1;
    max-height: 200px;
}

.about-modal__cta {
    padding-top: 16px;
}

.about-modal__cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    padding: 14px 32px;
    border-radius: 30px;
    background: var(--bg-dark);
    color: white;
    transition: opacity 0.3s;
}

.about-modal__cta a:hover {
    opacity: 0.85;
}

@media (max-width: 768px) {
    .about-modal__body {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
        max-width: none;
    }

    .about-modal__content {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 24px;
    }

    .about-modal__gallery img:first-child {
        max-height: 180px;
    }
}

.lightbox__img {
    max-width: 95vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}
