/* ==========================================================================
   SMILSUTERAPIJA — homepage (LV / and RU /ru/). Direction C × A, refined in Phase 06 as an editorial layout: "the tray in lamplight".
   Deep petrol fields, warm lamplit photographs, ivory reading fields, one action colour (amber,
   the colour of the lit windows in the miniatures). Tokens documented in /DESIGN.md.
   Fonts: Source Serif 4 (display and statements), Inter (text, UI); both self-hosted (/fonts.css).
   ========================================================================== */

:root {
    /* colour */
    --petrol-950: #071F25;
    --petrol-900: #0A2A31;
    --petrol-800: #0E3841;
    --petrol-700: #164954;
    --ivory: #F6F0E4;
    --ivory-2: #EDE4D2;
    --sand: #D9BD8F;
    --sand-deep: #B88A52;
    --ink: #112A30;
    --ink-2: #2F4A50;
    --amber: #F2B65A;
    --amber-hover: #F7C677;
    --on-amber: #0A2A31;
    --on-dark: #F6F0E4;
    --on-dark-2: #C9D6D6;
    --line-dark: rgba(246, 240, 228, 0.18);
    --line-light: rgba(17, 42, 48, 0.2);

    /* type */
    --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

    /* space & layout */
    --gutter: max(clamp(20px, 5vw, 72px), calc((100vw - 1360px) / 2));
    --r: 8px;
    --r-sm: 5px;
    --section: clamp(56px, 6.5vw, 104px);
    --header-h: 76px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);

    /* consent banner follows the page language of design */
    --font-display: var(--serif);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    min-width: 320px;
    background: var(--petrol-900);
    color: var(--on-dark);
    font: 400 1.0625rem/1.68 var(--sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-underline-offset: 0.2em; }
::selection { background: var(--amber); color: var(--petrol-950); }

.on-dark { --focus: var(--amber); color: var(--on-dark); }
.on-light { --focus: var(--petrol-800); color: var(--ink); background: var(--ivory); }
:focus-visible { outline: 3px solid var(--focus, var(--amber)); outline-offset: 3px; }
.site-header { --focus: var(--amber); }

h1, h2, h3 { font-family: var(--serif); font-optical-sizing: auto; font-weight: 500; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 1.3rem + 1.9vw, 3.1rem); line-height: 1.1; letter-spacing: -0.016em; }
h3 { font-size: clamp(1.25rem, 1.15rem + 0.45vw, 1.55rem); line-height: 1.22; letter-spacing: -0.008em; }
.statement {
    font: 400 clamp(1.15rem, 1.02rem + 0.55vw, 1.4rem)/1.45 var(--serif);
    font-optical-sizing: auto;
    max-width: 40ch;
    text-wrap: pretty;
}
p { max-width: 64ch; }

.skip {
    position: absolute; left: 12px; top: -64px; z-index: 100;
    background: var(--amber); color: var(--on-amber); padding: 12px 18px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
    padding: 0.9em 1.5em; border: 1.5px solid transparent; border-radius: var(--r-sm);
    font: 600 1rem/1.25 var(--sans); text-decoration: none; cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn--amber { background: var(--amber); color: var(--on-amber); }
.btn--amber:hover { background: var(--amber-hover); }
.btn--lg { padding: 1.05em 1.9em; font-size: 1.0625rem; }
.btn--sm { padding: 0.62em 1.1em; font-size: 0.9375rem; }
.ico { width: 1.05em; height: 1.05em; flex: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--petrol-900); color: var(--on-dark); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding: 0 var(--gutter); }
.wordmark { display: inline-flex; align-items: baseline; text-decoration: none; font-family: var(--serif); font-optical-sizing: auto; font-size: 1.7rem; line-height: 1; letter-spacing: -0.015em; white-space: nowrap; }
.wordmark__a { font-weight: 700; }
.wordmark__b { font-weight: 250; margin-left: 0.14em; }
.wordmark__lv { font: 500 0.72rem/1 var(--sans); letter-spacing: 0.02em; color: var(--sand); margin-left: 0.2em; }
.wordmark--lg { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); margin-left: auto; }
.desktop-nav a { font-size: 1rem; font-weight: 500; text-decoration: none; padding: 10px 0; white-space: nowrap; color: rgba(246, 240, 228, 0.9); background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 0 1.5px no-repeat; transition: background-size 0.3s var(--ease), color 0.2s; }
.desktop-nav a:hover, .desktop-nav a.is-current { color: #fff; background-size: 100% 1.5px; }
.desktop-nav a.is-current { background-image: linear-gradient(var(--amber), var(--amber)); }
.actions { display: flex; align-items: center; gap: 4px; }
.actions .book-btn { margin-left: 12px; }
.lang-btn { display: inline-block; min-width: 40px; padding: 11px 10px; text-align: center; text-decoration: none; font-size: 0.875rem; font-weight: 500; color: rgba(246, 240, 228, 0.78); border-radius: var(--r-sm); transition: color 0.2s; }
.lang-btn:hover { color: #fff; }
.lang-btn.is-active { color: #fff; font-weight: 700; box-shadow: inset 0 -2px 0 var(--amber); }

.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; padding: 0; border: 0; background: transparent; color: inherit; text-decoration: none; cursor: pointer; border-radius: 2px; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px auto; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 55; overflow-y: auto; padding: 28px var(--gutter) 48px; background: var(--petrol-900); color: var(--on-dark); --focus: var(--amber); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s ease, transform 0.25s var(--ease), visibility 0.25s; }
.mobile-menu.is-open, .mobile-menu:target { opacity: 1; visibility: visible; transform: none; } /* :target = no-script / failed-script fallback: the hamburger is a link to #mobile-menu */
.mobile-nav { display: grid; gap: 4px; max-width: 520px; }
.mobile-nav > a:not(.btn) { padding: 14px 0; font: 500 clamp(1.5rem, 1.2rem + 1.4vw, 2rem)/1.2 var(--serif); text-decoration: none; }
.mobile-languages { display: flex; gap: 6px; margin: 18px 0 22px; }
.mobile-languages .lang-btn { padding: 12px 14px; font-size: 1rem; }
.mobile-book-button { justify-self: start; }
body.menu-open { overflow: hidden; }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- hero: text first, one compact photograph, a quiet strip of verified facts ---------- */
.hero { background: var(--petrol-800); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, clamp(340px, 31vw, 480px)); gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(32px, 4vw, 60px) var(--gutter) clamp(36px, 4vw, 56px); }
.hero__copy { display: grid; gap: 16px; justify-items: start; }
.hero__eyebrow { font: 600 0.8125rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand); }
.hero h1 { display: grid; gap: 12px; font-weight: 450; letter-spacing: -0.022em; }
.h1-main { font-size: clamp(1.9rem, 0.7rem + 2.2vw, 2.9rem); line-height: 1.12; }
.h1-main span { display: block; }
.hero__lead { font: 600 clamp(1.1rem, 1rem + 0.35vw, 1.3rem)/1.4 var(--sans); max-width: 52ch; margin-top: 4px; }
.hero__p { color: var(--on-dark-2); font-size: 1.125rem; line-height: 1.65; max-width: 60ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; margin-top: 12px; }
.hero__person { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.hero__thumb { width: 72px; height: 72px; flex: none; object-fit: cover; object-position: 50% 15%; border-radius: var(--r); box-shadow: 0 0 0 2px var(--sand-deep); }
.hero__person-text { display: block; }
.hero__person-text strong { display: block; font: 500 1.25rem/1.25 var(--serif); font-optical-sizing: auto; width: fit-content; background: linear-gradient(var(--amber), var(--amber)) 0 100% / 0 1px no-repeat; transition: background-size 0.3s var(--ease); }
.hero__person:hover strong { background-size: 100% 1px; }
.hero__person-text span { display: block; max-width: 28ch; margin-top: 3px; font-size: 0.9375rem; line-height: 1.4; color: var(--on-dark-2); }
.hero__media { margin: 0; justify-self: end; width: 100%; }
.hero__media picture { display: block; overflow: hidden; border-radius: var(--r); background: var(--petrol-950); }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; }
.hero__strip { list-style: none; padding: 0 var(--gutter) clamp(30px, 3.4vw, 44px); margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px clamp(20px, 3vw, 48px); background: var(--petrol-800); }
.hero__strip li { display: grid; gap: 6px; align-content: start; padding-top: 16px; border-top: 1px solid var(--line-dark); position: relative; }
.hero__strip li::before { content: ""; position: absolute; top: -1px; left: 0; width: 36px; height: 2px; background: var(--amber); }
.hero__strip span { font-size: 0.875rem; color: var(--sand); }
.hero__strip strong { font: 450 1.125rem/1.3 var(--serif); font-optical-sizing: auto; overflow-wrap: anywhere; hyphens: auto; }

/* ---------- what is sandplay: image and explanation, then the three elements as a full row ---------- */
.what { padding: var(--section) var(--gutter); }
.what__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.what__media { margin: 0; }
.what__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r); }
.what__text { display: grid; gap: clamp(16px, 1.8vw, 22px); }
.what__text .statement { max-width: 50ch; }
.what__body { display: grid; gap: 14px; color: var(--ink-2); font-size: 1.0625rem; max-width: 66ch; }
.principles { list-style: none; padding: 0; margin: clamp(32px, 4vw, 56px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.4vw, 56px); }
.principles li { display: grid; gap: 8px; align-content: start; padding-top: 24px; border-top: 1px solid var(--line-light); }
.ico-lg { width: 40px; height: 40px; color: var(--sand-deep); margin-bottom: 6px; transition: transform 0.5s var(--ease); }
.principles li:hover .ico-lg { transform: translateY(-3px); }
.principles h3 { font-size: 1.35rem; }
.principles p { color: var(--ink-2); max-width: 44ch; }

/* ---------- who is it for: four equal editorial columns, no boxes ---------- */
.aud-section { background: var(--petrol-900); padding: var(--section) var(--gutter); }
.aud-section__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 5vw, 88px); align-items: start; margin-bottom: clamp(28px, 3.4vw, 48px); }
.aud-section__head .statement { color: var(--on-dark-2); max-width: 54ch; }
.aud-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.2vw, 36px); }
.aud article { height: 100%; display: flex; flex-direction: column; }
.aud figure { margin: 0; overflow: hidden; border-radius: var(--r); }
.aud figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.9s var(--ease); }
.aud article:hover figure img { transform: scale(1.04); }
.aud__body { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; flex: 1; }
.aud__n { display: flex; align-items: center; gap: 12px; font: 400 1rem/1 var(--serif); color: var(--amber); font-variant-numeric: lining-nums; letter-spacing: 0.04em; }
.aud__n::after { content: ""; flex: 1; height: 1px; background: var(--line-dark); }
.aud h3 { font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.85rem); margin-top: 4px; }
.aud__body > p:not(.aud__n) { font-size: 1rem; line-height: 1.6; color: var(--on-dark-2); }
.topics { list-style: none; padding: 14px 0 0; margin-top: auto; border-top: 1px solid var(--line-dark); display: grid; gap: 5px; color: var(--sand); font-size: 0.9375rem; line-height: 1.4; }
.topics li::before { content: ""; display: inline-block; width: 0.7em; height: 2px; margin-right: 0.55em; vertical-align: middle; background: var(--sand-deep); }

/* ---------- process: numbered timeline, then an editorial note with the sand photograph ---------- */
.process { background: var(--ivory-2); padding: var(--section) var(--gutter); }
.process__intro { display: grid; gap: 14px; max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.process__intro .statement { color: var(--ink-2); }
.steps { --gap: clamp(24px, 3vw, 48px); list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.steps li { position: relative; display: grid; align-content: start; gap: 8px; }
.step__n { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; background: var(--petrol-900); color: var(--amber); font: 500 1.375rem/1 var(--serif); font-variant-numeric: lining-nums; }
.steps li:not(:last-child)::before { content: ""; position: absolute; top: 28px; left: 64px; right: calc(-1 * var(--gap) + 8px); height: 1px; background: var(--sand-deep); transform-origin: left; }
.steps h3 { font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.65rem); }
.steps p { font-size: 1rem; line-height: 1.6; color: var(--ink-2); max-width: 36ch; }
.process__foot { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px); align-items: center; margin-top: clamp(36px, 4.4vw, 64px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line-light); }
.process__media { margin: 0; }
.process__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 72%; border-radius: var(--r); }
.process__pace { display: grid; gap: 10px; }
.process__pace p { color: var(--ink-2); font-size: 1.125rem; line-height: 1.6; max-width: 56ch; }

/* ---------- specialist: portrait left, personal text and qualifications right ---------- */
.spec { background: var(--petrol-800); display: grid; grid-template-columns: clamp(250px, 26vw, 380px) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 88px); align-items: start; padding: var(--section) var(--gutter); }
.spec__portrait { margin: 0; }
.spec__portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--r); }
.spec__text { display: grid; gap: 14px; justify-items: start; }
.spec__label { font: 500 0.9375rem/1.3 var(--sans); color: var(--sand); }
.spec h2 { font-size: clamp(2.4rem, 1.4rem + 3.2vw, 4.2rem); font-weight: 450; line-height: 1.03; }
.spec__role { font: 400 clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem)/1.4 var(--serif); font-optical-sizing: auto; max-width: 48ch; color: var(--sand); }
.spec__cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); width: 100%; margin-top: clamp(8px, 1.4vw, 18px); }
.spec__about { display: grid; gap: 14px; align-content: start; }
.spec__about > p { font-size: 1.125rem; line-height: 1.65; color: var(--on-dark); max-width: 56ch; }
.spec__about > p + p { color: var(--on-dark-2); }
.spec h3 { font: 600 1rem/1.3 var(--sans); letter-spacing: 0; color: var(--sand); }
.spec__about h3 { margin-top: 10px; }
.spec__works { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.spec__works li::before, .spec__creds li::before { content: ""; display: inline-block; width: 0.7em; height: 2px; margin-right: 0.6em; vertical-align: middle; background: var(--sand-deep); }
.facts { display: flex; flex-wrap: wrap; gap: 10px 40px; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line-dark); }
.facts dt { font-size: 0.875rem; color: var(--on-dark-2); }
.facts dd { font-weight: 600; }
.spec__quals { display: grid; gap: 14px; align-content: start; padding-left: clamp(20px, 2.6vw, 40px); border-left: 1px solid var(--line-dark); }
.spec__creds { list-style: none; padding: 0; display: grid; gap: 14px; line-height: 1.5; }
.spec__creds li::before { display: block; width: 20px; margin: 0 0 8px; }
.spec__links { display: grid; gap: 6px; margin-top: 6px; }
.spec__links .ico { display: inline-block; margin-left: 0.35em; vertical-align: -0.12em; }
.spec__links a { display: block; width: fit-content; padding: 6px 0; font-size: 0.9375rem; text-decoration: underline; text-decoration-color: var(--sand-deep); text-underline-offset: 0.25em; transition: color 0.2s ease, text-decoration-color 0.2s ease; }
.spec__links a:hover { color: var(--amber); text-decoration-color: var(--amber); }
.spec__actions { margin-top: clamp(6px, 1.4vw, 16px); }
.link-cta { display: inline-flex; align-items: center; gap: 0.6em; min-height: 44px; padding: 10px 2px 10px 0; border-radius: 2px; color: var(--amber); font: 600 1.0625rem/1.3 var(--sans); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.4em; text-decoration-color: rgba(242, 182, 90, 0.45); transition: color 0.2s ease, text-decoration-color 0.2s ease; }
.link-cta .ico { width: 1.15em; height: 1.15em; transition: transform 0.3s var(--ease); }
.link-cta:hover { color: var(--amber-hover); text-decoration-color: var(--amber-hover); }
.link-cta:hover .ico, .link-cta:focus-visible .ico { transform: translateX(5px); }

/* ---------- contact: compact shoreline band, then contact details with priority ---------- */
.contact { background: var(--petrol-900); }
.contact__band { position: relative; margin: 0; height: clamp(150px, 16vw, 240px); overflow: hidden; background: var(--petrol-950); }
.contact__band picture { height: 100%; }
.contact__band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 96px); align-items: start; padding: clamp(48px, 6vw, 96px) var(--gutter); }
.contact__info { display: grid; gap: 18px; justify-items: start; }
.contact__info h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem); }
.contact__lead { color: var(--on-dark-2); max-width: 52ch; font-size: 1.0625rem; }
.contact__details { display: grid; gap: 22px; padding-top: 8px; width: 100%; }
.contact__mail { display: grid; gap: 4px; max-width: none; }
.contact__mail span { font-size: 0.875rem; color: var(--sand); }
.contact__mail a { width: fit-content; max-width: 100%; overflow-wrap: anywhere; font: 450 clamp(1.35rem, 1.1rem + 1vw, 1.9rem)/1.2 var(--serif); font-optical-sizing: auto; text-decoration-thickness: 1px; text-decoration-color: var(--sand-deep); transition: text-decoration-color 0.2s ease, color 0.2s ease; }
.contact__mail a:hover { color: var(--amber); text-decoration-color: var(--amber); }
.contact__facts { display: grid; border-top: 1px solid var(--line-dark); }
.contact__facts div { display: grid; grid-template-columns: minmax(96px, 1fr) 2fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.contact__facts dt { font-size: 0.875rem; color: var(--sand); }

/* ---------- consultation request form (Phase 12): one panel inside the contact section ---------- */
.consult { --field-line: #7C9A9F; --err: #FFB9AD; display: grid; gap: 20px; padding: clamp(22px, 3vw, 40px); background: var(--petrol-800); border: 1px solid var(--line-dark); border-radius: var(--r); }
.consult__field { display: grid; gap: 8px; }
.consult label, .consult legend { font-size: 0.9375rem; font-weight: 500; color: var(--on-dark); }
.consult legend { padding: 0; margin-bottom: 10px; }
.consult input[type="text"], .consult input[type="email"], .consult input[type="tel"] {
    width: 100%; min-height: 48px; padding: 0.7em 0.9em; border: 1px solid var(--field-line); border-radius: var(--r-sm);
    background: var(--petrol-950); color: var(--on-dark); font: 400 1rem/1.4 var(--sans); transition: border-color 0.2s ease;
}
.consult input[type="text"]:hover, .consult input[type="email"]:hover, .consult input[type="tel"]:hover { border-color: var(--sand); }
.consult input[aria-invalid="true"] { border-color: var(--err); }
.consult__error { font-size: 0.9375rem; line-height: 1.45; color: var(--err); }
.consult__pref { border: 0; padding: 0; min-width: 0; margin: 0; }
.consult__seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.consult__seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.consult__seg label { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.5em 0.9em; text-align: center; border: 1px solid var(--field-line); border-radius: var(--r-sm); cursor: pointer; font-weight: 500; transition: background-color 0.2s ease, border-color 0.2s ease; }
.consult__seg label:hover { border-color: var(--sand); }
.consult__seg input:checked + label { background: var(--petrol-700); border-color: var(--sand); box-shadow: inset 0 0 0 1px var(--sand); }
.consult__seg input:focus-visible + label { outline: 3px solid var(--amber); outline-offset: 3px; }
.consult__consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; }
.consult__consent input { width: 24px; height: 24px; margin: 10px 0 0; accent-color: var(--amber); cursor: pointer; }
.consult__consent label { padding: 10px 0; min-height: 44px; font-weight: 400; line-height: 1.5; cursor: pointer; }
.consult__consent a { text-underline-offset: 3px; text-decoration-color: var(--sand-deep); }
.consult__consent a:hover { color: var(--amber); }
.consult__hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; pointer-events: none; }
.consult__submit { justify-self: start; min-height: 52px; }
.consult__submit[aria-disabled="true"] { opacity: 0.7; cursor: progress; }
.consult__submit[aria-disabled="true"]:hover { background: var(--amber); }
.consult__note { font-size: 0.875rem; line-height: 1.5; color: var(--on-dark-2); max-width: none; }
.consult__status { font-size: 1.0625rem; line-height: 1.55; color: var(--on-dark); max-width: none; }
.consult__status:empty { height: 0; overflow: hidden; margin: -10px 0 0; }
.consult__status--ok, .consult__status[data-state="ok"] { padding: 14px 0 2px 16px; border-left: 3px solid var(--amber); }
.consult__status--error, .consult__status[data-state="error"] { padding: 12px 14px; border-left: 3px solid var(--err); color: var(--err); background: var(--petrol-950); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.consult__status[data-state="busy"] { color: var(--on-dark-2); }
.consult.is-done > :not(.consult__status) { display: none; }
.consult.is-done { gap: 0; }
.consult__status:focus { outline: none; }
.consult-result { min-height: calc(100vh - var(--header-h)); }
.consult-result__inner { display: grid; gap: 20px; max-width: 640px; padding: clamp(36px, 6vw, 80px) var(--gutter); }
.consult-result__inner h1 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); }
.result-page .site-header { position: static; }
@media (prefers-reduced-motion: no-preference) {
    .consult__submit[aria-disabled="true"] { animation: consult-pulse 1.4s ease-in-out infinite; }
}
@keyframes consult-pulse { 50% { opacity: 0.5; } }

/* ---------- footer ---------- */
.site-footer { background: var(--petrol-950); padding: clamp(48px, 6vw, 80px) var(--gutter) 28px; }
.footer-main { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 80px); }
.footer-brand p { margin-top: 14px; color: var(--on-dark-2); max-width: 34ch; }
.footer-nav, .footer-contacts { display: grid; gap: 2px; align-content: start; }
.footer-title { font: 600 0.9375rem/1.3 var(--sans); color: var(--sand); margin-bottom: 10px; }
.footer-nav a, .footer-contacts a { text-decoration: none; padding: 7px 0; color: var(--on-dark); width: fit-content; transition: color 0.2s ease; }
.footer-nav a:hover, .footer-contacts a:hover { color: var(--amber); text-decoration: underline; }
.footer-contacts p { color: var(--on-dark-2); }
.footer-note { margin-top: clamp(32px, 4vw, 52px); font-size: 0.8125rem; line-height: 1.5; color: var(--on-dark-2); max-width: 90ch; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 32px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-dark); font-size: 0.875rem; color: var(--on-dark-2); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-legal a, .footer-legal .footer-cookie-settings { display: inline-block; padding: 8px 0; color: var(--on-dark); text-decoration: underline; text-underline-offset: 0.2em; transition: color 0.2s ease; }
.footer-legal a:hover, .footer-legal .footer-cookie-settings:hover { color: var(--amber); }
.footer-top-link { text-decoration: none; padding: 8px 0; }
.footer-top-link:hover { color: var(--amber); text-decoration: underline; }

/* ---------- motion: content is visible by default; hidden only while JS can reveal it ---------- */
.site-footer .footer-cookie-settings:focus-visible { outline-color: var(--amber); }
/* Progressive enhancement: home.js adds .reveal-ready to <html> only after it has run and can reveal; without it everything is visible. */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
.reveal-ready figure[data-reveal="image"] { transform: none; clip-path: inset(0 0 12% 0); transition: opacity 0.8s var(--ease), clip-path 1s var(--ease); }
.reveal-ready figure[data-reveal="image"].is-visible { clip-path: inset(0); }
.reveal-ready .aud-list li:nth-child(2), .reveal-ready .steps li:nth-child(2) { transition-delay: 0.08s; }
.reveal-ready .aud-list li:nth-child(3), .reveal-ready .steps li:nth-child(3) { transition-delay: 0.16s; }
.reveal-ready .aud-list li:nth-child(4), .reveal-ready .steps li:nth-child(4) { transition-delay: 0.24s; }
.reveal-ready .steps li:not(:last-child)::before { transform: scaleX(0); transition: transform 1s var(--ease) 0.3s; }
.reveal-ready .steps li.is-visible:not(:last-child)::before { transform: scaleX(1); }
@media print { [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; } }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
    .desktop-nav { gap: 18px; }
    .desktop-nav a { font-size: 0.9375rem; }
}
@media (max-width: 1100px) {
    .desktop-nav, .actions { display: none; }
    .menu-toggle { display: block; }
    .aud-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
    .hero__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .spec__cols { grid-template-columns: 1fr; }
    .spec__quals { padding-left: 0; border-left: 0; padding-top: 20px; border-top: 1px solid var(--line-dark); }
}
@media (max-width: 900px) {
    :root { --header-h: 68px; }
    .what__top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .what__media { max-width: 420px; }
    .principles { grid-template-columns: 1fr; gap: 24px; }
    .principles li { grid-template-columns: 40px 1fr; column-gap: 18px; }
    .principles li .ico-lg { grid-row: span 2; margin: 0; }
    .aud-section__head { grid-template-columns: 1fr; gap: 14px; }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
    .steps li:nth-child(2)::before { display: none; }
    .process__foot { grid-template-columns: 1fr; }
    .process__media { max-width: 520px; }
    .spec { grid-template-columns: 1fr; row-gap: 28px; }
    .spec__portrait { position: static; max-width: 320px; }
    .contact__grid { grid-template-columns: 1fr; gap: 28px; }
    /* single column: heading, intro, FORM, then contact details (the booking CTAs land on the form) */
    .contact__info { display: contents; }
    .contact__info h2, .contact__lead { grid-column: 1; }
    .contact__form { order: 1; }
    .contact__details { order: 2; }
    .contact__lead { margin-top: -10px; }
    .footer-main { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .hero__grid { grid-template-columns: 1fr; gap: 24px; padding-top: 26px; }
    .hero__copy { gap: 12px; }
    .h1-main { font-size: clamp(1.7rem, 1.1rem + 3vw, 2.3rem); }
    .hero__p { font-size: 1.0625rem; }
    .hero__media img { aspect-ratio: 16 / 10; object-position: 50% 45%; }
    .hero__actions { width: 100%; gap: 18px; }
    .btn--lg { width: 100%; }
    .aud-list { grid-template-columns: 1fr; row-gap: 36px; }
    .aud figure img { aspect-ratio: 16 / 10; }
    .steps { grid-template-columns: 1fr; gap: 0; }
    .steps li { padding: 0 0 28px 76px; min-height: 56px; }
    .steps li:last-child { padding-bottom: 0; }
    .step__n { position: absolute; left: 0; top: 0; margin: 0; }
    .steps li:not(:last-child)::before, .steps li:nth-child(2)::before { display: block; top: 56px; bottom: 0; left: 27px; right: auto; width: 1px; height: auto; transform-origin: top; }
    .reveal-ready .steps li:not(:last-child)::before, .reveal-ready .steps li.is-visible:not(:last-child)::before { transform: scaleY(1); }
    .spec__links a { padding: 10px 0; }
    .contact__facts div { grid-template-columns: 1fr; gap: 2px; }
    .footer-nav a { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 400px) and (max-height: 640px) {
    /* very short phones (e.g. 320x568): the call to action comes straight after the lead, the longer paragraph follows it */
    .hero__copy .hero__actions { order: 3; margin-top: 4px; }
    .hero__copy .hero__p { order: 4; }
}
@media (max-width: 400px) {
    .hero__grid { padding-top: 18px; gap: 20px; }
    .hero__copy { gap: 8px; }
    .hero__lead { font-size: 1.05rem; }
    .hero__p { font-size: 1rem; line-height: 1.55; }
    .hero__actions { margin-top: 6px; gap: 14px; }
}
@media (max-width: 480px) {
    .hero__strip { gap: 16px 18px; }
    .hero__strip strong { font-size: 1rem; }
}
@media (max-width: 1100px) and (scripting: none) {
    .menu-toggle { display: none; }
    .site-header { position: static; }
    .mobile-menu { position: static; opacity: 1; visibility: visible; transform: none; padding: 8px var(--gutter) 20px; border-top: 1px solid var(--line-dark); }
    .mobile-nav { max-width: none; grid-template-columns: repeat(auto-fit, minmax(150px, max-content)); gap: 0 28px; align-items: center; }
    .mobile-nav > a:not(.btn) { font-size: 1.125rem; padding: 12px 0; }
    .mobile-languages { margin: 0; }
    .mobile-book-button { justify-self: start; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .link-cta:hover .ico, .link-cta:focus-visible .ico { transform: none; }
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; transition-delay: 0s !important; }
    [data-reveal], figure[data-reveal="image"] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
    .steps li::before { transform: none !important; }
}
