/* RadHotel website. Tokens: Caspian dawn and the Hyrcanian forest. Radii carry hierarchy: 2px controls, 0 photos,
   6px panels. No card shadows; surfaces separate by the sea-mist colour and 1px rules. Logical properties throughout,
   so the layout mirrors with the document direction. */

:root {
    --paper: #F7F8F6;
    --caspian: #13294B;
    --caspian-deep: #0C1B33;
    --sea-mist: #E4EDF2;
    --sea-mist-deep: #D3E1EA;
    --hyrcan: #2F5D50;
    --brass: #A8823A;
    --ink: #1D2733;
    --muted: #5A6675;
    --sold-out: #8A3B3B;
    --rule: #D5DEE5;
    --white: #FFFFFF;

    --wrap: 1360px;
    --gutter: 48px;
    --r-control: 2px;
    --r-panel: 6px;

    --fs-xs: 13px;
    --fs-base: 16px;
    --fs-md: 20px;
    --fs-lg: 28px;
    --fs-xl: 44px;
    --fs-2xl: 64px;

    --font: IRANSans, Tahoma, sans-serif;
    --font-latin: IRANSansLatin, Tahoma, sans-serif;
}

@media (max-width: 1100px) { :root { --gutter: 32px; } }
@media (max-width: 640px) { :root { --gutter: 16px; } }

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: var(--fs-base);
    font-weight: 400;
    line-height: 1.9;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
address { font-style: normal; }
a { color: var(--caspian); }
button, input, select { font: inherit; color: inherit; }

/* Left-to-right text keeps Latin digits: IRANSans draws every digit Persian, which misreads an email, a code or a card number. */
input[dir="ltr"], textarea[dir="ltr"], .ltr, [lang="en"] { font-family: var(--font-latin); }

:focus-visible { outline: 2px solid var(--hyrcan); outline-offset: 2px; }
.site-footer :focus-visible { outline-color: var(--sea-mist); }
main:focus { outline: none; }
body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}

.skip-link {
    position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
    background: var(--caspian); color: var(--white); padding: 8px 16px; border-radius: var(--r-control); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.muted { color: var(--muted); }
.lead { font-size: 17px; line-height: 1.95; color: var(--ink); max-width: 62ch; }

/* ---------- Buttons and links ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 28px; border-radius: var(--r-control);
    font-size: var(--fs-base); font-weight: 500; line-height: 1.4; text-decoration: none; white-space: nowrap;
    border: 1px solid transparent; cursor: pointer; transition: background-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--caspian); color: var(--white); }
.btn-primary:hover:not(:disabled) { background: var(--caspian-deep); }
.btn:disabled { opacity: .45; cursor: default; }
.btn-secondary { background: transparent; color: var(--caspian); border-color: var(--caspian); }
.btn-secondary:hover { background: var(--caspian); color: var(--white); }

.text-link {
    color: var(--caspian); font-weight: 500; font-size: 15px;
    text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--rule);
}
.text-link:hover { text-decoration-color: var(--caspian); }

.icon { flex: none; }
.icon-muted { color: #9AA6B2; }

/* ---------- Header ---------- */

.site-header { background: var(--white); border-bottom: 1px solid var(--rule); position: relative; z-index: 20; }
.header-row { display: flex; align-items: center; gap: 40px; min-height: 84px; }

.brand { display: grid; grid-template-columns: auto; justify-items: start; text-decoration: none; color: var(--caspian); line-height: 1.2; }
.brand-mark { width: 40px; height: 12px; margin-block-end: 2px; }
.brand-name { font-size: 28px; font-weight: 300; }
.brand-sub { font-size: var(--fs-xs); color: var(--muted); margin-block-start: 2px; }

.main-nav { flex: 1; }
.main-nav ul { display: flex; justify-content: center; gap: 36px; }
.main-nav a {
    display: inline-block; padding-block: 8px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500;
    border-bottom: 1px solid transparent;
}
.main-nav a:hover { color: var(--caspian); border-bottom-color: var(--rule); }
.main-nav a.is-active { color: var(--caspian); border-bottom-color: var(--caspian); }

.header-actions { display: flex; align-items: center; gap: 24px; }
.account-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.account-link:hover { color: var(--caspian); text-decoration: underline; text-underline-offset: 6px; }

.mobile-menu { display: none; }

@media (max-width: 1100px) {
    .header-row { gap: 20px; }
    .main-nav ul { gap: 22px; }
    .account-link span { display: none; }
}

@media (max-width: 900px) {
    .main-nav, .account-link { display: none; }
    .header-row { min-height: 68px; justify-content: space-between; }
    .brand-name { font-size: 24px; }
    .header-actions { margin-inline-start: auto; }
    .header-book { min-height: 40px; padding: 0 16px; font-size: 15px; }
    .mobile-menu { display: block; }
    .mobile-menu summary {
        list-style: none; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px;
        border: 1px solid var(--rule); border-radius: var(--r-control); color: var(--caspian);
    }
    .mobile-menu summary::-webkit-details-marker { display: none; }
    .mobile-nav {
        position: absolute; inset-inline: 0; top: 100%; background: var(--white);
        border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 16px;
    }
    .mobile-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); font-weight: 500; }
}

@media (max-width: 400px) {
    .brand-sub { display: none; }
}

/* ---------- Hero ---------- */

.hero {
    display: grid; grid-template-columns: max(40%, calc((100vw - var(--wrap)) / 2 + var(--gutter) + 520px)) minmax(0, 1fr);
    min-height: clamp(480px, calc(100vh - 220px), 620px);
    background: var(--sea-mist);
}
.hero-panel {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px;
    padding-block: 64px 104px;
    padding-inline-start: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
    padding-inline-end: 48px;
}
.display {
    font-size: clamp(38px, 4.4vw, var(--fs-2xl)); font-weight: 300; line-height: 1.25; color: var(--caspian);
    max-width: 11em;
}
.hero-panel .lead { max-width: 34em; }

.girih { position: absolute; width: 190px; height: 190px; top: -70px; inset-inline-end: -70px; opacity: .9; }

.hero-media { position: relative; overflow: hidden; background: #C9D9E4; }
.hero-photo { position: absolute; inset: 0; }
.hero-photo > img, .hero-photo > svg {
    width: 100%; height: 100%; object-fit: cover; max-width: none;
    transform-origin: 60% 70%;
    animation: hero-drift 20s ease-in-out infinite alternate;
}
.hero-photo > img { object-position: 30% 58%; }
.hero-mist {
    position: absolute; inset: -10% 0 0; pointer-events: none;
    background: linear-gradient(to top, rgba(247, 248, 246, .95) 0%, rgba(247, 248, 246, .75) 35%, rgba(228, 237, 242, .35) 70%, rgba(228, 237, 242, 0) 100%);
    animation: mist-lift 1.6s cubic-bezier(.2, .7, .2, 1) .25s both;
}

@keyframes hero-drift { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes mist-lift { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-14%); } }

.hero-bar { position: relative; z-index: 5; margin-block-start: -56px; display: flex; justify-content: center; }
.hero-bar .booking-bar { width: 100%; max-width: 1080px; }

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; min-height: 0; }
    .hero-media { order: -1; height: 300px; }
    .hero-panel { padding: 32px var(--gutter) 88px; gap: 16px; }
    .girih { width: 140px; height: 140px; top: -56px; inset-inline-end: -56px; }
    .hero-bar { margin-block-start: -64px; }
}

@media (max-width: 640px) {
    .hero-media { height: 220px; }
    .hero-panel { padding-bottom: 72px; }
    .hero-panel .btn { display: none; }
    .hero-bar { margin-block-start: -48px; }
}

/* ---------- Booking bar ---------- */

.booking-bar {
    position: relative;
    display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr) auto; align-items: stretch;
    background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-panel); padding: 8px;
}
.bb-dates { position: relative; display: grid; grid-template-columns: 1fr 1fr; }

.bb-field {
    display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0;
    padding: 6px 18px; text-align: start; background: transparent; border: 0; border-radius: var(--r-control);
    border-inline-start: 1px solid var(--rule);
}
.bb-dates > .bb-field:first-child { border-inline-start: 0; }
.bb-label { font-size: var(--fs-xs); font-weight: 500; color: var(--muted); line-height: 1.5; }
.bb-value { font-size: var(--fs-base); font-weight: 500; color: var(--ink); line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-date { cursor: pointer; }
.bb-date:hover, .bb-select:hover { background: #F2F6F8; }
.bb-date.is-open { background: var(--sea-mist); }
.bb-date[data-empty] .bb-value { color: var(--muted); font-weight: 400; }

.bb-field select, .bb-field input {
    width: 100%; border: 0; background: transparent; padding: 0; font-size: var(--fs-base); font-weight: 500; line-height: 1.6;
    color: var(--ink); cursor: pointer; border-radius: var(--r-control);
}
.bb-field select {
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6675' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-size: 18px; background-position: left 0 center; padding-inline-end: 24px;
}
.bb-submit { min-height: 56px; margin-inline-start: 8px; }

/* The native date inputs are the no-script fallback; the Jalali buttons need the script. */
.bb-native { display: none; }
@media (scripting: none) {
    .bb-native { display: flex; }
    .bb-date { display: none; }
}

.booking-bar--stacked { grid-template-columns: 1fr 1fr; gap: 0; padding: 0; border-radius: var(--r-panel); }
.booking-bar--stacked .bb-dates { grid-column: 1 / -1; border-bottom: 1px solid var(--rule); }
.booking-bar--stacked .bb-field { padding: 10px 16px; }
.booking-bar--stacked .bb-select:first-of-type { border-inline-start: 0; }
.booking-bar--stacked .bb-submit { grid-column: 1 / -1; margin: 8px; }

@media (max-width: 900px) {
    .booking-bar { grid-template-columns: 1fr 1fr; padding: 0; }
    .booking-bar .bb-dates { grid-column: 1 / -1; border-bottom: 1px solid var(--rule); }
    .booking-bar .bb-field { padding: 10px 16px; min-height: 60px; }
    .booking-bar .bb-select:first-of-type { border-inline-start: 0; }
    .booking-bar .bb-submit { grid-column: 1 / -1; margin: 8px; }
}

/* ---------- Jalali range calendar (js/jalali-range.js) ---------- */

.jr-pop {
    position: absolute; top: calc(100% + 10px); inset-inline-start: -8px; z-index: 60;
    width: max-content; max-width: calc(100vw - 2 * var(--gutter));
    background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-panel);
    box-shadow: 0 16px 40px rgba(19, 41, 75, .14);
    padding: 20px 24px 16px;
}
.jr-pop[hidden] { display: none; }
.jr-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.jr-title { font-size: 15px; font-weight: 500; color: var(--caspian); }
.jr-nav {
    display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--rule); background: var(--white);
    border-radius: var(--r-control); color: var(--caspian); cursor: pointer;
}
.jr-nav:hover:not(:disabled) { background: var(--sea-mist); }
.jr-nav:disabled { opacity: .35; cursor: default; }
.jr-head-end { display: flex; gap: 8px; }
.jr-close { display: none; }
.jr-months { display: grid; grid-template-columns: repeat(2, 288px); gap: 40px; }
.jr-month-title { text-align: center; font-weight: 500; color: var(--caspian); margin-bottom: 8px; }
.jr-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; }
.jr-wd { text-align: center; font-size: var(--fs-xs); color: var(--muted); padding-bottom: 6px; }
.jr-wd.is-friday { color: var(--sold-out); }
.jr-day {
    position: relative; height: 40px; border: 0; background: transparent; cursor: pointer; border-radius: 0;
    font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1;
}
.jr-day:hover:not(:disabled) { background: var(--sea-mist); }
.jr-day.is-friday { color: var(--sold-out); }
.jr-day:disabled { color: #B2BAC3; cursor: default; font-weight: 400; }
.jr-day.is-today::after {
    content: ""; position: absolute; bottom: 6px; inset-inline-start: 50%; width: 4px; height: 4px; margin-inline-start: -2px;
    border-radius: 50%; background: currentColor;
}
.jr-day.in-range { background: var(--sea-mist); }
.jr-day.is-start, .jr-day.is-end { background: var(--caspian); color: var(--white); border-radius: var(--r-control); }
.jr-day:focus-visible { outline-offset: -2px; z-index: 1; }
.jr-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule);
}
.jr-summary { font-size: 15px; color: var(--muted); }
.jr-summary strong { color: var(--ink); font-weight: 500; }
.jr-actions { display: flex; gap: 8px; }
.jr-actions .btn { min-height: 40px; padding: 0 18px; font-size: 15px; }
.jr-clear { background: none; border: 0; color: var(--caspian); text-decoration: underline; text-underline-offset: 5px; cursor: pointer; font-weight: 500; font-size: 15px; }

@media (max-width: 760px) {
    .jr-pop {
        position: fixed; inset: auto 0 0 0; width: auto; max-width: none; max-height: 92vh; overflow-y: auto;
        border-radius: 12px 12px 0 0; padding: 16px var(--gutter) 20px;
        box-shadow: 0 -12px 40px rgba(19, 41, 75, .22);
    }
    .jr-months { grid-template-columns: 1fr; }
    .jr-month + .jr-month { display: none; }
    .jr-day { height: 46px; }
    .jr-close { display: grid; }
    .jr-backdrop { position: fixed; inset: 0; background: rgba(19, 41, 75, .35); z-index: 59; }
}
@media (min-width: 761px) { .jr-backdrop { display: none; } }
.jr-backdrop[hidden] { display: none; }

/* ---------- Home: rooms and panels ---------- */

.home-grid {
    display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: 40px;
    padding-block: 72px 96px;
}
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.kicker { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 500; color: var(--hyrcan); margin-bottom: 6px; }
.section-title { font-size: var(--fs-lg); font-weight: 300; line-height: 1.4; color: var(--caspian); }
.section-title--sm { font-size: var(--fs-md); font-weight: 500; margin: 36px 0 12px; }
.section-lead { color: var(--muted); max-width: 70ch; margin-top: 8px; }
.empty-note { padding: 24px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-panel); max-width: 70ch; }

.room-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.room-grid--all { gap: 24px; }

.room-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--rule); }
.room-card-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.room-card-media > * { width: 100%; height: 100%; object-fit: cover; }
.room-card-body { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px 20px; flex: 1; }
.room-card-head { display: flex; flex-direction: column; gap: 2px; }
.room-card-name { font-size: 18px; font-weight: 500; line-height: 1.6; }
.room-card-name a { color: var(--caspian); text-decoration: none; }
.room-card-name a:hover { text-decoration: underline; text-underline-offset: 6px; }
.room-card-price { font-size: var(--fs-xs); color: var(--muted); }
.room-card .text-link { margin-top: auto; align-self: flex-start; }

.facts { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.7; }
.facts li { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.facts .icon { color: var(--muted); }
.facts--inline { flex-direction: row; flex-wrap: wrap; gap: 6px 20px; }

.home-panels { display: flex; flex-direction: column; gap: 16px; padding-top: 4px; }
.panel { background: var(--sea-mist); border-radius: var(--r-panel); padding: 24px; }
.panel p { font-size: 15px; line-height: 1.9; }
.panel-title { font-size: var(--fs-md); font-weight: 500; line-height: 1.5; color: var(--caspian); margin-bottom: 8px; }
.panel-subtitle { font-size: var(--fs-base); font-weight: 500; color: var(--caspian); margin: 20px 0 8px; }
.panel .text-link { display: inline-block; margin-top: 12px; }
.panel--split { display: grid; grid-template-columns: minmax(0, 1fr) 38%; padding: 0; overflow: hidden; }
.panel--split .panel-text { padding: 22px 24px; }
.panel-media { min-height: 100%; }
.panel-media > * { width: 100%; height: 100%; object-fit: cover; }
.panel-media .ph { background-color: var(--sea-mist-deep); }

.amenity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin-top: 8px; }
.amenity-grid li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.amenity-grid .icon { color: var(--caspian); }
.amenity-grid--page { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; font-size: var(--fs-base); }

@media (max-width: 1180px) {
    .home-grid { grid-template-columns: 1fr; }
    .home-panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .panel--split { grid-template-columns: 1fr; grid-template-rows: auto 160px; }
    .panel--split .panel-media { order: -1; }
}
@media (max-width: 900px) {
    .room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-panels { grid-template-columns: 1fr; }
    .panel--split { grid-template-columns: minmax(0, 1fr) 36%; grid-template-rows: none; }
    .panel--split .panel-media { order: 0; }
    .home-grid { padding-block: 48px 64px; }
}
@media (max-width: 640px) {
    .room-grid { grid-template-columns: 1fr; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .section-title { font-size: 24px; }
    .panel--split { grid-template-columns: 1fr; }
    .panel--split .panel-media { order: -1; height: 150px; }
}

/* ---------- Placeholders (until photos are installed) ---------- */

.ph {
    display: grid; place-items: center; width: 100%; height: 100%; min-height: 120px;
    background-color: var(--sea-mist);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='24' viewBox='0 0 120 24'%3E%3Cpath d='M0 12c10 0 10-6 20-6s10 6 20 6 10-6 20-6 10 6 20 6 10-6 20-6 10 6 20 6' fill='none' stroke='%23C3D3DE' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 120px 24px;
    color: var(--caspian);
}
.ph-name { background: var(--white); padding: 4px 14px; border-radius: var(--r-control); font-size: 14px; font-weight: 500; }
.ph-scene .ph-name { background: transparent; color: var(--muted); font-weight: 400; font-size: var(--fs-xs); }

/* ---------- Inner pages ---------- */

.page-band { background: var(--sea-mist); padding-block: 48px 40px; }
.page-band--tight { padding-block: 32px; }
.page-band .lead { margin-top: 8px; }
.page-band .booking-bar { margin-top: 24px; }
.page-title { font-size: var(--fs-xl); font-weight: 300; line-height: 1.3; color: var(--caspian); }
.page-body { padding-block: 48px 96px; }

.crumbs { font-size: var(--fs-xs); color: var(--muted); margin-bottom: 16px; display: flex; gap: 8px; }
.crumbs a { color: var(--caspian); }

@media (max-width: 640px) {
    .page-title { font-size: 32px; }
    .page-band { padding-block: 32px 28px; }
    .page-body { padding-block: 32px 64px; }
}

/* Comparison */
.compare { margin-top: 72px; }
.compare-scroll { margin-top: 24px; overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--r-panel); background: var(--white); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: start; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.compare-table thead th { background: var(--sea-mist); font-size: var(--fs-xs); font-weight: 500; color: var(--caspian); white-space: nowrap; }
.compare-table tbody th { font-weight: 500; white-space: nowrap; }
.compare-table tbody th a { color: var(--caspian); text-decoration: none; }
.compare-table tbody th a:hover { text-decoration: underline; text-underline-offset: 6px; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table td.has, .compare-table td.hasnt { text-align: center; }
.compare-table .c-nowrap { white-space: nowrap; }
.compare-table .c-bed { min-width: 190px; }
.compare-table thead th.c-amenity { white-space: normal; text-align: center; min-width: 64px; max-width: 96px; line-height: 1.6; }
.compare-table td.has .icon { color: var(--hyrcan); margin-inline: auto; }
.compare-table td.hasnt .icon { margin-inline: auto; }

@media (max-width: 760px) {
    .compare-scroll { border: 0; background: transparent; overflow: visible; }
    .compare-table thead { display: none; }
    .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; }
    .compare-table tr { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-panel); margin-bottom: 12px; padding: 4px 0; }
    .compare-table tbody th { font-size: var(--fs-md); border-bottom: 1px solid var(--rule); }
    .compare-table td { display: flex; justify-content: space-between; gap: 16px; padding: 8px 16px; border-bottom: 0; }
    .compare-table td::before { content: attr(data-label); color: var(--muted); font-size: 14px; }
    .compare-table td.has, .compare-table td.hasnt { text-align: start; }
    .compare-table td .icon { margin-inline: 0 !important; }
    .compare-table tbody tr:last-child > * { border-bottom: 0; }
}

/* Room detail */
.gallery { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 40px; }
.gallery--many { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 220px); }
.gallery figure { position: relative; overflow: hidden; background: var(--sea-mist); }
.gallery-main { aspect-ratio: 21 / 8; max-height: 460px; }
.gallery-main:has(> .ph) { aspect-ratio: auto; height: 240px; }
.gallery--many .gallery-main { grid-row: 1 / 3; aspect-ratio: auto; }
.gallery figure > img, .gallery figure > .ph { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption {
    position: absolute; inset-inline: 0; bottom: 0; padding: 24px 16px 10px; font-size: var(--fs-xs); color: var(--white);
    background: linear-gradient(to top, rgba(12, 27, 51, .78), rgba(12, 27, 51, 0));
}
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
.detail-main .lead { margin-top: 12px; }
.detail-book { position: sticky; top: 24px; background: var(--sea-mist); border-radius: var(--r-panel); padding: 24px; }
.detail-book .muted { font-size: 15px; margin-bottom: 16px; }

.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 28px; border-top: 1px solid var(--rule); }
.spec > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.spec dt { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; }
.spec dd { font-weight: 500; text-align: end; }

.amenity-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; }
.amenity-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.amenity-list .icon { color: var(--caspian); }

@media (max-width: 1000px) {
    .detail-grid { grid-template-columns: 1fr; gap: 40px; }
    .detail-book { position: static; }
    .gallery--many { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 140px; }
    .gallery--many .gallery-main { grid-column: 1 / -1; grid-row: auto; }
    .gallery--many .gallery-thumb:nth-of-type(n + 4) { display: none; }
}
@media (max-width: 640px) {
    .gallery-main { aspect-ratio: 4 / 3; }
    .spec { grid-template-columns: 1fr; }
    .amenity-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Split pages: location, accessibility, amenities */
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.split-text > .section-title--sm:first-child { margin-top: 0; }
.split-text p, .split-text address { max-width: 66ch; }
.split-text .btn { margin-top: 16px; }
.split-media { position: sticky; top: 24px; }
.split-media .tall, .split-media > img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; }
.split-media .ph.tall { min-height: 420px; }
.split-media--pair { display: grid; gap: 8px; }
.split-media--pair > * { aspect-ratio: 4 / 3; width: 100%; height: auto; object-fit: cover; }

.distance-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.distance-list dt { color: var(--ink); }
.distance-list dd { color: var(--muted); white-space: nowrap; }
.check-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--hyrcan); margin-top: 5px; }
.plain-list { display: flex; flex-direction: column; gap: 8px; }
.plain-list li { position: relative; padding-inline-start: 18px; font-size: 15px; }
.plain-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .9em; width: 6px; height: 1px; background: var(--muted); }

@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; gap: 32px; }
    .split-media { position: static; order: -1; }
    .split-media .tall, .split-media > img { aspect-ratio: 16 / 9; }
    .split-media .ph.tall { min-height: 200px; }
}

.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.contact-list { display: flex; flex-direction: column; gap: 14px; margin: 8px 0 16px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { color: var(--caspian); margin-top: 4px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

.status-page { max-width: 760px; }
.status-page .lead { margin: 12px 0 24px; }
.status-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }

/* ---------- Search results ---------- */

.stay-summary { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--ink); font-weight: 500; }
.stay-summary .icon { color: var(--muted); }
.results-meta { font-size: 15px; margin-bottom: 16px; }
.results { display: flex; flex-direction: column; gap: 16px; }
.result {
    display: grid; grid-template-columns: 240px minmax(0, 1fr) 260px;
    background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-panel); overflow: hidden;
}
.result--chosen { border-color: var(--caspian); }
.result-media { min-height: 180px; }
.result-media > * { width: 100%; height: 100%; object-fit: cover; }
.result-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 24px; }
.result-name { font-size: var(--fs-md); font-weight: 500; line-height: 1.5; }
.result-name a { color: var(--caspian); text-decoration: none; }
.result-name a:hover { text-decoration: underline; text-underline-offset: 6px; }
.result-price {
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px;
    padding: 20px 24px; border-inline-start: 1px solid var(--rule);
}
.result-price .btn { margin-top: 12px; width: 100%; }
.price { display: flex; align-items: baseline; gap: 6px; color: var(--caspian); }
.price-amount { font-size: 26px; font-weight: 700; line-height: 1.3; }
.price-unit { font-size: 15px; color: var(--muted); }
.price-note { font-size: var(--fs-xs); color: var(--muted); }
.deposit { font-size: 14px; color: var(--ink); margin-top: 4px; }

.avail { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.avail--ok { color: var(--hyrcan); font-weight: 500; }
.avail-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hyrcan); }
.avail--out { color: var(--ink); }
.avail--none { color: var(--muted); }
.tag { display: inline-block; padding: 1px 10px; border-radius: var(--r-control); font-size: var(--fs-xs); font-weight: 500; line-height: 1.8; }
.tag--out { background: #F5E9E9; color: var(--sold-out); }
.result--soldout .result-media, .result--soldout .result-name a { opacity: .7; }

.nights summary { cursor: pointer; color: var(--caspian); font-size: 14px; font-weight: 500; width: max-content; }
.nights summary:hover { text-decoration: underline; text-underline-offset: 5px; }
.nights table { margin-top: 8px; border-collapse: collapse; font-size: 14px; min-width: 280px; }
.nights th, .nights td { padding: 6px 0; border-bottom: 1px solid var(--rule); text-align: start; font-weight: 400; }
.nights td { text-align: end; padding-inline-start: 32px; font-weight: 500; }

.notice {
    display: flex; gap: 14px; align-items: flex-start; max-width: 760px;
    background: var(--white); border: 1px solid var(--rule); border-inline-start: 3px solid var(--sold-out);
    border-radius: var(--r-panel); padding: 18px 20px;
}
.notice .icon { color: var(--sold-out); margin-top: 3px; }
.notice-title { font-weight: 500; }

@media (max-width: 1000px) {
    .result { grid-template-columns: 200px minmax(0, 1fr); }
    .result-price { grid-column: 1 / -1; border-inline-start: 0; border-top: 1px solid var(--rule); flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
    .result-price .btn { width: auto; margin-top: 0; margin-inline-start: auto; }
}
@media (max-width: 640px) {
    .result { grid-template-columns: 1fr; }
    .result-media { height: 180px; }
    .result-price { flex-direction: column; align-items: stretch; }
    .result-price .btn { width: 100%; margin-inline-start: 0; margin-top: 8px; }
}

/* ---------- Header: the signed-in guest ---------- */

.account-name { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: var(--caspian); max-width: 14ch; }
.account-name > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.logout-form { display: inline; }
.link-button {
    background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 500; color: var(--caspian);
    text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 6px;
}
.link-button:hover { text-decoration-color: var(--caspian); }
@media (max-width: 1100px) { .account-name > span { display: none; } }
@media (max-width: 900px) {
    .account-name, .logout-form { display: none; }
    .mobile-nav .link-button { display: block; width: 100%; text-align: start; padding: 12px 0; text-decoration: none; color: var(--ink); }
}

/* ---------- Forms ---------- */

.form { display: flex; flex-direction: column; gap: 20px; max-width: 440px; }
.form--wide { max-width: 640px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field-optional { font-weight: 400; color: var(--muted); }
.field input:not([type="checkbox"]):not([type="file"]), .field select, .field textarea {
    width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #B9C6D1; border-radius: var(--r-control);
    background: var(--white); font-size: var(--fs-base); line-height: 1.6; color: var(--ink);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input[readonly] { background: var(--paper); color: var(--muted); }
.field input:hover:not([readonly]), .field select:hover, .field textarea:hover { border-color: var(--caspian); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--hyrcan); outline-offset: 0; border-color: var(--hyrcan); }
.field input[type="file"] { font-size: 15px; padding: 10px 0; }
.field-hint { font-size: var(--fs-xs); color: var(--muted); line-height: 1.8; }
.field-error { font-size: 14px; color: var(--sold-out); font-weight: 500; line-height: 1.7; }
.field.has-error input, .field.has-error select, .field.has-error textarea, .field.has-error .date-button { border-color: var(--sold-out); }
.code-input { font-size: 24px !important; letter-spacing: .4em; text-align: center; max-width: 240px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--caspian); }
.btn-block { width: 100%; }
.form-intro { margin-bottom: 20px; max-width: 60ch; }
.form-links { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; font-size: 15px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 4px; }
.resend { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-top: 24px; font-size: 15px; }
.strong { font-weight: 500; }
.start { text-align: start; }

@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; }
    .form, .form--wide { max-width: none; }
}

/* ---------- Single Jalali date (slip paid date) ---------- */

.date-field { position: relative; }
.date-button {
    display: flex; align-items: center; gap: 10px; width: 100%; max-width: 320px; min-height: 48px; padding: 10px 14px;
    border: 1px solid #B9C6D1; border-radius: var(--r-control); background: var(--white); cursor: pointer; text-align: start;
}
.date-button:hover { border-color: var(--caspian); }
.date-button .icon { color: var(--muted); }
.date-button.is-open { background: var(--sea-mist); }
.date-field.has-calendar .date-native { display: none; }
.date-field:not(.has-calendar) .date-button { display: none; }
.date-field .jr-months { grid-template-columns: 288px; }
@media (max-width: 760px) { .date-field .jr-months { grid-template-columns: 1fr; } }

/* ---------- Account pages ---------- */

.auth-grid { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 380px); justify-content: space-between; gap: 56px; align-items: start; }
.auth-form > .notice { margin-bottom: 20px; }
.auth-aside .check-list { margin-top: 12px; }
.auth-aside .muted { font-size: 14px; }
.notice-links { display: flex; gap: 20px; margin-top: 8px; }
@media (max-width: 900px) { .auth-grid { grid-template-columns: 1fr; gap: 32px; } }

.notice--ok { border-inline-start-color: var(--hyrcan); }
.notice--ok .icon { color: var(--hyrcan); }
.notice--info { border-inline-start-color: var(--caspian); align-items: center; }
.notice--info .icon { color: var(--caspian); }

.tag--ok { background: #E3EEE9; color: #24493F; }
.tag--wait { background: #F4ECDD; color: #6B4F1D; }
.tag--bad { background: #F5E9E9; color: var(--sold-out); }
.tag--neutral { background: var(--sea-mist); color: var(--caspian); }

/* ---------- Booking flow ---------- */

.stepper { margin-top: 20px; }
.stepper ol { display: flex; flex-wrap: wrap; gap: 8px 0; }
.step { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.step + .step::before { content: ""; width: 28px; height: 1px; background: #B9C6D1; margin-inline: 10px; }
.step-no {
    display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid #B9C6D1;
    font-size: var(--fs-xs); font-weight: 500; background: var(--white);
}
.step.is-done { color: var(--ink); }
.step.is-done .step-no { background: var(--hyrcan); border-color: var(--hyrcan); color: var(--white); }
.step.is-current { color: var(--caspian); font-weight: 500; }
.step.is-current .step-no { background: var(--caspian); border-color: var(--caspian); color: var(--white); }
.stepper-compact { display: none; font-size: 15px; color: var(--muted); }
.stepper-compact strong { color: var(--caspian); font-weight: 500; }
@media (max-width: 1000px) {
    .stepper ol { display: none; }
    .stepper-compact { display: block; }
}

.flow-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
.flow-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.flow-step { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-panel); padding: 22px 24px; }
.flow-step--current { border-color: var(--caspian); }
.flow-step > * + * { margin-top: 10px; }
.flow-step-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.flow-step-title { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 500; color: var(--caspian); line-height: 1.6; }
.flow-step-no {
    display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; flex: none;
    background: var(--sea-mist); color: var(--caspian); font-size: var(--fs-xs);
}
.flow-step-value { font-weight: 500; }
.flow-step .form { margin-top: 20px; }
.flow-step .notice { margin-top: 12px; }
.flow-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.flow-edit summary { cursor: pointer; color: var(--caspian); font-size: 14px; font-weight: 500; width: max-content; }
.flow-edit summary:hover { text-decoration: underline; text-underline-offset: 5px; }
.flow-edit .booking-bar { margin-top: 12px; box-shadow: none; }
.flow-submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
    background: var(--sea-mist); border-radius: var(--r-panel); padding: 20px 24px; }
.flow-submit .btn { min-width: 200px; }
.policy-times { font-size: 14px; }

.review-list > div { display: flex; justify-content: space-between; gap: 24px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.review-list > div:last-child { border-bottom: 0; }
.review-list dt { color: var(--muted); font-size: 15px; }
.review-list dd { text-align: end; overflow-wrap: anywhere; }

.stay-card { position: sticky; top: 24px; background: var(--sea-mist); border-radius: var(--r-panel); overflow: hidden; }
.stay-card-media { aspect-ratio: 16 / 9; }
.stay-card-media > * { width: 100%; height: 100%; object-fit: cover; }
.stay-card-body { padding: 20px 24px 24px; }
.stay-card-name { font-size: var(--fs-md); font-weight: 500; color: var(--caspian); margin-bottom: 8px; }
.stay-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--sea-mist-deep); font-size: 15px; }
.stay-facts dt { color: var(--muted); }
.stay-facts dd { font-weight: 500; text-align: end; }
.stay-facts--money { margin-top: 8px; }
.night-table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 14px; }
.night-table caption { text-align: start; font-weight: 500; color: var(--caspian); padding-bottom: 4px; }
.night-table th, .night-table td { padding: 5px 0; border-bottom: 1px solid var(--sea-mist-deep); font-weight: 400; text-align: start; }
.night-table td { text-align: end; }
.stay-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 16px; font-weight: 500; }
.stay-deposit { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--brass); font-size: 15px; }
.stay-help { font-size: 14px; margin-top: 16px; }

@media (max-width: 1000px) {
    .flow-grid { grid-template-columns: 1fr; gap: 24px; }
    .stay-card { position: static; order: -1; display: grid; grid-template-columns: 160px minmax(0, 1fr); }
    .stay-card-media { aspect-ratio: auto; }
}
@media (max-width: 560px) {
    /* On a phone the summary stays above the step but keeps to the stay and the total; the photo and nightly prices
       were already seen in the search results. */
    .stay-card { grid-template-columns: 1fr; }
    .flow-grid .stay-card-media, .flow-grid .night-table { display: none; }
    .flow-step { padding: 18px 16px; }
    .flow-submit .btn { width: 100%; }
}

/* ---------- Booking and payment pages ---------- */

.booking-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
.booking-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.conf-head { display: flex; flex-wrap: wrap; gap: 24px 56px; padding-bottom: 20px; border-bottom: 1px solid var(--brass); }
.conf-label { font-size: var(--fs-xs); color: var(--muted); font-weight: 500; }
.conf-no { font-size: var(--fs-lg); font-weight: 700; color: var(--caspian); line-height: 1.4; letter-spacing: .04em; text-align: start; }
.conf-explain { max-width: 66ch; }
.deposit-box { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-panel); padding: 22px 24px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.choice { display: flex; flex-direction: column; gap: 8px; background: var(--sea-mist); border-radius: var(--r-panel); padding: 18px 20px; }
.choice-title { font-weight: 500; color: var(--caspian); font-size: 17px; }
.choice-text { font-size: 14px; color: var(--ink); flex: 1; }
.choice .btn { align-self: flex-start; margin-top: 6px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--r-panel); background: var(--white); }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.data-table th, .data-table td { padding: 12px 16px; border-bottom: 1px solid var(--rule); text-align: start; white-space: nowrap; }
.data-table thead th { background: var(--sea-mist); font-size: var(--fs-xs); font-weight: 500; color: var(--caspian); }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.slip-list { display: flex; flex-direction: column; gap: 8px; }
.slip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
    background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-panel); padding: 14px 18px; }
.slip-main { display: flex; flex-direction: column; font-size: 15px; }
.slip-reason { flex-basis: 100%; font-size: 14px; color: var(--sold-out); }

.booking-list { display: flex; flex-direction: column; gap: 12px; max-width: 980px; }
.booking-row { display: flex; justify-content: space-between; gap: 24px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-panel); padding: 18px 24px; }
.booking-row-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.booking-row-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.booking-row-title a { font-size: 18px; font-weight: 500; color: var(--caspian); text-decoration: none; }
.booking-row-title a:hover { text-decoration: underline; text-underline-offset: 6px; }
.booking-row-title .muted { font-size: 14px; }
.booking-row-due { font-size: 14px; color: #6B4F1D; }
.booking-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }
.booking-row-total { font-weight: 700; color: var(--caspian); }

.slip-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 56px; align-items: start; }
.slip-step > * + * { margin-top: 16px; }
.bank-card {
    position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 10px;
    background: var(--caspian); color: var(--white); aspect-ratio: 1.586; max-width: 400px; justify-content: flex-end;
}
.bank-card::before { content: ""; position: absolute; top: 24px; inset-inline-start: 24px; width: 44px; height: 32px; border: 1px solid var(--brass); border-radius: 4px; }
.bank-card-bank { position: absolute; top: 24px; inset-inline-end: 24px; font-size: 14px; color: var(--sea-mist); }
.bank-card-no { font-size: 24px; font-weight: 500; letter-spacing: .08em; text-align: start; }
.bank-card-holder { font-size: 14px; color: var(--sea-mist); }
.btn-on-dark { color: var(--white); border-color: rgba(255, 255, 255, .7); align-self: flex-start; min-height: 40px; padding: 0 18px; font-size: 15px; margin-top: 6px; }
.btn-on-dark:hover { background: var(--white); color: var(--caspian); }
.btn-on-dark:focus-visible { outline-color: var(--sea-mist); }

.result-box { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--r-panel); border: 1px solid var(--rule); background: var(--white); }
.result-box--paid { border-inline-start: 4px solid var(--hyrcan); }
.result-box--paid .icon { color: var(--hyrcan); }
.result-box--failed { border-inline-start: 4px solid var(--sold-out); }
.result-box--failed .icon { color: var(--sold-out); }
.result-box--pending { border-inline-start: 4px solid var(--brass); }
.result-box--pending .icon { color: #6B4F1D; }
.result-title { font-size: var(--fs-md); font-weight: 500; color: var(--caspian); margin-bottom: 4px; }
.result-facts { margin-top: 24px; }

.mail-list { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.mail { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-panel); padding: 16px 20px; }
.mail-meta { font-size: 14px; display: flex; gap: 12px; }
.mail-subject { font-weight: 500; color: var(--caspian); margin: 4px 0 8px; }
.mail-body { white-space: pre-wrap; font: inherit; font-size: 15px; margin: 0; }

@media (max-width: 1000px) {
    .booking-grid, .slip-grid { grid-template-columns: 1fr; gap: 32px; }
    .booking-grid .stay-card { order: 0; display: block; }
}
@media (max-width: 640px) {
    .choice-grid { grid-template-columns: 1fr; }
    .booking-row { flex-direction: column; gap: 12px; padding: 16px; }
    .booking-row-side { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; }
    .conf-no { font-size: 24px; }
    .bank-card-no { font-size: 20px; }
    .review-list > div { flex-direction: column; gap: 2px; }
    .review-list dd { text-align: start; }
}

/* ---------- Footer ---------- */

.site-footer { background: var(--caspian); color: #D6E1EA; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1fr; gap: 40px; padding-block: 56px 40px; }
.footer-name { font-size: 26px; font-weight: 300; color: var(--white); line-height: 1.3; }
.footer-sub { font-size: var(--fs-xs); color: #AFC0CF; }
.footer-demo { margin-top: 16px; font-size: 14px; color: var(--sea-mist); max-width: 32ch; }
.footer-h { font-size: var(--fs-xs); font-weight: 500; color: #AFC0CF; margin-bottom: 10px; }
.footer-col ul { display: flex; flex-direction: column; gap: 6px; }
.footer-col p + p { margin-top: 4px; }
.footer-link { color: var(--white); text-decoration: none; }
.footer-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.footer-muted { color: #AFC0CF; font-size: 14px; margin-top: 8px; }
.footer-bottom {
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding-block: 18px 22px; border-top: 1px solid rgba(168, 130, 58, .55); font-size: var(--fs-xs); color: #AFC0CF;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .hero-mist { display: none; }
}
