/*
 * Shared styles for the hand-built trustwomen.eu pages (/o-nas/, /kontakt/,
 * /ochrana-osobnych-udajov/ ...). Same palette and type as the /v2/ redesign
 * and /checkout/, so the migrated sections and the conference pages read as
 * one site. The header and footer markup comes from /common/site.js.
 */

:root {
  --green: #0a3c25;
  --green-mid: #0d4f31;
  --pink: #d0a4f7;
  --pink-deep: #b581ef;
  --tint: #f9f4fd;
  --ink: #282828;
  --muted: #5a6b62;
  --white: #ffffff;
  --px: max(20px, calc((100% - 1200px) / 2 + 24px));
  --sans: "Source Sans 3", system-ui, sans-serif;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
[hidden] { display: none !important; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--pink-deep); outline-offset: 3px; }

/* ─── Header ───────────────────────────────────────────────────────────── */

/* Reserves the bar's height before site.js fills it, so the page below does
 * not jump when the nav arrives. */
#site-header { min-height: var(--header-h); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid rgba(10, 60, 37, 0.08);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  padding: 0 var(--px);
}
.site-header__logo { display: block; line-height: 0; flex: none; }
.site-header__logo img { width: 104px; aspect-ratio: 693 / 369; }
/* On the metodika's pages the logo carries the product name beside it. */
.site-header__logo:has(.site-header__product) { display: flex; align-items: center; gap: 14px; line-height: 1.1; color: var(--green); text-decoration: none; }
.site-header__product { display: flex; flex-direction: column; padding-left: 14px; border-left: 1px solid rgba(10, 60, 37, 0.18); font-size: 1.05rem; font-weight: 800; letter-spacing: 0.02em; white-space: nowrap; }
.site-header__product small { font-size: 0.75rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__item { position: relative; }
.site-nav__link,
.site-nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--green);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.site-nav__link:hover,
.site-nav__toggle:hover,
.site-nav__toggle[aria-expanded="true"] { background: var(--tint); }
.site-nav__link[aria-current="page"],
.site-nav__toggle[aria-current="true"] { background: var(--pink); }

/* One nav item can carry its own call to action (see NAV_SK's `cta: true`)
 * instead of sitting flush with the plain text links -- a filled pill, same
 * shape as .btn, so it reads as "go here" rather than just another section. */
.site-nav__link--cta,
.site-nav__link--cta[aria-current="page"] {
  background: var(--green);
  color: var(--white);
}
.site-nav__link--cta:hover { background: var(--green-mid); }
.site-nav__toggle svg { width: 14px; height: 14px; transition: transform 0.18s ease; }
.site-nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.site-nav__sub {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 230px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(10, 60, 37, 0.16);
}
.site-nav__sub a {
  display: block;
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--ink);
  font-size: 0.95rem;
  text-decoration: none;
}
.site-nav__sub a:hover { background: var(--tint); color: var(--green); }
.site-nav__sub a[aria-current="page"] { background: var(--pink); color: var(--green); font-weight: 700; }
.site-nav__heading {
  padding: 10px 12px 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-nav__heading:not(:first-child) { margin-top: 6px; border-top: 1px solid rgba(10, 60, 37, 0.08); padding-top: 14px; }

.site-header__menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--tint);
  color: var(--green);
  cursor: pointer;
}
.site-header__menu-btn svg { width: 22px; height: 22px; }

/* The full bar (logo + 7 items) needs ~820px; below this it becomes a burger. */
@media (max-width: 920px) {
  .site-header__menu-btn { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 8px var(--px) 24px;
    background: var(--white);
    border-bottom: 1px solid rgba(10, 60, 37, 0.08);
    box-shadow: 0 18px 30px rgba(10, 60, 37, 0.12);
  }
  .site-nav:not(.is-open) { display: none; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav__link,
  .site-nav__toggle { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.05rem; }
  .site-nav__sub {
    position: static;
    min-width: 0;
    padding: 0 0 8px 12px;
    box-shadow: none;
  }
}

/* The metodika's own bar (product name + 7 items) needs ~1350px. */
@media (max-width: 1380px) {
  .site-header--metodika .site-header__menu-btn { display: inline-flex; }
  .site-header--metodika .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 8px var(--px) 24px;
    background: var(--white);
    border-bottom: 1px solid rgba(10, 60, 37, 0.08);
    box-shadow: 0 18px 30px rgba(10, 60, 37, 0.12);
  }
  .site-header--metodika .site-nav:not(.is-open) { display: none; }
  .site-header--metodika .site-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-header--metodika .site-nav__link,
  .site-header--metodika .site-nav__toggle { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.05rem; }
  .site-header--metodika .site-nav__sub {
    position: static;
    min-width: 0;
    padding: 0 0 8px 12px;
    box-shadow: none;
  }
}

/* ─── Page building blocks ─────────────────────────────────────────────── */

.section { padding: 88px var(--px); }
.section--tint { background: var(--tint); }
.section--green { background: var(--green); color: var(--white); }
.section--green h2, .section--green h3 { color: var(--pink); }

.kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--green);
  color: var(--pink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.section--green .kicker { background: var(--pink); color: var(--green); }

h1, h2, h3 { margin: 0; color: var(--green); line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; margin-bottom: 18px; }
h3 { font-size: 1.2rem; font-weight: 700; }
.lead { margin: 0; max-width: 62ch; font-size: 1.2rem; line-height: 1.6; }
.prose p { margin: 0 0 1em; max-width: 68ch; }
.prose p:last-child { margin-bottom: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  padding: 14px 26px;
  border: 2px solid var(--green);
  border-radius: 50px;
  background: var(--green);
  color: var(--white);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn:hover { background: var(--green-mid); border-color: var(--green-mid); transform: translateY(-1px); }
.btn--light { border-color: var(--pink); background: var(--pink); color: var(--green); }
.btn--light:hover { background: var(--white); border-color: var(--white); color: var(--green); }
.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: var(--green); color: var(--white); }
/* A button with nowhere to go yet: grey, inert, with a note under it. */
.btn--soon,
.btn--soon:hover { border-color: #c4c4c4; background: #c4c4c4; color: var(--white); cursor: default; transform: none; }
.btn-soon { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.btn-soon__note { margin: 0; font-size: 0.92rem; font-weight: 600; color: var(--muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Copy-to-clipboard as a bare icon; site.js fills in the icon and its label. */
.copy-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  padding: 6px;
  border: 0;
  background: none;
  color: var(--green);
  cursor: pointer;
  transition: color 0.18s ease, transform 0.18s ease;
}
.copy-icon svg { width: 18px; height: 18px; }
.copy-icon:hover { color: var(--pink-deep); }
.copy-icon:active { transform: scale(0.92); }
.btn-row > * { min-width: 0; max-width: 100%; }

/* ─── Components ───────────────────────────────────────────────────────────
 * Shared by every migrated page. A page adds its own <style> only for what
 * is genuinely unique to it.                                               */

/* Photo hero: <section class="hero" style="--hero:url(...)">. */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  /* 43.75vw is the 1920×840 photo's own height at full width: any taller and
   * `cover` crops the sides away between the phone layout and ~1460px. */
  min-height: min(72vh, 640px, 43.75vw);
  padding: 64px var(--px);
  background: var(--green) var(--hero, none) center / cover no-repeat;
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 60, 37, 0.05) 30%, rgba(10, 60, 37, 0.82) 100%);
}
.hero > * { position: relative; }
.hero__inner { max-width: 900px; }
.hero h1 { color: var(--white); text-transform: uppercase; }
.hero h1 span { color: var(--pink); }
.hero .lead { margin-top: 18px; color: rgba(255, 255, 255, 0.92); }
.hero--short { min-height: min(52vh, 460px, 43.75vw); }
/* Plain hero without a photo. */
.hero--plain { min-height: 0; padding-top: 88px; padding-bottom: 72px; }
.hero--plain::before { display: none; }

.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head .lead { margin-top: 4px; }

/* Two columns, media + text. */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--wide-text { grid-template-columns: 0.8fr 1.2fr; }
.split img, .split .video { width: 100%; border-radius: 18px; }
.split--reverse > :first-child { order: 2; }

/* Card grid. Each card can be a link (<a class="card">) or a plain block. */
.cards { grid-auto-rows: 1fr; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.cards--wide { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.cards > li { display: flex; }
.cards > li > .card { flex: 1; }
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid rgba(10, 60, 37, 0.1);
  color: inherit;
  text-decoration: none;
}
.section--tint .card { border-color: transparent; }
a.card { transition: transform 0.18s ease, box-shadow 0.18s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(10, 60, 37, 0.14); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--tint); }
.card--portrait img { aspect-ratio: 4 / 5; }
.card--square img { aspect-ratio: 1; }
.card--logo img { aspect-ratio: 16 / 9; object-fit: contain; padding: 24px; background: var(--white); }
.card__body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 20px 22px 24px; }
.card__body p { margin: 0; font-size: 0.98rem; }
.card__meta { color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.card__more { margin-top: auto; padding-top: 6px; color: var(--green); font-weight: 700; }

.chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.chips li {
  max-width: 100%;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--white);
  border: 2px solid var(--pink);
  color: var(--green);
  font-weight: 700;
}

blockquote.quote {
  margin: 0;
  padding: 0 0 0 22px;
  border-left: 4px solid var(--pink);
  color: var(--green);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.4;
}

/* Big numbers: <ul class="stats"><li><strong>23</strong> video rozhovorov</li> */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.stats li { display: flex; flex-direction: column; gap: 4px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; color: var(--muted); }
.stats strong { font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; letter-spacing: 0; color: var(--green); }
.section--green .stats li { color: rgba(255, 255, 255, 0.75); }
.section--green .stats strong { color: var(--pink); }

/* Ordered agenda: <ol class="program"><li><time>9:00</time><div><h3>…</h3><p>…</p></div></li> */
.program { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; list-style: none; }
.program li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(10, 60, 37, 0.12); }
.program time { color: var(--green); font-weight: 800; }
.program h3 { margin-bottom: 4px; }
.program p { margin: 0; color: var(--muted); }

/* People with round photos. */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; text-align: center; }
.people img { width: 100%; max-width: 180px; margin: 0 auto 12px; border-radius: 50%; aspect-ratio: 1; object-fit: cover; background: var(--tint); }
.people h3 { font-size: 1.05rem; }
.people p { margin: 4px 0 0; font-size: 0.92rem; color: var(--muted); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.gallery figcaption { margin-top: 8px; font-size: 0.92rem; color: var(--muted); }

/* Listen/watch links: <div class="media-links"><a data-media="youtube">… */
.media-links { display: flex; flex-wrap: wrap; gap: 10px; }
.media-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--green);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}
.media-links a:hover { background: var(--pink); }
.media-links svg { width: 18px; height: 18px; flex: none; }

/* YouTube facade: nothing loads from YouTube until the visitor presses play.
 * <button class="video" data-youtube="ID" data-video-id="slug" aria-label="…"> */
.video {
  position: relative;
  display: block;
  width: 100%;
  max-width: 980px;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: var(--green) center / cover no-repeat;
  cursor: pointer;
}
.video::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  border-radius: 50%;
  background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230a3c25' d='M8 5v14l11-7z'/%3E%3C/svg%3E") 55% 50% / 34px no-repeat;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.18s ease;
}
.video:hover::after { transform: scale(1.06); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.is-playing::after { display: none; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: text-decoration-color 0.18s ease;
}
.back-link:hover { text-decoration-color: var(--pink); }
.back-link span { transition: transform 0.18s ease; }
.back-link:hover span { transform: translateX(-4px); }
.notice { padding: 18px 22px; border-radius: 14px; background: var(--tint); }

/* Long copy on a phone. site.js adds .is-collapsed and the button. */
.is-collapsed:not(.is-open) {
  max-height: 8.5rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 58%, transparent);
  mask-image: linear-gradient(#000 58%, transparent);
}
.read-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 2px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--green);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.read-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.section--green .read-more { color: var(--pink); }

@media (max-width: 900px) {
  .split, .split--wide-text { grid-template-columns: 1fr; gap: 28px; }
  .split--reverse > :first-child { order: 0; }
  .program li { grid-template-columns: 1fr; gap: 4px; }
}

/* Phone: a wide photo used as a tall cover crop leaves a sliver of the
 * picture. Every hero file is 1920×840 (or the same 2.29 ratio), so show
 * the whole frame and put the title on the green underneath it. */
@media (max-width: 760px) {
  body .hero:not(.hero--plain) {
    display: block;
    min-height: 0;
    /* Padding, not margin: a child's top margin would collapse out of the
     * hero and the title would sit on top of the photo. */
    padding: 43.75% var(--px) 36px;
    background-color: var(--green);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
  }
  body .hero:not(.hero--plain)::before {
    inset: 0 0 auto 0;
    height: auto;
    aspect-ratio: 1920 / 840;
    background: linear-gradient(180deg, rgba(10, 60, 37, 0) 72%, var(--green) 100%);
  }
  body .hero:not(.hero--plain) .hero__inner {
    margin: 0;
    padding: 10px 0 0;
  }
  body .hero:not(.hero--plain) .kicker {
    background: var(--pink);
    color: var(--green);
  }
  blockquote.quote { font-size: 1.12rem; }
  .cards,
  .cards--wide,
  .gallery { grid-template-columns: 1fr; }
  /* Two pills on one row leaves the right-hand one in a gap too narrow for its label. */
  .topics,
  .chips,
  .guests { flex-direction: column; align-items: flex-start; }
  /* A wrapping row leaves Apple Podcasts alone on the second line. */
  .media-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .media-links a {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-height: 76px;
    padding: 12px 8px;
    border-radius: 16px;
    font-size: 0.8rem;
    line-height: 1.15;
    text-align: center;
  }
}

/* ─── Footer ───────────────────────────────────────────────────────────── */

/* A shade darker than .section--green, so a green section above it never
 * runs into the footer as one block. */
.site-footer {
  padding: 44px var(--px) 24px;
  background: #062a1a;
  color: var(--white);
  font-size: 0.95rem;
}
.site-footer__cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(208, 164, 247, 0.22);
}
.site-footer__logo {
  width: 96px;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--white);
  box-sizing: content-box;
}
.site-footer__blurb { margin: 0; max-width: 36ch; font-size: 0.88rem; line-height: 1.5; color: rgba(255, 255, 255, 0.72); }
.site-footer__heading {
  margin: 0 0 12px;
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-footer__email {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(208, 164, 247, 0.5);
}
.site-footer__email:hover { color: var(--pink); border-color: var(--pink); }
.site-footer__copyrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; }
.site-footer .copy-icon { color: var(--pink); }
.site-footer .copy-icon:hover { color: var(--white); }
.site-footer__socials { display: flex; gap: 10px; margin-top: 16px; }
.site-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(208, 164, 247, 0.4);
  border-radius: 50%;
  color: var(--white);
}
.site-footer__social svg { width: 18px; height: 18px; }
.site-footer__social:hover { background: var(--pink); border-color: var(--pink); color: var(--green); }
.site-footer__list { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.site-footer__list a,
.site-footer__legal a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.site-footer__list a:hover,
.site-footer__legal a:hover { color: var(--pink); }
.site-footer__iban { margin: 14px 0 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.78); }
.site-footer__iban strong { display: block; color: var(--white); font-size: 0.95rem; letter-spacing: 0.02em; }
/* The account's copy icon sits on the label line, so it never wraps away from the number. */
.site-footer__iban .site-footer__copyrow { gap: 4px; }
.site-footer__iban .copy-icon { padding: 2px 4px; }
.site-footer__iban .copy-icon svg { width: 16px; height: 16px; }
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 18px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}
.site-footer__legal ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }

@media (max-width: 900px) {
  .section { padding: 64px var(--px); }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer { padding: 28px var(--px) 20px; }
  .site-footer__cols {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 16px;
  }
  .site-footer__blurb { display: none; }
  .site-footer__logo { width: 88px; margin-bottom: 0; }
  /* The same links are in the menu. */
  .site-footer__nav { display: none; }
  .site-footer__heading { margin-bottom: 6px; }
  .site-footer__email,
  .site-footer__list a {
    color: var(--white);
    font-weight: 600;
    border-bottom: 1px solid rgba(208, 164, 247, 0.5);
  }
  .site-footer__socials { margin-top: 10px; }
  .site-footer__social { width: 36px; height: 36px; }
  .site-footer__iban { margin-top: 8px; }
  .site-footer__iban strong {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.35em;
    letter-spacing: 0;
  }
  .site-footer__iban strong span { white-space: nowrap; }
  .site-footer__legal { margin-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .site-nav__toggle svg { transition: none; }
  .btn:hover { transform: none; }
}
