:root {
    color-scheme: light;
    --bg: #fafafa;
    --surface: #ffffff;
    --surface-2: #f4f4f5;
    --surface-raised: #ffffff;
    --border: #e4e4e7;
    --border-soft: #f4f4f5;
    --border-strong: #d4d4d8;
    --text: #18181b;
    --text-2: #27272a;
    --muted: #52525b;
    --muted-2: #71717a;
    --faint: #a1a1aa;
    --accent: #0891b2;
    --accent-hover: #0e7490;
    --accent-text: #0891b2;
    --accent-strong: #0e7490;
    --accent-soft: #ecfeff;
    --accent-soft-border: #cffafe;
    --header-bg: rgba(255, 255, 255, 0.95);
    --error-bg: #fef2f2;
    --error-border: #fecaca;
    --error-text: #b91c1c;
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0d1117;
    --surface: #151b23;
    --surface-2: #1c232d;
    --surface-raised: #2a3441;
    --border: #2a323d;
    --border-soft: #222a34;
    --border-strong: #3a4553;
    --text: #f1f5f9;
    --text-2: #e2e8f0;
    --muted: #a7b1bd;
    --muted-2: #8b96a3;
    --faint: #6b7684;
    --accent: #0891b2;
    --accent-hover: #0aa2c7;
    --accent-text: #38c4e0;
    --accent-strong: #67d4ea;
    --accent-soft: rgba(8, 145, 178, 0.14);
    --accent-soft-border: rgba(56, 196, 224, 0.32);
    --header-bg: rgba(13, 17, 23, 0.92);
    --error-bg: rgba(220, 38, 38, 0.12);
    --error-border: rgba(248, 113, 113, 0.4);
    --error-text: #fca5a5;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        color-scheme: dark;
        --bg: #0d1117; --surface: #151b23; --surface-2: #1c232d; --surface-raised: #2a3441;
        --border: #2a323d; --border-soft: #222a34; --border-strong: #3a4553;
        --text: #f1f5f9; --text-2: #e2e8f0; --muted: #a7b1bd; --muted-2: #8b96a3; --faint: #6b7684;
        --accent-hover: #0aa2c7; --accent-text: #38c4e0; --accent-strong: #67d4ea;
        --accent-soft: rgba(8, 145, 178, 0.14); --accent-soft-border: rgba(56, 196, 224, 0.32);
        --header-bg: rgba(13, 17, 23, 0.92);
        --error-bg: rgba(220, 38, 38, 0.12); --error-border: rgba(248, 113, 113, 0.4); --error-text: #fca5a5;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Kanit', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background-color: var(--accent);
    color: #ffffff;
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.brand-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--text);
}

.brand-title span {
    color: var(--accent-text);
}

.brand-subtitle {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-top: 3px;
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 2.25rem;
}

@media (min-width: 1200px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.nav-link:hover {
    color: var(--accent-text);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-select {
    background-color: var(--surface-2);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-2);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    padding: 10px 14px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.lang-select:focus {
    border-color: var(--accent);
}

.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px;
    border-radius: 10px;
    background-color: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-2);
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.icon-link:hover {
    background-color: var(--border);
    color: var(--accent-text);
}

.icon-svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.btn-header {
    display: none;
    background-color: var(--accent);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 13px 24px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: background-color 0.15s ease, transform 0.1s ease;
}

@media (min-width: 640px) {
    .btn-header {
        display: inline-flex;
    }
}

.btn-header:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.hero {
    /* Keep the photo and foreground readable in both site themes. */
    --text: #ffffff;
    --text-2: #ffffff;
    --muted: #ffffff;
    --accent-strong: #67e8f9;
    --accent-text: #67e8f9;
    --accent-soft: rgba(8, 47, 73, 0.78);
    --accent-soft-border: rgba(103, 232, 249, 0.4);
    --surface: #152536;
    --border-strong: rgba(226, 232, 240, 0.35);
    position: relative;
    overflow: hidden;
    padding: 5rem 1.5rem;
    background-color: #102738;
    border-bottom: 1px solid var(--border);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(180deg, rgba(6, 20, 35, 0.28), rgba(6, 20, 35, 0.40)), url("assets/hero-variant-2.opt.webp");
    background-position: center, center 46%;
    background-size: cover;
    background-repeat: no-repeat;
    filter: brightness(1.1);
}

@media (min-width: 640px) {
    .hero {
        padding: 7rem 1.5rem;
    }
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    text-shadow: 0 1px 2px #000, 0 2px 6px rgba(0, 0, 0, 0.95), 0 4px 14px rgba(0, 0, 0, 0.85), 0 0 24px rgba(0, 0, 0, 0.65);
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    margin-bottom: 1.25rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-strong);
    background-color: var(--accent-soft);
    border: 1px solid var(--accent-soft-border);
    border-radius: 9999px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 1.5rem;
    white-space: pre-line;
    text-wrap: balance;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.hero-subtitle {
    text-shadow: 0 1px 2px #000, 0 0 4px #000, 0 2px 8px #000, 0 0 16px #000, 0 4px 24px rgba(0, 0, 0, 0.95), 0 0 36px rgba(0, 0, 0, 0.85);
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.15rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-2);
}

.hero-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--accent-soft);
    color: var(--accent-text);
    font-size: 12px;
    font-weight: 800;
    border: 1px solid var(--accent-soft-border);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(8, 145, 178, 0.2);
    transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--surface);
    color: var(--text-2);
    border: 1px solid var(--border-strong);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.btn-secondary:hover {
    background-color: var(--surface-2);
    border-color: var(--faint);
    transform: translateY(-1px);
}

.catalog-section {
    padding: 5rem 1.5rem;
    background-color: var(--bg);
    border-bottom: 1px solid var(--border);
}

.catalog-container {
    max-width: 1280px;
    margin: 0 auto;
}

.catalog-disclaimer {
    margin: 1.5rem auto 0;
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.6;
    text-align: center;
}

.catalog-header {
    margin-bottom: 3rem;
    text-align: center;
}

.catalog-badge {
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-strong);
    background-color: var(--accent-soft);
    border: 1px solid var(--accent-soft-border);
    border-radius: 9999px;
}

.catalog-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text);
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .catalog-title {
        font-size: 2.5rem;
    }
}

.catalog-subtitle {
    font-size: 1rem;
    color: var(--muted-2);
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.filter-bar {
    display: inline-flex;
    background-color: var(--surface-2);
    padding: 4px;
    border-radius: 12px;
    border: 1px solid var(--border);
    gap: 4px;
}

.filter-btn {
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--muted);
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.filter-btn:hover {
    color: var(--text);
}

.filter-btn.active {
    background-color: var(--surface-raised);
    color: var(--accent-text);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.08);
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -3px rgba(0, 0, 0, 0.06);
    border-color: var(--border-strong);
}

.card.hidden {
    display: none;
}

.card-img-wrapper {
    position: relative;
    width: 100%;
    height: 230px;
    background-color: var(--surface-2);
    overflow: hidden;
}

.card-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Размытый фон из самого фото — кадр показывается целиком, без обрезки */
.card-img-wrapper::before,
.modal-media::before {
    content: "";
    position: absolute;
    inset: -20px;
    background: var(--bg) center / cover no-repeat;
    filter: blur(18px) brightness(0.8);
}

.card:hover .card-img {
    transform: scale(1.02);
}

.card-year {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: rgba(24, 24, 27, 0.75);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
}

.card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 0.75rem;
}

.card-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
}

.card-cat-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted-2);
    background-color: var(--surface-2);
    padding: 3px 6px;
    border-radius: 4px;
}

.card-specs {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1.5rem;
}

.card-specs li {
    font-size: 0.75rem;
    color: var(--muted);
    background-color: var(--surface-2);
    padding: 3px 8px;
    border-radius: 6px;
}

.card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-soft);
    padding-top: 1rem;
}

.card-price-block {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.card-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-text);
}

.card-period {
    font-size: 0.75rem;
    color: var(--muted-2);
}

.btn-book {
    background-color: var(--surface-2);
    color: var(--text);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-book:hover {
    background-color: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.terms-section {
    padding: 5rem 1.5rem;
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
}

.terms-container {
    max-width: 1280px;
    margin: 0 auto;
}

.terms-header {
    margin-bottom: 3.5rem;
    text-align: center;
}

.terms-badge {
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-strong);
    background-color: var(--accent-soft);
    border: 1px solid var(--accent-soft-border);
    border-radius: 9999px;
}

.terms-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text);
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .terms-title {
        font-size: 2.5rem;
    }
}

.terms-subtitle {
    font-size: 1rem;
    color: var(--muted-2);
    max-width: 600px;
    margin: 0 auto;
}

.terms-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .terms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 640px) and (max-width: 1099px) {
    .term-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1100px) {
    .terms-container {
        max-width: 1400px;
    }
    .terms-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;
    }
    .term-card {
        padding: 1.25rem 1rem;
        border-radius: 14px;
    }
    .term-num {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
    }
    .term-name {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    .term-text {
        font-size: 0.8rem;
        line-height: 1.5;
    }
}

.term-card {
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.term-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}

.term-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent-text);
    margin-bottom: 1rem;
    line-height: 1;
}

.term-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.term-text {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
}

.booking-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 5rem 1.5rem;
    background-color: var(--surface-2);
    background-image: linear-gradient(rgba(6, 20, 35, 0.2), rgba(6, 20, 35, 0.3)), url("assets/booking-beach-sand-improved.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--border);
}

.booking-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.booking-background-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; opacity: 0; transition: opacity .5s ease; z-index: 0; }
.booking-video-playing .booking-background-video { opacity: 1; }
.booking-section::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(6,20,35,.2),rgba(6,20,35,.3)); pointer-events: none; z-index: 1; opacity: 0; }
.booking-video-playing::before { opacity: 1; }
@media(prefers-reduced-motion: reduce) { .booking-background-video { display: none; } .booking-video-playing::before { opacity: 0; } }
.booking-card {
    background-color: var(--surface);
    background-color: color-mix(in srgb, var(--surface) 45%, transparent);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

@media (min-width: 640px) {
    .booking-card {
        padding: 3.5rem 3rem;
    }
}

.booking-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.booking-badge {
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-strong);
    background-color: var(--accent-soft);
    border: 1px solid var(--accent-soft-border);
    border-radius: 9999px;
}

.booking-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.booking-subtitle {
    font-size: 0.95rem;
    color: var(--muted-2);
    max-width: 100%;
    margin: 0 auto;
}

.travel-guide { padding: 3rem 1.5rem; background: var(--bg); border-bottom: 1px solid var(--border); }
.guide-container { max-width: 1040px; margin: auto; }
.travel-guide h2 { text-align: center; font-size: clamp(1.65rem, 3vw, 2.5rem); letter-spacing: -.025em; margin: 0 0 1.5rem; }
.guide-questions { display: grid; gap: .75rem; }
.guide-questions details { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 14px; overflow: hidden; }
.guide-questions details[open] { border-color: var(--accent); }
.guide-questions summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.4rem; cursor: pointer; font-weight: 600; list-style: none; }
.guide-questions summary::-webkit-details-marker { display: none; }
.guide-plus { flex: 0 0 26px; width: 26px; height: 26px; border: 1px solid var(--accent-text); border-radius: 50%; color: var(--accent-text); display: grid; place-items: center; }
.guide-plus::before { content: '+'; font-size: 20px; line-height: 1; }
details[open] .guide-plus::before { content: '−'; }
.guide-questions p { padding: 0 1.4rem 1.3rem; margin: 0; color: var(--muted); line-height: 1.75; }
.guide-support { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; color: var(--muted); }
.guide-support a { padding: .8rem 1.1rem; border: 1px solid var(--accent); border-radius: 10px; }
.travel-guide a { color: var(--accent-text); text-decoration: none; font-weight: 600; }
.travel-guide a:hover { text-decoration: underline; }
.travel-guide :is(summary,button,a):focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.guide-places { margin-top: 3.5rem; }
.guide-places h2 { margin-bottom: .65rem; }
.guide-intro { text-align: center; color: var(--muted); line-height: 1.6; }
.guide-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0; }
.guide-filters button { background: var(--surface); color: var(--muted); border: 1px solid var(--border-strong); padding: .7rem 1rem; border-radius: 10px; cursor: pointer; font: inherit; }
.guide-filters button[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-text); }
.guide-place-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.guide-place { position: relative; isolation: isolate; overflow: hidden; min-height: 300px; background: #152332; border: 1px solid #34424f; border-radius: 14px; display: flex; align-items: flex-end; }
.guide-place-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.guide-place::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,rgba(5,15,26,.28) 0%,rgba(5,15,26,.5) 35%,rgba(5,15,26,.88) 73%,rgba(5,15,26,.96) 100%); }
.guide-place-content { width: 100%; padding: 1.5rem; display: flex; flex-direction: column; gap: .65rem; }
.guide-place h3 { color: #fff; font-size: clamp(1.2rem,2vw,1.5rem); line-height: 1.25; margin: 0; text-wrap: balance; }
.guide-place p { color: #edf2f8; font-size: .92rem; line-height: 1.55; margin: 0; }
.guide-place a { color: #55e5ff; align-self: flex-start; padding: .25rem 0; }
.guide-place a:focus-visible { outline-color: #55e5ff; }
.guide-place-text { background: linear-gradient(145deg, #173d46, #12232f 65%); align-items: stretch; }
.guide-place-text::before { display: none; }
.guide-place-text .guide-place-content { justify-content: center; }
.guide-place-text a { margin-top: auto; }
.guide-place-content small { color: #c5d5df; font-size: .72rem; line-height: 1.4; }
.guide-beach-note { max-width: 780px; margin: 0 auto 1.4rem; padding: .9rem 1.1rem; border: 1px solid var(--border-strong); border-radius: 10px; color: var(--muted); font-size: .85rem; line-height: 1.6; text-align: center; }
.guide-illustration, .guide-photo-credit { position: absolute; top: .75rem; right: .75rem; padding: .25rem .5rem; border-radius: 6px; background: rgba(5,15,26,.7); color: #e9f0f6; font-size: .68rem; letter-spacing: .02em; }
.guide-photo-credit { right: auto; left: .75rem; }
.guide-places { scroll-margin-top: 110px; }
@media(max-width: 639px) { .guide-place { min-height: 310px; } .guide-place-content { padding: 1.25rem; } }
.guide-place-beach .guide-place-photo { object-position: center 65%; }
.guide-place-beach .guide-place-content { text-shadow: 0 1px 3px #07121d, 0 0 6px #07121d; }
.guide-place-beach::before { background: linear-gradient(180deg,rgba(5,15,26,.04) 0%,rgba(5,15,26,.14) 30%,rgba(5,15,26,.62) 65%,rgba(5,15,26,.82) 100%); }
.guide-place-beach :is(.guide-illustration, .guide-photo-credit) { z-index: 1; }
.guide-note { color: var(--muted); font-size: .85rem; line-height: 1.6; margin-top: 1.2rem; }
@media(max-width: 639px) { .travel-guide { padding: 2rem 1rem; } .guide-place-grid { grid-template-columns: 1fr; } .guide-questions summary { padding: 1rem; } .guide-questions p { padding: 0 1rem 1rem; } }

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-2);
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    background-color: var(--bg);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.form-input:focus,
.form-select:focus {
    background-color: var(--surface);
    border-color: var(--accent);
}

.btn-submit {
    width: 100%;
    padding: 16px 24px;
    background-color: var(--accent);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.1s ease;
    box-shadow: 0 2px 4px rgba(8, 145, 178, 0.2);
}

.btn-submit:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.footer {
    background-color: var(--surface);
    border-top: 1px solid var(--border);
    padding: 4.5rem 1.5rem 2rem 1.5rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

.brand-col .footer-desc {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: var(--muted-2);
    line-height: 1.6;
    max-width: 320px;
}

.footer-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.footer-links,
.footer-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    text-decoration: none;
    font-size: 0.9rem;
    color: var(--muted);
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--accent-text);
}

.footer-info li {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.4;
}

.footer-info li span {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 2px;
}

.footer-social-text {
    font-size: 0.85rem;
    color: var(--muted-2);
    margin-bottom: 1rem;
}

.footer-social-links {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border);
    background-color: var(--bg);
    color: var(--text-2);
    transition: all 0.15s ease;
}

.social-btn:hover {
    background-color: var(--surface-2);
    border-color: var(--accent);
    color: var(--accent-text);
    transform: translateY(-1px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-soft);
    text-align: center;
}

.copyright {
    font-size: 0.8rem;
    color: var(--faint);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

html.has-open-modal,
html.has-open-modal body,
html.has-open-property,
html.has-open-property body {
    overflow: hidden;
    overscroll-behavior: none;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-window {
    position: relative;
    background-color: var(--surface);
    border-radius: 20px;
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    max-height: min(90vh, calc(100dvh - 3rem));
    overflow-y: auto;
    overscroll-behavior-y: contain;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.2s ease;
}

.modal-overlay.active .modal-window {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 38px;
    height: 38px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease;
}

.modal-close:hover {
    background-color: var(--surface-2);
}

.modal-media {
    position: relative;
    width: 100%;
    height: 280px;
    background-color: var(--surface-2);
}

.modal-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-year {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background-color: rgba(24, 24, 27, 0.85);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
}

.modal-info {
    padding: 1.75rem;
}

.modal-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
}

.modal-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-text);
    background-color: var(--accent-soft);
    border: 1px solid var(--accent-soft-border);
    padding: 4px 8px;
    border-radius: 6px;
}

.modal-desc {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.modal-specs-box {
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.modal-specs-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-2);
    margin-bottom: 0.75rem;
}

.modal-specs-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.modal-specs-list li {
    font-size: 0.85rem;
    color: var(--muted);
}

.modal-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.modal-price-box {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.modal-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-text);
}

.modal-period {
    font-size: 0.85rem;
    color: var(--muted-2);
}

.btn-modal-book {
    background-color: var(--accent);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 12px 24px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.btn-modal-book:hover {
    background-color: var(--accent-hover);
}

.btn-more-info {
    background: transparent;
    border: 1px solid var(--border-strong);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--muted);
    transition: all 0.15s ease;
}

.btn-more-info:hover {
    border-color: var(--accent);
    color: var(--accent-text);
    background-color: var(--accent-soft);
}

.success-window {
    max-width: 480px;
    text-align: center;
    padding: 2.5rem 2rem;
}

.success-icon {
    width: 64px;
    height: 64px;
    background-color: var(--accent-soft);
    color: var(--accent-text);
    border: 2px solid var(--accent-soft-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 1.5rem auto;
}

.success-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.success-desc {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.success-btn {
    width: 100%;
}

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 40px;
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 9px;
  cursor: pointer;
  outline: none;
  transition: background-color 0.15s ease;
  color: var(--text);
  flex-shrink: 0;
}

.burger-icon {
  display: block;
  width: 20px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.burger-icon-close { display: none; }
.burger-btn.active .burger-icon-lines { display: none; }
.burger-btn.active .burger-icon-close { display: block; }

@media (min-width: 769px) and (max-width: 1199px) {
  .burger-btn { display: flex; }
  .btn-header { display: none; }
}

.mobile-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
}

.mobile-drawer.active {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  padding: 6px 0;
}

.mobile-nav-link:hover {
  color: var(--accent-text);
}

.mobile-socials {
  display: flex;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .header-container {
    height: 72px;
    padding: 0 1rem;
  }

  .brand-logo {
    height: 46px;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .brand-subtitle {
    font-size: 9px;
  }

  .header-icon-desktop {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .lang-select {
    padding: 8px 10px;
    font-size: 0.8rem;
  }
}
.catalog-status {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted-2);
  font-weight: 500;
}

.card-price, .modal-price { white-space: nowrap; }

.form-error {
  margin-top: 0.75rem;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--error-bg);
  border: 1px solid var(--error-border);
  color: var(--error-text);
  font-size: 0.9rem;
  font-weight: 500;
}
.btn-submit:disabled { opacity: 0.7; cursor: wait; }
.success-bot-link { justify-content: center; margin-bottom: 0.5rem; text-decoration: none; }
.success-hint { font-size: 0.85rem; color: var(--muted-2); margin: 0 0 1rem; }

.theme-toggle {
    cursor: pointer;
    font: inherit;
}
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
.icon-svg.stroke {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body, .header, .card, .term-card, .booking-card, .modal-window, .footer, .form-input, .form-select {
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.days-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-text);
    background: var(--accent-soft);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--accent-soft-border);
}

:root[data-theme="dark"] .card-img,
:root[data-theme="dark"] .modal-img { filter: brightness(0.92); }
:root[data-theme="dark"] .card:hover,
:root[data-theme="dark"] .modal-window { box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5); }

:root[data-theme="dark"] input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.8); }

:lang(th) body { font-family: 'Kanit', 'Inter', sans-serif; }
:lang(zh) body { font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif; }

.footer-plain { font-weight: inherit; }

.card-footer { flex-wrap: wrap; gap: 0.75rem; }
.card-price-block { white-space: nowrap; }
.btn-more-info, .btn-book { white-space: nowrap; }

@media (max-width: 480px) {
  .header-container { gap: 0.5rem; padding: 0 0.75rem; }
  .brand-text { display: none; }
  .brand-logo { height: 46px; }
  .header-actions { gap: 0.5rem; }
  .header-actions .icon-link { padding: 9px; }
  .lang-select { padding: 8px 8px; font-size: 0.8rem; }
}

.mobile-drawer { background-color: var(--surface); }

.card-photos {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background-color: rgba(24, 24, 27, 0.75);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
}
.modal-media { overflow: hidden; }
.modal-img { background-color: transparent; }
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background-color: rgba(24, 24, 27, 0.6);
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 4px;
    transition: background-color 0.15s ease;
}
.gallery-nav:hover { background-color: rgba(8, 145, 178, 0.9); }
.gallery-nav[hidden], .gallery-counter[hidden], .gallery-thumbs[hidden] { display: none; }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: rgba(24, 24, 27, 0.75);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
}
.gallery-thumbs {
    display: flex;
    gap: 8px;
    padding: 12px 1.75rem 0;
    overflow-x: auto;
}
.gallery-thumb {
    flex: 0 0 auto;
    width: 72px;
    height: 54px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: var(--surface-2);
    opacity: 0.65;
    transition: opacity 0.15s ease, border-color 0.15s ease;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb.active { opacity: 1; border-color: var(--accent); }
@media (min-width: 640px) {
    .modal-media { height: 360px; }
}

.consent-group { margin: 0.25rem 0 1.25rem; }
.consent-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}
.consent-label input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent-label a { color: var(--accent-text); text-decoration: underline; }

.notice-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 900;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--surface);
  color: var(--text-2);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.25);
  font-size: 0.85rem;
  line-height: 1.5;
}
.notice-bar[hidden] { display: none; }
.notice-bar p { margin: 0; }
.notice-bar a { color: var(--accent-text); text-decoration: underline; white-space: nowrap; }
.notice-ok {
  flex: 0 0 auto;
  padding: 9px 18px;
  border: none;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.notice-ok:hover { background: var(--accent-hover); }
@media (max-width: 520px) {
  .notice-bar { flex-direction: column; align-items: stretch; }
}

.policy { max-width: 820px; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; color: var(--text-2); line-height: 1.7; }
.policy-back { color: var(--accent-text); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.policy-title { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 1rem 0 0.4rem; color: var(--text); }
.policy-version { color: var(--muted-2); font-size: 0.85rem; margin: 0 0 2rem; }
.policy-section h2 { font-size: 1.15rem; margin: 2rem 0 0.6rem; color: var(--text); }
.policy-section p { margin: 0.5rem 0; }
.policy-section ul { margin: 0.5rem 0; padding-left: 1.25rem; }
.policy-section li { margin: 0.3rem 0; }
:root[data-theme="dark"] 
.messenger-menu { position: relative; }
.messenger-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    padding-top: 8px;
    z-index: 60;
}
.messenger-menu.open .messenger-dropdown { display: block; }
.messenger-panel {
    min-width: 200px;
    padding: 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.25);
}
.messenger-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    background: none;
    color: var(--text-2);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}
.messenger-item:hover, .messenger-item:focus-visible { background: var(--surface-2); color: var(--accent-text); outline: none; }
.messenger-hint { font-size: 0.75rem; font-weight: 500; color: var(--muted-2); }

.messenger-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text-2);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}
.messenger-toggle:hover, .messenger-menu.open .messenger-toggle { border-color: var(--accent); color: var(--accent-text); }
@media (max-width: 380px) {
  .header-actions { gap: 6px; }
  .header-actions .icon-link { padding: 8px; }
  .lang-select { padding: 8px 6px; }
  .messenger-toggle { gap: 4px; padding: 0 8px; font-size: .8rem; }
}
.messenger-chevron { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.15s ease; }
.messenger-menu.open .messenger-chevron { transform: rotate(180deg); }

.footer-info a { color: inherit; text-decoration: none; }
.footer-info a:hover { color: var(--accent-text); }

.card-year, .card-photos, .modal-year, .gallery-nav, .gallery-counter { z-index: 2; }

/* Цена всегда сверху, кнопки под ней — одинаково во всех карточках */
.card-footer { flex-direction: column; align-items: flex-start; flex-wrap: nowrap; }

/* Компактнее: каталог виден сразу при заходе на сайт */
.hero { padding: 2rem 1.5rem 2.25rem; }
@media (min-width: 640px) { .hero { padding: 2.5rem 1.5rem 2.75rem; } }
.hero-badge { margin-bottom: 0.9rem; }
.hero-title { margin-bottom: 1rem; }
.hero-subtitle { margin-bottom: 1.25rem; }
.hero-features { gap: 1rem 1.5rem; margin-bottom: 1.5rem; }
.catalog-section { padding: 1rem 1.5rem 3rem; }
.catalog-header { margin-bottom: 1.5rem; }
.catalog-subtitle { margin-bottom: 1.25rem; }

.booking-notice { font-size: .85rem; line-height: 1.6; color: var(--muted); margin: 1rem 0; }
.booking-notice a, .policy-section a, .legal-nav a { color: var(--accent-text); text-decoration: underline; }
.legal-link { padding: 4px 0; border: 0; background: none; color: var(--accent-text); text-decoration: underline; font: inherit; cursor: pointer; }
.legal-nav { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.cookie-banner { max-width: 940px; z-index: 1000; }
.cookie-banner a { white-space: normal; }
.cookie-actions { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: .5rem; }
.cookie-actions .notice-ok { flex: 1; white-space: nowrap; }
.cookie-dialog { width: min(600px, calc(100% - 32px)); max-height: calc(100dvh - 40px); overflow: auto; margin: auto; padding: 1.5rem; border: 1px solid var(--border-strong); border-radius: 16px; color: var(--text); background: var(--surface); line-height: 1.6; }
.cookie-dialog::backdrop { background: rgb(0 0 0 / .55); }
.cookie-dialog h2 { margin-bottom: 1rem; }
.cookie-dialog .consent-label { padding: .6rem 0; color: var(--text); font-size: 1rem; }
.cookie-dialog p { margin: .8rem 0; font-size: .85rem; color: var(--muted); }
.policy-section h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.3; margin: 1.5rem 0; overflow-wrap: anywhere; }
#withdrawPanel { margin-top: 2rem; border-top: 1px solid var(--border); }
#withdrawForm input { margin: .5rem 0 1rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 600px) { .cookie-banner { flex-direction: column; align-items: stretch; max-height: 60dvh; overflow: auto; } .cookie-dialog { padding: 1rem; } }

/* Additional company information */
.rental-info { padding: 72px 24px; scroll-margin-top: 100px; }
.info-container { max-width: 1200px; margin: 0 auto; }
.info-story, .info-columns { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.rental-info h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.2; margin-bottom: 24px; letter-spacing: -.025em; }
.rental-info h3 { font-size: 24px; line-height: 1.3; margin-bottom: 20px; }
.rental-info p, .rental-info li { color: var(--muted); font-size: 16px; line-height: 1.8; }
.rental-info p + p { margin-top: 16px; }
.rental-info span[data-i18n="about.badge"] { display: block; color: var(--accent-text); font-weight: 700; margin-bottom: 16px; }
.info-care, .info-delivery { padding: 32px; border: 1px solid var(--border); border-radius: 24px; background: var(--surface); }
.info-tint { background: var(--surface-2); }
.rental-info ul { padding-left: 22px; margin-bottom: 24px; }
.rental-info li { padding-left: 6px; margin-bottom: 14px; }
.rental-info li::marker { color: var(--accent-text); }
.info-contact { max-width: 800px; text-align: center; }
.info-contact .btn-primary { display: inline-flex; margin-top: 28px; }
@media(max-width: 760px) {
 .rental-info { padding: 44px 20px; }
 .info-story, .info-columns { grid-template-columns: 1fr; gap: 28px; }
 .info-care, .info-delivery { padding: 24px; }
}

/* Compact information below the booking scene. */
#about { padding-top: 48px; padding-bottom: 36px; }
#about .info-story { gap: 40px; }
#about .info-care { padding: 0 0 0 32px; border: 0; border-left: 2px solid var(--accent-soft-border); border-radius: 0; background: transparent; }
#about h2 { font-size: clamp(26px, 3vw, 34px); }
#terms { padding-top: 24px; padding-bottom: 40px; }
.info-accordions { display: grid; gap: 12px; }
.info-accordions details { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden; }
.info-accordions summary { cursor: pointer; padding: 22px 26px; font-size: 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.info-accordions summary::-webkit-details-marker { display: none; }
.info-accordions summary::after { content: '+'; color: var(--accent-text); font-size: 24px; line-height: 1; }
.info-accordions details[open] summary::after { content: '−'; }
.info-details-body { padding: 0 26px 24px; max-width: 980px; }
.footer-intro { padding: 0 0 40px; margin-bottom: 36px; border-bottom: 1px solid var(--border); }
.footer-intro .info-contact { max-width: 960px; text-align: left; margin: 0; }
.footer-intro h2 { font-size: 28px; margin-bottom: 16px; }
.footer-intro p { font-size: 15px; }
.footer-intro .btn-primary { margin-top: 20px; }
@media(max-width: 760px) {
 #about .info-care { padding: 24px 0 0; border-left: 0; border-top: 2px solid var(--accent-soft-border); }
 .info-accordions summary { padding: 20px; font-size: 18px; }
 .info-details-body { padding: 0 20px 20px; }
}

/* Rental details belong with the booking form. */
#terms.booking-info { padding: 0; margin: 0 0 28px; scroll-margin-top: 110px; }
.booking-info .info-accordions { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px; }
.booking-info .info-accordions details { background: var(--surface-2); border-radius: 12px; }
.booking-info .info-accordions summary { padding: 16px 18px; font-size: 16px; line-height: 1.4; }
.booking-info .info-details-body { padding: 0 18px 18px; }
.booking-info p, .booking-info li { font-size: 14px; line-height: 1.65; }
.booking-info li { margin-bottom: 10px; }
@media(max-width: 760px) {
 .booking-info .info-accordions { grid-template-columns: 1fr; }
}

#terms.info-cards-section { padding-top: 32px; padding-bottom: 48px; scroll-margin-top: 110px; }

/* Tighter rental cards without reducing body text size. */
.info-cards-section .term-card { padding: 1.25rem 1rem; }
.info-cards-section .term-num { font-size: 1.3rem; margin-bottom: .6rem; }
.info-cards-section .term-name { margin-bottom: .5rem; }

.card-price-block { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; width: 100%; gap: 4px; }
.card-rental-term { justify-self: end; max-width: 100px; margin-left: 6px; font-size: .625rem; line-height: 1.2; text-align: right; color: var(--muted-2); font-weight: 400; white-space: normal; overflow-wrap: anywhere; }
