/* Domaine de la Haute Barde — CSS unique, sans dépendance externe, polices système. */
:root {
    --ink: #16211b;
    --forest: #24382c;
    --moss: #5b6f52;
    --sage: #a9b79c;
    --cream: #f4efe4;
    --paper: #faf7f0;
    --sand: #e4d8c1;
    --clay: #b8623f;
    --clay-dark: #9a4e2f;
    --water: #1f4a52;
    --line: rgba(22, 33, 27, .16);
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
    --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --h1: #24382c; --h2: #5b6f52;
    --radius: 10px;
    --gutter: clamp(20px, 4vw, 48px);
}
body[data-theme="home"]    { --h1: #1b2e24; --h2: #4f6b55; }
body[data-theme="forest"]  { --h1: #1f3326; --h2: #5b6f52; }
body[data-theme="warm"]    { --h1: #3b2a22; --h2: #b8623f; }
body[data-theme="sage"]    { --h1: #2b3a30; --h2: #7f9277; }
body[data-theme="clay"]    { --h1: #35251d; --h2: #a5573a; }
body[data-theme="night"]   { --h1: #141d1a; --h2: #3a4f47; }
body[data-theme="pool"]    { --h1: #1c3f46; --h2: #4c8f96; }
body[data-theme="water"]   { --h1: #10323a; --h2: #2f6f7a; }
body[data-theme="gallery"] { --h1: #1d2a22; --h2: #6d7f63; }
body[data-theme="paper"]   { --h1: #2d3a30; --h2: #75866b; }
body[data-theme="contact"] { --h1: #24382c; --h2: #8a6f4d; }
body[data-theme="water"] { --accent: #6fb3bd; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 1rem/1.65 var(--sans); }
img, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(2.15rem, 4.5vw, 4.1rem); }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: #fff; padding: .6rem 1rem; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }
.muted { color: rgba(22, 33, 27, .65); }
.small { font-size: .85rem; }
.center { text-align: center; }

.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 2 * var(--gutter)); }
.wrap--form { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Barre de développement + en-tête */
.devbar { background: #f3d9a4; color: #4a3610; font-size: .78rem; text-align: center; padding: .35rem 1rem; position: relative; z-index: 30; }
.topbar { position: relative; z-index: 20; background: var(--forest); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px max(var(--gutter), calc((100% - 1180px) / 2)); color: #fff; }
.brand { flex-shrink: 0; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 38px; flex-shrink: 0; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; font: 500 .95rem var(--serif); }
.brand-name { font-family: var(--serif); font-size: 1.05rem; letter-spacing: .02em; }
.navigation { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 22px); }
.navigation a { text-decoration: none; font-size: .9rem; display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; padding: 4px 0; border-bottom: 1px solid transparent; }
.navigation .btn { padding: .6rem 1.2rem; }
.navigation a:not(.btn):hover, .navigation a[aria-current] { border-color: currentColor; }
.menu-toggle { display: none; background: transparent; color: inherit; border: 1px solid currentColor; border-radius: 99px; padding: .4rem 1rem; font: inherit; cursor: pointer; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; max-width: 100%; text-align: center; background: var(--clay); color: #fff; text-decoration: none; padding: .85rem 1.5rem; border-radius: 99px; font-weight: 600; border: 1px solid var(--clay); cursor: pointer; font-family: inherit; font-size: 1rem; line-height: 1.2; transition: background .2s; }
.btn:hover { background: var(--clay-dark); }
.btn--ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--sm { padding: .45rem 1.05rem; font-size: .88rem; border-bottom: 1px solid var(--clay) !important; }
.link { font-weight: 600; text-underline-offset: 4px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6rem; }
.actions--center { justify-content: center; }

/* Hero */
.hero { position: relative; color: #fff; min-height: min(560px, 65svh); display: flex; align-items: flex-end; padding: clamp(56px, 8vw, 100px) 0; isolation: isolate; overflow: hidden; }
.hero--home { min-height: clamp(580px, 78svh, 850px); }
.hero-bg { position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(120% 80% at 80% 0%, color-mix(in srgb, var(--h2) 70%, transparent), transparent 60%),
        linear-gradient(160deg, var(--h2), var(--h1) 75%);
}
.hero-bg::after { content: ""; position: absolute; inset: 0; opacity: .12;
    background: repeating-radial-gradient(ellipse at 75% 110%, transparent 0 22px, #fff 22px 23px); }
.hero-inner { max-width: 1180px; }
.hero-bg--video { background: var(--ink); }
.hero-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-bg--video::after { opacity: 1; background: linear-gradient(180deg, rgba(0, 0, 0, .58), rgba(0, 0, 0, .52) 35%, rgba(0, 0, 0, .72)); }
.hero-video-toggle { position: absolute; right: 20px; bottom: 20px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, .7); border-radius: 50%; background: rgba(0, 0, 0, .35); color: #fff; font: 1rem var(--sans); cursor: pointer; }
.hero-video-toggle[hidden] { display: none; }
.hero-video-toggle:hover { background: rgba(0, 0, 0, .65); }
.hero h1 { max-width: 1000px; margin-bottom: .4em; }
.hero--home h1 { max-width: 900px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 65ch; opacity: .95; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; margin: 0 0 1rem; opacity: .85; }
.eyebrow--dark { color: var(--clay); opacity: 1; }
.badge-line { margin-top: 2rem; display: inline-block; padding: .6rem 1.1rem; border: 1px solid rgba(255, 255, 255, .5); border-radius: 99px; font-size: .95rem; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1.5rem; font-size: .82rem; opacity: .85; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.crumbs a { text-underline-offset: 3px; }

/* Sections */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--tight { padding: 40px 0; }
.section--tint { background: var(--sand); }
.band { color: #fff; }
.band--night { background: var(--forest); }
.band--water { background: var(--water); }
.band .eyebrow { color: var(--sage); }
.band a.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.split--rev > :first-child { order: 0; }
@media (min-width: 901px) { .split--rev > :last-child { order: -1; } .split--rev { grid-template-columns: 1fr 1fr; } }
.stats { display: flex; gap: clamp(24px, 5vw, 64px); margin: 0; }
.stats > div { border-left: 1px solid rgba(255, 255, 255, .3); padding-left: 24px; }
.stats dd { margin: 0; font: 500 clamp(3rem, 8vw, 5.5rem)/1 var(--serif); }
.stats dt { order: 2; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.stats > div { display: flex; flex-direction: column-reverse; }

/* Placeholders / images */
.ph { margin: 0; width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--empty { position: relative; display: grid; place-items: center; color: rgba(255, 255, 255, .9);
    background: linear-gradient(150deg, var(--h2), var(--h1)); }
.ph--empty::before { content: ""; position: absolute; inset: 0; opacity: .14;
    background: repeating-radial-gradient(ellipse at 20% 120%, transparent 0 16px, #fff 16px 17px); }
.ph-label { position: relative; font: italic 1.1rem var(--serif); padding: .5rem 1rem; text-align: center; }

/* Grilles et cartes */
.stories, .cards, .feature-grid, .info-grid { display: grid; gap: 28px; margin-top: 2rem; }
.stories { grid-template-columns: repeat(3, 1fr); }
.story { text-decoration: none; }
.story .ph { margin-bottom: 1rem; transition: transform .3s; }
.story:hover .ph { transform: translateY(-3px); }
.cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.card { text-decoration: none; }
.card .ph { margin-bottom: .8rem; }
.card--plain { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; }
.card--plain .link { margin-top: auto; }
.cards--price { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.feature-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.feature-grid article, .feature-grid--links a { border-top: 2px solid var(--clay); padding-top: 1rem; text-decoration: none; }
.info-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.info { border: 1px dashed rgba(31, 74, 82, .45); border-radius: var(--radius); padding: 1.2rem; }
.pill { display: inline-block; font-size: .75rem; padding: .15rem .7rem; border-radius: 99px; background: rgba(31, 74, 82, .12); color: var(--water); font-weight: 600; white-space: nowrap; }
.formats { list-style: none; margin: .6rem 0 1.2rem; padding: 0; }
.formats li { display: flex; justify-content: space-between; gap: 12px; padding: .5rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 2rem 0 1rem; }
.checks { padding-left: 1.2rem; }
.checks li { margin-bottom: .35rem; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; margin: 1rem 0 2rem; }
.facts dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(22, 33, 27, .6); }
.facts dd { margin: 0; font: 500 1.2rem var(--serif); }

/* Parcours */
.steps { list-style: none; margin: 2.2rem 0 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 1px; background: var(--clay); opacity: .5; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 24px; margin-bottom: 1.6rem; position: relative; }
.step-n { display: grid; place-items: center; width: 40px; aspect-ratio: 1; border-radius: 50%; background: var(--cream); border: 1px solid var(--clay); color: var(--clay); font: 500 1.05rem var(--serif); }
.section--tint .step-n { background: var(--sand); }
.steps h3 { margin-bottom: .2em; }
.steps p { margin: 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font: 500 1.15rem var(--serif); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--clay); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .7rem 0 0; }

/* CTA */
.cta-band { background: var(--forest); color: #fff; }
.cta-band h2 { max-width: 1000px; }
.cta-band p { max-width: 70ch; }
.faq { max-width: 900px; }

/* Formulaires */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea { font: inherit; padding: .75rem .9rem; border: 1px solid rgba(22, 33, 27, .35); border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%; }
.field [aria-invalid="true"] { border-color: #a5281b; }
.field-error { color: #a5281b; font-size: .85rem; margin: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.check input { width: auto; margin-top: .35rem; }
.hp { position: absolute; left: -9999px; }
.notice { background: #fff; border-left: 4px solid var(--clay); padding: .9rem 1.1rem; border-radius: var(--radius); }
.notice--error { border-color: #a5281b; }
.success { background: #fff; border: 1px solid var(--sage); border-radius: var(--radius); padding: 1.6rem; }
.aside { align-self: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.tbc { background: #fbf0d3; color: #5a4310; border-left: 3px solid #d9a93a; padding: .5rem .8rem; font-size: .82rem; border-radius: 3px; margin: 1rem 0; }

/* Galerie */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1.6rem; }
.filters[hidden] { display: none; }
.chip { min-height: 44px; border: 1px solid var(--line); background: transparent; padding: .4rem 1rem; border-radius: 99px; font: inherit; font-size: .9rem; cursor: pointer; }
.chip.is-active { background: var(--forest); color: #fff; border-color: var(--forest); }
.masonry { columns: 3 260px; column-gap: 16px; }
.g-item { break-inside: avoid; margin-bottom: 16px; }
.g-item[hidden] { display: none; }
.g-item a { display: block; cursor: zoom-in; }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
dialog.lightbox::backdrop { background: rgba(0, 0, 0, .85); }
dialog.lightbox img { max-height: 92vh; width: auto; margin: auto; }

/* Pied de page */
.footer { background: var(--ink); color: #dcd7c8; padding: 64px 0 24px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer nav a { display: flex; align-items: center; min-height: 44px; }
.footer nav { display: flex; flex-direction: column; gap: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-title { font: 500 1.1rem var(--serif); color: #fff; margin-bottom: .5rem; }
.footer .brand-name { color: #fff; font-size: 1.3rem; }
.footer-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .8rem; opacity: .75; }

/* Les enfants de grille peuvent rétrécir sans provoquer de débordement. */
.split > *, .wrap--form > *, .form > *, .footer-grid > * { min-width: 0; }
.field input, .field select, .field textarea { min-width: 0; }
.field textarea { resize: vertical; min-height: 140px; }
.faq summary { min-height: 44px; align-items: center; }
.faq summary::after { flex-shrink: 0; }
.faq summary::-webkit-details-marker { display: none; }
.section :last-child:is(p) { margin-bottom: 0; }

/* Navigation compacte avant que les liens ne manquent de place. */
@media (max-width: 1200px) {
    .topbar { flex-wrap: wrap; gap: 12px; }
    .nav-ready .menu-toggle { display: block; min-height: 44px; }
    .navigation { width: 100%; flex-wrap: wrap; }
    .nav-ready .navigation { display: none; }
    .nav-ready .navigation.is-open { display: flex; }
    .navigation { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; max-height: 65svh; overflow-y: auto; }
    .navigation a { padding: .7rem .25rem; border-bottom: 1px solid rgba(255, 255, 255, .16); }
    .navigation .btn { margin-top: 12px; }
}

/* Responsive */
@media (max-width: 900px) {
    .split, .wrap--form { grid-template-columns: 1fr; }
    .split--rev > :last-child { order: 0; }
    .stories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stories > :last-child { grid-column: 1 / -1; }
    .stories > :last-child .ph { max-height: 320px; }
    .mosaic { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .brand-name { font-size: .95rem; }
}
@media (max-width: 560px) {
    .form { grid-template-columns: 1fr; }
    .topbar { gap: 8px; padding-block: 12px; }
    .brand { gap: 8px; flex: 1; min-width: 0; }
    .brand-name { max-width: 180px; font-size: .9rem; line-height: 1.3; }
    .brand-mark { width: 32px; }
    .menu-toggle { padding-inline: .8rem; font-size: .9rem; }
    .devbar { font-size: .7rem; line-height: 1.45; padding: 8px var(--gutter); }
    .hero { min-height: 0; padding: 44px 0 48px; }
    .hero--home { min-height: 620px; padding-bottom: 80px; }
    .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
    .lead { font-size: 1rem; line-height: 1.6; }
    .eyebrow { font-size: .7rem; letter-spacing: .08em; }
    .actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 24px; }
    .actions .btn { width: 100%; padding-inline: 16px; }
    .badge-line { font-size: .85rem; margin-top: 24px; margin-bottom: 0; }
    .stories { grid-template-columns: minmax(0, 1fr); }
    .stories > :last-child { grid-column: auto; }
    .split > .ph { max-height: 360px; }
    .split--rev > .ph { order: 1; }
    .stats { gap: 24px; }
    .stats > div { padding-left: 16px; }
    .card--plain, .aside { padding: 20px; }
    .formats li { flex-wrap: wrap; }
    .pill { white-space: normal; }
    .footer { padding-top: 44px; }
    .footer-grid { gap: 28px; }
    .steps li { gap: 16px; }
    .facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Photos réelles et films : espace réservé, cadrage et lecture à la demande. */
.ph img { object-position: center; }
.hero-bg--photo .ph { height: 100%; border-radius: 0; }
.hero-bg--photo::after { opacity: 1; background: linear-gradient(180deg, rgba(10,22,15,.48), rgba(10,22,15,.78)); }
.films-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; margin-top: 28px; }
.film { margin: 0; min-width: 0; }
.film video { display: block; width: 100%; aspect-ratio: 16/9; background: var(--ink); border-radius: var(--radius); object-fit: contain; }
.film figcaption { padding-top: 16px; }
.film figcaption p { margin-bottom: 0; max-width: 70ch; }
.media-more { margin-top: 24px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
@media (max-width: 700px) { .films-grid, .photo-grid { grid-template-columns: minmax(0, 1fr); } }

.lightbox-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 1px solid #fff; border-radius: 50%; background: #16211b; color: #fff; font: 28px/1 var(--sans); cursor: pointer; }

/* Séjours : composants de réservation rendus côté serveur. */
.stay-intro { padding: 44px 0 36px; background: var(--paper); }
.stay-intro h1 { max-width: 1060px; color: var(--forest); font-size: clamp(2.2rem, 4.6vw, 3.7rem); }
.stay-intro .crumbs ol { color: var(--moss); margin-bottom: 24px; }
.stay-intro .lead { margin-bottom: 0; }
.stay-shared { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 24px; color: var(--forest); font-size: .9rem; }
.stay-shared span::before { content: '✓'; margin-right: 8px; color: var(--moss); }
.stay-search-section { padding: 0 0 12px; background: linear-gradient(var(--paper) 45%, var(--cream) 45%); }
.stay-search { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,.75fr) auto; gap: 12px 20px; align-items: start; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 30px rgba(22,33,27,.05); }
.stay-search > .btn { align-self: start; margin-top: 30px; background: var(--forest); border-color: var(--forest); min-height: 52px; }
.stay-search input { min-height: 52px; max-width: 100%; min-width: 0; font-size: 1rem; }
.stay-search .field { min-width: 0; }
.stay-search-help { grid-column: 1/-1; margin: 0; font-size: .78rem; color: var(--moss); }
.stay-service-note { margin: 14px 0 0; font-size: .86rem; color: var(--moss); }
.home-stay-search { padding: 44px 0; background: var(--paper); }
.stay-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.stay-section-heading h2 { margin: 0; }
.stay-section-heading > p { font-size: .9rem; text-align: right; margin: 0; }
.stay-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
.stay-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--paper); display: flex; flex-direction: column; }
.stay-card-photo { display: block; position: relative; }
.stay-card-photo .ph { border-radius: 0; aspect-ratio: 16/10 !important; }
.stay-capacity { position: absolute; bottom: 16px; left: 16px; border-radius: 99px; background: var(--paper); padding: 6px 14px; font-size: .82rem; font-weight: 600; }
.stay-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.stay-card-kicker { font-size: .82rem; color: var(--moss); margin-bottom: 12px; }
.stay-card h3 { font-size: clamp(1.5rem,2.4vw,2rem); }
.stay-card h3 a { text-decoration: none; }
.stay-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.amenity-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 4px 0 24px; }
.amenity-tags li { padding: 5px 10px; border-radius: 5px; background: #e7eadf; font-size: .78rem; }
.stay-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; border-top: 1px solid var(--line); padding-top: 20px; }
.stay-card-bottom strong, .stay-card-bottom span { display: block; }
.stay-card-bottom strong { font-size: .95rem; }
.stay-card-bottom span { color: var(--moss); }
.stay-card-bottom .btn { font-size: .88rem; padding-inline: 18px; flex-shrink: 0; }
.stay-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2,minmax(0,1fr)); gap: 12px; height: clamp(300px,36vw,490px); margin-top: 28px; }
.stay-gallery a { min-height: 0; overflow: hidden; border-radius: 10px; }
.stay-gallery a:first-child { grid-row: 1/3; }
.stay-gallery .ph { height: 100%; }
.stay-detail-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 64px; align-items: start; }
.stay-details > section { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.stay-details > section:last-child { margin: 0; padding: 0; border: 0; }
.stay-equipment { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; list-style: none; padding: 0; margin: 24px 0; }
.stay-equipment li::before { content: '✓'; color: var(--moss); margin-right: 10px; }
.stay-booking-panel, .stay-price-panel { background: #fff; padding: 28px; border: 1px solid var(--line); border-radius: 14px; }
.stay-booking-panel { position: sticky; top: 24px; }
.stay-booking-panel h2, .stay-price-panel h2 { font-size: 1.8rem; }
.stay-booking-panel .stay-search { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 0; border: 0; box-shadow: none; gap: 16px 12px; }
.stay-booking-panel .stay-search .btn { grid-column: 1/-1; margin: 0; }
.stay-booking-panel .stay-search .field:nth-of-type(3) { grid-column: 1/-1; }
.stay-full { width: 100%; margin-top: 16px; }
.stay-airbnb { display: block; padding: 16px 0; }
.stay-panel-total { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--line); }
.stay-conditions { margin: 0; }
.stay-conditions > div { margin-bottom: 16px; }
.stay-conditions dt { font-weight: 600; }
.stay-conditions dd { margin: 4px 0 0; }
.stay-calendar { max-width: 470px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.calendar-heading { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; text-align: center; margin-bottom: 16px; }
.calendar-heading h3 { margin: 0; font-size: 1.35rem; }
.calendar-heading a { display: grid; place-items: center; min-height: 44px; text-decoration: none; border: 1px solid var(--line); border-radius: 50%; }
.calendar-days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; text-align: center; }
.weekday { font-size: .7rem; color: var(--moss); margin-bottom: 10px; }
.calendar-day { min-width: 0; min-height: 44px; border: 1px solid transparent; border-radius: 7px; background: #eae7df; color: var(--ink); font: inherit; cursor: pointer; }
.calendar-day:hover:not(:disabled) { border-color: var(--forest); }
.calendar-day:disabled { background: transparent; opacity: .45; cursor: default; text-decoration: line-through; }
.calendar-day.available { background: #e0e8d7; }
.calendar-day.selected { background: var(--forest); color: #fff; }
.calendar-legend { margin: 16px 0 0; }
.stay-other { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.stay-other a { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.3rem; }
.stay-other span { font: .86rem var(--sans); }
.demo-notice { padding: 16px 20px; border: 1px solid #bb944d; background: #fff0d1; color: #583f15; border-radius: 10px; margin: 0 0 24px; }
.demo-notice a { font-weight: 600; }
.stay-progress { display: flex; flex-wrap: wrap; gap: 12px 32px; list-style: none; padding: 0; margin: 28px 0 0; color: var(--moss); }
.stay-progress [aria-current] { font-weight: 700; color: var(--forest); }
.stay-summary-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 56px; align-items: start; }
.stay-summary-lodging { display: grid; grid-template-columns: 160px minmax(0,1fr); gap: 24px; align-items: center; }
.stay-summary-lodging h2 { font-size: 1.8rem; }
.stay-summary-dates { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 24px 0; gap: 24px; border-block: 1px solid var(--line); }
.stay-summary-dates dt { color: var(--moss); font-size: .85rem; }
.stay-summary-dates dd { margin: 4px 0 0; font-weight: 600; }
.stay-summary-main > h3 { margin-top: 36px; font-size: 1.5rem; }
.price-lines { margin: 24px 0; }
.price-lines > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; }
.price-lines dd { margin: 0; white-space: nowrap; }
.price-total { margin-top: 12px; border-top: 1px solid var(--line); font-weight: 700; }
.demo-checkout .check { margin-top: 20px; font-size: .9rem; }
.stay-results { padding-top: 48px; }
@media (max-width: 1000px) {
 .stay-search { grid-template-columns: repeat(3,minmax(0,1fr)); }
 .stay-search > .btn { grid-column: 1/-1; margin-top: 0; }
 .stay-detail-grid, .stay-summary-grid { gap: 28px; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
 .stay-card-bottom { align-items: stretch; flex-direction: column; }
 .stay-summary-lodging { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
 .stay-intro { padding: 32px 0 28px; }
 .stay-intro h1 { font-size: clamp(2rem,8vw,2.8rem); }
 .stay-shared { gap: 10px; flex-direction: column; }
 .stay-search { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 20px; gap: 16px 12px; }
 .stay-search .field:nth-of-type(3) { grid-column: 1/-1; }
 .stay-cards, .stay-detail-grid, .stay-summary-grid, .stay-other { grid-template-columns: minmax(0,1fr); }
 .stay-section-heading { align-items: start; flex-direction: column; }
 .stay-section-heading > p { text-align: left; }
 .stay-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); height: auto; grid-template-rows: auto; gap: 8px; }
 .stay-gallery a:first-child { grid-column: 1/-1; grid-row: auto; }
 .stay-gallery .ph { height: auto; }
 .stay-booking-panel { position: static; grid-row: 1; }
 .stay-card-body, .stay-booking-panel, .stay-price-panel { padding: 20px; }
 .stay-calendar { padding: 12px; }
 .calendar-days { gap: 2px; }
 .stay-equipment { grid-template-columns: 1fr; }
 .stay-summary-lodging { grid-template-columns: 100px minmax(0,1fr); gap: 16px; }
 .stay-summary-lodging h2 { font-size: 1.45rem; }
 .stay-summary-lodging .eyebrow { margin-bottom: 8px; }
 .stay-summary-lodging p { font-size: .85rem; }
 .stay-card-photo .ph { aspect-ratio: 3/2 !important; }
 .stay-progress { gap: 10px 20px; font-size: .85rem; }
}
