/* =========================================================================
   La Matriz — main stylesheet
   Layout: day / night bands. Cream "day" sections alternate with deep wine
   "night" cocoons. Motifs: arch (frames), spiral (logo).
   Colors and fonts come from theme.json presets (brandbook).
   ========================================================================= */

:root {
	--wine: var(--wp--preset--color--wine, #550712);
	--oxblood: var(--wp--preset--color--oxblood, #741513);
	--crimson: var(--wp--preset--color--crimson, #b31736);
	--sand: var(--wp--preset--color--sand, #e7dcbb);
	--paper: var(--wp--preset--color--paper, #f3ecd9);
	--red: var(--wp--preset--color--red, #d52d2e);
	--ink: var(--wine);
	--ink-soft: #6f3236;
	--line: rgba(85, 7, 18, .18);
	--on-dark: #f3ecd9;
	--on-dark-soft: #d9c9a8;
	--font-accent: var(--wp--preset--font-family--accent);
	--font-serif: var(--wp--preset--font-family--serif);
	--font-sans: var(--wp--preset--font-family--sans);
	--radius-arch: 999px 999px 0 0;
	--wrap: 1240px;
	--header-h: 76px;
	--ease: cubic-bezier(.22, .61, .36, 1);
}

html { scroll-behavior: smooth; }
/* After a form is sent, land on the message at once (no smooth scroll from the top of the page). */
html:has(.lm-sent, .lm-error) { scroll-behavior: auto; }
body.lm { -webkit-font-smoothing: antialiased; }
body.lm::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--wine); }
.lm img { display: block; max-width: 100%; height: auto; }
/* Filters hide items with the hidden attribute: keep it stronger than component display rules (flex, grid…). */
.lm [hidden] { display: none !important; }
.lm :focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; }
.lm .night :focus-visible { outline-color: var(--sand); }
.lm [id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.lm .wp-site-blocks { padding: 0; }
.lm .site-main { margin-block: 0; }
.lm .wp-site-blocks > * + * { margin-block-start: 0; }
/* Full-width pages are a stack of colored bands: no flow gap between them (it showed as a cream strip).
   Simple text pages (template "page": <main class="site-main band">) keep their paragraph spacing. */
.lm .site-main:not(.band) > .wp-block-post-content > * { margin-block: 0; }

/* Containers handle their own gaps: neutralise flow-layout margins inside them. */
:is(.wrap, .hero, .hero-grid,.r-hero-grid, .intro, .doors, .door, .in, .name-grid, .section-head, .evs, .place, .found, .duo, .reviews, .rev, .prat, .steps, .step, .steps-foot, .shared, .offer, .offer-info, .offer-prices, .form-grid, .footer-top, .footer-legal, .header-row, .faq, .room, .media, .team-grid, .pr) > * { margin-block: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); box-sizing: border-box; width: 100%; }
.band { padding-block: clamp(72px, 10vw, 140px); }
.night { background: var(--wine); color: var(--on-dark); }
.sandband, .is-style-sand { background: var(--sand); }
.is-style-night { background: var(--wine); color: var(--on-dark); }

/* ---------- Type ---------- */
.lm h1, .lm h2, .lm h3, .lm h4 { text-wrap: balance; margin: 0; }
.lm h1 em, .lm h2 em { font-style: italic; font-weight: 300; }
.lm .night h1, .lm .night h2, .lm .night h3, .lm .night h4 { color: var(--on-dark); }
.eyebrow { font-family: var(--font-sans); font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--crimson); margin: 0 0 18px !important; }
.night .eyebrow { color: var(--red); }
.lead { font-family: var(--font-serif); font-size: var(--wp--preset--font-size--lead); line-height: 1.5; max-width: 34em; color: var(--ink-soft); }
.night .lead { color: var(--on-dark-soft); }
.lm h1 + .lead, .lm h2 + .lead { margin-top: 24px !important; }
.lm .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-element-button, .wp-block-button__link, .lm-submit { display: inline-flex; align-items: center; gap: .6em; border-radius: 999px; text-decoration: none; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.wp-block-button.is-style-ghost .wp-block-button__link, .lm-btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); padding: 14px 24px; border-radius: 999px; font: 600 .95rem var(--font-sans); cursor: pointer; }
.wp-block-button.is-style-ghost .wp-block-button__link:hover, .lm-btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.night .wp-block-button.is-style-ghost .wp-block-button__link, .night .lm-btn-ghost { color: var(--on-dark); border-color: var(--on-dark); }
.night .wp-block-button.is-style-ghost .wp-block-button__link:hover { background: var(--on-dark); color: var(--wine); }
.wp-block-button.is-style-light .wp-block-button__link { background: var(--sand); color: var(--wine); border-color: var(--sand); }
.wp-block-button.is-style-light .wp-block-button__link:hover { background: #fff6dc; border-color: #fff6dc; color: var(--wine); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--wine); color: var(--on-dark); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 6px 30px rgba(40, 0, 8, .25); }
.header-row { display: flex !important; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-dark); flex: none; }
.brand .sp { width: 30px; color: var(--red); }
.brand .wm { width: 132px; color: var(--on-dark); }
.svgi { display: block; line-height: 0; }
.svgi svg { width: 100%; height: auto; display: block; }
.site-header .wp-block-navigation { margin-left: auto; }
.site-header .wp-block-navigation-item__content { padding: 8px 14px !important; border-radius: 999px; text-decoration: none; transition: background .25s; }
.site-header .wp-block-navigation-item__content:hover { background: rgba(243, 236, 217, .1); }
.site-header .current-menu-item > .wp-block-navigation-item__content, .site-header [aria-current="page"] { background: var(--sand); color: var(--wine); }
.site-header .wp-block-navigation__responsive-container-open { color: var(--on-dark); border: 1px solid rgba(243, 236, 217, .4); border-radius: 999px; padding: 8px; }
.site-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--wine) !important; color: var(--on-dark) !important; padding: 24px max(20px, env(safe-area-inset-right, 0px)); }
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-family: var(--font-serif); font-size: 1.7rem; padding: 10px 4px !important; }
/* Crimson focus rings would hardly show on the wine header. */
.lm .site-header :focus-visible { outline-color: var(--sand); }
/*
 * Language switcher: a compact capsule, set apart from the menu (thin divider, outline, small caps);
 * the current language is a filled sand chip. Codes sit close together, each keeps a 44 px high
 * touch area (invisible ::after). Other languages in the soft tone (9:1 on wine).
 */
.langs { position: relative; display: flex; flex: none; align-items: center; margin-left: 14px; padding: 3px; border: 1px solid rgba(243, 236, 217, .28); border-radius: 999px; font-size: .68rem; font-weight: 600; letter-spacing: .1em; line-height: 1; }
.langs::before { content: ""; position: absolute; left: -15px; top: 50%; width: 1px; height: 18px; transform: translateY(-50%); background: rgba(243, 236, 217, .25); }
.langs a { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 24px; padding: 0 7px 0 8px; border-radius: 999px; color: var(--on-dark-soft); text-decoration: none; transition: background .25s, color .25s; }
.langs a::after { content: ""; position: absolute; inset: -10px 0; }
.langs a:hover { color: var(--on-dark); background: rgba(243, 236, 217, .12); }
.langs a[aria-current] { background: var(--sand); color: var(--wine); }

/* ---------- Reveal (resting state is visible) ---------- */
.rv-pre { transform: translateY(26px); opacity: .5; }
.rv-go { transition: transform 1s var(--ease), opacity 1s var(--ease); transform: none; opacity: 1; }

/* ---------- Hero ---------- */
.hero { overflow: hidden; }
.hero-grid { display: grid !important; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: end; padding-block: clamp(40px, 6vw, 80px) 0; }
.hero-text { padding-bottom: clamp(48px, 7vw, 110px); min-width: 0; }
.hero h1 em { color: var(--red); }
.hero .ctas { margin-top: 36px !important; }
.hero-arch { position: relative; min-width: 0; align-self: stretch; display: flex !important; align-items: flex-end; }
.hero-arch .frame { width: 100%; margin: 0; aspect-ratio: 3 / 4; max-height: 760px; overflow: hidden; }
.hero-arch .frame img, .hero-arch video { width: 100%; height: 100%; object-fit: cover; animation: lm-breathe 18s var(--ease) infinite alternate; }
@keyframes lm-breathe { from { transform: scale(1.06); } to { transform: scale(1); } }
/* Fine sand hairline inside the photo (passe-partout) and a soft wine fade at the foot. */
.hero-arch .frame { position: relative; isolation: isolate; }
.hero-arch .frame::before, .hero-arch .frame::after { content: ""; position: absolute; pointer-events: none; z-index: 1; }
.hero-arch .frame::before { z-index: 2; inset: clamp(12px, 1.4vw, 22px); border: 1px solid rgba(231, 220, 187, .42); }
/* Brand line written inside the hairline, top left, same sand tone: a designer's signature. */
.hero-arch .frame figcaption { position: absolute; z-index: 2; top: calc(clamp(12px, 1.4vw, 22px) + clamp(14px, 1.6vw, 26px)); left: calc(clamp(12px, 1.4vw, 22px) + clamp(16px, 1.8vw, 30px)); margin: 0; font-family: var(--font-serif); font-style: italic; font-weight: 200; font-size: clamp(1.05rem, 1.5vw, 1.5rem); letter-spacing: .02em; line-height: 1; color: rgba(231, 220, 187, .42); }
.hero-arch .frame::after { inset: auto 0 0; height: 34%; background: linear-gradient(180deg, rgba(85, 7, 18, 0) 0%, rgba(85, 7, 18, .38) 100%); }

/* Desktop: split screen. The photo fills the right half of the screen, from the header to the info strip; the text aligns with the header. */
@media (min-width: 861px) {
	.hero .hero-grid { max-width: none; padding: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; align-items: stretch; }
	.hero .hero-text { align-self: center; padding: 24px clamp(40px, 5.5vw, 104px) 24px max(20px, calc(100% - var(--wrap) / 2 + 20px)); }
	.hero .hero-text h1 { font-size: clamp(2.8rem, 5.2vw, 5.4rem); line-height: 1.02; }
	.hero .hero-text .lead { max-width: 30em; }
	.hero-arch .frame { aspect-ratio: auto; max-height: none; height: clamp(560px, calc(100svh - var(--header-h) - 58px), 1120px); }
	.hero-arch .frame img { animation: lm-breathe 18s var(--ease) infinite alternate, lm-unveil 1.6s var(--ease) both; }
}
@keyframes lm-unveil { from { clip-path: inset(18% 0 0 0); opacity: .2; } to { clip-path: inset(0); opacity: 1; } }
.info-strip { border-top: 1px solid rgba(243, 236, 217, .16); }
.info-strip .wrap { display: flex; flex-wrap: wrap; gap: 8px 40px; padding-block: 18px; margin: 0 auto; font-size: .88rem; color: var(--on-dark-soft); }
.info-strip strong { color: var(--on-dark); font-weight: 600; }

/* ---------- Generic section heads ---------- */
.intro { display: grid !important; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: end; }
.section-head { display: flex !important; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.page-intro { padding-block: clamp(56px, 8vw, 110px); }

/* ---------- Doors ---------- */
.doors { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px !important; }
.door { position: relative; min-height: 440px; border-radius: 22px; overflow: hidden; display: flex !important; align-items: flex-end; color: var(--on-dark); isolation: isolate; }
.door .door-img { position: absolute; inset: 0; margin: 0; z-index: -2; }
.door .door-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.door::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(85, 7, 18, 0) 30%, rgba(60, 4, 12, .9) 100%); }
.door:hover .door-img img { transform: scale(1.05); }
.door .in { padding: 28px; display: grid !important; gap: 10px; }
.door .who { font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); }
.door h3 { color: var(--on-dark); font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.door .go a { font-weight: 600; font-size: .92rem; text-decoration: none; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
button.stretched { position: static; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
.ev-more { justify-self: start; margin-top: 4px; font: 600 .85rem var(--font-sans); color: var(--crimson); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- The name ---------- */
.name { overflow: hidden; }
.name-grid { display: grid !important; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.big-sp { width: min(420px, 100%); margin: 0 auto; color: var(--red); }
/*
 * Self-drawing spiral: the mask stroke travels from the outer tail to the centre, over a faint sand imprint.
 * The stroke offset is animated frame by frame in assets/js/main.js (browsers do not repaint
 * a mask driven by a CSS animation).
 */
.sp-draw .sp-trace { stroke-dasharray: 1 1.1; stroke-dashoffset: 0; }
.sp-draw .sp-ghost { color: var(--sand); opacity: 0; transition: opacity 1.2s var(--ease); }
.sp-draw:is(.sp-pre, .draw) .sp-ghost { opacity: .12; }
.sp-draw.done .sp-ghost { opacity: 0; transition-duration: 2.4s; }
.etym { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 !important; }
.etym span { border: 1px solid rgba(243, 236, 217, .3); border-radius: 999px; padding: 6px 14px; font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; }
.name-quote { margin: 40px 0 0 !important; padding: 0 0 0 22px; border-left: 2px solid var(--red); }
.name-quote p { font-family: var(--font-serif); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.4; font-style: italic; font-weight: 300; }
.name-quote cite { display: block; margin-top: 10px; font-style: normal; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-soft); }
/* Inclusivity statement: a sand "Queer friendly" tag inside a fine sand frame, so it reads as a commitment, not a footnote. */
.incl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 34px !important; padding: 18px 22px; border: 1px solid rgba(231, 220, 187, .3); border-radius: 18px; color: var(--on-dark); font-family: var(--font-serif); font-size: 1.08rem; line-height: 1.45; }
.incl-tag { flex: none; padding: 8px 16px 7px; border-radius: 999px; background: var(--sand); color: var(--wine); font: 400 .95rem/1 var(--font-accent); letter-spacing: .14em; text-transform: uppercase; }
.incl-text { flex: 1 1 18em; }
.values { margin-top: clamp(64px, 8vw, 110px) !important; padding-top: 34px; border-top: 1px solid rgba(243, 236, 217, .16); display: flex; flex-wrap: wrap; gap: 10px 0; justify-content: space-between; }
.values span { font-family: var(--font-accent); letter-spacing: .12em; font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: var(--sand); }
.values span:not(:last-child)::after { content: "·"; margin-left: clamp(10px, 2vw, 28px); color: var(--red); }

/* ---------- Practices ---------- */
.prac { margin-top: 48px; border-top: 1px solid var(--line); }
.prac a { display: grid; grid-template-columns: 1.1fr 1.4fr auto; gap: 20px; align-items: center; padding: 26px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .4s var(--ease), background .4s; }
.prac a:hover { padding-left: 20px; background: var(--sand); }
.prac .t { font-family: var(--font-serif); font-size: clamp(1.45rem, 2.4vw, 2.1rem); line-height: 1.15; }
.prac .d { color: var(--ink-soft); font-size: .98rem; }
.prac .arr { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, color .3s; }
.prac a:hover .arr { background: var(--crimson); color: #fff; border-color: var(--crimson); }

/* ---------- Events ---------- */
.evs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.ev { position: relative; background: var(--paper); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease); }
.sandband .ev { background: var(--paper); }
.band:not(.sandband) .ev { background: var(--sand); }
.ev:hover { transform: translateY(-4px); }
.ev .ph { aspect-ratio: 4 / 3; position: relative; overflow: hidden; background: var(--wine); }
.ev .ph img { width: 100%; height: 100%; object-fit: cover; }
.ev .ph.fallback { display: grid; place-items: center; color: var(--red); }
.ev .ph.fallback .svgi { width: 90px; }
.ev .date { position: absolute; top: 14px; left: 14px; background: var(--paper); color: var(--wine); border-radius: 14px; padding: 8px 12px; text-align: center; line-height: 1; }
.ev .date b { display: block; font-family: var(--font-serif); font-size: 1.9rem; font-weight: 400; }
.ev .date span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.ev .body { padding: 20px 22px 24px; display: grid; gap: 8px; }
.ev .meta { font-size: .84rem; color: var(--ink-soft); }
.ev h3 { font-size: 1.45rem; }
.chip { justify-self: start; display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--wine); color: var(--sand); }
.chip.soft { background: transparent; color: var(--crimson); border: 1px solid var(--crimson); }
.lm-empty { margin-top: 32px; font-family: var(--font-serif); font-size: 1.2rem; font-style: italic; color: var(--ink-soft); }
.ag-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.ag-filters button { border: 1.5px solid var(--ink); background: none; border-radius: 999px; padding: 8px 16px; font: 600 .88rem var(--font-sans); cursor: pointer; color: var(--ink); }
.ag-filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
/* Agenda month calendar: filled pill = women only, outlined pill = open to everyone (same code as the card chips). */
.ag-cal { margin-top: 32px; }
.cal-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.cal-title { order: -1; margin: 0 auto 0 0 !important; font-family: var(--font-serif); font-size: var(--wp--preset--font-size--subtitle); line-height: 1.2; }
.cal-nav { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--ink); background: none; color: var(--ink); font: 400 1.25rem/1 var(--font-serif); cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease); }
.cal-nav:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.cal-nav:disabled { opacity: .25; cursor: default; }
.cal-scroll { overflow-x: auto; }
.cal { width: 100%; min-width: 320px; table-layout: fixed; border-collapse: collapse; }
.cal th { padding: 0 8px 8px; text-align: left; font: 600 .72rem var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
/* Compact rows: "height" is a minimum for table cells, so a day with several events simply grows. */
.cal td { height: 64px; padding: 5px 6px 6px; vertical-align: top; border: 1px solid var(--line); }
.cal td.cal-out { background: rgba(85, 7, 18, .03); }
.cal-d { display: inline-grid; place-items: center; min-width: 1.8em; height: 1.8em; margin: -2px 0 2px -2px; font-family: var(--font-serif); font-size: .92rem; line-height: 1; }
.cal-past .cal-d { opacity: .35; }
.cal-today .cal-d { border-radius: 50%; background: var(--crimson); color: #fff; }
.cal-ev { display: block; width: 100%; margin-top: 3px; padding: 3px 7px; border: 0; border-radius: 6px; background: transparent; box-shadow: inset 0 0 0 1px var(--crimson); color: var(--crimson); font: 500 .72rem/1.3 var(--font-sans); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease); }
.cal-ev.women { background: var(--wine); box-shadow: none; color: var(--paper); }
.cal-ev:hover { background: var(--crimson); color: #fff; }
.cal-t { font-weight: 700; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 12px 0 0 !important; font-size: .82rem; color: var(--ink-soft); }
.cal-legend span { display: inline-flex; align-items: center; gap: 8px; }
.cal-key { width: 22px; height: 12px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--crimson); }
.cal-key.women { background: var(--wine); box-shadow: none; }
.ag-month { margin-top: 56px; }
.ag-month h2 { font-size: var(--wp--preset--font-size--subtitle); }
.ag-month .evs { margin-top: 24px; }

/* ---------- Dialogs ---------- */
.lm-dialog { margin: auto; border: 0; padding: 0; border-radius: 24px; max-width: min(720px, calc(100% - 32px)); width: 100%; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(40, 0, 8, .35); }
.lm-dialog::backdrop { background: rgba(40, 0, 8, .55); backdrop-filter: blur(3px); }
.dlg-in { position: relative; padding: clamp(24px, 4vw, 40px); display: grid; gap: 14px; }
.dlg-in h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.dlg-img { width: calc(100% + 2 * clamp(24px, 4vw, 40px)); max-width: none; margin: calc(-1 * clamp(24px, 4vw, 40px)) calc(-1 * clamp(24px, 4vw, 40px)) 8px; aspect-ratio: 16 / 9; object-fit: cover; }
.dlg-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); font-size: 1.4rem; cursor: pointer; }
.dlg-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: .95rem; }
.dlg-facts dt { font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--crimson); padding-top: 3px; }
.dlg-facts dd { margin: 0; }
.dlg-text { color: var(--ink-soft); }
.dlg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.dlg-actions .wp-element-button { background: var(--crimson); color: #fff; padding: 14px 24px; font: 600 .95rem var(--font-sans); }
.dlg-pr { grid-template-columns: 220px 1fr; align-items: start; gap: 28px; }
.dlg-pr-ph img, .dlg-pr-ph .ph-empty { border-radius: var(--radius-arch); width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.dlg-links { display: flex; flex-wrap: wrap; gap: 8px; }
.dlg-links a { font-size: .85rem; padding: 6px 12px; border-radius: 999px; background: var(--sand); text-decoration: none; }

/* ---------- Place gallery ---------- */
.place { display: grid !important; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; margin-top: 48px !important; }
.place .wp-block-image { margin: 0; position: relative; overflow: hidden; }
.place .wp-block-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.place .wp-block-image:hover img { transform: scale(1.04); }
.place .a1 { grid-row: span 2; border-radius: var(--radius-arch); min-height: 560px; }
.place .a2, .place .a3 { border-radius: 20px; aspect-ratio: 4 / 3; }
.place .a4 { grid-column: span 2; border-radius: 20px; aspect-ratio: 21 / 9; }
.place figcaption { position: absolute; left: 16px; bottom: 14px; margin: 0; color: var(--on-dark); font-family: var(--font-accent); letter-spacing: .2em; font-size: 1.05rem; text-align: left; text-shadow: 0 2px 16px rgba(0, 0, 0, .45); line-height: 1.3; }
.place figcaption small { font-family: var(--font-sans); letter-spacing: .04em; font-size: .78rem; }
/* Room photos link to the room on the rent page: the whole photo is clickable, a small arrow slides in on hover. */
.place .wp-block-image > a { display: block; height: 100%; }
.place .wp-block-image > a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.place .wp-block-image > a:focus-visible { outline: 2px solid var(--sand); outline-offset: -6px; }
.place .wp-block-image:has(> a) figcaption { pointer-events: none; }
.place .wp-block-image:has(> a) figcaption::after { content: " →"; display: inline-block; margin-left: .3em; opacity: 0; transform: translateX(-6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.place .wp-block-image:has(> a:is(:hover, :focus-visible)) figcaption::after { opacity: 1; transform: none; }

/* ---------- Founders ---------- */
.found { display: grid !important; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.found-ph { margin: 0; border-radius: 26px; overflow: hidden; }
.found-ph img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.found .q { font-family: var(--font-serif); font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.3; font-weight: 300; font-style: italic; margin: 26px 0 18px !important; }
.person { padding-left: 16px; border-left: 2px solid var(--crimson); font-size: .92rem; color: var(--ink-soft); margin-bottom: 14px !important; }
.person strong { font-family: var(--font-serif); font-weight: 500; font-size: 1.2rem; color: var(--ink); }
.found .wp-block-buttons { margin-top: 24px !important; }

/* ---------- Shop + gift ---------- */
.duo { display: grid !important; grid-template-columns: 1fr 1fr; gap: 18px; }
.duo > .wp-block-group { border-radius: 24px; padding: clamp(28px, 4vw, 52px); display: grid !important; gap: 14px; align-content: start; }
.duo > .wp-block-group > * { margin: 0; }
.duo .shop { background: var(--sand); }
.duo .gift { background: var(--crimson); color: #fff; }
.duo .gift .eyebrow, .duo .gift h3 { color: var(--sand) !important; }
.duo .gift h3 { color: #fff !important; }

/* ---------- Reviews ---------- */
.reviews { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px !important; }
.rev { border: 1px dashed var(--line); border-radius: 18px; padding: 24px; display: grid !important; gap: 12px; }
.rev .stars { color: var(--crimson); letter-spacing: .2em; }
.rev-text { font-family: var(--font-serif); font-size: 1.1rem; font-style: italic; color: var(--ink-soft); }
.rev-who { font-size: .8rem; color: var(--ink-soft); }

/* ---------- Practical ---------- */
.prat { display: grid !important; grid-template-columns: 1fr 1fr 1fr; gap: clamp(28px, 4vw, 60px); margin-top: 48px !important; }
.prat h3 { font-size: 1.3rem; margin-bottom: 14px !important; }
.prat > .wp-block-group > * + * { margin-top: 12px; }
.access { list-style: none; padding: 0; display: grid; gap: 10px; font-size: .97rem; }
.access strong { display: inline-block; min-width: 74px; font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--crimson); }
.warn { padding: 14px 16px; border-radius: 14px; background: var(--paper); font-size: .9rem; }
/* Map: a blurred street plan with a centred button until the visitor asks for Google Maps. */
.lm-map-frame { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; }
/* Scaled up so the soft edges of the blur stay outside the rounded frame. */
.lm-map-blur { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; filter: blur(3px) contrast(1.08); transform: scale(1.08); }
.lm-map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.lm-map-ask { position: relative; display: grid; justify-items: center; gap: 10px; max-width: 78%; padding: 14px 16px; border-radius: 14px; background: rgba(243, 236, 217, .9); text-align: center; font-size: .85rem; color: var(--ink); }
.lm-map-ask p { margin: 0; }
.lm-map-load { position: relative; }

/* Cookie banner (consent.js). Refuse and Accept share one style: same visual weight. Not a wall: the page stays usable. */
.lm-consent { position: fixed; left: 16px; bottom: 16px; z-index: 70; box-sizing: border-box; width: min(420px, calc(100vw - 32px)); padding: 20px 22px; border-radius: 18px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(85, 7, 18, .25); font-size: .9rem; }
.lm-consent[hidden] { display: none; }
.lm-consent h2 { margin: 0 0 6px; font-size: 1.25rem; }
.lm-consent p { margin: 0; color: var(--ink-soft); }
.lm-consent a { color: var(--crimson); }
.lm-consent-actions { display: flex; gap: 10px; margin-top: 14px; }
.lm-consent-actions .lm-btn-ghost { flex: 1; padding: 11px 16px; font-size: .9rem; }
/* Missing information on the legal pages and in the footer ([lm_legal], lamatriz_core_placeholder()). */
/* Text links that open a new tab show an arrow (icon links already read as external). */
.lm a[aria-describedby="lm-newtab"]:not(:has(svg))::after { content: "\00a0↗"; font-size: .85em; }
mark.lm-todo { background: rgba(179, 23, 54, .12); color: inherit; padding: 0 .25em; border-radius: 4px; }
.night mark.lm-todo, .site-footer mark.lm-todo { background: rgba(243, 236, 217, .16); }

/* ---------- Forms (rent, contact, newsletter) ---------- */
.form-grid { display: grid !important; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.contact-rent { margin-top: 28px !important; }
.lm-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.lm-form label { display: grid; gap: 6px; font-size: .84rem; font-weight: 600; min-width: 0; }
.lm-form .full { grid-column: span 2; }
.lm-form input, .lm-form select, .lm-form textarea, .lm-news input[type="email"] { font: 400 1rem var(--font-sans); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; min-width: 0; width: 100%; box-sizing: border-box; }
.lm-form textarea { min-height: 120px; resize: vertical; }
.lm-form input:focus, .lm-form select:focus, .lm-form textarea:focus { border-color: var(--crimson); outline: none; }
.lm-form abbr { text-decoration: none; color: var(--crimson); }
.lm-form .consent, .lm-news .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .85rem; color: var(--ink-soft); }
.lm-form .consent input, .lm-news .consent input { width: auto; margin-top: 3px; }
.lm-submit { border: 1.5px solid var(--crimson); background: var(--crimson); color: #fff; padding: 15px 26px; font: 600 .95rem var(--font-sans); }
.lm-submit:hover { background: var(--oxblood); border-color: var(--oxblood); }
.lm-hp { position: absolute !important; left: -9999px; }
/* Rental request: steps, selection recap, room and Water choices, bigger consent box. */
.form-step { margin: 10px 0 -4px !important; padding-bottom: 8px; border-bottom: 1px solid var(--line); font: 600 .74rem var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--crimson); }
.form-step:first-of-type { margin-top: 0 !important; }
.form-recap { position: relative; padding: 18px 20px; border-radius: 16px; background: var(--paper); border: 1.5px solid var(--line); display: grid; gap: 8px; transition: border-color .4s var(--ease), box-shadow .4s var(--ease); }
.form-recap.is-updated { border-color: var(--crimson); box-shadow: 0 0 0 4px rgba(179, 23, 54, .12); }
.recap-label { margin: 0 !important; font-size: .84rem; font-weight: 600; }
.recap-body ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: .95rem; }
.recap-est, .recap-text, .recap-empty { margin: 6px 0 0 !important; font-size: .9rem; color: var(--ink-soft); }
.recap-est strong { color: var(--ink); }
.recap-edit { justify-self: start; font-size: .84rem; font-weight: 600; color: var(--crimson); text-underline-offset: 3px; }
.form-rooms, .form-freq { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-rooms legend, .form-freq legend { padding: 0; margin-bottom: 8px; font-size: .84rem; font-weight: 600; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.lm-form .choice { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); font-weight: 400; cursor: pointer; transition: border-color .25s; }
.lm-form .choice:has(input:checked) { border-color: var(--crimson); }
.lm-form .choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--crimson); flex: none; }
.choice span { display: grid; line-height: 1.25; font-size: .92rem; }
.choice small { font-size: .78rem; color: var(--ink-soft); }
.lm-form .consent input, .lm-news .consent input { width: 20px; height: 20px; flex: none; accent-color: var(--crimson); margin-top: 0; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-legend { font-size: .8rem; color: var(--ink-soft); }
.lm-submit[disabled] { opacity: .6; cursor: progress; }
.next-title { margin-top: 34px !important; font: 600 .74rem var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--crimson); }
.next-steps { margin: 12px 0 0 !important; padding: 0; list-style: none; counter-reset: next; display: grid; gap: 12px; }
.next-steps li { counter-increment: next; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: baseline; color: var(--ink-soft); }
.next-steps li::before { content: counter(next); font-family: var(--font-accent); font-size: 1.3rem; color: var(--crimson); line-height: 1; }
.next-contact { margin-top: 24px !important; font-size: .92rem; color: var(--ink-soft); }
.next-contact a { color: var(--crimson); font-weight: 600; text-underline-offset: 3px; }
.lm-sent, .lm-error { grid-column: 1 / -1; padding: 16px; border-radius: 14px; background: var(--wine); color: var(--on-dark); font-size: .95rem; }
/* Success message sits below the form: land with the end of the form still in view. */
.lm :is(.lm-form, .lm-news) + .lm-sent { margin: 24px 0 0; scroll-margin-top: 45vh; }
.lm-error { background: var(--crimson); }
.lm-news { display: flex; flex-wrap: wrap; gap: 8px; }
.lm-news input[type="email"] { flex: 1 1 200px; border-radius: 999px; border-color: var(--ink); background: transparent; }
.lm-news .full { flex-basis: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--wine); color: var(--on-dark); padding-block: 72px 32px; }
.footer-top { display: grid !important; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
/* Official logo (brandbook, wine version): one color, centered stack. */
.lockup { display: flex; flex-direction: column; align-items: center; width: 120px; color: var(--red); }
.lockup .mark { width: 62%; margin-bottom: 11px; }
.lockup .lock, .lockup .tl { width: 100%; }
.lockup .tl { margin-top: 5px; }
.footer-baseline { margin-top: 22px !important; color: var(--on-dark-soft); font-size: .92rem; max-width: 22em; }
.site-footer h4 { font-family: var(--font-sans); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--red) !important; font-weight: 600; margin-bottom: 14px !important; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .94rem; color: var(--on-dark-soft); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); }
.footer-legal { margin-top: 56px !important; padding-top: 22px; border-top: 1px solid rgba(243, 236, 217, .14); display: flex !important; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-size: .8rem; color: var(--on-dark-soft); }

/* ---------- Rent: hero, steps ---------- */
.r-hero { overflow: hidden; }
.r-hero-grid { display: grid !important; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 90px); align-items: center; padding-block: clamp(56px, 8vw, 110px); }
.r-hero .ctas { margin-top: 34px !important; }
.r-hero .arch { margin: 0; border-radius: var(--radius-arch); overflow: hidden; aspect-ratio: 3 / 4; max-height: 620px; }
.r-hero .arch img { width: 100%; height: 100%; object-fit: cover; }
.els { margin-top: 44px !important; display: flex; gap: 22px; flex-wrap: wrap; font-family: var(--font-accent); letter-spacing: .2em; color: var(--sand); }
.els .soon { opacity: .45; }
.steps { display: grid !important; grid-template-columns: repeat(4, 1fr); margin-top: 44px !important; }
.step { padding: 26px 26px 26px 0; border-top: 1px solid var(--ink); display: grid !important; gap: 10px; align-content: start; }
.step + .step { padding-left: 26px; border-left: 1px solid var(--line); }
.step .n { font-family: var(--font-accent); font-size: 2.4rem; color: var(--crimson); line-height: 1; }
.step-title { font-family: var(--font-serif); font-weight: 500; font-size: 1.3rem; }
.step p:last-child { font-size: .95rem; color: var(--ink-soft); }

/* ---------- Rooms ---------- */
.room { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.room + .room, .room + .fire { margin-top: clamp(80px, 10vw, 140px); }
.room.flip .media { order: 2; }
.room .media { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.room .m1 { grid-row: span 2; border-radius: var(--radius-arch); overflow: hidden; min-height: 420px; }
.room .m2, .room .m3 { border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; }
.room .media img, .room .media video { width: 100%; height: 100%; object-fit: cover; }
.el-name { font-family: var(--font-accent); font-size: var(--wp--preset--font-size--element); letter-spacing: .08em; line-height: .9; color: var(--crimson); }
.el-sub { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--ink-soft); margin-top: 10px; }
.room h3 { margin-top: 28px; }
.room .desc { margin-top: 14px; color: var(--ink-soft); max-width: 32em; }
.facts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.facts span { font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--paper); }
.equip { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; padding: 0; list-style: none; font-size: .95rem; }
.equip li { display: flex; gap: 10px; align-items: baseline; }
.equip li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--crimson); }
.room .actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.room .actions .lm-btn-ghost { display: inline-flex; align-items: center; text-decoration: none; padding: 12.5px 22px; transition: background .3s var(--ease), color .3s var(--ease); }
.room .actions .wp-element-button { background: var(--crimson); color: #fff; padding: 14px 24px; font: 600 .95rem var(--font-sans); }
.fire { border-radius: 26px; background: var(--wine); color: var(--on-dark); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; }
.fire .el-name { color: var(--red); }
.fire h3 { color: var(--on-dark); margin-bottom: 10px; }
.fire p { color: var(--on-dark-soft); max-width: 34em; }
.shared { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px !important; }
.shared p { padding: 26px; border-radius: 20px; background: var(--paper); font-size: .94rem; color: var(--ink-soft); }
.shared strong { font-family: var(--font-serif); font-weight: 500; font-size: 1.25rem; color: var(--ink); }

/* ---------- Pricing: two offers, readable at a glance ---------- */
.offer { display: grid !important; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); margin-top: 32px !important; padding: clamp(26px, 4vw, 48px); border: 1px solid rgba(243, 236, 217, .22); border-radius: 26px; }
.offer + .offer { margin-top: 20px !important; }
.offer-info { display: grid !important; gap: 14px; align-content: start; }
.offer-tag { justify-self: start; padding: 6px 13px; border-radius: 999px; background: var(--sand); color: var(--wine); font: 600 .72rem var(--font-sans); letter-spacing: .16em; text-transform: uppercase; }
.offer h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; }
.offer-for { font-family: var(--font-serif); font-size: 1.12rem; line-height: 1.5; color: var(--on-dark-soft); }
.offer-facts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.offer-facts li { display: flex; gap: 10px; align-items: baseline; }
.offer-facts li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--red); transform: translateY(-1px); }
.offer-incl { font-size: .9rem; line-height: 1.6; color: var(--on-dark-soft); }
.offer-incl strong { color: var(--on-dark); font-weight: 600; }
.offer-cta { margin-top: 10px !important; }
.offer-prices { display: grid !important; align-content: start; }
.ptable { list-style: none; margin: 0; padding: 0; }
.ptable li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(243, 236, 217, .14); }
.ptable li:first-child { border-top: 1px solid rgba(243, 236, 217, .14); }
.pt-label { display: grid; gap: 2px; }
.pt-label strong { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 400; }
.pt-label small, .pt-price small { font-size: .82rem; color: var(--on-dark-soft); font-variant-numeric: tabular-nums; }
.pt-price { font-family: var(--font-serif); font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pt-price small { font-family: var(--font-sans); }
/* Name and discount badge: wrap cleanly on narrow screens (no indent before the badge). */
.pt-label strong:has(.pt-off) { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.pt-off { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--sand); color: var(--wine); font: 600 .72rem/1.2 var(--font-sans); font-style: normal; letter-spacing: .02em; vertical-align: middle; }
.pt-rules { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; line-height: 1.55; color: var(--on-dark-soft); }
.pt-rules li { position: relative; padding-left: 16px; }
.pt-rules li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.pt-rules strong { color: var(--on-dark); font-weight: 600; }
.pt-note { margin-top: 14px !important; font-size: .88rem; line-height: 1.6; color: var(--on-dark-soft); }
.pt-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px !important; font-size: 1.35rem; }
.pt-head span { padding: 4px 11px; border-radius: 999px; border: 1px solid rgba(243, 236, 217, .4); font: 600 .74rem var(--font-sans); letter-spacing: .04em; color: var(--on-dark); }
.pt-details { margin-top: 10px !important; font-size: .88rem; color: var(--on-dark-soft); }
.pt-details summary { cursor: pointer; width: fit-content; color: var(--on-dark); text-decoration: underline; text-underline-offset: 4px; }
.pt-cancel { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.pt-details + .pt-head { margin-top: 40px !important; }
.pt-big { font-family: var(--font-serif); font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: 1; }
.pt-big small { font-family: var(--font-sans); font-size: .95rem; color: var(--on-dark-soft); }
/* Phone: read the prices before the button (info, prices, then call to action). */
@media (max-width: 860px) {
	.offer { gap: 14px; }
	.offer-info { display: contents !important; }
	.offer-prices { order: 2; margin-top: 8px !important; }
	.offer-cta { order: 3; margin-top: 4px !important; }
}
/* How it works: path to prices and availability. */
.steps-foot { display: flex !important; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 36px !important; }
.steps-vat { font-size: .9rem; color: var(--ink-soft); }

/* ---------- Availability ---------- */
.a-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--sand); margin-top: 36px; flex-wrap: wrap; }
.a-tabs button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; cursor: pointer; font: 600 .9rem var(--font-sans); color: var(--ink); }
.a-tabs button[aria-selected="true"] { background: var(--crimson); color: #fff; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: .85rem; margin-top: 18px; color: var(--ink-soft); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 18px; height: 18px; border-radius: 6px; display: inline-block; }
.legend .lf { border: 1.5px solid var(--crimson); background: var(--paper); }
.legend .lb, .cell.taken, .day.full { background: repeating-linear-gradient(135deg, var(--sand) 0 5px, #dccfa9 5px 10px); }
.legend .ls { background: var(--crimson); }
.av-wrap { margin-top: 30px; display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.av-body { min-width: 0; }
.av-note { font-size: .8rem; font-style: italic; color: var(--ink-soft); margin-top: 14px; }
.week { display: grid; grid-template-columns: 96px repeat(7, minmax(0, 1fr)); gap: 6px; }
.week .hd, .month .hd { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-align: center; color: var(--ink-soft); padding: 6px 0; }
.week .sl { font-size: .82rem; font-weight: 600; display: grid; align-content: center; line-height: 1.2; }
.week .sl small { font-weight: 400; color: var(--ink-soft); }
.cell { min-height: 58px; border-radius: 10px; border: 1.5px solid var(--crimson); background: var(--paper); cursor: pointer; font: 600 .78rem var(--font-sans); color: var(--crimson); display: grid; place-items: center; transition: background .2s, color .2s; padding: 4px; }
.cell:hover { background: var(--sand); }
.cell.taken { border-color: transparent; color: var(--ink-soft); cursor: not-allowed; font-weight: 500; }
.cell.sel { background: var(--crimson); color: #fff; }
/* Weekly slot that changes during the year: dashed, like a partly free day in the month view. */
.cell.from, .cell.until { border-style: dashed; font-size: .7rem; line-height: 1.2; text-align: center; }
/* The hatched half (taken) comes first for "free from", last for "free until". */
.cell.from { background: linear-gradient(90deg, transparent 0 50%, var(--paper) 50%), repeating-linear-gradient(135deg, var(--sand) 0 5px, #dccfa9 5px 10px); }
.cell.until { background: linear-gradient(90deg, var(--paper) 0 50%, transparent 50%), repeating-linear-gradient(135deg, var(--sand) 0 5px, #dccfa9 5px 10px); }
.cell.from.sel, .cell.until.sel { background: var(--crimson); }
.month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.day { min-height: 74px; border-radius: 10px; border: 1.5px solid var(--crimson); background: var(--paper); padding: 8px; display: grid; align-content: space-between; cursor: pointer; text-align: left; color: var(--ink); font: inherit; }
.day .dn { font-family: var(--font-serif); font-size: 1.15rem; line-height: 1; }
.day .st { font-size: .7rem; font-weight: 600; color: var(--crimson); }
.day.part { border-style: dashed; }
.day.full { border-color: transparent; cursor: not-allowed; }
.day.full .st { color: var(--ink-soft); }
.day.past { opacity: .45; }
.day.on { outline: 2px solid var(--crimson); outline-offset: 2px; }
.day.empty { visibility: hidden; }
.mnav { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-family: var(--font-serif); font-size: 1.35rem; text-transform: capitalize; }
.mnav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; color: var(--ink); }
.mnav button:disabled { opacity: .3; cursor: default; }
.dayslots { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: .9rem; }
.dayslots .cell { min-height: 0; padding: 9px 14px; display: inline-flex; }
/* Water is rented by the hour: the chosen day shows one button per hour. */
.dayslots.hourly { display: grid; gap: 12px; }
.ds-head { margin: 0 !important; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.ds-head span { font-size: .84rem; color: var(--ink-soft); }
.hours { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; }
.hours .cell { justify-content: center; padding: 10px 6px; font-variant-numeric: tabular-nums; }
.basket { position: sticky; top: calc(var(--header-h) + 20px + env(safe-area-inset-top, 0px)); background: var(--wine); color: var(--on-dark); border-radius: 22px; padding: 26px; display: grid; gap: 14px; }
.basket h3 { font-size: 1.4rem; color: var(--on-dark); }
.basket .empty { font-size: .92rem; color: var(--on-dark-soft); }
.basket ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; }
.basket li { display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px; border-radius: 10px; background: rgba(243, 236, 217, .08); }
.basket li button { background: none; border: 0; cursor: pointer; color: var(--on-dark-soft); }
.basket .tot { font-size: .9rem; color: var(--on-dark-soft); }
/* Price estimate under the selection. */
.estimate { margin-top: 6px; padding-top: 16px; border-top: 1px solid rgba(243, 236, 217, .2); display: grid; gap: 10px; }
.est-title { margin: 0 !important; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); }
.estimate dl { margin: 0; display: grid; gap: 8px; }
.estimate dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; }
.estimate dt { font-size: .88rem; color: var(--on-dark-soft); }
.estimate dd { margin: 0; font-family: var(--font-serif); font-size: 1.45rem; line-height: 1.2; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.est-note { margin: 0 !important; font-size: .78rem; line-height: 1.45; color: var(--on-dark-soft); }
.basket .basket-go { background: var(--sand); color: var(--wine); justify-content: center; padding: 14px 20px; font: 600 .95rem var(--font-sans); }
.basket .basket-go[aria-disabled="true"] { opacity: .45; cursor: default; }

/* ---------- Team ---------- */
.team .ag-filters { margin-bottom: 36px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pr { background: var(--sand); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.pr-ph img, .pr-ph .ph-empty { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ph-empty { display: grid; place-items: center; background: var(--wine); color: var(--red); }
.ph-empty .svgi { width: 80px; }
.pr-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pr-role { font-size: .85rem; color: var(--crimson); font-weight: 600; }
.pr-intro { font-size: .95rem; color: var(--ink-soft); }
/* Pushed to the bottom of the card so the buttons line up across a row, whatever the text length. */
.pr-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.pr-actions .wp-element-button { background: var(--crimson); color: #fff; padding: 12px 20px; font: 600 .9rem var(--font-sans); }
.pr-actions .lm-btn-ghost { padding: 11px 18px; font-size: .9rem; }
/* Website, Instagram, e-mail: small round line icons, pushed to the right of the buttons. */
.pr-actions { align-items: center; }
.pr-links { display: flex; gap: 6px; margin-left: auto; }
.pr-links a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(85, 7, 18, .28); color: var(--ink); transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.pr-links a:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pr-links svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- FAQ ---------- */
.faq { margin-top: 36px !important; border-top: 1px solid var(--line); }
.faq .wp-block-details { border-bottom: 1px solid var(--line); margin: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 4px; font-family: var(--font-serif); font-size: 1.3rem; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-sans); font-size: 1.4rem; color: var(--crimson); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 22px; color: var(--ink-soft); max-width: 46em; margin: 0; }
.faq details p a { color: var(--crimson); text-underline-offset: 3px; }
/* Theme headings inside the FAQ (the rooms, prices, contract, on site). */
.faq { border-top: 0; }
.faq-theme { margin: 44px 0 4px !important; padding-bottom: 12px; border-bottom: 1px solid var(--ink); font: 600 .78rem var(--font-sans) !important; letter-spacing: .18em; text-transform: uppercase; color: var(--crimson); }
.faq-theme:first-child { margin-top: 0 !important; }

/* ---------- 404 + simple pages ---------- */
.not-found .nf-sp { width: 120px; color: var(--red); margin-bottom: 32px; }
.not-found .wp-block-buttons { margin-top: 30px; }
.entry-content { margin-top: 32px; }

/* Text pages (template "page": legal pages…): reading scale instead of the home page's display titles. */
.lm .site-main.band { padding-block: clamp(48px, 8vw, 104px) clamp(64px, 10vw, 128px); }
.lm .site-main.band > .wp-block-post-title { font-size: clamp(2.3rem, 5.5vw, 3.6rem); line-height: 1.05; }
.lm .site-main.band .entry-content { margin-top: clamp(24px, 4vw, 40px); padding-top: clamp(24px, 4vw, 40px); border-top: 1px solid var(--line); line-height: 1.7; overflow-wrap: break-word; }
.lm .site-main.band .entry-content > * { margin-block: 0; }
.lm .site-main.band .entry-content > * + * { margin-top: 1em; }
.lm .site-main.band .entry-content h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); line-height: 1.2; margin-top: 2.4em; }
.lm .site-main.band .entry-content h3 { font: 600 1rem/1.35 var(--font-sans); letter-spacing: 0; color: var(--crimson); margin-top: 1.8em; }
.lm .site-main.band .entry-content > :first-child { margin-top: 0; }
.lm .site-main.band .entry-content :is(h2, h3) + * { margin-top: .6em; }
.lm .site-main.band .entry-content ul { padding-left: 1.2em; }
.lm .site-main.band .entry-content li + li { margin-top: .4em; }
.lm .site-main.band .entry-content li::marker { color: var(--crimson); }
.lm .site-main.band .entry-content a { color: var(--crimson); text-underline-offset: 3px; }
.lm .site-main.band mark.lm-todo { -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.av-wrap { grid-template-columns: 1fr; }
	.basket { position: static; }
	.evs, .team-grid { grid-template-columns: 1fr 1fr; }
	.footer-top { grid-template-columns: 1fr 1fr; }
	.footer-top > :first-child { grid-column: span 2; }
}
@media (max-width: 860px) {
	.hero-grid, .r-hero-grid, .intro, .name-grid, .found, .room, .form-grid, .offer, .prat { grid-template-columns: 1fr; }
	.hero-text { padding-bottom: 8px; }
	.hero-arch .frame { aspect-ratio: 4 / 4.4; }
	.doors { grid-template-columns: 1fr; }
	.door { min-height: 300px; }
	.big-sp { width: 200px; margin: 0; }
	.place { grid-template-columns: 1fr 1fr; }
	.place .a1 { grid-column: span 2; grid-row: auto; min-height: 0; aspect-ratio: 4 / 4.5; }
	.place .a4 { grid-column: span 2; aspect-ratio: 16 / 9; }
	.reviews, .shared { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr 1fr; }
	.step:nth-child(3) { padding-left: 0; border-left: 0; }
	.room.flip .media { order: 0; }
	.room .m1 { min-height: 320px; }
	.r-hero .arch { max-height: 420px; aspect-ratio: 1; }
	.dlg-pr { grid-template-columns: 1fr; }
	.dlg-pr-ph { max-width: 220px; }
	.fire { grid-template-columns: 1fr; }
	.duo { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
	.prac a { grid-template-columns: 1fr auto; }
	.prac .d { grid-column: 1; grid-row: 2; }
	.prac .arr { grid-row: 1 / span 2; grid-column: 2; }
	.lm-form { grid-template-columns: 1fr; }
	.lm-form .full { grid-column: auto; }
	.evs, .team-grid { grid-template-columns: 1fr; }
	.equip { grid-template-columns: 1fr; }
	/* Calendar on a phone: compact cells, events show their start time only (full name in the label and dialog). */
	.cal th { padding: 0 2px 8px; font-size: .62rem; letter-spacing: .04em; text-align: center; }
	.cal td { height: 46px; padding: 3px 2px; }
	.cal-d { font-size: .82rem; margin: 0 0 1px; }
	.cal-ev { margin-top: 2px; padding: 2px 1px; font-size: .62rem; text-align: center; border-radius: 5px; }
	.cal-n { display: none; }
}
@media (max-width: 560px) {
	/* Header on a phone: logo, menu button and the languages must fit (see also 360 px below). */
	.header-row { gap: 6px; }
	.brand { gap: 8px; }
	.brand .wm { width: 96px; }
	.langs { margin-left: 4px; }
	.langs::before { display: none; }
	.langs a { padding: 0 6px 0 7px; }
	.steps { grid-template-columns: 1fr; }
	.step + .step { padding-left: 0; border-left: 0; }
	.week { grid-template-columns: 62px repeat(7, minmax(30px, 1fr)); gap: 4px; }
	.cell, .cell.from, .cell.until { min-height: 46px; font-size: 0; }
	.cell::after { content: attr(data-s); font-size: .62rem; }
	.dayslots .cell { font-size: .85rem; }
	.dayslots .cell::after { content: none; }
	.day { min-height: 54px; padding: 5px; }
	.day .st { font-size: 0; }
	.day .st::before { content: attr(data-s); font-size: .62rem; }
	.footer-top { grid-template-columns: 1fr; }
	.footer-top > :first-child { grid-column: auto; }
}
@media (max-width: 360px) {
	/* Four languages on the smallest phones: still 44 px high (touch area), 24 px wide (AA minimum). */
	.header-row { gap: 4px; }
	.brand .wm { width: 80px; }
	.langs { padding: 2px; }
	.langs a { padding: 0 5px 0 6px; }
}

/* No "prefers-reduced-motion" override: animations play for every visitor (project decision, 2026-10-24). */
