/* Riad Zemrane 33 — palette from the logo: forest green palm, terracotta arch, sand walls */
:root {
  --paper: #f7f3ec;
  --sand: #ece4d6;
  --sand-2: #dfd4c1;
  --sage: #a9b39b;
  --sage-soft: #d9dccb;
  --sage-bg: #b9c2aa;
  --sage-deep: #56634c;
  --forest: #2e3a27;
  --forest-2: #3c4a33;
  --terra: #b66f50;
  --terra-dark: #9a5a3e;
  --ink: #2b2a26;
  --muted: #6b675d;
  --line: rgba(46, 58, 39, .16);
  --head: 'Belleza', 'Jost', sans-serif;
  --body: 'Jost', system-ui, sans-serif;
  --radius: 4px;
  --wrap: 1180px;
  --arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 140' preserveAspectRatio='none'%3E%3Cpath d='M0 140V46C0 36 3 30 10 26 24 18 40 12 50 0 60 12 76 18 90 26 97 30 100 36 100 46V140Z'/%3E%3C/svg%3E");
}
.lang-ru { --head: 'Forum', 'Jost', serif; }
.lang-zh { --head: 'Noto Serif SC', serif; --body: 'Noto Sans SC', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 300 17px/1.7 var(--body); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.15; margin: 0 0 .6em; color: var(--forest); }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); letter-spacing: .01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }
.lang-zh h1, .lang-zh h2 { letter-spacing: .04em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.small { font-size: .85rem; }
.sr, .skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; }
.kicker { font-family: var(--body); font-size: .78rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--terra); margin-bottom: 1rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.65; }
.note { font-size: .88rem; color: var(--muted); }
.link { color: var(--terra-dark); text-decoration: none; border-bottom: 1px solid currentColor; font-weight: 400; }
.link:hover { color: var(--forest); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.6em; border-radius: 999px; font: 500 .82rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: background .2s, color .2s, border-color .2s; border: 1px solid transparent; text-align: center; }
.btn-terra { background: var(--terra); color: #fff; }
.btn-terra:hover { background: var(--terra-dark); }
.btn-light { background: var(--paper); color: var(--forest); }
.btn-light:hover { background: #fff; }
.btn-ghost-light { border-color: rgba(46, 58, 39, .45); color: var(--forest); }
.btn-ghost-light:hover { background: rgba(247, 243, 236, .45); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px clamp(16px, 3vw, 40px); background: rgba(247, 243, 236, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: auto; height: 54px; }
.wordmark { display: flex; flex-direction: column; align-items: center; font-family: 'Belleza', sans-serif; line-height: 1; margin: 0; }
.wm-name { font-size: 1.25rem; letter-spacing: .38em; margin-right: -.38em; color: var(--forest); }
.wm-num { font-size: 1.05rem; color: var(--terra); margin-top: 4px; display: flex; align-items: center; gap: 8px; }
.wm-num::before, .wm-num::after { content: ''; width: 22px; height: 1px; background: var(--terra); }
.wordmark.light .wm-name { color: var(--paper); }
.main-nav { display: flex; gap: clamp(14px, 2vw, 30px); }
.main-nav a { text-decoration: none; font-size: .8rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--terra-dark); border-color: var(--terra); }
.header-tools { display: flex; align-items: center; gap: 12px; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; font-size: .8rem; font-weight: 500; letter-spacing: .12em; padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px; }
.lang summary::-webkit-details-marker { display: none; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(0, 0, 0, .08); padding: 6px; min-width: 150px; display: grid; }
.lang-menu a { padding: 8px 12px; text-decoration: none; font-size: .92rem; border-radius: 3px; }
.lang-menu a:hover, .lang-menu a[aria-current] { background: var(--sand); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span:not(.sr) { width: 16px; height: 1.5px; background: var(--forest); transition: transform .2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

/* arch frame — soft round-top arch like the riad doorways */
.arch { border-radius: 50% 50% var(--radius) var(--radius) / 32% 32% var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand-2); }
.room .arch, .feature .arch { aspect-ratio: 4 / 3.4; border-radius: 50% 50% var(--radius) var(--radius) / 24% 24% var(--radius) var(--radius); }
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.framed { border: 6px solid #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.framed img { aspect-ratio: 1; object-fit: cover; width: 100%; }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; background: var(--sage-bg); color: var(--ink); padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 72px); position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 10px; background: repeating-linear-gradient(90deg, var(--terra) 0 30px, transparent 30px 36px); opacity: .9; }
.hero h1 { color: var(--forest); }
.hero .kicker { color: var(--terra-dark); }
.hero .lead { color: var(--ink); max-width: 34em; }
.hero-photo { max-width: 470px; justify-self: center; width: 100%; }

/* intro */
.intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 90px); padding-top: clamp(60px, 9vw, 120px); padding-bottom: clamp(50px, 7vw, 90px); align-items: center; }
.facts { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.facts li { padding-left: 22px; position: relative; font-size: .95rem; }
.facts li::before { content: ''; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border: 1.5px solid var(--terra); transform: rotate(45deg); }
.intro-photos { position: relative; padding-bottom: 60px; }
.intro-photos .arch { width: 78%; }
.intro-photos .framed { position: absolute; right: 0; bottom: 0; width: 42%; transform: rotate(3deg); }

/* zellige band from the logo base */
.zellige-band { color: var(--terra); opacity: .55; padding: 0 24px; max-width: var(--wrap); margin: 0 auto; }
.zellige { width: 100%; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; vector-effect: non-scaling-stroke; }

/* experience tiles */
.experience { padding-top: clamp(50px, 7vw, 90px); padding-bottom: clamp(60px, 8vw, 110px); text-align: center; }
.experience h2 { max-width: 20em; margin-left: auto; margin-right: auto; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 32px); margin-top: 2.6rem; text-align: left; }
.tile { text-decoration: none; display: block; }
.tile .arch { margin-bottom: 1.1rem; }
.tile:hover .arch img { transform: scale(1.05); }
.tile h3 { margin-bottom: .3em; }
.tile p { font-size: .94rem; color: var(--muted); margin-bottom: .6em; }
.more { font-size: .76rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--terra-dark); }

/* location */
.location { display: grid; grid-template-columns: 1fr 1fr; background: var(--sand); }
.loc-text { padding: clamp(40px, 6vw, 90px) clamp(24px, 5vw, 80px); }
.dots { padding-left: 1.1em; margin: 0 0 1.2em; }
.dots li::marker { color: var(--terra); }
.loc-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: sepia(.25) saturate(.8); }
.loc-map.wide iframe { min-height: 420px; border-radius: var(--radius); }

/* book band */
.book-band { background: var(--sage-bg); color: var(--ink); text-align: center; padding: clamp(60px, 8vw, 110px) 24px; position: relative; overflow: hidden; }
.book-band h2 { color: var(--forest); }
.book-band p { max-width: 36em; margin: 0 auto; color: var(--ink); }
.book-band .btn-row { justify-content: center; }
.arch-outline { position: absolute; left: 50%; top: 24px; bottom: -40px; width: min(520px, 80vw); transform: translateX(-50%); -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat; background: rgba(247, 243, 236, .35); pointer-events: none; }
.book-band > *:not(.arch-outline) { position: relative; }

/* inner pages */
.page-hero { max-width: var(--wrap); margin: 0 auto; padding: clamp(48px, 7vw, 96px) 24px clamp(32px, 5vw, 60px); display: grid; gap: clamp(28px, 6vw, 80px); align-items: center; }
.page-hero.with-photo { grid-template-columns: 1.15fr .85fr; }
.page-hero .arch { max-width: 420px; width: 100%; justify-self: end; }
.page-hero .lead { color: var(--muted); max-width: 36em; }
.lead.dark { color: var(--ink); max-width: 44em; margin: 0 auto; text-align: center; }

.rooms-list { display: grid; gap: clamp(40px, 6vw, 80px); padding-top: 20px; padding-bottom: clamp(40px, 6vw, 80px); }
.room { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 70px); align-items: center; }
.room .arch { max-width: 380px; }
.room.flip { grid-template-columns: 1.2fr .8fr; }
.room.flip .room-media { order: 2; justify-self: end; }
.beds { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terra-dark); font-weight: 500; }
.amenities { text-align: center; padding-bottom: 50px; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-size: .92rem; background: #fff; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-bottom: 50px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: 100%; transition: transform .8s; }
.gallery figure:hover img { transform: scale(1.04); }
/* spa: zig-zag gallery — big landscape + small arch, alternating sides */
.zz { display: flex; flex-direction: column; gap: clamp(30px, 4vw, 56px); padding-top: clamp(50px, 7vw, 100px); padding-bottom: clamp(60px, 8vw, 110px); }
.zz-row { display: grid; grid-template-columns: repeat(12, 1fr); align-items: start; }
:where(.zz) figure { margin: 0; overflow: hidden; background: var(--sand-2); grid-row: 1; }
.zz img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.zz figure:hover img { transform: scale(1.04); }
.zz-big { grid-column: 1 / 9; aspect-ratio: 3 / 2; border-radius: var(--radius); }
.zz-small { grid-column: 8 / 12; aspect-ratio: 4 / 5; margin-top: 34%; position: relative; z-index: 1; border: 8px solid var(--paper); border-radius: 50% 50% var(--radius) var(--radius) / 32% 32% var(--radius) var(--radius); }
.zz-row.flip .zz-big { grid-column: 5 / 13; aspect-ratio: 3 / 2; margin-top: 24%; }
.zz-row.flip .zz-small { grid-column: 2 / 6; margin-top: 0; }
.zz-row.solo .zz-big { grid-column: 3 / 11; }
.page-rooms .center { padding-bottom: 70px; }

.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: clamp(50px, 7vw, 90px); }
.hl { background: #fff; padding: 30px 28px; border-top: 3px solid var(--terra); }
.hl-num { font-family: 'Belleza', sans-serif; color: var(--terra); font-size: 1.1rem; letter-spacing: .1em; }
.hl h3 { margin-top: .5em; }
.hl p { font-size: .96rem; color: var(--muted); margin: 0; }

.feature { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 90px); align-items: center; background: var(--sage-soft); padding: clamp(48px, 7vw, 100px) clamp(24px, 6vw, 100px); }
.feature .arch { max-width: 400px; justify-self: center; width: 100%; }
.feature-text { max-width: 34em; }

.menu-card { padding-top: clamp(50px, 7vw, 90px); padding-bottom: clamp(60px, 8vw, 100px); }
.menu-card > h2 { text-align: center; margin-bottom: 1.6em; }
.menu-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(30px, 6vw, 90px); }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 36px clamp(30px, 5vw, 70px); }
.menu-sec h3, .menu-cols h3 { font-size: 1.15rem; letter-spacing: .12em; text-transform: uppercase; color: var(--terra-dark); border-bottom: 1px solid var(--line); padding-bottom: .5em; }
.lang-zh .menu-sec h3 { letter-spacing: .2em; }
.price-list { list-style: none; padding: 0; margin: 0 0 1em; }
.price-list li { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; }
.pl-name { font-weight: 400; }
.pl-name small { display: block; font-size: .84rem; color: var(--muted); font-weight: 300; font-style: italic; }
.pl-dots { flex: 1; border-bottom: 1px dotted var(--sage); transform: translateY(-4px); min-width: 16px; }
.pl-price { white-space: nowrap; font-weight: 500; color: var(--forest); }
.pl-price small { font-weight: 300; color: var(--muted); }
.notes { color: var(--muted); font-size: .9rem; padding-left: 1.1em; }

.spa-intro { padding-bottom: clamp(40px, 6vw, 70px); }
.ritual { background: var(--sage-bg); color: var(--ink); padding: clamp(50px, 7vw, 100px) 24px; text-align: center; }
.ritual h2 { color: var(--forest); }
.steps { list-style: none; padding: 0; margin: 2.4rem auto 0; max-width: var(--wrap); display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: left; counter-reset: s; }
.steps li { border-top: 1px solid rgba(46, 58, 39, .25); padding-top: 22px; }
.step { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--terra-dark); color: var(--terra-dark); border-radius: 50%; font-family: 'Belleza', sans-serif; margin-bottom: 14px; }
.steps h3 { color: var(--forest); }
.steps p { color: var(--ink); font-size: .95rem; margin: 0; }

.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding-bottom: clamp(50px, 7vw, 90px); }
.svc { background: #fff; padding: 34px 32px; border-radius: var(--radius); border: 1px solid var(--line); }
.svc svg { width: 40px; height: 40px; fill: none; stroke: var(--terra); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.svc h2 { font-size: 1.6rem; }
.svc .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.rates { padding-bottom: clamp(40px, 6vw, 70px); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 1rem; }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .92rem; }
th, td { padding: 10px 14px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
th[scope="row"], thead th:first-child { text-align: left; font-weight: 400; position: sticky; left: 0; background: #fff; }
th[scope="row"] small { color: var(--muted); font-size: .8rem; }
thead th { font-family: var(--body); font-weight: 500; color: var(--forest); background: var(--sand); }
thead tr.sub th { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 400; text-align: center; padding-top: 0; background: var(--sand); }
thead tr.sub th:first-child { background: var(--sand); }
tr.ret th, tr.ret td { background: #fbf9f5; }
tbody tr:hover td, tbody tr:hover th { background: var(--sand); }
.rates .menu-grid { margin-top: 30px; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-bottom: 20px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-decoration: none; transition: border-color .2s, transform .2s; }
.contact-card:hover { border-color: var(--terra); transform: translateY(-2px); }
.contact-card .big { font-family: var(--head); font-size: 1.4rem; color: var(--forest); margin: 0 0 .2em; word-break: break-word; }
.page-contacts .center.note { margin: 10px 0 40px; }
.page-contacts .loc-map { margin-bottom: 70px; }

/* footer */
.site-footer { background: var(--sage-deep); color: rgba(247, 243, 236, .9); padding: 40px 0 24px; font-size: .95rem; }
.site-footer .zellige-band { color: var(--terra); opacity: .7; }
.foot-grid { max-width: var(--wrap); margin: 30px auto 0; padding: 0 24px; display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand img { height: 70px; width: auto; margin-bottom: 12px; }
.foot-brand .wordmark { align-items: flex-start; }
.foot-label { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: #f1c9b4; margin-bottom: .6em; font-weight: 500; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-nav { display: grid; gap: 4px; align-content: start; }
.foot-bottom { max-width: var(--wrap); margin: 36px auto 0; padding: 18px 24px 0; border-top: 1px solid rgba(247, 243, 236, .12); font-size: .8rem; color: rgba(247, 243, 236, .78); }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 54px; height: 54px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (max-width: 700px) {
  .zz { gap: 40px; }
  .zz-row, .zz-row.flip { display: block; }
  .zz-big, .zz-row.flip .zz-big { margin-top: 0; aspect-ratio: 4 / 3; }
  .zz-small, .zz-row.flip .zz-small { width: 58%; margin: -24% 4% 0 auto; border-width: 6px; }
  .zz-row.flip .zz-small { margin-left: 4%; margin-right: 0; }
}
/* booking request form */
.book-wrap { max-width: 760px; padding-bottom: clamp(60px, 8vw, 110px); }
.book-form, .book-ok { background: #fff; border-top: 3px solid var(--terra); padding: clamp(26px, 5vw, 48px); box-shadow: 0 18px 40px -28px rgba(46, 58, 39, .35); }
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.field label { display: block; font: 500 .74rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: .55em; }
.field input { width: 100%; font: 300 1rem/1.4 var(--body); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: .8em .9em; min-height: 48px; }
.field input:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(182, 111, 80, .18); background: #fff; }
.field input.bad { border-color: #b3261e; background: #fdf3f2; }
.book-form .note { margin: 1.2rem 0 0; }
.book-status { min-height: 1.4em; margin: .6rem 0 1rem; color: #b3261e; }
.book-status.info { color: var(--sage-deep); }
.book-form button[disabled] { opacity: .6; cursor: wait; }
.book-ok { text-align: center; }
.book-ok h2 { margin-top: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .book-grid { grid-template-columns: 1fr; } .book-form .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { transition: none !important; } }

/* responsive */
@media (max-width: 1100px) {
  .main-nav { position: fixed; inset: 75px 0 auto 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; transform: translateY(-120%); transition: transform .3s; z-index: 40; }
  .main-nav.open { transform: none; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
  .nav-toggle { display: flex; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero, .intro, .location, .page-hero.with-photo, .room, .room.flip, .feature, .menu-cols { grid-template-columns: 1fr; }
  .hero-photo { max-width: 360px; }
  .room.flip .arch { order: 0; justify-self: start; }
  .page-hero .arch { justify-self: center; max-width: 320px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .highlights, .steps, .services, .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr; }
  .loc-map iframe { min-height: 300px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap, .page-hero { padding-left: 16px; padding-right: 16px; }
  .brand img { height: 44px; }
  .wm-name { font-size: 1.02rem; }
  .book { display: none; }
  .site-header { padding: 8px 16px; }
  .main-nav { inset: 61px 0 auto 0; }
  .menu-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .tiles { gap: 14px; }
  .tile p { font-size: .88rem; }
}

/* named suites: thumbnails + labels */
.room-media { display: grid; gap: 12px; max-width: 380px; }
.room.flip .room-media { order: 2; justify-self: end; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; cursor: pointer; aspect-ratio: 1; opacity: .75; transition: opacity .3s, border-color .3s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb:hover, .thumb.on { opacity: 1; border-color: var(--terra); }
.suite-no { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--terra-dark); margin-bottom: .3em; }
.room-text .meaning { font-style: italic; opacity: .8; margin-top: -.4em; }
@media (max-width: 800px) { .room-media, .room.flip .room-media { order: 0; justify-self: stretch; max-width: none; } }

/* online check-in form */
.checkin-form fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.checkin-form legend { font: 400 1.35rem/1.3 var(--head); color: var(--ink); margin-bottom: 14px; padding: 0; }
.field select, .field textarea { width: 100%; font: 300 1rem/1.4 var(--body); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: .8em .9em; min-height: 48px; }
.field textarea { resize: vertical; min-height: 90px; }
.field select:focus, .field textarea:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(182, 111, 80, .18); background: #fff; }
.field select.bad { border-color: #b3261e; background: #fdf3f2; }
.field.full { grid-column: 1 / -1; }
.book-grid.two { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--terra); }
.consent input.bad { outline: 2px solid #b3261e; outline-offset: 2px; }
@media (max-width: 600px) { .book-grid.two { grid-template-columns: 1fr 1fr; } }
