/*
Theme Name: Lanquin Rafting
Theme URI: https://lanquinrafting.com
Author: Lanquin Rafting
Description: Bilingual (English / Español) block theme for Lanquin Rafting: whitewater rafting on the Cahabón river and Semuc Champey tours from Lanquín, Guatemala. "Downriver" design: the home page follows the river, with WhatsApp booking and a booking-request form. Works with Polylang for EN/ES.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lanquin-rafting
Tags: block-patterns, full-site-editing, one-column, custom-logo, translation-ready
*/

/* =========================================================
   Tokens (aliases of theme.json presets)
   ========================================================= */
:root {
	--night: var(--wp--preset--color--night);
	--jungle: var(--wp--preset--color--jungle);
	--moss: var(--wp--preset--color--moss);
	--turq: var(--wp--preset--color--turq);
	--turq-deep: var(--wp--preset--color--turq-deep);
	--turq-light: var(--wp--preset--color--turq-light);
	--lime: var(--wp--preset--color--lime);
	--stone: var(--wp--preset--color--stone);
	--sun: var(--wp--preset--color--sun);
	--sun-hi: #FF9D45;
	--muted: #3D5A52;
	--on-dark: #E4F4F0;
	--on-dark-muted: #B9D6CE;
	--error: #B42318;
	--f-display: var(--wp--preset--font-family--display);
	--f-body: var(--wp--preset--font-family--body);
	--t-lead: var(--wp--preset--font-size--lead);
	--section: clamp(96px, 6vw + 64px, 168px);
	--radius: 20px;
	--radius-sm: 12px;
	--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
	--ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
	--i-wa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2a9.9 9.9 0 0 0-8.5 14.98L2 22l5.17-1.5A9.9 9.9 0 1 0 12.04 2Zm0 18.1a8.2 8.2 0 0 1-4.2-1.15l-.3-.18-3.07.89.9-2.98-.2-.31a8.2 8.2 0 1 1 6.87 3.73Zm4.5-6.14c-.25-.12-1.46-.72-1.69-.8-.23-.08-.39-.12-.55.12-.16.25-.63.8-.78.97-.14.16-.29.18-.53.06a6.7 6.7 0 0 1-3.32-2.9c-.25-.43.25-.4.72-1.33.08-.16.04-.3-.02-.42l-.75-1.8c-.2-.48-.4-.41-.55-.42h-.47a.9.9 0 0 0-.65.3 2.74 2.74 0 0 0-.86 2.04 4.76 4.76 0 0 0 1 2.53c.12.16 1.73 2.64 4.2 3.7 1.56.67 2.17.73 2.95.62.48-.07 1.46-.6 1.67-1.18.2-.58.2-1.07.14-1.18-.06-.1-.22-.16-.47-.28Z'/%3E%3C/svg%3E");
	--i-arrow-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m0 0-6-6m6 6-6 6'/%3E%3C/svg%3E");
	--i-arrow-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14m0 0-6-6m6 6 6-6'/%3E%3C/svg%3E");
	--i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-11.5A7 7 0 0 0 5 9.5C5 14.8 12 21 12 21Z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");
	--i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
	--i-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
	--i-leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19c0-9 6-14 15-14 0 9-5 15-14 15'/%3E%3Cpath d='M5 19 13 11'/%3E%3C/svg%3E");
	--i-helmet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 15a9 9 0 0 1 18 0v1H3Z'/%3E%3Cpath d='M12 6v4M3 16h18l-1 3H5Z'/%3E%3C/svg%3E");
}

/* =========================================================
   Base
   ========================================================= */
html { scroll-padding-top: 88px; scrollbar-color: var(--moss) var(--lime); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
*, *::before, *::after { box-sizing: border-box; }

/* WordPress defines the root padding and content size on body, so the aliases live here too. */
body { --gutter: var(--wp--style--root--padding-left, clamp(16px, 4.5vw, 48px)); --content: var(--wp--style--global--content-size, 1240px); }
body { overflow-x: clip; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; caret-color: var(--turq-deep); }
::selection { background: var(--turq); color: #fff; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 8px; }
a { text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
img { height: auto; }

/* Full-width sections on the home page sit flush against each other. */
.lr-main > .wp-block-post-content > *, .lr-main > .wp-block-post-content { margin-block: 0; }
.lr-main { margin-block: 0 !important; }

/* Our components control their own spacing: neutralise the default block gap inside them. */
body [class*="lr-"] > * { margin-block-start: 0; margin-block-end: 0; }
body figure[class*="lr-"] { margin: 0; }
body [class*="lr-"] > .wp-block-buttons { margin: 0; }

/* Icons drawn with CSS masks (one consistent stroke family) */
.lr-mask { display: inline-block; width: 20px; height: 20px; flex: none; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.lr-icon { width: 20px; height: 20px; flex: none; }

/* =========================================================
   Buttons (core/button with classes lr-btn-sun / lr-btn-night / lr-btn-lg / lr-wa)
   ========================================================= */
.wp-block-buttons { gap: 12px; }
.wp-block-button .wp-block-button__link,
.lr-pill, .lr-submit {
	--btn-h: 48px;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: var(--btn-h); padding: 0 22px; border-radius: 999px; border: 0;
	font-family: var(--f-body); font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none; cursor: pointer; user-select: none;
	transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease;
}
.wp-block-button .wp-block-button__link:active, .lr-pill:active, .lr-submit:active { transform: scale(.97); }
.lr-btn-lg .wp-block-button__link { --btn-h: 58px; padding: 0 28px; font-size: 1.0625rem; }
.lr-btn-sun .wp-block-button__link, .lr-pill { background: var(--sun); color: var(--night); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 10px 24px -12px rgba(224,110,0,.85); }
.lr-btn-night .wp-block-button__link { background: var(--night); color: #fff; box-shadow: 0 10px 24px -14px rgba(11,36,31,.9); }
.lr-wa .wp-block-button__link::before { content: ""; width: 20px; height: 20px; flex: none; background: currentColor; -webkit-mask: var(--i-wa) center / contain no-repeat; mask: var(--i-wa) center / contain no-repeat; transition: transform 260ms var(--ease-out); }
.lr-pill .lr-icon { transition: transform 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
	.lr-btn-sun .wp-block-button__link:hover, .lr-pill:hover { background: var(--sun-hi); }
	.lr-btn-night .wp-block-button__link:hover { background: var(--jungle); }
	.lr-wa .wp-block-button__link:hover::before, .lr-pill:hover .lr-icon { transform: rotate(-10deg) scale(1.06); }
}

/* =========================================================
   Header (lanquin/header block)
   ========================================================= */
.lr-site-header {
	position: fixed; inset: 0 0 auto; z-index: 60; color: #fff;
	transition: transform 360ms var(--ease-drawer), background-color 240ms ease, box-shadow 240ms ease;
}
.admin-bar .lr-site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.lr-site-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,36,31,.55), rgba(11,36,31,0)); pointer-events: none; transition: opacity 240ms ease; }
.lr-site-header.is-solid { background: rgba(11,36,31,.92); box-shadow: 0 8px 28px -18px rgba(0,0,0,.7); }
.lr-site-header.is-solid::before { opacity: 0; }
@supports (backdrop-filter: blur(8px)) { .lr-site-header.is-solid { background: rgba(11,36,31,.78); backdrop-filter: blur(12px) saturate(1.4); } }
.lr-site-header.is-hidden { transform: translateY(calc(-100% - var(--wp-admin--admin-bar--height, 0px))); }
.lr-header-row { position: relative; display: flex; align-items: center; gap: 32px; height: 72px; width: min(100% - 2 * var(--gutter), var(--content)); margin: 0 auto; }
.lr-brand { display: flex; align-items: center; min-height: 44px; border-radius: 6px; transition: transform 160ms var(--ease-out); }
.lr-brand:active { transform: scale(.97); }
.lr-brand-logo { width: auto; height: 33px; max-width: 170px; object-fit: contain; }
.lr-nav { display: flex; gap: 32px; margin-left: auto; }
.lr-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: .975rem; text-decoration: none; color: #fff; }
.lr-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--turq-light); border-radius: 2px; transform: scaleX(0); transform-origin: right; transition: transform 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .lr-nav a:hover::after { transform: scaleX(1); transform-origin: left; } }
.lr-header-actions { display: flex; align-items: center; gap: 12px; }
.lr-pill { --btn-h: 42px; padding: 0 16px; font-size: .95rem; }

/* Language switch (Polylang): segmented control with a sliding thumb */
.lr-lang { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.lr-lang a { position: relative; z-index: 1; display: grid; place-items: center; min-width: 44px; height: 40px; padding: 0 10px; color: #fff; font: 700 .8rem/1 var(--f-body); letter-spacing: .06em; text-decoration: none; border-radius: 999px; transition: color 200ms ease, transform 160ms var(--ease-out); }
.lr-lang a[aria-current] { color: var(--night); }
.lr-lang a:active { transform: scale(.95); }
.lr-lang-thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: #fff; box-shadow: 0 2px 8px -2px rgba(0,0,0,.35); transition: transform 280ms var(--ease-in-out); }
.lr-lang[data-active="1"] .lr-lang-thumb { transform: translateX(100%); }
.lr-lang.is-going[data-active="0"] .lr-lang-thumb { transform: translateX(100%); }
.lr-lang.is-going[data-active="1"] .lr-lang-thumb { transform: none; }
.lr-show-sm { display: none; }

/* =========================================================
   Hero
   ========================================================= */
.lr-hero { position: relative; min-height: max(640px, 100svh); display: grid; grid-template-rows: 1fr auto; color: #fff; isolation: isolate; overflow: hidden; background: var(--night); padding-block: 0 !important; }
.lr-hero > .lr-hero-img { position: absolute; inset: 0; z-index: -2; max-width: none !important; margin: 0 !important; }
.lr-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 62%; }
.lr-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		linear-gradient(180deg, rgba(11,36,31,.35) 0%, rgba(11,36,31,0) 22%, rgba(11,36,31,0) 42%, rgba(11,36,31,.78) 78%, rgba(11,36,31,.94) 100%),
		linear-gradient(90deg, rgba(11,36,31,.55) 0%, rgba(11,36,31,0) 60%); }
.lr-hero-grid { align-self: end; display: grid; gap: 48px; padding-top: 112px; padding-bottom: 48px; width: 100%; }
.lr-hero-title { color: #fff; line-height: .86; letter-spacing: -.01em; }
.lr-hero-title em, .lr-guides-title em { display: block; font-style: normal; color: var(--turq-light); }
.lr-hero-sub { margin-top: 24px !important; max-width: 34ch; font-size: var(--t-lead); line-height: 1.5; color: var(--on-dark); }
.lr-hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin-top: 32px !important; }
.lr-link-down a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-weight: 700; color: #fff; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 12px) / 100% 1.5px no-repeat; transition: background-size 260ms var(--ease-out); }
.lr-link-down a::after { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--i-arrow-d) center / contain no-repeat; mask: var(--i-arrow-d) center / contain no-repeat; transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
	.lr-link-down a:hover { background-size: 0 1.5px; background-position: 100% calc(100% - 12px); }
	.lr-link-down a:hover::after { transform: translateY(3px); }
}

.lr-tour-index { display: none; }
.lr-ti { position: relative; display: grid; grid-template-columns: 72px 1fr 24px; align-items: center; gap: 16px; padding: 16px 0; cursor: pointer; }
.lr-ti + .lr-ti { border-top: 1px solid rgba(228,244,240,.22); }
.lr-ti::after { content: ""; width: 22px; height: 22px; background: var(--turq-light); -webkit-mask: var(--i-arrow-r) center / contain no-repeat; mask: var(--i-arrow-r) center / contain no-repeat; transition: transform 240ms var(--ease-out); }
.lr-ti-img { width: 72px; height: 54px; border-radius: 8px; overflow: hidden; }
.lr-ti-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms var(--ease-out); }
.lr-ti-text { display: grid; gap: 2px; }
.lr-ti-name a { font: 800 1.375rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; color: #fff; text-decoration: none; }
.lr-ti-name a::before { content: ""; position: absolute; inset: 0; } /* whole row is the link */
.lr-ti-desc { font-size: .9rem; color: var(--on-dark-muted); }
@media (hover: hover) and (pointer: fine) {
	.lr-ti:hover .lr-ti-img img { transform: scale(1.06); }
	.lr-ti:hover::after { transform: translateX(4px); }
}
.lr-ti:active { transform: scale(.985); transition: transform 120ms var(--ease-out); }

.lr-hero-foot { display: flex; justify-content: space-between; gap: 16px; padding-block: 16px 24px; border-top: 1px solid rgba(228,244,240,.22); font-size: .875rem; font-weight: 600; color: var(--on-dark); width: 100%; }
.lr-hero-place { display: inline-flex; align-items: center; gap: 8px; }
.lr-hero-place::before { content: ""; width: 16px; height: 16px; background: var(--turq-light); -webkit-mask: var(--i-pin) center / contain no-repeat; mask: var(--i-pin) center / contain no-repeat; }
.lr-coords { font-variant-numeric: tabular-nums; color: var(--on-dark-muted); }

@media (prefers-reduced-motion: no-preference) {
	.js .lr-hero-title, .js .lr-hero-sub, .js .lr-hero-ctas { animation: lr-rise 700ms var(--ease-out) both; }
	.js .lr-hero-sub { animation-delay: 160ms; }
	.js .lr-hero-ctas { animation-delay: 240ms; }
	@keyframes lr-rise { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } }
}

/* =========================================================
   Downriver
   ========================================================= */
.lr-downriver { padding-block: var(--section) calc(var(--section) * .8); }
.lr-split-head { display: grid; gap: 24px; margin-bottom: clamp(64px, 8vw, 128px) !important; }
.lr-lead { font-size: var(--t-lead); max-width: 38ch; color: var(--muted); }
.lr-course { position: relative; --rx: 18px; padding-left: calc(var(--rx) * 2 + 24px); display: grid; gap: clamp(64px, 9vw, 144px); }
.lr-river { position: absolute; top: 6px; bottom: 6px; left: 0; width: calc(var(--rx) * 2); pointer-events: none; }
.lr-river svg { width: 100%; height: 100%; overflow: visible; }
.lr-river path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-width: 10; }
.lr-river .river-bank { stroke: var(--stone); }
.lr-river .river-flow { stroke: var(--turq); stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.lr-raft { position: absolute; left: 0; top: 0; width: 30px; height: 16px; margin: -8px 0 0 -15px; border-radius: 999px; background: var(--sun); box-shadow: 0 0 0 3px #fff, 0 6px 14px -4px rgba(11,36,31,.55); will-change: transform; }

.lr-stop { position: relative; }
.lr-stop::before { content: ""; position: absolute; top: 4px; left: calc(-1 * (var(--rx) + 24px)); width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--lime); box-shadow: inset 0 0 0 4px var(--night); z-index: 1; transition: background-color 300ms ease, transform 400ms var(--ease-out); }
.lr-stop-tour::before { top: 0; width: 26px; height: 26px; margin-left: -13px; }
.lr-stop.is-reached::before { background: var(--turq); transform: scale(1.12); }
.lr-stop-rapid.is-reached::before { background: var(--sun); }
.lr-stop-title { font-size: 1.125rem !important; font-weight: 800; line-height: 1.15; letter-spacing: .07em; }
.lr-stop-note > p, .lr-rapid-text > p { margin-top: 8px !important; max-width: 46ch; color: var(--muted); }

.lr-tour { display: grid; gap: 32px; align-items: center; }
.lr-tour-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--moss); }
.lr-tour-flip .lr-tour-media { aspect-ratio: 3 / 2; }
.lr-tour-media img, .lr-rapid-media img, .lr-guides-media img, .lr-mosaic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lr-tour-body { display: grid; gap: 16px; align-content: start; }
.lr-tour-desc { max-width: 52ch; color: var(--muted); }
.lr-facts { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 8px 32px; padding-block: 16px; border-block: 1px solid var(--stone); }
.lr-fact-label, .lr-incl-title { font: 800 .8125rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.lr-fact-value { margin-top: 8px !important; font-weight: 600; font-size: .975rem; }
.lr-fact-sub { margin-top: 2px !important; font-weight: 500; font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.lr-includes { display: grid; gap: 12px; }
.lr-incl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px 24px; }
.lr-incl-list li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: start; font-size: .975rem; line-height: 1.45; margin: 0; }
.lr-incl-list li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; background: var(--turq-deep); -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat; }
.lr-route { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: stop; }
.lr-route li { counter-increment: stop; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--stone); font-weight: 600; font-size: .9375rem; }
.lr-route li::before { content: counter(stop); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--turq); color: var(--night); font: 800 .875rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.lr-tour-body > .wp-block-buttons { margin-top: 8px !important; }

.lr-stop-rapid { display: grid; gap: 24px; align-items: center; }
.lr-rapid-media { width: min(100%, 300px); border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 5; background: var(--moss); }

/* Photos surface as the raft reaches them (clip-path: no layout cost) */
@media (prefers-reduced-motion: no-preference) {
	.js .lr-course .lr-reveal { clip-path: inset(18% 0 0 0 round var(--radius)); transition: clip-path 1100ms var(--ease-in-out); }
	.js .lr-course .lr-reveal img { transform: scale(1.12); transition: transform 1400ms var(--ease-out); }
	.js .lr-course .is-reached .lr-reveal { clip-path: inset(0 0 0 0 round var(--radius)); }
	.js .lr-course .is-reached .lr-reveal img { transform: none; }
}

/* =========================================================
   Guides
   ========================================================= */
.lr-guides { background: var(--night); color: var(--on-dark); padding-block: var(--section) 96px; }
.lr-guides-grid { display: grid; gap: 48px; align-items: center; }
.lr-guides-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--jungle); }
.lr-guides-media img { object-position: 50% 40%; }
.lr-guides-title { color: #fff; }
.lr-years { display: flex; align-items: flex-end; gap: 16px; margin-top: 48px !important; padding-bottom: 32px; border-bottom: 1px solid rgba(143,224,214,.25); }
.lr-years-num { font: 900 clamp(4.5rem, 3rem + 6vw, 6rem)/.78 var(--f-display); color: var(--turq-light); }
.lr-years-label { font: 800 1.375rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; color: #fff; padding-bottom: 4px; }
.lr-claims { display: grid; gap: 32px; margin-top: 32px !important; }
.lr-claim { position: relative; padding-left: 44px; }
.lr-claim::before { content: ""; position: absolute; left: 0; top: 2px; width: 26px; height: 26px; background: var(--turq-light); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.lr-claim-local { --m: var(--i-leaf); }
.lr-claim-safe { --m: var(--i-helmet); }
.lr-claim h3 { font-size: 1.5rem !important; color: #fff; letter-spacing: .01em; }
.lr-claim p { margin-top: 8px !important; color: var(--on-dark-muted); max-width: 48ch; line-height: 1.65; letter-spacing: .005em; }

/* =========================================================
   Gallery
   ========================================================= */
.lr-gallery { background: var(--night); padding-block: 0 var(--section); }
.lr-mosaic { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-inline: calc(-1 * var(--gutter)) !important; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; max-width: none !important; }
.lr-mosaic::-webkit-scrollbar { display: none; }
.lr-mosaic figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 5; background: var(--jungle); scroll-snap-align: start; }
.lr-mosaic img { transition: transform 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .lr-mosaic figure:hover img { transform: scale(1.04); } }

/* =========================================================
   Book
   ========================================================= */
.lr-book { background: var(--turq); color: var(--night); padding-block: var(--section); }
.lr-book-grid { display: grid; gap: 64px; align-items: start; }
.lr-book-lead > .lr-lead { margin: 24px 0 32px !important; color: var(--night); max-width: 36ch; }
.lr-wa-number { margin-top: 8px !important; font-weight: 700; font-variant-numeric: tabular-nums; }
.lr-wa-number a { display: inline-flex; align-items: center; min-height: 44px; text-decoration-color: rgba(11,36,31,.4); }

.lr-inquiry { background: var(--lime); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 48px); display: grid; gap: 16px; box-shadow: 0 30px 60px -30px rgba(11,36,31,.6); }
.lr-inquiry > * { margin: 0; }
.lr-inquiry h3 { font-size: 2rem; margin-bottom: 4px; }
.lr-field { display: grid; gap: 6px; min-width: 0; }
.lr-field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 12px; }
.lr-inquiry label { font-weight: 700; font-size: .9375rem; transition: color 160ms ease; }
.lr-field:focus-within > label { color: var(--turq-deep); }
.lr-opt { font-weight: 400; color: var(--muted); }
.lr-inquiry input, .lr-inquiry select, .lr-inquiry textarea {
	font: inherit; font-size: 1rem; color: var(--night); background: #fff; width: 100%; min-height: 50px; padding: 12px 14px; margin: 0;
	border: 1.5px solid #9DB3AA; border-radius: var(--radius-sm); -webkit-appearance: none; appearance: none;
	transition: border-color 160ms ease, box-shadow 200ms var(--ease-out);
}
.lr-inquiry textarea { resize: vertical; min-height: 96px; }
@media (hover: hover) { .lr-inquiry input:hover, .lr-inquiry select:hover, .lr-inquiry textarea:hover { border-color: var(--moss); } }
.lr-inquiry input:focus, .lr-inquiry select:focus, .lr-inquiry textarea:focus { outline: none; border-color: var(--turq-deep); box-shadow: 0 0 0 4px rgba(25,163,155,.28); }
.lr-select { position: relative; }
.lr-select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.lr-inquiry select { padding-right: 40px; cursor: pointer; }
.lr-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lr-err-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 220ms var(--ease-out); }
.lr-err { overflow: hidden; min-height: 0; margin: 0; color: var(--error); font-size: .875rem; font-weight: 600; opacity: 0; transform: translateY(-4px); transition: opacity 180ms ease, transform 220ms var(--ease-out); }
.lr-field.invalid .lr-err-wrap { grid-template-rows: 1fr; }
.lr-field.invalid .lr-err { opacity: 1; transform: none; }
.lr-field.invalid input { border-color: var(--error); }
.lr-field.invalid input:focus { box-shadow: 0 0 0 4px rgba(180,35,24,.18); }
.lr-submit { position: relative; display: grid; place-items: center; width: 100%; --btn-h: 54px; margin-top: 8px; background: var(--night); color: #fff; }
@media (hover: hover) { .lr-submit:hover { background: var(--jungle); } }
.lr-bs { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 8px; transition: opacity 200ms ease, filter 200ms ease, transform 260ms var(--ease-out); }
.lr-submit:not([data-state="idle"]) .lr-bs-idle,
.lr-submit:not([data-state="loading"]) .lr-bs-loading,
.lr-submit:not([data-state="done"]) .lr-bs-done { opacity: 0; filter: blur(4px); transform: scale(.92); }
.lr-submit[data-state="done"] { background: var(--turq-deep); }
.lr-submit[data-state="loading"] { cursor: progress; }
.lr-spinner { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.3); border-top-color: #fff; animation: lr-spin 600ms linear infinite; }
@keyframes lr-spin { to { transform: rotate(360deg); } }
.lr-form-status { min-height: 1.5em; font-weight: 600; font-size: .9375rem; }
.lr-form-status.ok { color: var(--turq-deep); }
.lr-form-status.bad { color: var(--error); }

/* =========================================================
   Plan / FAQ
   ========================================================= */
.lr-plan { padding-block: var(--section); }
.lr-plan-grid { display: grid; gap: 48px; }
.lr-faq-item { border-bottom: 1.5px solid var(--stone); }
.lr-faq-item:first-child { border-top: 1.5px solid var(--stone); }
.lr-faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 72px; padding-block: 16px; cursor: pointer; font-weight: 700; font-size: 1.1875rem; line-height: 1.3; transition: color 160ms ease; }
.lr-faq-item summary::-webkit-details-marker { display: none; }
.lr-faq-item summary::after { content: ""; width: 24px; height: 24px; flex: none; background: var(--turq-deep); -webkit-mask: var(--i-plus) center / contain no-repeat; mask: var(--i-plus) center / contain no-repeat; transition: transform 300ms var(--ease-out); }
.lr-faq-item[open] summary::after { transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) { .lr-faq-item summary:hover { color: var(--turq-deep); } }
.lr-faq-item > p { margin: 0 !important; padding-bottom: 24px; max-width: 60ch; color: var(--muted); }
@supports (interpolate-size: allow-keywords) {
	.lr-faq { interpolate-size: allow-keywords; }
	.lr-faq-item::details-content { block-size: 0; overflow: clip; opacity: 0; transition: block-size 320ms var(--ease-out), opacity 240ms ease, content-visibility 320ms allow-discrete; }
	.lr-faq-item[open]::details-content { block-size: auto; opacity: 1; }
}

/* =========================================================
   Footer (lanquin/footer block)
   ========================================================= */
.lr-site-footer { background: var(--night); color: var(--on-dark-muted); padding-block: 64px 48px; }
.lr-footer-inner { width: min(100% - 2 * var(--gutter), var(--content)); margin: 0 auto; }
.lr-footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; padding-bottom: 48px; }
.lr-footer-logo { width: auto; height: 33px; max-width: 170px; object-fit: contain; }
.lr-footer-place { display: inline-flex; align-items: center; gap: 8px; margin: 0 auto 0 0; font-weight: 600; color: var(--on-dark); }
.lr-footer-place .lr-icon { width: 18px; height: 18px; color: var(--turq-light); }
.lr-footer-nav { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.lr-footer-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 600; color: var(--on-dark); transition: color 160ms ease; }
@media (hover: hover) { .lr-footer-nav a:hover { color: var(--turq-light); } }
.lr-wordmark { display: block; width: 100%; height: auto; }
.lr-wordmark text { font-family: var(--f-display); font-weight: 900; font-size: 128px; fill: var(--turq); }
.lr-copy { margin: 24px 0 0; font-size: .875rem; }

.lr-fab {
	position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 50;
	width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
	background: var(--sun); color: var(--night); box-shadow: 0 12px 28px -10px rgba(11,36,31,.65);
	opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
	transition: opacity 180ms ease, transform 200ms var(--ease-out);
}
.lr-fab .lr-icon { width: 30px; height: 30px; }
.lr-fab.show { opacity: 1; transform: none; pointer-events: auto; transition-duration: 280ms, 340ms; }
.lr-fab.show:active { transform: scale(.94); transition-duration: 120ms; }

/* =========================================================
   Regular pages and posts (privacy policy, etc.)
   ========================================================= */
.lr-page { padding-block: 152px 96px; min-height: 60vh; }
.lr-page-title { font-size: var(--wp--preset--font-size--section); margin-bottom: 32px !important; }
.lr-page .wp-block-post-content > * + * { margin-block-start: 1.25rem; }
.lr-page .wp-block-post-content a { color: var(--turq-deep); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 599px) {
	.lr-header-row { gap: 12px; }
	.lr-brand-logo { max-width: min(150px, 38vw); height: auto; }
	.lr-hide-sm { display: none; }
	.lr-show-sm { display: inline; }
	.lr-pill { width: 42px; padding: 0; }
	.lr-hero-ctas .wp-block-buttons, .lr-hero-ctas .wp-block-button, .lr-hero-ctas .wp-block-button__link { width: 100%; }
	.lr-coords { display: none; }
	.lr-facts { grid-template-columns: 1fr 1fr; }
	.lr-facts > :last-child { grid-column: 1 / -1; }
	.lr-field-row { grid-template-columns: 1fr; }
}
@media (max-width: 899px) {
	.lr-nav { display: none; }
	.lr-header-actions { margin-left: auto; }
}
@media (min-width: 600px) {
	.lr-incl-list { grid-template-columns: 1fr 1fr; }
	.lr-mosaic { grid-auto-columns: 46%; }
	.lr-stop-rapid { grid-template-columns: 1fr auto; }
}
@media (min-width: 900px) {
	.lr-fab { display: none; }
	.lr-course { --rx: 44px; }
	.lr-split-head { grid-template-columns: 1.15fr 1fr; align-items: end; column-gap: 64px; }
	.lr-split-head > .lr-lead { justify-self: end; }
	.lr-tour { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 96px); }
	.lr-tour-flip > .lr-tour-media { order: 2; }
	.lr-stop-note { max-width: 40rem; }
	.lr-stop-rapid { grid-template-columns: minmax(0, 1fr) 280px; column-gap: 64px; max-width: 820px; }
	.lr-guides-grid, .lr-book-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 6vw, 128px); }
	.lr-book-lead { position: sticky; top: 120px; }
	.lr-plan-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 128px); align-items: start; }
	.lr-mosaic { overflow: visible; margin-inline: auto !important; padding-inline: 0; max-width: var(--content) !important; grid-auto-flow: row; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(2, clamp(200px, 21vw, 290px)); }
	.lr-mosaic figure { aspect-ratio: auto; border-radius: var(--radius); }
	.lr-mosaic .lr-m1 { grid-column: 1 / 6; grid-row: 1 / 3; }
	.lr-mosaic .lr-m2 { grid-column: 6 / 10; grid-row: 1; }
	.lr-mosaic .lr-m3 { grid-column: 10 / 13; grid-row: 1; }
	.lr-mosaic .lr-m4 { grid-column: 6 / 9; grid-row: 2; }
	.lr-mosaic .lr-m5 { grid-column: 9 / 13; grid-row: 2; }
}
@media (min-width: 1100px) {
	.lr-hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: 96px; align-items: end; }
	.lr-tour-index { display: block; padding-bottom: 4px; }
}

/* Reduced motion: keep fades, drop movement */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-property: opacity, color, background-color, border-color, box-shadow !important; animation: none !important; }
	.lr-spinner { animation: lr-spin 1.2s linear infinite !important; }
	.lr-raft { display: none; }
}
