/* ============================================================
   Zanim wybierzesz studia — zapytaj Elę! — kampania ELA Uczeń
   Static, dependency-free stylesheet. Mobile-first with explicit
   breakpoints at 640 / 960 / 1280px, layered on top of fluid
   clamp()/grid sizing for in-between viewport widths.
   ============================================================ */

:root {
  --navy: #001048;
  --navy-2: #0A1B52;
  --blue: #1958FF;
  --orange: #F5901E;
  --red: #E30613;
  --light: #E7EBF6;
  --light-2: #F3F5FC;
  --white: #fff;
  --text-dark: #22305C;
  --muted-1: #8FA0CE;
  --muted-2: #C7D2EE;
  --muted-3: #5A6B9C;

  --gradient-brand: linear-gradient(90deg, var(--orange) 0%, var(--red) 100%);

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 72px);

  --font-display: Anton, sans-serif;
  --font-body: Poppins, system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--navy);
  font-family: var(--font-body);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, figure, blockquote {
  margin: 0;
}

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

a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:hover { color: var(--red); }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--white);
  color: var(--navy);
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
  z-index: 100;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.badge {
  display: inline-block;
  border-radius: 999px;
  border-top-left-radius: 0;
  padding: 6px 22px;
  background: var(--white);
  color: var(--navy);
  font-size: clamp(14px, 1.2vw, 19px);
  font-weight: 600;
}

.eyebrow {
  position: relative;
  display: inline-block;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: -44px;
  top: -40px;
  width: 36px;
  height: 36px;
  background: var(--red);
  opacity: 0.9;
  clip-path: polygon(50% 0%, 61% 30%, 89% 12%, 72% 39%, 100% 50%, 72% 61%, 89% 88%, 61% 70%, 50% 100%, 39% 70%, 11% 88%, 28% 61%, 0% 50%, 28% 39%, 11% 12%, 39% 30%);
}
.eyebrow p {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.8vw, 22px);
  letter-spacing: 0.12em;
  color: var(--light);
  text-transform: uppercase;
}

.h-display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  color: var(--white);
  text-decoration: none;
  background: var(--gradient-brand);
  transition: transform 150ms ease;
}
.btn:hover, .btn:focus-visible { transform: scale(1.03); color: var(--white); }

.btn--header {
  padding: 10px 22px;
  font-size: 14px;
}

.btn--hero {
  padding: 16px 36px;
  font-size: clamp(14px, 1.4vw, 19px);
  box-shadow: 0 14px 30px rgba(227, 6, 19, 0.32);
}

.btn--cta {
  white-space: nowrap;
  padding: 12px clamp(24px, 4vw, 56px);
  font-size: clamp(14px, 1.3vw, 18px);
}

.hover-lift {
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.hover-lift:hover, .hover-lift:focus-visible {
  transform: scale(1.02);
}

/* ---------------- reveal-on-scroll ----------------
   Progressive enhancement: content is visible by default so it
   never depends on JavaScript. Only once html.js is present (set
   synchronously before paint) do sections start hidden and wait
   for IntersectionObserver to reveal them via script.js.        */
html.js:not(.reveal-disabled) [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms ease, transform 600ms ease;
}
html.js:not(.reveal-disabled) [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------------- header ---------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(0, 16, 72, 0.96);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  transform: translateY(-110%);
  transition: transform 220ms ease;
  backdrop-filter: blur(6px);
}
.site-header.is-visible {
  transform: translateY(0);
}
.site-header__bar {
  height: 4px;
  background: var(--gradient-brand);
}
.site-header__row {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header__logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}
.site-header__logo span.dot { color: var(--orange); }
.site-header__logo span.sub {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #E7EBF6;
  margin-left: 8px;
}
@media (max-width: 420px) {
  .site-header__logo span.sub { display: none; }
}

/* ---------------- hero ---------------- */
.hero {
  position: relative;
  background: var(--navy);
}
.hero__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  min-height: min(768px, 90vh);
  max-width: 1600px;
  margin: 0 auto;
}
.hero__text {
  flex: 1 1 460px;
  display: flex;
  align-items: center;
  padding: clamp(88px, 10vw, 130px) var(--gutter) clamp(48px, 5vw, 80px);
}
.hero__text-inner {
  max-width: 620px;
  width: 100%;
}
.hero__title {
  font-size: clamp(44px, 9vw, 124px);
  color: var(--white);
  margin-top: 10px;
}
.hero__title .accent { color: var(--orange); }
.hero__rule {
  height: 10px;
  width: min(340px, 80%);
  margin-top: 26px;
  background: var(--red);
  border-radius: 999px 0 999px 0;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}
.hero__partners {
  margin-top: clamp(40px, 5vw, 64px);
  max-width: 560px;
}
.hero__partners-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-1);
  margin-bottom: 14px;
}
.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(20px, 3.5vw, 44px);
}
.logo-crop {
  flex: 0 0 auto;
  position: relative;
  height: clamp(30px, 3.4vw, 46px);
  overflow: hidden;
}
.logo-crop img {
  position: absolute;
  max-width: none;
}
.logo-crop--ministry { aspect-ratio: 3.28; }
.logo-crop--ministry img { top: -110.5%; left: -28.6%; width: 408%; }
.logo-crop--ela { aspect-ratio: 2.34; }
.logo-crop--ela img { top: -110.5%; left: -231.4%; width: 571%; }
.logo-crop--opi { aspect-ratio: 3.5; }
.logo-crop--opi img { top: -110.5%; left: -259%; width: 382%; }

.hero__figure {
  flex: 1 1 380px;
  position: relative;
  min-height: 320px;
}
.hero__figure-img {
  position: absolute;
  inset: 0;
  background-image: url('uploads/dziewczyna.png');
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-color: var(--navy);
  border-bottom-left-radius: clamp(40px, 7vw, 110px);
}

.hero__lead-wrap {
  padding: 0 var(--gutter) clamp(56px, 7vw, 110px);
}
.hero__lead {
  max-width: var(--container);
  margin: 0 auto;
  border-radius: 28px;
  border: 2px solid var(--orange);
  background: rgba(10, 27, 82, 0.75);
  padding: clamp(24px, 4vw, 48px);
}
.hero__lead p {
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--light);
}
.hero__lead strong {
  color: var(--orange);
  font-weight: 600;
}

/* ---------------- section shells ---------------- */
.section {
  position: relative;
}
.section--light { background: var(--light); color: var(--navy); }
.section--navy { background: var(--navy); color: var(--white); }
.section--white { background: var(--white); color: var(--navy); }
.section--tint { background: var(--navy-2); }

.section__stripe {
  height: 10px;
  background: var(--gradient-brand);
}

.section--pad {
  padding: clamp(56px, 7vw, 110px) var(--gutter);
}

/* split layout: text | media, stacks on mobile */
.split {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  max-width: 1600px;
  margin: 0 auto;
}
.split__text {
  flex: 1 1 460px;
  display: flex;
  padding: clamp(48px, 6vw, 96px) var(--gutter);
}
.split__text-inner { max-width: 560px; width: 100%; }
.split__text--end { justify-content: flex-end; }
.split__media {
  flex: 1 1 400px;
  min-height: 320px;
  position: relative;
  background: var(--navy);
  overflow: hidden;
}
.split__media--radius-bl { border-bottom-left-radius: clamp(40px, 7vw, 110px); }
.split__media--radius-br { border-bottom-right-radius: clamp(40px, 7vw, 110px); }
.split__media img {
  width: 100%;
  height: 100%;
  max-height: 650px;
  object-fit: contain;
}

.section-title {
  font-size: clamp(30px, 3.8vw, 52px);
  margin-top: 20px;
}
.section-title--xl {
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1.0;
}
.section-lede {
  margin-top: 18px;
  max-width: 760px;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.65;
}
.copy-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 26px;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.65;
  color: var(--text-dark);
}
.text-center { text-align: center; }

/* ---------------- three questions ---------------- */
.qa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(40px, 5vw, 72px);
}
.qa-card {
  text-align: center;
}
.qa-icon {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 20px;
  display: grid;
  place-items: center;
}
.qa-icon svg { width: 46%; height: 46%; }
.qa-icon--blue { background: var(--blue); }
.qa-icon--orange { background: var(--orange); }
.qa-icon--red { background: var(--red); }
.qa-card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: 0.01em;
  margin-top: 22px;
}
.qa-card p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted-2);
}
.qa-card--blue h3 { color: var(--blue); }
.qa-card--orange h3 { color: var(--orange); }
.qa-card--red h3 { color: var(--red); }

/* ---------------- quotes ---------------- */
.quote-grid {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 40px);
}
.quote-card {
  position: relative;
  background: var(--navy);
  border-radius: 28px;
  padding: clamp(28px, 3vw, 48px);
  border: 1px solid rgba(231, 235, 246, 0.14);
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
.quote-card:hover, .quote-card:focus-within {
  transform: scale(1.015);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}
.quote-mark {
  position: absolute;
  right: 22px;
  top: 0;
  font-family: var(--font-display);
  font-size: clamp(72px, 8vw, 110px);
  line-height: 1;
  opacity: 0.5;
}
.quote-card blockquote {
  position: relative;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.65;
  color: var(--light);
}
.quote-card figcaption {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 2px solid var(--orange);
  display: flex;
  align-items: center;
  gap: 22px;
}
.quote-card__avatar {
  display: block;
  flex: 0 0 auto;
  width: clamp(76px, 10vw, 108px);
  height: clamp(76px, 10vw, 108px);
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(231, 235, 246, 0.25);
}
.quote-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quote-card__names {
  display: flex;
  flex-direction: column;
}
.quote-card__names .name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--white);
}
.quote-card figcaption .role {
  display: block;
  font-family: var(--font-body);
  text-transform: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted-1);
  margin-top: 4px;
}

/* ---------------- testimonials ---------------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 3vw, 40px);
  margin-top: clamp(32px, 4vw, 52px);
}
.testi-card {
  background: var(--white);
  border-radius: 28px;
  border-bottom-right-radius: 0;
  padding: clamp(26px, 3vw, 40px);
  box-shadow: 0 12px 30px rgba(0, 16, 72, 0.08);
}
.testi-card:hover, .testi-card:focus-within {
  transform: scale(1.015);
  box-shadow: 0 22px 44px rgba(0, 16, 72, 0.16);
}
.testi-star {
  width: 40px;
  height: 40px;
  clip-path: polygon(50% 0%, 61% 30%, 89% 12%, 72% 39%, 100% 50%, 72% 61%, 89% 88%, 61% 70%, 50% 100%, 39% 70%, 11% 88%, 28% 61%, 0% 50%, 28% 39%, 11% 12%, 39% 30%);
}
.testi-star--blue { background: var(--blue); }
.testi-star--orange { background: var(--orange); }
.testi-card blockquote {
  margin-top: 20px;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.65;
  color: var(--text-dark);
}
.testi-card figcaption {
  margin-top: 22px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 18px;
  color: var(--navy);
}
.testi-card figcaption .role {
  display: block;
  font-family: var(--font-body);
  text-transform: none;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted-3);
  margin-top: 4px;
}

/* ---------------- dane / registers ---------------- */
.media-placeholder {
  position: relative;
  height: 100%;
  min-height: 320px;
  display: grid;
  place-content: center;
  gap: 14px;
  text-align: center;
  padding: 40px;
  background-image: repeating-linear-gradient(135deg, rgba(231, 235, 246, 0.1) 0 14px, transparent 14px 28px);
}
.media-placeholder .star {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  background: var(--red);
  clip-path: polygon(50% 0%, 61% 30%, 89% 12%, 72% 39%, 100% 50%, 72% 61%, 89% 88%, 61% 70%, 50% 100%, 39% 70%, 11% 88%, 28% 61%, 0% 50%, 28% 39%, 11% 12%, 39% 30%);
}
.media-placeholder p {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted-1);
  text-transform: uppercase;
}

.registers {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}
.register-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.register-tag {
  flex: 0 0 auto;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--white);
  border-radius: 999px;
  padding: 6px 18px;
}
.register-tag--blue { background: var(--blue); }
.register-tag--red { background: var(--red); }
.register-row p {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.6;
  color: var(--text-dark);
}

.callout {
  margin-top: 32px;
  border-radius: 24px;
  border-top-left-radius: 0;
  background: var(--light);
  border-left: 8px solid var(--orange);
  padding: 24px 28px;
}
.callout p:first-child {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.callout p + p {
  margin-top: 10px;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.6;
  color: var(--text-dark);
}

/* ---------------- salary table ---------------- */
.table-scroll {
  margin-top: 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(0, 16, 72, 0.1);
  background: var(--white);
}
.salary-table {
  min-width: 600px;
  width: 100%;
  border-collapse: collapse;
  border-radius: 20px;
  overflow: hidden;
}
.salary-table thead th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(13px, 1.1vw, 16px);
  letter-spacing: 0.03em;
  text-align: left;
  padding: 16px 20px;
}
.salary-table tbody td {
  padding: 16px 20px;
  font-size: clamp(14px, 1.1vw, 17px);
  color: var(--text-dark);
}
.salary-table tbody tr:nth-child(odd) { background: var(--white); }
.salary-table tbody tr:nth-child(even) { background: var(--light-2); }
.salary-table .field { font-weight: 600; color: var(--navy); }
.salary-table .median { font-weight: 600; color: var(--red); }

/* ---------------- tools grid ---------------- */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(48px, 4vw, 60px) clamp(28px, 3.5vw, 52px);
  margin-top: clamp(52px, 5vw, 76px);
}
.tool-card { position: relative; }
.tool-card:hover, .tool-card:focus-within { transform: scale(1.02); }
.tool-card__cover {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.tool-card__cover span {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(17px, 1.6vw, 24px);
  line-height: 1;
  color: var(--white);
}
.tool-card__number {
  position: absolute;
  left: 4px;
  top: -26px;
  font-family: var(--font-display);
  font-size: clamp(56px, 6vw, 96px);
  line-height: 1;
  color: var(--white);
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.tool-card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(19px, 1.5vw, 23px);
  color: var(--orange);
  margin-top: 18px;
}
.tool-card p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted-2);
}
.cover--1 { background: linear-gradient(135deg, var(--blue) 0%, var(--navy-2) 100%); }
.cover--2 { background: linear-gradient(135deg, var(--orange) 0%, var(--navy-2) 100%); }
.cover--3 { background: linear-gradient(135deg, var(--red) 0%, var(--navy-2) 100%); }
.cover--4 { background: linear-gradient(135deg, var(--blue) 0%, var(--orange) 100%); }
.cover--5 { background: linear-gradient(135deg, var(--navy-2) 0%, var(--red) 100%); }
.cover--6 { background: linear-gradient(135deg, var(--orange) 0%, var(--red) 100%); }

/* ---------------- two steps ---------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 3vw, 44px);
  margin-top: clamp(40px, 4vw, 60px);
}
.step-card {
  position: relative;
  background: var(--light);
  border-radius: 28px;
  border-top-left-radius: 0;
  padding: clamp(28px, 3.5vw, 52px);
}
.step-card:hover, .step-card:focus-within {
  transform: scale(1.02);
  box-shadow: 0 22px 44px rgba(0, 16, 72, 0.14);
}
.step-number {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 104px);
  line-height: 0.8;
}
.step-card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(21px, 1.8vw, 26px);
  margin-top: 18px;
}
.step-card p {
  margin-top: 12px;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.65;
  color: var(--text-dark);
}

/* ---------------- cta band ---------------- */
.cta-section {
  background: linear-gradient(to bottom, var(--white) 0%, var(--white) 50%, var(--navy) 50%, var(--navy) 100%);
  padding: 0 var(--gutter);
}
.cta-panel {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  border-radius: 32px;
  background: var(--gradient-brand);
  padding: clamp(40px, 4.5vw, 64px) clamp(28px, 4vw, 64px) clamp(72px, 7vw, 96px);
}
.cta-panel__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}
.cta-panel h2 {
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.98;
  color: var(--white);
  margin-top: 16px;
}
.cta-panel p {
  font-size: clamp(16px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--white);
}
.cta-panel__button-wrap {
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 24px);
}
.cta-panel__button-pill {
  background: var(--white);
  padding: 12px;
  border-radius: 999px;
  display: flex;
  justify-content: center;
}

@media (max-width: 640px) {
  .cta-panel { padding-bottom: clamp(96px, 20vw, 130px); }
  .cta-panel__button-wrap { bottom: -28px; }
  .cta-panel__button-pill .btn--cta { white-space: normal; text-align: center; }
}

/* ---------------- salony ---------------- */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: clamp(32px, 4vw, 52px);
}
.city-card {
  background: var(--navy-2);
  border-radius: 20px;
  border-bottom-right-radius: 0;
  padding: 24px 26px;
  border-left: 6px solid var(--orange);
}
.city-card:hover, .city-card:focus-within {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.city-card--blue { border-left-color: var(--blue); }
.city-card--red { border-left-color: var(--red); }
.city-card .date {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--orange);
}
.city-card .city {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 24px;
  color: var(--white);
  margin-top: 8px;
}
.city-card .venue {
  font-size: 15px;
  color: var(--muted-2);
  margin-top: 6px;
}

/* ---------------- banner image ---------------- */
.banner-section {
  background: var(--navy);
  padding: clamp(32px, 4vw, 64px) var(--gutter);
}
.banner-section img {
  display: block;
  width: 100%;
  max-width: var(--container);
  height: auto;
  margin: 0 auto;
}

/* ---------------- footer ---------------- */
.site-footer {
  background: var(--navy);
  color: var(--white);
}
.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 90px) var(--gutter) clamp(32px, 4vw, 56px);
}
.footer-title {
  font-size: clamp(28px, 4.6vw, 68px);
  line-height: 1.0;
  overflow-wrap: break-word;
}
.footer-title a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 5px solid var(--red);
}
.footer-partners {
  margin-top: clamp(36px, 5vw, 64px);
  max-width: 640px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 24px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(231, 235, 246, 0.18);
}
.footer-nav a {
  color: var(--muted-2);
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid rgba(199, 210, 238, 0.4);
}
.footer-fine {
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-1);
  max-width: 760px;
}

/* ============================================================
   Explicit responsive breakpoints
   ============================================================ */

/* --- small phones: tighten hero + headings a touch more --- */
@media (max-width: 380px) {
  .hero__title { font-size: 38px; }
  .footer-title { font-size: 26px; }
}

/* --- ≤640px: single-column everything, compact spacing --- */
@media (max-width: 640px) {
  .qa-grid,
  .testi-grid,
  .tools-grid,
  .steps-grid,
  .city-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }
  .split { flex-direction: column; }
  .split__text, .split__text--end { justify-content: flex-start; }
  .site-header__row { padding: 10px 16px; }
}

/* --- 641–959px: two columns where the design intends cards --- */
@media (min-width: 641px) and (max-width: 959px) {
  .qa-grid, .testi-grid, .tools-grid, .steps-grid, .city-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- ≤959px: the hero photo has no good in-between size once it wraps
   off the text's row — drop it and let the text/CTA own the screen. --- */
@media (max-width: 959px) {
  .hero__figure { display: none; }
  .hero__grid { min-height: 0; }
  .hero__text { padding-bottom: clamp(32px, 6vw, 56px); }
}

/* --- ≥960px: full multi-column desktop layout --- */
@media (min-width: 960px) {
  .qa-grid { grid-template-columns: repeat(3, 1fr); }
  .tools-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- ≥1280px: give the six city cards their full three-up rhythm --- */
@media (min-width: 1280px) {
  .city-grid { grid-template-columns: repeat(3, 1fr); }
  .tools-grid { grid-template-columns: repeat(3, 1fr); }
}
