/* ==========================================================
   RVCHID — stylesheet
   Colors: stage black, stage red, medal brass, chalk white
   ========================================================== */

/* ---------- Fonts (self-hosted, no Google requests) ---------- */
@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/big-shoulders-display-latin-ext-800-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/big-shoulders-display-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/big-shoulders-display-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --black: #000000;
  --surface: #141212;
  --surface-2: #1d1a1a;
  --line: #2e2929;
  --chalk: #f3efe9;
  --muted: #a9a19b;
  --red: #d8232b;
  --red-hover: #ef3038;
  --brass: #d0ab62;
  --ok: #5fbf7f;
  --gold-line: rgba(208, 171, 98, 0.85);
  --glow-red: rgba(216, 35, 43, 0.65);
  --glow-blue: rgba(64, 140, 255, 0.6);
  --glow-gold: rgba(208, 171, 98, 0.62);

  --display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 68px;
  --radius-s: 6px;
  --radius-m: 10px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  background: var(--black);
}

body {
  margin: 0;
  background: var(--black);
  color: var(--chalk);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0.005em;
}

p { margin: 0; }

::selection { background: var(--red); color: #fff; }

/* Headings the page focuses automatically (for screen readers) don't need a focus ring */
[tabindex="-1"]:focus { outline: none; }

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Spam trap field: off-screen for people, still "visible" to bots */
.hp-field {
  position: absolute !important;
  left: -10000px;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}

.visually-hidden {
  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-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--chalk);
  color: var(--black);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius-s);
  font: 600 1rem/1.2 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hover); }
.btn--ghost { background: transparent; color: var(--chalk); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--chalk); }
.btn--light { background: rgba(0, 0, 0, 0.25); color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.btn--light:hover { border-color: #fff; background: rgba(0, 0, 0, 0.45); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn img.social-icon { width: 24px; height: 24px; flex: none; border-radius: 6px; }
.btn--social { background: var(--black); color: var(--chalk); border: 1.5px solid var(--line); }
.btn--social:hover { border-color: var(--chalk); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--chalk);
}
.brand span { color: var(--red); }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a {
  padding: 0.5rem 0.85rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #cfc8c1;
  border-radius: var(--radius-s);
  transition: color 0.15s ease;
}
.nav a:not(.nav__social) { border-radius: 0; box-shadow: inset 0 0 0 transparent; transition: color 0.15s ease, box-shadow 0.2s ease; }
.nav a[aria-current="page"],
.nav a.is-active { color: var(--chalk); box-shadow: inset 0 -2px 0 var(--red); }
.nav a:not(.nav__social):hover { color: var(--chalk); box-shadow: inset 0 -2px 0 rgba(216, 35, 43, 0.6); }
.nav .nav__social { display: inline-flex; align-items: center; gap: 0.7rem; padding: 0.4rem 0.45rem; color: var(--chalk); }
.nav .nav__social img { width: 28px; height: 28px; flex: none; border-radius: 7px; transition: transform 0.2s ease; }
.nav .nav__social:hover img { transform: scale(1.08); }
.nav__label {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  color: var(--chalk);
  cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
    background: var(--black);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 1rem 0; font-size: 1.6rem; color: var(--chalk); border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"], .nav a.is-active, .nav a:not(.nav__social):hover { box-shadow: none; color: var(--red); }
  .nav .nav__social { padding: 0.85rem 0; }
  .nav a:last-child { border-bottom: 0; }
  .nav__label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  overflow: hidden;
  background: var(--black);
}
.hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* phones/tablets in portrait: text sits low, so darken the lower part only */
  background: linear-gradient(to top, #000 0%, rgba(0,0,0,0.82) 28%, rgba(0,0,0,0.4) 52%, rgba(0,0,0,0) 72%);
}
@media (min-aspect-ratio: 1/1) {
  /* wide screens: darken only the left side and the bottom edge, photo stays bright */
  .hero::before {
    background:
      linear-gradient(to top, #000 0%, rgba(0,0,0,0.72) 16%, rgba(0,0,0,0) 42%),
      linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.35) 30%, rgba(0,0,0,0) 52%);
  }
}
.hero__inner { padding-block: 5rem clamp(3rem, 9vh, 5.5rem); }
.hero h1 {
  font-size: clamp(3.3rem, 8.6vw, 7.25rem);
  text-transform: uppercase;
  max-width: 12ch;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.4);
}
.hero p {
  margin-top: 1.25rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: #ece7e1;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

@media (prefers-reduced-motion: no-preference) {
  .hero__inner > * { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
  .hero__inner > p { animation-delay: 0.1s; }
  .hero__inner > .hero__actions { animation-delay: 0.2s; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.section--tight-top { padding-top: clamp(2rem, 4vw, 3rem); }
.section--surface { background: var(--surface); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  text-transform: uppercase;
}
.section-head p { margin-top: 1rem; color: var(--muted); max-width: 38rem; }

/* ---------- Plans (first screen) ---------- */
.plans-intro {
  display: grid;
  gap: 1rem 3rem;
  align-items: end;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.plans-intro h2 {
  font-size: clamp(2.5rem, 4.4vw, 4rem);
  text-transform: uppercase;
  text-wrap: balance;
}
.plans-intro p { color: var(--muted); max-width: 34rem; }
.plans-intro { scroll-margin-top: 4px; }

/* Shorter windows (laptops, 125% scaling, tablets in landscape): home.js measures the window and,
   only if the cards don't fit at full size, shortens the photo part by exactly the missing amount.
   1080p screens keep the full size. */
.plans.is-fitted .plan__photo { aspect-ratio: auto; height: var(--photo-h); }


@media (min-width: 900px) {
  .plans-intro { grid-template-columns: 1.7fr 1fr; margin-bottom: 1.5rem; }
  .plans-intro h2 { font-size: clamp(2.5rem, 3.6vw, 3.4rem); }
  .plans-intro p { padding-bottom: 0.2rem; }
}

.plans {
  display: grid;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1.5px solid var(--gold-line);
  border-radius: var(--radius-m);
  overflow: hidden;
  cursor: pointer;
  --glow: var(--glow-gold);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

/* Keeps the gold border visible all the way round, even next to a bright photo (e.g. the sky) */
.plan::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

/* Hover-line fix: the description box overlaps the photo's bottom edge by a few pixels,
   so a 1px rounding gap at the photo's edge during the zoom can never show */
.plan__photo { isolation: isolate; }
.plan__photo img {
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

@media (hover: hover) and (pointer: fine) {
  .plan:hover {
    transform: translateY(-6px);
    border-color: var(--brass);
    box-shadow: 0 24px 46px -18px var(--glow);
  }
  .plan:hover .plan__photo img { transform: translateZ(0) scale(1.04); }
  .plan:hover .plan__cta { background: var(--red-hover); }
}
.plan:active { transform: translateY(-2px) scale(0.985); }

/* Keyboard focus outlines the whole card */
.plan:focus-within { border-color: var(--brass); }
@supports selector(:has(*)) {
  .plan:has(.plan__cta:focus-visible) { outline: 3px solid var(--brass); outline-offset: 3px; }
  .plan__cta:focus-visible { outline: none; }
}

@media (prefers-reduced-motion: reduce) {
  .plan:hover, .plan:active { transform: none; }
  .plan:hover .plan__photo img { transform: translateZ(0); }
}

.plan__photo {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface-2);
}
@media (min-width: 900px) { .plan__photo { aspect-ratio: 4 / 5; } }

.plan__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.plan__photo::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 1;
  transform: translateZ(0);
  background: linear-gradient(to top, var(--surface) 0%, var(--surface) 2%, rgba(10,9,9,0.9) 12%, rgba(0,0,0,0.55) 34%, rgba(0,0,0,0) 60%);
}

.plan__title {
  position: absolute;
  left: 1.25rem; right: 1.25rem; bottom: 1.1rem;
  z-index: 2;
}
.plan__title h3 {
  font-size: clamp(2.4rem, 4.2vw, 3.1rem);
  text-transform: uppercase;
  text-wrap: balance;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.6rem;
  margin-top: 0.55rem;
  color: var(--brass);
}
.price__pln {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1;
}
.price__eur { font-weight: 600; font-size: 1.05rem; }
.price__per { font-size: 0.95rem; color: var(--muted); }

.plan__body {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1;
  margin-top: -4px;
  padding: calc(1.25rem + 4px) 1.25rem 1.25rem;
  background: var(--surface);
}
.plan__body p { color: var(--muted); }
.plan__body .btn { margin-top: auto; }

.pay-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.pay-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pay-logos li { width: 58px; height: 37px; border-radius: 5px; overflow: hidden; line-height: 0; }
.pay-logos li.is-dark { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18); }
.pay-logos img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* Plans rise in once, in order */
@media (prefers-reduced-motion: no-preference) {
  .plan { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
  .plan:nth-child(2) { animation-delay: 0.09s; }
  .plan:nth-child(3) { animation-delay: 0.18s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* Tablets in portrait: photo on the left, text on the right, so cards stay a sensible height */
@media (min-width: 600px) and (max-width: 899px) {
  .plans-intro { margin-bottom: 1.25rem; }
  .plan { flex-direction: row; }
  .plan__photo { flex: none; width: 44%; aspect-ratio: 4 / 5; }
  .plan__photo::after { background: linear-gradient(to top, rgba(10,9,9,0.95) 0%, rgba(0,0,0,0.55) 34%, rgba(0,0,0,0) 62%); }
  .plan__body { margin-top: 0; margin-left: -4px; padding: 1.5rem 1.5rem 1.5rem calc(1.5rem + 4px); justify-content: center; }
  .plan__body .btn { margin-top: 0.5rem; }
}
/* Phones: normal card size; only very short screens get a slightly shorter photo so one full card fits */
@media (max-width: 599px) {
  .plans-intro { margin-bottom: 1.25rem; }
}
@media (max-width: 599px) and (max-height: 620px) {
  .plan__photo { aspect-ratio: 5 / 4; }
}

/* ---------- Plan dialog ---------- */
.dialog {
  width: min(560px, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  background: var(--surface);
  color: var(--chalk);
  border: 1.5px solid var(--gold-line);
  border-radius: var(--radius-m);
  overscroll-behavior: contain;
}
.dialog::backdrop { background: rgba(0, 0, 0, 0.78); }
.dialog__inner { padding: clamp(1.25rem, 4vw, 2rem); }
.dialog__close {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: none;
  border: 0;
  border-radius: var(--radius-s);
  color: var(--muted);
  cursor: pointer;
}
.dialog__close:hover { color: var(--chalk); background: var(--surface-2); }
.dialog__close svg { width: 22px; height: 22px; }

.dialog h2 {
  font-size: clamp(2.2rem, 7vw, 2.8rem);
  text-transform: uppercase;
  padding-right: 3rem;
}
.dialog .price { margin-top: 0.75rem; }
.dialog__lead { margin-top: 1rem; color: var(--muted); }
.dialog h3 {
  margin-top: 1.5rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
}

.checklist { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; gap: 0.55rem; }
.checklist li { position: relative; padding-left: 1.75rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.4em;
  width: 1rem; height: 0.55rem;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}
.dialog__note { margin-top: 0.6rem; color: var(--muted); }
.notelist { margin: 0.6rem 0 0; padding-left: 1.2rem; color: var(--muted); display: grid; gap: 0.35rem; }

.dialog__pay {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
}
.dialog__secure { display: flex; align-items: center; gap: 0.5rem; color: var(--muted); font-size: 0.95rem; }
.dialog__secure svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
.dialog__legal { font-size: 0.875rem; color: var(--muted); }
.dialog__legal a { color: var(--chalk); }

.alert {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-s);
  border: 1px solid;
  font-size: 0.975rem;
}
.alert--error { border-color: #7a2328; background: #2a1011; color: #ffb4b7; }
.alert--ok { border-color: #2c5a3a; background: #0f2216; color: #b9ecc8; }
.alert[hidden] { display: none; }

/* ---------- About ---------- */
/* Row 1: photo and text side by side, top edges level, photo as tall as the text */
.about {
  display: grid;
  gap: 2rem clamp(2rem, 5vw, 4rem);
}
@media (min-width: 900px) {
  .about { grid-template-columns: 5fr 7fr; align-items: stretch; }
}
.about__photo {
  position: relative;
  margin: 0;
  border: 1.5px solid var(--gold-line);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 4 / 5;
}
@media (min-width: 900px) {
  /* photo takes exactly the height of the text column next to it */
  .about__photo { aspect-ratio: auto; min-height: 420px; }
}
.about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.about__text { display: flex; flex-direction: column; }
.about h2 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  text-transform: uppercase;
  margin-top: -0.06em; /* aligns the top of the capitals with the top of the photo */
}
.about__lead { margin-top: 1.25rem; font-size: 1.15rem; max-width: 40rem; }
.about__titles {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.75rem;
  padding: 1rem 0;
  border-block: 2px solid var(--line);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}
.about__titles-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 3.2rem;
  line-height: 0.9;
  color: var(--brass);
}
.about__more { margin-top: 1.5rem; }
.about__more a { color: var(--chalk); font-weight: 500; text-underline-offset: 4px; }
.about__more a:hover { color: var(--brass); }

/* Row 2: certifications across the full width */
.creds-block {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(2rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
}
.creds-title {
  font-family: var(--body);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.3;
}
.creds {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem 2rem;
}
@media (min-width: 600px) { .creds { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .creds { grid-template-columns: repeat(4, 1fr); } }
.creds li { padding-left: 0.9rem; border-left: 2px solid var(--red); }
.creds strong { display: block; font-weight: 600; line-height: 1.35; }
.creds span { display: block; margin-top: 0.2rem; color: var(--muted); font-size: 0.95rem; line-height: 1.45; }

/* Row 3: contact box across the full width */
.about__cta {
  display: grid;
  gap: 1.5rem 2.5rem;
  align-items: center;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: var(--radius-m);
}
@media (min-width: 900px) { .about__cta { grid-template-columns: 1fr auto; } }
.about__cta h3 { font-size: clamp(2rem, 4vw, 2.6rem); text-transform: uppercase; }
.about__cta p { margin-top: 0.75rem; color: var(--muted); max-width: 36rem; }
.about__buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Results ---------- */
.gal-group + .gal-group { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.gal-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.gal-title h3 { font-size: clamp(1.9rem, 3.5vw, 2.5rem); text-transform: uppercase; }
.gal-hint { color: var(--muted); font-size: 0.95rem; }

/* Transformations: one row, every photo at the same height, nothing cropped */
.strip-wrap { position: relative; }
.strip {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  height: clamp(380px, 34vw, 460px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.strip::-webkit-scrollbar { display: none; }
.strip li { flex: none; max-width: 100%; height: 100%; scroll-snap-align: start; }
.strip button { width: 100%; height: 100%; }
/* White screenshots: white card behind them (higher specificity than the shared tile background),
   and no dark edge fades, which would smudge the white */
.strip--messages li button { background: #fff; }
.strip-wrap--plain::before, .strip-wrap--plain::after { display: none; }
.strip img { width: 100%; height: 100%; object-fit: contain; }
.strip-wrap::before,
.strip-wrap::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 110px;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.strip-wrap::before { left: 0; border-radius: 8px 0 0 8px; background: linear-gradient(to right, var(--surface), rgba(20, 18, 18, 0)); }
.strip-wrap::after { right: 0; border-radius: 0 8px 8px 0; background: linear-gradient(to left, var(--surface), rgba(20, 18, 18, 0)); }
.strip-wrap.can-prev::before,
.strip-wrap.can-next::after { opacity: 1; }
.arrow {
  position: absolute;
  top: 50%;
  transform: translate3d(0, -50%, 0);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  padding: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.8);
  border: 1.5px solid var(--gold-line);
  color: var(--chalk);
  cursor: pointer;
  transition: opacity 0.2s ease, background-color 0.15s ease;
}
.arrow:hover { background: #000; border-color: var(--brass); }
.arrow svg { width: 22px; height: 22px; }
.arrow--prev { left: -10px; }
.arrow--next { right: -10px; }
.arrow[disabled] { opacity: 0; pointer-events: none; }

.strip button {
  display: block;
  padding: 0;
  border: 0;
  background: var(--surface-2);
  border-radius: 8px;
  overflow: hidden;
  cursor: zoom-in;
}
.strip img { transition: opacity 0.15s ease; }
.strip button:hover img { opacity: 0.85; }

@media (max-width: 759px) {
  .strip { height: 380px; }
  .gal-hint { display: none; }
  /* Arrows stay on phones too, so it's obvious there are more photos to slide to */
  .arrow {
    width: 44px; height: 44px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .arrow svg { width: 20px; height: 20px; }
  .arrow--prev { left: -8px; }
  .arrow--next { right: -8px; }
  .strip-wrap::before, .strip-wrap::after { width: 50px; }
}


.lightbox {
  width: min(900px, calc(100% - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  padding: 0;
  background: transparent;
  border: 0;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.92); }
.lightbox img {
  max-height: calc(100dvh - 5rem);
  width: auto;
  margin-inline: auto;
  border-radius: var(--radius-s);
}
.lightbox .dialog__close {
  top: -0.25rem; right: -0.25rem;
  background: rgba(0,0,0,0.7);
  color: var(--chalk);
}
@media (min-width: 1000px) { .lightbox .dialog__close { right: -3.5rem; top: 0; } }

/* ---------- Journey (a real sequence, so it's marked as one) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); }
.step {
  display: grid;
  gap: 1.25rem 2.5rem;
  align-items: center;
}
@media (min-width: 820px) {
  .step { grid-template-columns: 1fr 1.3fr; }
  .step:nth-child(even) .step__photo { order: 2; }
}
.step__photo {
  margin: 0;
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
}
.step__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.step__when {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--red);
}
.step h2 {
  margin-top: 0.4rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  text-transform: uppercase;
}
.step p { margin-top: 0.9rem; color: var(--muted); max-width: 36rem; }

/* ---------- Journey page end ---------- */
.journey-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.journey-cta h2 { font-size: clamp(2rem, 4.5vw, 3rem); text-transform: uppercase; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 3rem 2rem;
  color: var(--muted);
  font-size: 0.975rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-grid p { margin-top: 0.75rem; max-width: 22rem; }
.footer-grid h2 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--chalk);
  margin-bottom: 0.75rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-grid a { text-decoration: none; }
.footer-social a { display: inline-flex; align-items: center; gap: 0.6rem; }
.footer-social img { width: 22px; height: 22px; border-radius: 5px; }
.footer-grid a:hover { color: var(--chalk); text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--chalk); text-decoration: underline; }

/* ---------- Simple pages (legal, 404, redirect) ---------- */
.page { padding-block: clamp(3rem, 7vw, 5rem); }
.page__head { max-width: 44rem; margin-bottom: 2.5rem; }
.page__head h1 { font-size: clamp(2.8rem, 7vw, 4.75rem); text-transform: uppercase; }
.page__head p { margin-top: 0.75rem; color: var(--muted); }
.prose { max-width: 44rem; }
.prose h2 {
  margin-top: 2.25rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
}
.prose p, .prose ul { margin-top: 0.75rem; color: #d3ccc5; }
.prose ul { padding-left: 1.25rem; display: grid; gap: 0.35rem; }
.prose a { color: var(--chalk); }

.center-page {
  min-height: calc(100dvh - var(--header-h) - 12rem);
  display: grid;
  place-content: center;
  text-align: center;
  gap: 1rem;
  padding-block: 4rem;
}
.center-page h1 { font-size: clamp(3rem, 9vw, 5.5rem); text-transform: uppercase; }
.center-page p { color: var(--muted); max-width: 32rem; margin-inline: auto; }
.center-page .btn { justify-self: center; margin-top: 0.5rem; }

/* ---------- Questionnaire page ---------- */
.q-wrap { max-width: 760px; }

.stepper {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  counter-reset: step;
}
.stepper li {
  flex: 1;
  padding-top: 0.6rem;
  border-top: 3px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.stepper li.is-done { border-color: var(--ok); color: var(--chalk); }
.stepper li.is-current { border-color: var(--red); color: var(--chalk); }

.q-head h1 { font-size: clamp(2.6rem, 7vw, 4.25rem); text-transform: uppercase; }
.q-head p { margin-top: 0.75rem; color: var(--muted); }

.receipt {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}
.receipt h2 { font-family: var(--body); font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
.receipt dl { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem; margin: 0.75rem 0 0; font-size: 0.95rem; }
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; word-break: break-all; }

.chooser { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .chooser { grid-template-columns: repeat(3, 1fr); } }
.chooser .btn { min-height: 56px; }

.qform { margin-top: 2rem; }
.qform fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.qform fieldset[hidden] { display: none; }
.qgroup + .qgroup { margin-top: 2.25rem; }
.qgroup > legend,
.qgroup__title {
  display: block;
  width: 100%;
  padding: 0 0 0.25rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1;
  text-transform: uppercase;
}
.qgroup__sub { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.95rem; }

.fields { display: grid; gap: 1.1rem 1.25rem; margin-top: 1.25rem; }
@media (min-width: 640px) {
  .fields { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}
.field label { display: block; font-weight: 600; margin-bottom: 0.4rem; line-height: 1.35; }
.field .req { color: var(--red); margin-left: 0.15rem; }
.field .hint { display: block; margin-top: 0.35rem; color: var(--muted); font-size: 0.9rem; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  background: var(--black);
  color: var(--chalk);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  font: 400 1rem/1.4 var(--body);
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9a19b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 18px;
}
.field input::placeholder, .field textarea::placeholder { color: #6f6863; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brass); outline-offset: 1px; border-color: transparent; }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--red); }

.qform__submit { margin-top: 2.25rem; display: grid; gap: 0.75rem; }
.qform__saved { color: var(--muted); font-size: 0.9rem; }

.done { margin-top: 2rem; }
.done h2 { font-size: clamp(2.4rem, 6vw, 3.5rem); text-transform: uppercase; }
.done p { margin-top: 1rem; color: var(--muted); }
.done ul { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0.4rem; }
.done li { display: flex; gap: 0.6rem; align-items: center; }
.done li svg { width: 20px; height: 20px; color: var(--ok); flex: none; }
.done .btn { margin-top: 2rem; }

.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Questionnaire page: focused layout ---------- */
.q-help { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.q-help img { width: 24px; height: 24px; border-radius: 6px; flex: none; }
.q-help:hover { color: var(--chalk); }
@media (max-width: 480px) {
  .q-help__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .q-help img { width: 30px; height: 30px; border-radius: 7px; }
}
.q-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1.5rem;
  align-items: center;
  margin-top: 1.75rem;
  padding: 1.1rem 1.25rem;
  background: var(--surface);
  border: 1.5px solid var(--gold-line);
  border-radius: var(--radius-m);
}
.q-summary__label { display: block; color: var(--muted); font-size: 0.85rem; }
.q-summary strong {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 1.9rem);
  line-height: 1;
  text-transform: uppercase;
}
.q-summary__price { text-align: right; color: var(--brass); }
.q-summary__price span { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 4vw, 1.9rem); line-height: 1; }
.q-summary__price small { color: var(--muted); font-size: 0.85rem; }
.q-summary__paid {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.35rem 0 0;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
  color: var(--ok);
  font-size: 0.9rem;
  font-weight: 500;
}
.q-summary__paid::before {
  content: "";
  width: 0.9rem; height: 0.5rem;
  border-left: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg) translateY(-2px);
}
.q-next { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
@media (min-width: 700px) { .q-next { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.q-next li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--muted); font-size: 0.95rem; line-height: 1.4; }
.q-next b {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.6rem; height: 1.6rem;
  border-radius: 50%;
  border: 1.5px solid var(--red);
  color: var(--chalk);
  font-size: 0.85rem;
}
.q-footer { border-top: 1px solid var(--line); padding-block: 1.5rem; margin-top: 2rem; color: var(--muted); font-size: 0.9rem; }
.q-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 1.5rem; }
.q-footer p { margin: 0; }
.q-footer ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.q-footer a { text-decoration: none; }
.q-footer a:hover { color: var(--chalk); text-decoration: underline; }

/* ==========================================================
   NEW LOOK (switch)
   Everything in this block only applies when <html class="look-new">.
   To go back to the classic look, remove that class from the pages
   (the rollback zip does exactly that). Nothing else depends on it.
   ========================================================== */
.eyebrow, .chip, .hero__creds, .how { display: none; }

html.look-new .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.95rem;
  font: 600 0.8rem/1 var(--body);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
}
html.look-new .eyebrow::before { content: ""; width: 30px; height: 1.5px; background: var(--brass); }

html.look-new .section--plans { position: relative; }
html.look-new .section--plans::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 460px;
  background: radial-gradient(55% 100% at 28% 0%, rgba(208, 171, 98, 0.11), transparent 70%);
  pointer-events: none;
}
html.look-new .section--plans > .wrap { position: relative; }

html.look-new .chip {
  display: block;
  position: absolute;
  top: 14px; left: 14px;
  z-index: 3;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(208, 171, 98, 0.55);
  color: var(--brass);
  font: 600 0.68rem/1 var(--body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

html.look-new .price__pln {
  background: linear-gradient(180deg, #f3d896 0%, #c99a43 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

html.look-new .how {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 1.5rem;
  list-style: none;
  margin: 2rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}
html.look-new .how li { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.95rem; line-height: 1.35; color: var(--muted); }
html.look-new .how b {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.9rem; height: 1.9rem;
  border-radius: 50%;
  border: 1.5px solid var(--gold-line);
  color: var(--brass);
  font: 700 0.9rem/1 var(--body);
}
html.look-new .how strong { display: block; margin-bottom: 0.15rem; color: var(--chalk); font-weight: 600; }
@media (max-width: 899px) { html.look-new .how { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { html.look-new .how { grid-template-columns: 1fr; } html.look-new .chip { top: 12px; left: 12px; } }

/* Credentials line under the hero buttons: computers only (on phones it would push the headline onto the photo) */
@media (min-width: 900px) {
  html.look-new .hero__creds {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1.4rem;
    list-style: none;
    max-width: 44rem;
    margin: 2.1rem 0 0;
    padding: 1.2rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #e0d9d2;
    font-size: 0.92rem;
  }
  html.look-new .hero__creds li { display: inline-flex; align-items: center; gap: 0.5rem; }
  html.look-new .hero__creds li::before { content: ""; width: 7px; height: 7px; background: var(--brass); transform: rotate(45deg); }
}


/* ============ v12 ============ */
/* Training card: photo sits higher so the title doesn't cover his hands */
#card-personalized-training .plan__photo img { object-position: center 55%; }

/* Card titles break onto two lines side by side (desktop), so titles and prices line up */
.plan__title h3 .tl { display: none; }
@media (min-width: 900px) { .plan__title h3 .tl { display: inline; } }

/* Narrow desktop windows: put "per plan" / "one-time purchase" on its own row for all three cards, so the prices line up */
@media (min-width: 900px) and (max-width: 1010px) { .plan__title .price__per { flex-basis: 100%; } }

/* Polish words are longer: slightly smaller card titles so each stays on two lines */
html[lang="pl"] .plan__title h3 { font-size: clamp(2.1rem, 3.7vw, 2.75rem); }
@media (min-width: 900px) and (max-width: 1010px) { html[lang="pl"] .plan__title h3 { font-size: clamp(1.6rem, 3vw, 1.9rem); } }

/* Polish hero headline is longer: a bit smaller so it stays clear of his head */
html[lang="pl"] .hero h1 { font-size: clamp(3rem, 7.2vw, 6.1rem); }

/* Language toggle: gold segmented pill, the current language is filled */
.nav .tg { display: inline-flex; align-items: center; gap: 2px; margin-left: 0.5rem; padding: 3px; border: 1.5px solid var(--gold-line); border-radius: 9px; }
.nav .tg a, .nav .tg .on {
  padding: 0.42rem 0.7rem; border: 0; border-radius: 6px;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem; line-height: 1; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; color: #cfc8c1; box-shadow: none !important;
}
.nav .tg a:hover { color: var(--chalk); background: rgba(208, 171, 98, 0.16); }
.nav .tg .on { background: var(--brass); color: #111; cursor: default; }
@media (max-width: 760px) {
  .nav .tg { margin: 0.9rem 0; align-self: flex-start; }
  .nav .tg a, .nav .tg .on { padding: 0.6rem 1rem; font-size: 1.25rem; border-bottom: 0; }
}

/* Payment reference on the questionnaire page */
.q-ref { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin: 1rem 0 1.5rem; padding: 1rem 1.15rem; background: var(--surface); border: 1.5px solid var(--gold-line); border-radius: var(--radius-m); }
.q-ref[hidden] { display: none; }
.q-ref__main { flex: 1 1 16rem; min-width: 0; display: grid; gap: 0.35rem; }
.q-ref__label { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.q-ref__id { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.82rem; color: var(--chalk); overflow-wrap: anywhere; }
.q-ref__copy { padding: 0.55rem 1.1rem; min-height: 44px; }
.q-ref__note { flex-basis: 100%; margin: 0; font-size: 0.9rem; color: var(--muted); }

/* Footer links: comfortable tap targets on phones */
@media (max-width: 760px) {
  .footer-grid ul { gap: 0; }
  .footer-grid li a, .footer-bottom li a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-bottom ul { gap: 0 1.5rem; }
}
