/* ==========================================================================
   IQ Säbi Academy — V2 «Жайдарлы / Playful Bright»
   Sticker-book system: ink outlines, hard offset shadows, fixed tilt set
   (−2°, 0°, 1.5°), colour-blocked fields cyan → cream → sun → pink-tint → sky-tint.
   Rule: text on brand colours is ALWAYS ink.
   ========================================================================== */

:root {
  color-scheme: light;
  --bg: #FFFBE3;
  --cream: #FFFFE1;      /* logo tile cream */
  --ink: #0B3B3C;
  --cyan: #36C1DB;
  --pink: #FF7D8D;
  --sun: #F5B841;
  --sky: #5AAEE6;
  --grass: #6CC07A;
  --star: #FCCD76;
  --pink-t: #FFE3E6;
  --sky-t: #DDEFFB;

  --line: 2.5px solid var(--ink);
  --r: 24px;
  --sh: 6px 6px 0 var(--ink);
  --sh-h: 9px 9px 0 var(--ink);
  --sh-s: 4px 4px 0 var(--ink);

  --f-display: "Rubik", "Nunito", system-ui, sans-serif;
  --f-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-hand: "Balsamiq Sans", "Nunito", system-ui, sans-serif;

  --gut: 16px;
  --max: 1200px;
  --dots: radial-gradient(rgba(11, 59, 60, .07) 2px, transparent 2.6px);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 18px/1.6 var(--f-body);
  overflow-x: hidden;
  padding-bottom: calc(80px + env(safe-area-inset-bottom));
}
@media (min-width: 768px) { body { padding-bottom: 0; } }
img, svg { max-width: 100%; display: block; }
svg { overflow: visible; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; overflow-wrap: anywhere; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
blockquote { margin: 0; }
q { quotes: "«" "»" "„" "“"; }
figure { margin: 0; }

/* Waits for main.js to swap to RU (stored preference) — fallback reveal */
html.i18n-wait body { opacity: 0; animation: reveal 0s 1.2s forwards; }
@keyframes reveal { to { opacity: 1; } }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 7px var(--star);
  border-radius: 12px;
}
.footer :focus-visible { outline-color: var(--bg); box-shadow: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--sun); color: var(--ink); font-weight: 800;
  padding: 12px 18px; border: var(--line); border-radius: 999px; box-shadow: var(--sh-s);
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
@media (min-width: 768px) { :root { --gut: 28px; } }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

/* ---------- Colour fields + wavy edges + polka dots ---------- */
.field { position: relative; padding: 64px 0 76px; overflow-x: clip; }
@media (min-width: 900px) { .field { padding: 96px 0 104px; } }
.f-cyan  { background-color: var(--cyan); }
.f-cream { background-color: var(--bg); }
.f-sun   { background-color: var(--sun); }
.f-pink  { background-color: var(--pink-t); }
.f-sky   { background-color: var(--sky-t); }
.f-ink   { background-color: var(--ink); color: var(--bg); }
.dots { background-image: var(--dots); background-size: 22px 22px; }
.f-ink.dots { background-image: radial-gradient(rgba(255, 251, 227, .07) 2px, transparent 2.6px); }

.wavy::before {
  content: ""; position: absolute; left: 0; right: 0; top: -21px; height: 22px;
  background: inherit;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cpath d='M0 22V11Q30 0 60 11T120 11V22Z'/%3E%3C/svg%3E") repeat-x 0 0 / 120px 22px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cpath d='M0 22V11Q30 0 60 11T120 11V22Z'/%3E%3C/svg%3E") repeat-x 0 0 / 120px 22px;
  pointer-events: none;
}

/* ---------- Type ---------- */
.display {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2rem, 7vw, 3.6rem); line-height: 1.04; letter-spacing: -.01em;
  overflow-wrap: anywhere;
}
.h2 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(1.9rem, 6vw, 3rem); line-height: 1.06; letter-spacing: -.005em;
}
.h3 { font-family: var(--f-body); font-weight: 800; font-size: 1.3rem; line-height: 1.2; }
.eyebrow {
  display: inline-block; font-weight: 800; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--star); border: var(--line); border-radius: 999px; padding: 4px 14px; margin-bottom: 18px;
}
.lead { font-size: 1.12rem; font-weight: 700; max-width: 40ch; }
.hand { font-family: var(--f-hand); }
.muted { opacity: .86; }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head p { font-size: 1.08rem; }

/* ---------- Buttons, chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px;
  font: 800 19px/1.15 var(--f-body); color: var(--ink); text-decoration: none; text-align: center;
  background: var(--bg); border: var(--line); border-radius: 999px; box-shadow: var(--sh-s);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--pink { background: var(--pink); }
.btn--sun { background: var(--sun); }
.btn--grass { background: var(--grass); }
.btn--sky { background: var(--sky); }
.btn--lg { min-height: 60px; padding: 14px 28px; font-size: 20px; }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: 16px; }
.btn--pink:focus-visible, .btn--lg:focus-visible { animation: wiggle .5s ease 1; }
@keyframes wiggle {
  0%, 100% { rotate: 0deg; } 25% { rotate: -2deg; } 50% { rotate: 1.5deg; } 75% { rotate: -1deg; }
}
.btn-round {
  display: inline-grid; place-items: center; width: 60px; height: 60px; flex: none;
  border: var(--line); border-radius: 50%; background: var(--grass); color: var(--ink);
  box-shadow: var(--sh-s); transition: transform .18s, box-shadow .18s;
}
.btn-round .icon { width: 30px; height: 30px; }
.btn-round:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }

.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  font: 800 16px/1.2 var(--f-body); color: var(--ink); text-decoration: none;
  background: var(--bg); border: var(--line); border-radius: 999px;
  transition: transform .15s, box-shadow .15s;
}
.chip:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--ink); }
.chip .icon { width: 20px; height: 20px; }
.chip--grass { background: var(--grass); }
.chip--sun { background: var(--sun); }
.chip--sky { background: var(--sky); }
.chip--pink { background: var(--pink); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.link-arrow { font-weight: 800; text-decoration: underline; text-decoration-thickness: 2.5px; }

/* ---------- Sticker cards ---------- */
.card {
  position: relative; background: var(--bg); border: var(--line); border-radius: var(--r);
  box-shadow: var(--sh); padding: 24px;
  transform: translate(var(--tx, 0), var(--ty, 0)) rotate(var(--rot, 0deg));
  transition: transform .2s ease, box-shadow .2s ease;
}
@media (min-width: 768px) { .card { padding: 32px; } }
.card.lift:hover, .card.lift:focus-within { --tx: -3px; --ty: -3px; box-shadow: var(--sh-h); }
.tilt-l { --rot: -2deg; }
.tilt-0 { --rot: 0deg; }
.tilt-r { --rot: 1.5deg; }
.card--dotted { border-style: dashed; box-shadow: none; background: rgba(255, 251, 227, .7); }

/* ---------- Placeholders (dev scaffolding — remove before launch) ---------- */
.ph {
  font-style: italic; font-weight: 700;
  background: var(--pink-t); color: var(--ink);
  outline: 1.5px dashed var(--ink); outline-offset: 1px;
  border-radius: 6px; padding: 0 .35em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.ph-block { display: block; padding: 10px 14px; margin: .4em 0 1em; }
.ph-photo {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--sky-t); border: 2.5px dotted var(--ink); border-radius: 10px;
  padding-bottom: 52px;
}
.ph-photo svg { width: 56%; max-width: 200px; height: auto; }
.ph-photo__cap {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  font: 400 14px/1.3 var(--f-hand); text-align: center;
  background: rgba(255, 251, 227, .92); border-radius: 8px; padding: 4px 6px;
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 10px var(--gut) 0; }
.bar {
  position: relative; max-width: var(--max); margin-inline: auto;
  display: flex; align-items: center; gap: 10px;
  background: var(--bg); border: var(--line); border-radius: 999px; box-shadow: var(--sh-s);
  padding: 6px 6px 6px 6px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand__tile {
  width: 52px; height: 52px; flex: none; border-radius: 50%; overflow: hidden;
  background: var(--cream); border: var(--line); display: grid; place-items: center;
}
.brand__tile img { width: 48px; height: 48px; }
.brand__name { font: 800 1.15rem/1 var(--f-display); white-space: nowrap; }
.brand__name small { display: block; font: 800 .7rem/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 380px) { .brand__name small { display: none; } .brand__name { font-size: 1rem; } }

.lang {
  display: inline-flex; flex: none; border: var(--line); border-radius: 999px; overflow: hidden; background: var(--bg);
}
.lang button {
  min-width: 52px; min-height: 44px; padding: 0 10px; border: 0; background: transparent;
  font: 800 15px/1 var(--f-body); letter-spacing: .04em;
}
.lang button + button { border-left: var(--line); }
.lang button[aria-pressed="true"] { background: var(--cyan); }
.lang button:focus-visible { outline-offset: -5px; box-shadow: none; }

.burger {
  width: 52px; height: 52px; flex: none; border-radius: 50%; border: var(--line);
  background: var(--sun); display: grid; place-items: center; padding: 0;
}
.burger__lines, .burger__lines::before, .burger__lines::after {
  display: block; width: 22px; height: 3px; border-radius: 3px; background: var(--ink);
  transition: transform .2s, opacity .2s; content: "";
}
.burger__lines { position: relative; }
.burger__lines::before { position: absolute; top: -7px; }
.burger__lines::after { position: absolute; top: 7px; }
.burger[aria-expanded="true"] .burger__lines { background: transparent; }
.burger[aria-expanded="true"] .burger__lines::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines::after { transform: translateY(-7px) rotate(-45deg); }

.bar__cta { display: none; }
@media (min-width: 680px) { .bar__cta { display: inline-flex; min-height: 48px; padding: 10px 20px; font-size: 17px; } }

/* nav — mobile panel */
.nav {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0;
  background: var(--bg); border: var(--line); border-radius: var(--r); box-shadow: var(--sh);
  padding: 16px; max-height: calc(100vh - 110px); overflow: auto;
  opacity: 0; visibility: hidden; transform: translateY(-14px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s .2s;
}
.nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
.nav__list { list-style: none; display: grid; gap: 8px; }
.nav__list a {
  display: flex; align-items: center; min-height: 52px; padding: 8px 18px;
  font-weight: 800; font-size: 1.15rem; text-decoration: none;
  border: var(--line); border-radius: 999px; background: var(--bg);
}
.nav__list li:nth-child(1) a { background: var(--sky-t); }
.nav__list li:nth-child(2) a { background: var(--pink-t); }
.nav__list li:nth-child(3) a { background: var(--star); }
.nav__list li:nth-child(4) a { background: var(--sky-t); }
.nav__list li:nth-child(5) a { background: var(--pink-t); }
.nav__list a[aria-current="page"] { box-shadow: var(--sh-s); }
.nav__list a[aria-current="page"]::after { content: "★"; margin-left: auto; }
.nav__cta { width: 100%; margin-top: 14px; }

/* no-JS: burger useless → nav visible as a static block */
.no-js .burger { display: none; }
.no-js .bar { flex-wrap: wrap; border-radius: var(--r); }
.no-js .nav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 0; width: 100%; order: 5; }

@media (min-width: 1180px) {
  .burger { display: none; }
  .bar { padding-right: 8px; }
  .nav, .no-js .nav {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: none; border: 0; box-shadow: none; padding: 0; overflow: visible; max-height: none; width: auto; order: 0;
  }
  .nav__list { display: flex; gap: 4px; }
  .nav__list a {
    min-height: 44px; padding: 6px 14px; font-size: .98rem; border-color: transparent; background: transparent !important;
  }
  .nav__list a:hover { border-color: var(--ink); }
  .nav__list a[aria-current="page"] { border-color: var(--ink); background: var(--star) !important; box-shadow: none; }
  .nav__list a[aria-current="page"]::after { content: none; }
  .nav__cta { display: none; }
  .no-js .bar { flex-wrap: nowrap; border-radius: 999px; }
}

/* ---------- Hero ---------- */
.hero { padding: 28px 0 88px; overflow: hidden; }
@media (min-width: 900px) { .hero { padding: 56px 0 112px; } }
.hero__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 48px; } }
.hero__card { --rot: -2deg; padding: 28px 22px 26px; }
@media (min-width: 768px) { .hero__card { padding: 44px 40px 36px; } }
.hero h1 { margin: 0 0 22px; }
.verb { position: relative; display: inline-block; white-space: nowrap; margin-right: .12em; }
.verb::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -.12em; height: .26em;
  background: var(--u) no-repeat center / 100% 100%; z-index: -1;
}
.verb { z-index: 0; isolation: isolate; }
.u-sun   { --u: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M3 10C40 3 70 13 104 7S170 4 197 9' fill='none' stroke='%23F5B841' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.u-pink  { --u: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M3 8C30 13 62 3 98 9S160 13 197 6' fill='none' stroke='%23FF7D8D' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.u-sky   { --u: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11C36 5 58 5 92 10S150 3 197 8' fill='none' stroke='%235AAEE6' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.u-grass { --u: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M3 7C44 12 80 4 120 9S175 12 197 6' fill='none' stroke='%236CC07A' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E"); }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 26px 0 18px; }
.cta-row .btn--lg { flex: 1 1 250px; min-width: 0; max-width: 460px; }
.hero__alt { display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 700; font-size: 1rem; margin: 0 0 8px; }
.hero__alt a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.hero__addr { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; margin: 6px 0 0; font-size: 1rem; }

.hero__art { position: relative; max-width: 520px; width: 100%; margin-inline: auto; padding: 12px; }
.scene { width: 100%; height: auto; filter: drop-shadow(8px 8px 0 var(--ink)); }
.float { animation: float 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.float:nth-child(2) { animation-delay: -1.5s; } .float:nth-child(3) { animation-delay: -3s; }
.float:nth-child(4) { animation-delay: -4.5s; } .float:nth-child(5) { animation-delay: -2.2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.jump { animation: jump 2.8s ease-in-out infinite; transform-box: fill-box; }
.jump--late { animation-delay: -1.4s; }
@keyframes jump { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-10px); } }

.stamp {
  position: absolute; z-index: 2; top: -6px; left: -4px; width: 132px; height: 132px;
  display: block; border-radius: 50%; rotate: -12deg; text-decoration: none; color: var(--ink);
  box-shadow: var(--sh-s); transition: rotate .25s, transform .2s;
}
.stamp:hover { rotate: -4deg; transform: scale(1.04); }
.stamp svg { width: 100%; height: 100%; }
@media (min-width: 600px) { .stamp { width: 150px; height: 150px; } }

/* proof stickers */
.proof { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 44px; }
@media (min-width: 900px) { .proof { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.proof li {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; min-height: 76px;
  background: var(--bg); border: var(--line); border-radius: 18px; box-shadow: var(--sh-s);
  font-weight: 800; font-size: .98rem; line-height: 1.25;
}
.proof li:nth-child(1) { rotate: -2deg; background: var(--star); }
.proof li:nth-child(2) { rotate: 1.5deg; }
.proof li:nth-child(3) { rotate: 0deg; background: var(--pink-t); }
.proof li:nth-child(4) { rotate: -2deg; background: var(--sky-t); }
.proof a { text-decoration: none; }
.proof b { font-family: var(--f-display); font-size: 1.35rem; display: block; }
.proof .ico { width: 40px; height: 40px; flex: none; }

/* ---------- Duotone icons ---------- */
.ico { width: 56px; height: 56px; }
.ico .d { fill: var(--cyan); }
.ico .o { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.ico .k { fill: var(--ink); }

/* ---------- Pillars bento ---------- */
.bento { display: grid; gap: 26px; list-style: none; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(6, 1fr); gap: 30px; }
  .bento > :nth-child(1) { grid-column: span 4; }
  .bento > :nth-child(2) { grid-column: span 2; }
  .bento > :nth-child(3) { grid-column: span 2; }
  .bento > :nth-child(4) { grid-column: span 4; }
}
.pillar { display: flex; flex-direction: column; gap: 10px; }
.pillar__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.verb-tag {
  font: 800 clamp(1.6rem, 5vw, 2.2rem)/1 var(--f-display); padding: 8px 18px 10px;
  border: var(--line); border-radius: 999px; background: var(--vt, var(--sun));
}
.pillar h3 { margin: 6px 0 0; }
.pillar p { margin: 0; }
.pillar .link-arrow { margin-top: auto; padding-top: 8px; align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; }
.pillar__split { display: grid; gap: 18px; }
@media (min-width: 640px) { .pillar__split { grid-template-columns: 1fr 1fr; } }
.quote-ig { font-weight: 700; border-left: 5px solid var(--sun); padding-left: 12px; }

/* ---------- Groups ---------- */
.groups { display: grid; gap: 34px; list-style: none; }
@media (min-width: 900px) { .groups { grid-template-columns: repeat(3, 1fr); gap: 30px; } }
.gcard { padding: 0; overflow: visible; display: flex; flex-direction: column; }
.gcard__band {
  position: relative; height: 196px; display: grid; place-items: start center; padding-top: 16px;
  background-color: var(--g); background-image: var(--dots); background-size: 18px 18px;
  border-bottom: var(--line); border-radius: 21px 21px 0 0;
}
.gcard__band svg { width: 128px; height: 128px; }
.gcard__body { padding: 26px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gcard__name { font: 800 2rem/1 var(--f-display); margin: 0; }
.gcard__meta { font-weight: 800; margin: 0; }
.gcard__body .btn { margin-top: auto; align-self: flex-start; }
.price-sticker {
  position: absolute; right: -8px; bottom: -26px; max-width: 78%;
  background: var(--star); border: var(--line); border-radius: 16px; box-shadow: var(--sh-s);
  padding: 8px 12px; font-weight: 800; font-size: .95rem; line-height: 1.3; rotate: 1.5deg;
}
.gcard:nth-child(2) .price-sticker { rotate: -2deg; }
.price-sticker .ph { font-size: .85rem; }
.gcard__body > :first-child { margin-top: 18px; }
.note-strip {
  margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  background: var(--bg); border: var(--line); border-radius: 18px; padding: 16px 20px; font-weight: 700;
}
.note-strip p { margin: 0; }

/* ---------- Polaroids ---------- */
.polaroid {
  position: relative; background: var(--cream); border: var(--line); border-radius: 6px;
  box-shadow: var(--sh); padding: 14px 14px 18px;
  transform: translate(var(--tx, 0), var(--ty, 0)) rotate(var(--rot, 0deg));
  transition: transform .2s, box-shadow .2s;
}
.polaroid:hover, .polaroid:focus-within { --tx: -3px; --ty: -3px; box-shadow: var(--sh-h); }
.polaroid figcaption, .polaroid .cap { font: 400 1.2rem/1.3 var(--f-hand); margin-top: 12px; }
.tape {
  position: absolute; top: -15px; left: 50%; width: 104px; height: 30px; translate: -50% 0; rotate: -3deg; z-index: 2;
  background: repeating-linear-gradient(45deg, rgba(255, 125, 141, .82) 0 8px, rgba(255, 227, 230, .88) 8px 16px);
  border-inline: 2px dashed rgba(11, 59, 60, .35);
}
.tape--sun { background: repeating-linear-gradient(-45deg, rgba(245, 184, 65, .85) 0 8px, rgba(252, 205, 118, .85) 8px 16px); rotate: 2deg; }
.tape--sky { background: repeating-linear-gradient(45deg, rgba(90, 174, 230, .8) 0 8px, rgba(221, 239, 251, .9) 8px 16px); }
.play {
  position: absolute; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--pink); border: var(--line); box-shadow: var(--sh-s);
}
.play .icon { width: 26px; height: 26px; margin-left: 4px; }

.results { display: grid; gap: 40px; margin-top: 44px; }
@media (min-width: 768px) { .results { grid-template-columns: 1fr 1fr; gap: 48px; max-width: 980px; margin-inline: auto; } }
.big-sticker {
  display: inline-block; rotate: -2deg; background: var(--sun); border: var(--line); border-radius: 22px;
  box-shadow: var(--sh); padding: 14px 26px 18px; margin: 0;
}
.result-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.result-meta a { font-weight: 800; min-height: 44px; display: inline-flex; align-items: center; }
.disclaimer { text-align: center; margin-top: 36px; font-weight: 700; }

/* ---------- Marquee ---------- */
.marquee-wrap { position: relative; margin: 0 0 56px; }
.marquee {
  overflow: hidden; background: var(--sun); border-block: var(--line);
  rotate: -2deg; margin-inline: -24px; box-shadow: 0 6px 0 var(--ink);
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__list { display: flex; list-style: none; align-items: center; }
.marquee__list li {
  font: 800 clamp(1.3rem, 4vw, 1.9rem)/1 var(--f-display); padding: 18px 0; white-space: nowrap; display: flex; align-items: center;
}
.marquee__list li::after { content: "✦"; padding: 0 22px; color: var(--ink); }
.marquee-wrap.is-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-ctrl { position: absolute; right: 8px; top: 50%; translate: 0 -50%; z-index: 2; }
.marquee-ctrl .btn { min-height: 48px; padding: 8px 16px; font-size: 16px; background: var(--bg); }
.marquee-ctrl [data-when] { display: none; }
.marquee-wrap:not(.is-paused) [data-when="playing"], .marquee-wrap.is-paused [data-when="paused"] { display: inline; }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; list-style: none; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 34px; } }
.gallery .polaroid { padding: 10px 10px 14px; }
.gallery .polaroid .cap { font-size: 1rem; }
.gallery li:nth-child(4n+1) .polaroid { --rot: -2deg; }
.gallery li:nth-child(4n+2) .polaroid { --rot: 1.5deg; }
.gallery li:nth-child(4n+3) .polaroid { --rot: 0deg; }
.gallery li:nth-child(4n+4) .polaroid { --rot: 1.5deg; }
.camp-line { margin-top: 44px; text-align: center; font-weight: 800; font-size: 1.1rem; }

/* ---------- Reviews ---------- */
.rv-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.rv-head .sec-head { margin-bottom: 0; }
.badge2gis {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 16px;
  background: var(--bg); border: var(--line); border-radius: 999px; box-shadow: var(--sh-s);
  font-weight: 800; text-decoration: none; rotate: 1.5deg;
}
.badge2gis .icon { color: var(--ink); }
.rv-track {
  list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut);
  padding: 26px var(--gut) 30px; margin-inline: calc(var(--gut) * -1);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.rv-track::-webkit-scrollbar { display: none; }
.rv-track > li { scroll-snap-align: start; display: flex; }
@media (min-width: 620px) { .rv-track { grid-auto-columns: 46%; } }
@media (min-width: 1024px) {
  .rv-track { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 20px 0 10px; gap: 40px 34px; }
  .rv-track > li:nth-child(3n+2) { margin-top: 28px; }
  .rv-nav { display: none !important; }
}
.review { display: flex; flex-direction: column; gap: 12px; width: 100%; padding: 26px 20px 18px; }
.rv-track > li:nth-child(3n+1) .review { --rot: -2deg; }
.rv-track > li:nth-child(3n+2) .review { --rot: 1.5deg; }
.rv-track > li:nth-child(3n+3) .review { --rot: 0deg; }
.review__stars { color: var(--sun); letter-spacing: 2px; font-size: 1.2rem; -webkit-text-stroke: 1px var(--ink); }
.review blockquote p { font: 400 1.08rem/1.5 var(--f-hand); margin: 0; }
.review footer { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: .92rem; font-weight: 700; border-top: 2px dashed rgba(11, 59, 60, .35); padding-top: 10px; }
.review__name { font-weight: 800; font-size: 1rem; }
.tag {
  display: inline-block; font-size: .78rem; font-weight: 800; padding: 1px 10px; border: 2px solid var(--ink); border-radius: 999px; background: var(--bg);
}
.tag--ok { background: var(--grass); }
.tag--src { background: var(--sky-t); }
.rv-nav { display: flex; gap: 12px; justify-content: center; margin-top: 4px; }
.rv-nav button {
  width: 56px; height: 56px; border-radius: 50%; border: var(--line); background: var(--bg); box-shadow: var(--sh-s);
  display: grid; place-items: center;
}
.rv-nav button:disabled { opacity: .45; box-shadow: none; }
.rv-more { text-align: center; margin-top: 30px; }

/* ---------- Board-game steps ---------- */
.board { list-style: none; position: relative; display: grid; gap: 30px; counter-reset: step; max-width: 1080px; margin-inline: auto; }
.board::before {
  content: ""; position: absolute; left: 33px; top: 40px; bottom: 60px; width: 6px;
  background-image: radial-gradient(circle, var(--ink) 2.6px, transparent 3px); background-size: 6px 16px; background-repeat: repeat-y;
}
.step { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start; }
.step__dot {
  position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  font: 800 2rem/1 var(--f-display); border: var(--line); box-shadow: var(--sh-s); background: var(--c, var(--sun));
}
.step__card { padding: 18px 20px; }
.step__card h3 { margin-bottom: 6px; }
.step__card p { margin: 0; font-size: 1rem; }
.step--flag .step__dot { background: var(--grass); }
.flag { display: inline-flex; align-items: center; gap: 8px; }
.flag svg { width: 34px; height: 40px; }
@media (min-width: 900px) {
  .board { grid-template-columns: repeat(4, 1fr); gap: 26px; }
  .board::before { left: 40px; right: 80px; top: 34px; bottom: auto; width: auto; height: 6px; background-size: 16px 6px; background-repeat: repeat-x; }
  .step { grid-template-columns: 1fr; justify-items: start; }
  .step:nth-child(even) .step__card { margin-top: 26px; }
}

/* ---------- Treasure map ---------- */
.tmap { padding: 18px; background: var(--cream); --rot: 0deg; }
@media (min-width: 768px) { .tmap { padding: 28px; } }
.tmap::before {
  content: ""; position: absolute; inset: 9px; border: 2px dashed rgba(11, 59, 60, .5); border-radius: 16px; pointer-events: none;
}
.tmap__head { position: relative; display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.tmap__head svg { width: 60px; height: 60px; flex: none; }
.tmap__grid { position: relative; display: grid; gap: 22px; }
@media (min-width: 900px) { .tmap__grid { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.map-frame {
  position: relative; border: var(--line); border-radius: 16px; overflow: hidden; background: var(--sky-t); aspect-ratio: 4 / 3;
}
@media (min-width: 900px) { .map-frame { aspect-ratio: 16 / 9; } }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-x {
  position: absolute; left: 10px; bottom: 28px; z-index: 1; font: 800 .9rem/1 var(--f-hand);
  background: var(--pink); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 10px; pointer-events: none;
}
.map-below { margin-top: 10px; font-weight: 800; }
.map-below a { min-height: 44px; display: inline-flex; align-items: center; }
.landmark { font-weight: 700; }
.nap-mini { display: grid; gap: 10px; font-weight: 700; }
.nap-mini p { margin: 0; display: flex; gap: 10px; align-items: flex-start; }
.nap-mini .icon { margin-top: 4px; }
.route-chips { margin-top: 16px; }

/* ---------- Forms ---------- */
.form-card { max-width: 820px; margin-inline: auto; --rot: 0deg; }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field-row { display: flex; flex-direction: column; gap: 6px; }
.field-row label, fieldset legend { font-weight: 800; }
.req { color: var(--ink); }
.opt { font-weight: 600; font-size: .9rem; }
input[type="text"], input[type="tel"], input[type="date"], input[type="search"], select {
  width: 100%; min-height: 54px; padding: 12px 16px; font-size: 18px; font-weight: 600;
  background: #FFFFFF; border: var(--line); border-radius: 16px; appearance: none; -webkit-appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230B3B3C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 22px; padding-right: 46px;
}
input:focus-visible, select:focus-visible { border-radius: 16px; }
[aria-invalid="true"] { border-color: #B3261E !important; box-shadow: 4px 4px 0 var(--pink); }
.err { color: #8C1D18; font-weight: 800; font-size: .95rem; margin: 0; }
.err::before { content: "⚠ "; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 18px;
  border: var(--line); border-radius: 999px; background: var(--bg); font-weight: 800; cursor: pointer;
}
.radio span::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--bg); flex: none;
}
.radio input:checked + span { background: var(--sun); box-shadow: var(--sh-s); }
.radio input:checked + span::before { background: radial-gradient(circle, var(--ink) 4px, var(--bg) 5px); }
.radio input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 7px var(--star); }
.consent { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; font-size: .95rem; font-weight: 600; }
.consent input { width: 28px; height: 28px; margin: 2px 0 0; accent-color: var(--ink); }
.consent a { font-weight: 800; }
.form-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.form-note { font-size: .95rem; font-weight: 700; margin: 0; }
.form-alt { margin: 4px 0 0; font-weight: 700; }
.form-alt a { font-weight: 800; }

/* ---------- Footer ---------- */
.footer { position: relative; padding: 72px 0 32px; }
.footer a { color: var(--bg); }
.footer__grid { display: grid; gap: 34px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
.footer h2 { font: 800 1.15rem/1.2 var(--f-display); margin-bottom: 14px; color: var(--star); }
.footer ul { list-style: none; display: grid; gap: 4px; }
.footer li a, .footer__nap a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; }
.footer__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.footer__brand .brand__tile { border-color: var(--bg); width: 60px; height: 60px; }
.footer__brand .brand__tile img { width: 56px; height: 56px; }
.footer__brand b { font: 800 1.4rem/1.1 var(--f-display); }
.footer__nap p { margin: 0 0 6px; }
.footer__bottom {
  margin-top: 44px; padding-top: 22px; border-top: 2px dashed rgba(255, 251, 227, .4);
  display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; font-weight: 700;
}
.footer .lang { border-color: var(--bg); background: transparent; }
.footer .lang button { color: var(--bg); }
.footer .lang button + button { border-left-color: var(--bg); }
.footer .lang button[aria-pressed="true"] { background: var(--sun); color: var(--ink); }
.footer .ph { color: var(--ink); }
.footer .badge2gis { color: var(--ink); rotate: 0deg; margin-top: 8px; }
.footer .badge2gis .icon { color: var(--ink); }

/* ---------- Mobile action bar ---------- */
.mbar {
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: var(--bg); border-top: var(--line);
}
.mbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 54px; border: var(--line); border-radius: 18px; text-decoration: none;
  font: 800 14px/1.1 var(--f-body); text-align: center; padding: 4px;
}
.mbar a .icon { width: 22px; height: 22px; }
.mbar__wa { background: var(--grass); }
.mbar__call { background: var(--sun); }
.mbar__route { background: var(--sky); }
body.nav-open .mbar { display: none; }
@media (min-width: 768px) { .mbar { display: none; } }

/* ---------- Inner page hero ---------- */
.page-hero { padding: 36px 0 84px; overflow: hidden; }
.page-hero__grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .page-hero__grid { grid-template-columns: 1.3fr .7fr; } }
.page-hero .card { --rot: -2deg; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero .lead { max-width: 52ch; }
.page-hero__art svg { width: min(320px, 80%); margin-inline: auto; filter: drop-shadow(6px 6px 0 var(--ink)); }
.toc { margin-top: 18px; }

/* ---------- About ---------- */
.split { display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split--rev > :first-child { order: 2; } }
.avatar { width: 120px; height: 120px; flex: none; }
.founder { display: grid; gap: 22px; }
@media (min-width: 720px) { .founder { grid-template-columns: auto 1fr; align-items: start; } }
.letter { font: 400 1.12rem/1.6 var(--f-hand); background: var(--cream); border: var(--line); border-radius: 18px; padding: 18px 20px; margin-top: 10px; }
.facts { list-style: none; display: grid; gap: 10px; margin: 14px 0 18px; }
.facts li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
.facts li::before {
  content: "✦"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sun); border: 2px solid var(--ink); font-size: .9rem;
}
.room svg { width: 100%; height: auto; }

.gtable { display: grid; gap: 28px; list-style: none; }
@media (min-width: 900px) { .gtable { grid-template-columns: repeat(3, 1fr); } }
.gtable .card { padding: 0; }
.gtable__head { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-bottom: var(--line); background: var(--g); border-radius: 21px 21px 0 0; }
.gtable__head svg { width: 60px; height: 60px; flex: none; }
.gtable__head h3 { font: 800 1.7rem/1 var(--f-display); margin: 0; }
.gtable__head p { margin: 2px 0 0; font-weight: 800; }
.gtable dl { margin: 0; padding: 14px 20px 20px; display: grid; gap: 0; }
.gtable dl div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 10px; padding: 10px 0; border-bottom: 2px dashed rgba(11, 59, 60, .25); }
.gtable dl div:last-child { border-bottom: 0; }
.gtable dt { font-weight: 800; }
.gtable dd { margin: 0; font-weight: 600; font-size: .95rem; }
.gtable dd .ph { font-size: .85rem; }
.paybox { display: grid; gap: 22px; margin-top: 36px; }
@media (min-width: 900px) { .paybox { grid-template-columns: 1fr 1fr; } }
.pay-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.pay-list li { padding: 8px 16px; border: var(--line); border-radius: 999px; background: var(--star); font-weight: 800; }

.team { display: grid; gap: 28px; list-style: none; }
@media (min-width: 640px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .team { grid-template-columns: repeat(3, 1fr); } }
.member { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.member .avatar { width: 112px; height: 112px; margin-top: -4px; }
.member h3 { margin: 6px 0 0; }
.member p { margin: 0; }
.member.card--dotted .avatar { opacity: .75; }

.daypath { list-style: none; position: relative; display: grid; gap: 18px; max-width: 760px; margin-inline: auto; }
.daypath::before {
  content: ""; position: absolute; left: 47px; top: 20px; bottom: 20px; width: 6px;
  background-image: radial-gradient(circle, var(--ink) 2.6px, transparent 3px); background-size: 6px 16px;
}
.daypath li { position: relative; display: grid; grid-template-columns: 100px 1fr; gap: 14px; align-items: center; }
/* zig-zag only when there is room: at 375px the 14px shift pushed the card shadow past the viewport edge */
@media (min-width: 600px) { .daypath li:nth-child(even) { transform: translateX(14px); } }
.daypath time, .daypath .t {
  position: relative; z-index: 1; display: grid; place-items: center; min-height: 52px; padding: 4px 6px;
  border: var(--line); border-radius: 999px; background: var(--bg); font-weight: 800; font-size: .9rem; text-align: center;
}
.daypath li:first-child time { background: var(--pink); font-size: 1.1rem; }
.daypath .what { background: var(--bg); border: var(--line); border-radius: 16px; padding: 10px 16px; font-weight: 800; box-shadow: var(--sh-s); }

.events { display: grid; gap: 24px; list-style: none; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.event { display: flex; gap: 14px; align-items: flex-start; padding: 20px; }
.event svg { width: 52px; height: 52px; flex: none; }
.event h3 { margin: 0 0 4px; font-size: 1.15rem; }
.event p { margin: 0; font-size: .98rem; }
.events li:nth-child(3n+1) .card { --rot: -2deg; }
.events li:nth-child(3n+2) .card { --rot: 1.5deg; }

.checklist { list-style: none; display: grid; gap: 14px; }
@media (min-width: 720px) { .checklist { grid-template-columns: 1fr 1fr; } }
.checklist li {
  display: flex; gap: 14px; align-items: center; padding: 14px 16px; min-height: 64px;
  background: var(--bg); border: var(--line); border-radius: 18px; font-weight: 800;
}
.check {
  width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--grass); border: var(--line); rotate: -8deg; font-size: 1.2rem;
}
.checklist li.todo { border-style: dashed; background: rgba(255, 251, 227, .6); }
.checklist li.todo .check { background: var(--bg); }

.appgrid { display: grid; gap: 26px; }
@media (min-width: 900px) { .appgrid { grid-template-columns: 1fr 1fr; align-items: center; } }
.phone-ill svg { width: min(280px, 80%); margin-inline: auto; filter: drop-shadow(8px 8px 0 var(--ink)); }

.cta-band { text-align: center; }
.cta-band .card { max-width: 860px; margin-inline: auto; --rot: 1.5deg; }
.cta-band .chips, .cta-band .cta-row { justify-content: center; }

/* ---------- FAQ (chat bubbles) ---------- */
.faq-tools { display: grid; gap: 16px; margin-bottom: 36px; }
.faq-chips button[aria-pressed="true"] { background: var(--sun); box-shadow: var(--sh-s); }
.search { position: relative; max-width: 560px; }
.search input { padding-left: 50px; border-radius: 999px; }
.search .icon { position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 22px; height: 22px; }
.faq-group { margin-bottom: 40px; }
.faq-group h2 { font: 800 1.5rem/1.1 var(--f-display); display: inline-block; background: var(--bg); border: var(--line); border-radius: 999px; padding: 6px 18px; margin-bottom: 18px; }
.chat { display: grid; gap: 18px; list-style: none; }
.qa summary {
  list-style: none; cursor: pointer; margin-left: auto; max-width: min(640px, 92%);
  display: flex; align-items: center; gap: 12px; justify-content: space-between;
  background: var(--pink); border: var(--line); border-radius: 22px 22px 6px 22px; box-shadow: var(--sh-s);
  padding: 14px 18px; font-weight: 800; font-size: 1.06rem; line-height: 1.35; min-height: 56px;
  transition: transform .15s, box-shadow .15s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.qa summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 2px solid var(--ink); font: 800 1.3rem/1 var(--f-body); transition: rotate .2s;
}
.qa[open] summary::after { rotate: 45deg; }
.qa__a { display: flex; gap: 12px; align-items: flex-end; margin-top: 14px; max-width: min(700px, 96%); }
.qa__av { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--cream); border: var(--line); overflow: hidden; display: grid; place-items: center; }
.qa__av img { width: 44px; height: 44px; }
.qa__bubble {
  background: var(--bg); border: var(--line); border-radius: 22px 22px 22px 6px; padding: 14px 18px; box-shadow: var(--sh-s);
}
.qa__bubble > p:last-child { margin-bottom: 0; }
.qa__who { display: block; font-weight: 800; font-size: .85rem; letter-spacing: .04em; margin-bottom: 4px; }
.qa__bubble .wa-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; min-height: 44px; }
.faq-empty { text-align: center; }

/* ---------- Contact ---------- */
.nap { list-style: none; display: grid; gap: 14px; }
.nap li {
  display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; padding: 12px 16px;
  background: var(--bg); border: var(--line); border-radius: 18px; box-shadow: var(--sh-s);
}
.nap li:nth-child(odd) { rotate: -.6deg; }
.nap li:nth-child(even) { rotate: .6deg; }
.nap__ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: var(--line); background: var(--c, var(--cyan)); }
.nap__ico .icon { width: 24px; height: 24px; }
.nap b { display: block; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; }
.nap a, .nap span.v { font-weight: 800; font-size: 1.08rem; overflow-wrap: anywhere; }
.nap a { min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Privacy ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font: 800 1.45rem/1.2 var(--f-display); margin-top: 1.8em; }
.prose ul { padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .35em; }
.legal-banner {
  display: flex; gap: 12px; align-items: center; background: var(--sun); border: var(--line); border-radius: 18px;
  box-shadow: var(--sh-s); padding: 14px 18px; font-weight: 800; margin-bottom: 28px;
}

/* ---------- Hero porthole: real photos cross-fading inside the wooden window ---------- */
.porthole { position: relative; aspect-ratio: 1; filter: drop-shadow(8px 8px 0 var(--ink)); }
/* photo disc = inner circle of the ring (r162 of a 400 viewBox → inset 9.5%) */
.porthole__photos { position: absolute; inset: 9.5%; border-radius: 50%; overflow: hidden; background: var(--sky-t); }
.porthole__photos img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 6s ease-out;
}
.porthole__photos img.is-active { opacity: 1; transform: scale(1); }
.porthole__ring { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.porthole__btn {
  position: absolute; z-index: 2; right: 13%; bottom: 7%; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: var(--ink);
  background: var(--cream); border: var(--line); box-shadow: var(--sh-s);
}
.porthole__btn .icon { width: 20px; height: 20px; }
.porthole:not(.is-paused) [data-when="paused"], .porthole.is-paused [data-when="playing"] { display: none; }

/* ---------- Real photos in polaroids ---------- */
.photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border: 2.5px solid var(--ink); border-radius: 10px; background: var(--sky-t); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.results { max-width: 700px; margin-inline: auto; }
.reel {
  position: relative; display: grid; place-items: center; aspect-ratio: 9 / 16; overflow: hidden;
  border: 2.5px solid var(--ink); border-radius: 10px; background: var(--sky-t);
}
.reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel .play { top: 12px; right: 12px; width: 52px; height: 52px; transition: transform .2s; }
.reel .play .icon { width: 22px; height: 22px; }
.reel:hover .play, .reel:focus-visible .play { transform: scale(1.1); }

/* 2GIS widget needs ~420px height for its firm card */
.map-frame { aspect-ratio: auto; height: 440px; }
@media (min-width: 900px) { .map-frame { aspect-ratio: auto; height: 460px; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .porthole__btn { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .marquee__track { width: auto; }
  .marquee__list { flex-wrap: wrap; justify-content: center; padding: 6px 12px; }
  .marquee__list[aria-hidden="true"] { display: none; }
  .marquee-ctrl { display: none; }
  .marquee { rotate: 0deg; margin-inline: 0; }
  .card.lift:hover, .polaroid:hover, .btn:hover, .chip:hover { --tx: 0; --ty: 0; transform: rotate(var(--rot, 0deg)); }
  /* keep the i18n-wait failsafe reveal: the * rule above would leave body at opacity 0 if main.js fails */
  html.i18n-wait body { animation: reveal 0s 1.2s forwards !important; }
}
