/* Fitlets_Milk — Tanica-inspired soft pink layout */

:root {
  --cream: #E9E0CF;
  --peach: #E9CEB9;
  --rose: #E5BFBC;
  --mauve: #B97687;
  --mauve-deep: #9E5F70;
  --ink: #5C3D45;
  --ink-soft: #8A6A72;
  --ink-muted: #A88C93;
  --paper: #FFF9F6;
  --white: #FFFFFF;
  --panel: #F7EEE8;
  --panel-soft: #FBF4EF;
  --wa: #25D366;
  --wa-deep: #1DA851;

  --font-body: "Noto Sans TC", "PingFang HK", "Hiragino Sans", sans-serif;
  --font-display: "Noto Sans TC", "PingFang HK", sans-serif;
  --font-latin: "Zen Maru Gothic", "Noto Sans TC", sans-serif;

  --step-small: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --step-body: clamp(0.9375rem, 0.9rem + 0.2vw, 1.05rem);
  --step-lead: clamp(1rem, 0.95rem + 0.35vw, 1.2rem);
  --step-head: clamp(1.5rem, 1.15rem + 1.6vw, 2.35rem);
  --step-display: clamp(1.85rem, 1.2rem + 2.8vw, 3.25rem);

  --radius-sm: 1rem;
  --radius-md: 1.75rem;
  --radius-lg: 2.5rem;
  --radius-xl: 3.25rem;
  --radius-pill: 999px;

  --page-pad: clamp(1.15rem, 4.5vw, 3.5rem);
  --max: 68rem;
  --max-wide: 78rem;
  --header-h: 4rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: 2px solid var(--mauve);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.75;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, color-mix(in srgb, var(--rose) 35%, transparent) 0 1px, transparent 1.5px) 0 0 / 22px 22px,
    radial-gradient(circle at 72% 68%, color-mix(in srgb, var(--peach) 40%, transparent) 0 1.2px, transparent 1.8px) 11px 11px / 28px 28px,
    var(--paper);
  overflow-x: hidden;
}

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

a {
  color: var(--mauve);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.2s var(--ease);
}

a:hover { color: var(--mauve-deep); }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin: 0 0 0.55em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: var(--step-display); color: var(--mauve-deep); }
h2 { font-size: var(--step-head); }
h3 { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem); }

p { margin: 0 0 1em; max-width: 38rem; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li + li { margin-top: 0.3em; }

.latin {
  font-family: var(--font-latin);
  letter-spacing: 0.08em;
  font-weight: 500;
}

.container {
  width: min(100% - (var(--page-pad) * 2), var(--max));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - (var(--page-pad) * 2), var(--max-wide));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.soft-media,
.media,
.print,
.course-tile .media,
.mode-panel .media,
.course-detail .media,
.page-hero-split .media,
.cta-band .media,
.faq-aside .media,
.help-box .media,
.about-mosaic .cell,
.location-card .thumb {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--panel);
}

.soft-media img,
.media img,
.print img,
.course-tile .media img,
.mode-panel .media img,
.course-detail .media img,
.page-hero-split .media img,
.cta-band .media img,
.faq-aside .media img,
.help-box .media img,
.about-mosaic .cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.7rem 1.45rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--mauve);
  color: var(--white);
  border-color: var(--mauve);
}
.btn-primary:hover {
  background: var(--mauve-deep);
  border-color: var(--mauve-deep);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--mauve-deep);
  border-color: color-mix(in srgb, var(--rose) 80%, var(--mauve));
}
.btn-secondary:hover {
  background: var(--rose);
  color: var(--ink);
}

.btn-gold,
.btn-soft {
  background: var(--rose);
  color: var(--ink);
  border-color: var(--rose);
  font-weight: 600;
}
.btn-gold:hover,
.btn-soft:hover {
  background: var(--peach);
  border-color: var(--peach);
  color: var(--ink);
}

.btn-wa {
  background: var(--wa);
  color: var(--white);
  border-color: var(--wa);
}
.btn-wa:hover {
  background: var(--wa-deep);
  border-color: var(--wa-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--mauve-deep);
  border-color: var(--mauve);
}
.btn-ghost:hover {
  background: var(--mauve);
  color: var(--white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--rose) 45%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  width: min(100% - (var(--page-pad) * 2), var(--max-wide));
  margin-inline: auto;
}

.logo {
  font-family: var(--font-latin);
  font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.25rem);
  font-weight: 500;
  color: var(--mauve);
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.logo:hover { color: var(--mauve-deep); }

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1.5px solid var(--rose);
  background: var(--white);
  cursor: pointer;
  border-radius: var(--radius-pill);
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  height: 1.5px;
  background: var(--mauve);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 0.9rem; }
.nav-toggle span:nth-child(2) { top: 50%; margin-top: -0.75px; }
.nav-toggle span:nth-child(3) { bottom: 0.9rem; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 50%; margin-top: -0.75px; transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  bottom: auto; top: 50%; margin-top: -0.75px; transform: rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem 1.2rem;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.35rem 0;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--mauve);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--mauve); }
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta .btn {
  min-height: 2.45rem;
  padding: 0.45rem 1.1rem;
  font-size: 0.84rem;
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.85rem var(--page-pad) 1.35rem;
    background: var(--paper);
    border-bottom: 1px solid var(--rose);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: 0 16px 32px color-mix(in srgb, var(--mauve) 10%, transparent);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .site-nav a {
    padding: 0.95rem 0;
    font-size: 1.02rem;
    border-bottom: 1px solid color-mix(in srgb, var(--rose) 55%, transparent);
  }
  .site-nav a::after { display: none; }
  .header-cta { display: none; }
}

/* —— Breadcrumb —— */
.breadcrumb {
  padding: 1.1rem 0 0;
  font-size: var(--step-small);
  color: var(--ink-muted);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  color: var(--rose);
}
.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--mauve); }

/* —— Page hero —— */
.page-hero {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2rem, 4vw, 3rem);
}

.page-hero .lede {
  font-size: var(--step-lead);
  color: var(--ink-soft);
  max-width: 34rem;
}

.page-hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
}

.page-hero-split .media {
  aspect-ratio: 4 / 5;
}

.hero-kicker {
  display: inline-block;
  font-size: var(--step-small);
  color: var(--mauve);
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.85rem;
  background: color-mix(in srgb, var(--rose) 45%, var(--white));
  border-radius: var(--radius-pill);
}

@media (max-width: 768px) {
  .page-hero-split { grid-template-columns: 1fr; }
  .page-hero-split .media {
    aspect-ratio: 16 / 10;
    width: 100%;
  }
}

/* —— Home hero (Tanica style) —— */
.hero-home {
  padding: clamp(1.25rem, 3vw, 2rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}

.hero-stage {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: min(78svh, 42rem);
  background: var(--panel);
}

.hero-stage > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92);
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 35%, color-mix(in srgb, var(--ink) 48%, transparent) 100%),
    linear-gradient(90deg, color-mix(in srgb, var(--mauve) 18%, transparent), transparent 55%);
  pointer-events: none;
}

.hero-stage-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(78svh, 42rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  color: var(--white);
  max-width: 36rem;
}

.hero-stage-copy .hero-kicker {
  background: color-mix(in srgb, var(--white) 22%, transparent);
  color: var(--white);
  backdrop-filter: blur(6px);
}

.hero-stage-copy h1 {
  color: var(--white);
  margin-bottom: 0.65rem;
  font-size: clamp(1.85rem, 1.2rem + 3vw, 3.1rem);
}

.hero-stage-copy .hero-sub {
  color: color-mix(in srgb, var(--white) 90%, transparent);
  margin: 0;
  max-width: 28rem;
}

.hero-stage-copy .btn-secondary {
  border-color: color-mix(in srgb, var(--white) 70%, transparent);
  color: var(--white);
  background: color-mix(in srgb, var(--white) 12%, transparent);
}
.hero-stage-copy .btn-secondary:hover {
  background: var(--white);
  color: var(--mauve-deep);
}

.hero-vtext {
  position: absolute;
  right: clamp(1rem, 3vw, 2.5rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  writing-mode: vertical-rl;
  font-family: var(--font-latin);
  font-size: clamp(0.8rem, 0.7rem + 0.35vw, 1rem);
  letter-spacing: 0.28em;
  color: color-mix(in srgb, var(--white) 88%, transparent);
  text-shadow: 0 1px 8px color-mix(in srgb, var(--ink) 25%, transparent);
}

@media (max-width: 640px) {
  .hero-vtext { display: none; }
  .hero-stage,
  .hero-stage-copy { min-height: min(68svh, 34rem); }
}

/* —— Intro mosaic —— */
.intro-mosaic {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin-top: clamp(2rem, 5vw, 3.5rem);
  align-items: stretch;
}

.intro-mosaic .main {
  aspect-ratio: 4 / 5;
  position: relative;
}

.intro-mosaic .stack {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.intro-mosaic .stack .soft-media {
  aspect-ratio: 16 / 11;
}

.v-caption {
  writing-mode: vertical-rl;
  font-size: var(--step-small);
  letter-spacing: 0.22em;
  color: var(--mauve);
  margin: 0;
}

.intro-caption-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 1.25rem;
}

.intro-caption-row p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 32rem;
}

@media (max-width: 800px) {
  .intro-mosaic { grid-template-columns: 1fr; }
  .intro-mosaic .main { aspect-ratio: 4 / 5; max-height: 28rem; }
  .v-caption { writing-mode: horizontal-tb; letter-spacing: 0.12em; }
}

/* —— Sections —— */
.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-tight {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section-head {
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 30rem;
}

.section-head p {
  color: var(--ink-soft);
  margin: 0;
}

.panel {
  background: color-mix(in srgb, var(--panel-soft) 92%, var(--rose));
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.panel-rose {
  background: color-mix(in srgb, var(--rose) 42%, var(--paper));
}

.panel-mauve {
  background: var(--mauve);
  color: var(--white);
}
.panel-mauve h2,
.panel-mauve h3,
.panel-mauve p { color: var(--white); }

.section-blush {
  background: transparent;
}

.section-coral,
.offer-banner {
  background: transparent;
}

/* —— Checker features (Tanica) —— */
.checker {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  background: color-mix(in srgb, var(--mauve) 92%, #4a2f36);
  border-radius: var(--radius-xl);
  padding: clamp(1.25rem, 3.5vw, 2.5rem);
  color: var(--white);
}

.checker-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  min-height: 16rem;
}

.checker-row .copy {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.checker-row .copy h3 {
  color: var(--white);
  writing-mode: vertical-rl;
  letter-spacing: 0.18em;
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.65rem);
  margin: 0;
  font-weight: 500;
  max-height: 14rem;
}

.checker-row .copy p {
  display: none;
}

.checker-row .media {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  max-height: 28rem;
  margin-inline: auto;
  width: min(100%, 28rem);
}

.checker-row:nth-child(even) .copy { order: 1; }
.checker-row:nth-child(even) .media { order: 2; }
.checker-row:nth-child(odd) .copy { order: 2; }
.checker-row:nth-child(odd) .media { order: 1; }

@media (max-width: 700px) {
  .checker-row {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .checker-row .copy,
  .checker-row:nth-child(even) .copy,
  .checker-row:nth-child(odd) .copy { order: 2; }
  .checker-row .media,
  .checker-row:nth-child(even) .media,
  .checker-row:nth-child(odd) .media { order: 1; width: 100%; }
  .checker-row .copy h3 {
    writing-mode: horizontal-tb;
    letter-spacing: 0.06em;
    max-height: none;
  }
  .checker-row .copy p {
    display: block;
    color: color-mix(in srgb, var(--white) 85%, transparent);
    margin: 0.75rem 0 0;
    max-width: 28rem;
  }
}

/* legacy feature-row → softer cards */
.features-step { display: grid; gap: 1.25rem; }
.feature-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1rem;
}
.feature-row .media { aspect-ratio: 4 / 3; }
.feature-row .copy { padding: 0.75rem 1rem; }
.feature-row .copy p { color: var(--ink-soft); margin: 0; max-width: none; }
.feature-row:nth-child(even) .copy { order: 1; }
.feature-row:nth-child(even) .media { order: 2; }

@media (max-width: 768px) {
  .feature-row,
  .feature-row:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .feature-row:nth-child(even) .copy,
  .feature-row:nth-child(even) .media { order: unset; }
}

/* —— Course gallery —— */
.course-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.course-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 0.85rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.course-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px color-mix(in srgb, var(--mauve) 12%, transparent);
}

.course-tile .media {
  aspect-ratio: 4 / 5;
  margin-bottom: 0.95rem;
  border-radius: var(--radius-md);
}

.course-tile:hover .media img { transform: scale(1.04); }

.course-tile h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35em;
}

.course-tile p {
  font-size: var(--step-small);
  color: var(--ink-soft);
  margin: 0 0 0.65em;
  max-width: none;
  line-height: 1.6;
}

.course-tile .more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: var(--step-small);
  font-weight: 500;
  color: var(--mauve);
}

.course-tile:nth-child(n) {
  grid-column: auto;
  margin-top: 0;
}

@media (max-width: 900px) {
  .course-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .course-gallery { grid-template-columns: 1fr; }
}

/* —— Training modes —— */
.modes-label {
  font-family: var(--font-latin);
  font-size: var(--step-small);
  letter-spacing: 0.14em;
  color: var(--mauve);
  margin-bottom: 0.5rem;
}

.modes-block {
  display: grid;
  gap: 1.25rem;
}

.mode-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border-radius: var(--radius-xl);
  background: var(--white);
}

.mode-panel:nth-child(2),
.mode-panel:nth-child(4) {
  background: var(--mauve);
  color: var(--white);
}
.mode-panel:nth-child(2) h2,
.mode-panel:nth-child(2) h3,
.mode-panel:nth-child(2) p,
.mode-panel:nth-child(2) li,
.mode-panel:nth-child(4) h2,
.mode-panel:nth-child(4) h3,
.mode-panel:nth-child(4) p,
.mode-panel:nth-child(4) li { color: var(--white); }
.mode-panel:nth-child(2) .btn-ghost,
.mode-panel:nth-child(4) .btn-ghost {
  color: var(--white);
  border-color: color-mix(in srgb, var(--white) 70%, transparent);
}
.mode-panel:nth-child(2) .btn-ghost:hover,
.mode-panel:nth-child(4) .btn-ghost:hover {
  background: var(--white);
  color: var(--mauve-deep);
}

.mode-panel:nth-child(3) {
  background: color-mix(in srgb, var(--peach) 55%, var(--white));
}

.mode-panel.reverse .copy { order: 2; }
.mode-panel.reverse .media { order: 1; }
.mode-panel .media { aspect-ratio: 4 / 3; }
.mode-panel ul {
  color: var(--ink-soft);
  margin-bottom: 1.15rem;
}

@media (max-width: 768px) {
  .mode-panel,
  .mode-panel.reverse { grid-template-columns: 1fr; }
  .mode-panel.reverse .copy,
  .mode-panel.reverse .media { order: unset; }
}

/* —— Offer —— */
.offer-banner {
  text-align: center;
}

.offer-banner .panel {
  background: color-mix(in srgb, var(--mauve) 88%, #5a3640);
  color: var(--white);
}

.offer-banner h2,
.offer-banner p { color: var(--white); }

.offer-banner .tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin: 1.5rem 0;
}

.offer-banner .tag {
  font-size: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  font-weight: 500;
  color: var(--white);
  padding: 0.55rem 1.4rem;
  border: 1.5px solid color-mix(in srgb, var(--white) 55%, transparent);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--white) 10%, transparent);
}

.offer-banner .note {
  font-size: var(--step-small);
  color: color-mix(in srgb, var(--white) 78%, transparent);
  max-width: 28rem;
  margin-inline: auto;
}

/* —— Locations —— */
.location-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.location-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.55rem 1.2rem;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--rose);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.location-chip:hover {
  background: var(--mauve);
  color: var(--white);
  border-color: var(--mauve);
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1rem;
}

.location-card {
  background: var(--white);
  padding: 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--rose) 55%, transparent);
}
.location-card h3 { margin: 0; font-size: 1.2rem; color: var(--mauve-deep); }
.location-card p {
  margin: 0;
  font-size: var(--step-small);
  color: var(--ink-soft);
  max-width: none;
  flex: 1;
}

/* —— Steps —— */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.15rem;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-latin);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  color: var(--mauve);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: 0.06em;
}

.step h3 { font-size: 1.02rem; margin-bottom: 0.35em; }
.step p {
  font-size: var(--step-small);
  color: var(--ink-soft);
  margin: 0;
  max-width: none;
}

@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* —— News-style highlights —— */
.news-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: stretch;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-list li {
  border-bottom: 1px solid color-mix(in srgb, var(--rose) 55%, transparent);
}
.news-list li:last-child { border-bottom: 0; }

.news-list a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1rem;
  align-items: baseline;
  padding: 1rem 0.15rem;
  text-decoration: none;
  color: var(--ink);
}
.news-list a:hover { color: var(--mauve); }

.news-tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
  padding: 0.15rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--mauve-deep);
  background: color-mix(in srgb, var(--rose) 55%, var(--white));
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.news-feature {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-feature .media {
  aspect-ratio: 16 / 11;
  border-radius: 0;
}

.news-feature .body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.news-feature h3 { font-size: 1.1rem; margin-bottom: 0.4em; }
.news-feature p {
  font-size: var(--step-small);
  color: var(--ink-soft);
  margin: 0 0 1rem;
  max-width: none;
}

@media (max-width: 800px) {
  .news-panel { grid-template-columns: 1fr; }
}

/* —— CTA band —— */
.cta-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  min-height: min(58svh, 30rem);
  background: transparent;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.cta-band .media {
  position: relative;
  min-height: 16rem;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

.cta-band .media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: brightness(0.9);
}

.cta-band .copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: color-mix(in srgb, var(--mauve) 90%, #4d3038);
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  color: var(--cream);
}

.cta-band h2 { color: var(--white); max-width: 10em; }
.cta-band p {
  color: color-mix(in srgb, var(--white) 85%, transparent);
  max-width: 28rem;
}

@media (max-width: 768px) {
  .cta-band {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .cta-band .media {
    min-height: 42svh;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }
  .cta-band .copy {
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  }
}

/* —— District picker —— */
.district-live {
  background: var(--white);
  padding: clamp(1.35rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
  align-items: end;
  border-radius: var(--radius-xl);
  border: 1px solid color-mix(in srgb, var(--rose) 60%, transparent);
}

.district-live label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.district-live select {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--panel-soft);
  border: 1.5px solid var(--rose);
  border-radius: var(--radius-pill);
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--mauve) 50%),
    linear-gradient(135deg, var(--mauve) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.district-preview {
  font-size: var(--step-small);
  color: var(--ink-soft);
  margin: 0.75rem 0 0;
  max-width: none;
}

@media (max-width: 700px) {
  .district-live { grid-template-columns: 1fr; }
}

/* —— Course detail —— */
.course-detail {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.35rem, 4vw, 2.75rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-bottom: 1px solid color-mix(in srgb, var(--rose) 50%, transparent);
}
.course-detail:last-of-type { border-bottom: 0; }
.course-detail:nth-child(even) .media { order: 2; }
.course-detail:nth-child(even) .copy { order: 1; }
.course-detail .media {
  aspect-ratio: 4 / 5;
  max-height: 34rem;
}
.course-detail .meta-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}
.course-detail .meta-list li {
  padding: 0.55rem 0;
  border-top: 1px solid color-mix(in srgb, var(--rose) 50%, transparent);
  font-size: 0.95rem;
}
.course-detail .meta-list li:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--rose) 50%, transparent);
}
.course-detail .meta-list strong {
  display: block;
  font-weight: 500;
  margin-bottom: 0.15rem;
  color: var(--mauve-deep);
}

@media (max-width: 768px) {
  .course-detail,
  .course-detail:nth-child(even) { grid-template-columns: 1fr; }
  .course-detail:nth-child(even) .media,
  .course-detail:nth-child(even) .copy { order: unset; }
  .course-detail .media {
    aspect-ratio: 16 / 11;
    max-height: none;
  }
}

/* —— About —— */
.idea-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.idea-card {
  padding: 1.6rem 1.35rem;
  background: var(--white);
  border-radius: var(--radius-lg);
}
.idea-card:nth-child(2) {
  background: var(--mauve);
  color: var(--white);
  margin-top: 1.5rem;
}
.idea-card:nth-child(2) h3,
.idea-card:nth-child(2) p { color: var(--white); }
.idea-card:nth-child(3) {
  background: color-mix(in srgb, var(--peach) 70%, var(--white));
  margin-top: 3rem;
}
.idea-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: none;
}

.about-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.85rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.about-mosaic .cell:nth-child(1) {
  grid-column: 1 / 5;
  aspect-ratio: 3 / 4;
}
.about-mosaic .cell:nth-child(2) {
  grid-column: 5 / 10;
  aspect-ratio: 16 / 10;
  margin-top: 2rem;
}
.about-mosaic .cell:nth-child(3) {
  grid-column: 10 / 13;
  aspect-ratio: 1;
}

.placeholder-note {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: 1.35rem 1.4rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--rose);
}
.placeholder-note h3 { font-size: 1.05rem; }
.placeholder-note p {
  margin: 0;
  font-size: var(--step-small);
  color: var(--ink-soft);
  max-width: none;
}

@media (max-width: 800px) {
  .idea-grid { grid-template-columns: 1fr; }
  .idea-card:nth-child(2),
  .idea-card:nth-child(3) { margin-top: 0; }
  .about-mosaic { grid-template-columns: 1fr 1fr; }
  .about-mosaic .cell:nth-child(n) {
    grid-column: auto;
    margin-top: 0;
  }
  .about-mosaic .cell:nth-child(2) {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
  }
}

/* —— Contact —— */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.35rem 0;
}
.contact-list li {
  padding: 0.85rem 0;
  border-top: 1px solid color-mix(in srgb, var(--rose) 55%, transparent);
}
.contact-list li:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--rose) 55%, transparent);
}
.contact-list span {
  display: block;
  font-size: var(--step-small);
  color: var(--ink-muted);
  margin-bottom: 0.2rem;
}
.contact-list a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.contact-list a:hover { color: var(--mauve); }

.contact-form {
  background: var(--white);
  padding: clamp(1.35rem, 3vw, 2.1rem);
  border-radius: var(--radius-xl);
  border: 1px solid color-mix(in srgb, var(--rose) 50%, transparent);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: var(--step-small);
  font-weight: 500;
}
.form-field .hint {
  font-weight: 400;
  color: var(--ink-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  min-height: 3rem;
  padding: 0.65rem 0.95rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--panel-soft);
  border: 1.5px solid var(--rose);
  border-radius: 1.1rem;
}
.form-field textarea {
  min-height: 8rem;
  resize: vertical;
  border-radius: var(--radius-md);
}
.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: var(--mauve);
}

.field-error {
  font-size: var(--step-small);
  color: var(--mauve-deep);
  display: none;
}
.form-field.is-invalid .field-error { display: block; }

.form-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.form-note {
  font-size: var(--step-small);
  color: var(--ink-muted);
  margin: 0.75rem 0 0;
  max-width: none;
}

@media (max-width: 800px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

/* —— FAQ —— */
.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.35rem, 4vw, 2.75rem);
  align-items: start;
}

.faq-aside .media {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  aspect-ratio: 3 / 4;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 0.5rem 1.25rem 1.25rem;
  border: 1px solid color-mix(in srgb, var(--rose) 45%, transparent);
}

.faq-item {
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--rose) 55%, transparent);
  padding: 0;
  background: transparent;
}
.faq-item:last-of-type { border-bottom: 0; }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 2.5rem 1.15rem 0;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.12rem);
  font-weight: 500;
  color: var(--ink);
  position: relative;
  min-height: 3rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 0.35rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--mauve);
  border-bottom: 2px solid var(--mauve);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}
.faq-item .answer {
  padding: 0 0 1.15rem;
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.faq-item .answer p:last-child { margin-bottom: 0; }

@media (max-width: 800px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-aside .media {
    position: static;
    aspect-ratio: 16 / 10;
  }
}

/* —— Help choose —— */
.help-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--mauve);
  color: var(--white);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-xl);
}
.help-box h2,
.help-box p { color: var(--white); }
.help-box .media { aspect-ratio: 4 / 3; }
.help-box .btn-secondary {
  border-color: color-mix(in srgb, var(--white) 70%, transparent);
  color: var(--white);
  background: transparent;
}
.help-box .btn-secondary:hover {
  background: var(--white);
  color: var(--mauve-deep);
}

@media (max-width: 700px) {
  .help-box { grid-template-columns: 1fr; }
}

/* —— Footer —— */
.site-footer {
  background: color-mix(in srgb, var(--panel) 70%, var(--peach));
  color: var(--ink);
  padding: clamp(2.75rem, 6vw, 4rem) 0 0;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1fr;
  gap: 2rem;
  padding-bottom: 2.25rem;
}

.site-footer h2,
.site-footer h3 {
  color: var(--mauve-deep);
  font-size: 0.95rem;
  margin-bottom: 0.95rem;
}

.site-footer p {
  color: var(--ink-soft);
  font-size: var(--step-small);
  max-width: 28ch;
}

.site-footer .logo {
  color: var(--mauve);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-nav,
.footer-locs,
.footer-social {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav a,
.footer-locs a,
.footer-social a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-nav a:hover,
.footer-locs a:hover,
.footer-social a:hover { color: var(--mauve); }

.footer-nav li + li,
.footer-locs li + li,
.footer-social li + li { margin-top: 0.4rem; }

.footer-bottom {
  border-top: 1px solid color-mix(in srgb, var(--rose) 55%, transparent);
  padding: 1.1rem 0;
  font-size: var(--step-small);
  color: var(--ink-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* —— Mobile sticky WhatsApp —— */
.mobile-wa {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.65rem var(--page-pad) calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-top: 1px solid color-mix(in srgb, var(--rose) 50%, transparent);
}
.mobile-wa .btn { width: 100%; }

@media (max-width: 960px) {
  .mobile-wa { display: block; }
  body { padding-bottom: 4.75rem; }
}

/* —— Motion —— */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .reveal.is-in {
    opacity: 1;
    transform: none;
  }
  .shutter {
    clip-path: inset(0 12% 0 12% round var(--radius-lg));
    animation: softOpen 1s var(--ease) 0.1s forwards;
  }
}

@keyframes softOpen {
  to { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
  .course-tile:hover { transform: none; }
  .course-tile:hover .media img { transform: none; }
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mx-auto { margin-inline: auto; }
.max-prose { max-width: 36rem; }

/* —— Icons —— */
.icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  display: block;
  color: inherit;
}

.icon-badge .icon {
  width: 1.35rem;
  height: 1.35rem;
}

.icon-lg {
  width: 1.55rem;
  height: 1.55rem;
}

.icon-xl {
  width: 2rem;
  height: 2rem;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--rose) 55%, var(--white));
  color: var(--mauve-deep);
  flex-shrink: 0;
}

.icon-badge.is-on-dark {
  background: color-mix(in srgb, var(--white) 18%, transparent);
  color: var(--white);
}

.icon-badge.is-soft {
  background: var(--white);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--mauve) 12%, transparent);
}

.title-with-icon {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.title-with-icon h2,
.title-with-icon h3 {
  margin: 0;
}

.media-frame {
  position: relative;
}

.media-frame > .media,
.media-frame.soft-media,
.media-frame.media {
  position: relative;
}

.media-badge {
  position: absolute;
  z-index: 2;
  left: 0.85rem;
  bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.35rem;
  padding: 0.35rem 0.85rem 0.35rem 0.4rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  color: var(--mauve-deep);
  font-size: var(--step-small);
  font-weight: 500;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--ink) 12%, transparent);
  pointer-events: none;
}

.media-badge .icon-badge {
  width: 1.85rem;
  height: 1.85rem;
  background: var(--mauve);
  color: var(--white);
}

.media-badge.is-light {
  background: color-mix(in srgb, var(--white) 86%, transparent);
}

.course-tile .tile-top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.35rem;
}

.course-tile .tile-top h3 {
  margin: 0;
}

.course-tile .media {
  position: relative;
}

.course-tile .media .media-badge {
  left: 0.65rem;
  bottom: 0.65rem;
  padding-right: 0.75rem;
}

.checker-row .copy {
  flex-direction: column;
  gap: 0.85rem;
}

.checker-row .copy .icon-badge {
  width: 3.1rem;
  height: 3.1rem;
}

.checker-row .media {
  position: relative;
}

.mode-panel .copy .title-with-icon {
  margin-bottom: 0.65rem;
}

.mode-panel .media {
  position: relative;
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.65rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--rose) 50%, var(--white));
  color: var(--mauve-deep);
}

.step::before {
  margin-bottom: 0.45rem;
}

.location-chip .icon {
  width: 0.95rem;
  height: 0.95rem;
  margin-right: 0.2rem;
  color: var(--mauve);
}

.location-chip:hover .icon {
  color: var(--white);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.tag .icon {
  width: 1.15rem;
  height: 1.15rem;
}

.btn .icon {
  width: 1.05rem;
  height: 1.05rem;
}

.btn-wa .icon {
  width: 1.15rem;
  height: 1.15rem;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.news-tag .icon {
  width: 0.85rem;
  height: 0.85rem;
}

.location-card .title-with-icon {
  margin-bottom: 0.15rem;
}

.location-card .title-with-icon h3 {
  margin: 0;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.25rem 0 0;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.4rem;
  padding: 0.35rem 0.9rem 0.35rem 0.4rem;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--rose) 65%, transparent);
  color: var(--ink);
  font-size: var(--step-small);
  font-weight: 500;
  text-decoration: none;
}

.feature-pill:hover {
  background: color-mix(in srgb, var(--rose) 35%, var(--white));
  color: var(--mauve-deep);
}

.feature-pill .icon-badge {
  width: 1.8rem;
  height: 1.8rem;
}

.contact-list .icon-badge {
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 0.35rem;
}

.idea-card .icon-badge {
  margin-bottom: 0.85rem;
}

.course-detail .copy .title-with-icon {
  margin-bottom: 0.75rem;
}

.course-detail .copy .title-with-icon h2 {
  margin: 0;
}

.meta-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
}

.meta-list .icon-badge {
  width: 2.1rem;
  height: 2.1rem;
  margin-top: 0.15rem;
}

.pic-pair {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: stretch;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.pic-pair .soft-media {
  position: relative;
  min-height: 12rem;
}

.pic-pair .soft-media:first-child {
  aspect-ratio: 16 / 11;
}

.pic-pair .soft-media:last-child {
  aspect-ratio: 4 / 5;
}

@media (max-width: 700px) {
  .pic-pair {
    grid-template-columns: 1fr 1fr;
  }
  .pic-pair .soft-media:last-child {
    aspect-ratio: 3 / 4;
  }
}

/* —— Promo / offers —— */
.promo-hero-price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0.75rem 0 1rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--gold, #F2AD00) 22%, var(--white));
  border: 1.5px solid color-mix(in srgb, var(--mauve) 35%, var(--peach));
}

.promo-hero-price .currency {
  font-size: 1rem;
  color: var(--mauve-deep);
  font-weight: 600;
}

.promo-hero-price .amount {
  font-family: var(--font-latin);
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 700;
  color: var(--mauve-deep);
  line-height: 1;
}

.promo-hero-price .unit {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.promo-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.25rem;
  align-items: stretch;
}

.promo-main {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid color-mix(in srgb, var(--rose) 55%, transparent);
}

.promo-main h2 {
  color: var(--mauve-deep);
}

.promo-points {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.promo-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-md);
  background: var(--panel-soft);
  font-size: 0.95rem;
}

.promo-points .icon-badge {
  width: 2rem;
  height: 2rem;
}

.promo-side {
  display: grid;
  gap: 1rem;
}

.promo-side .soft-media {
  position: relative;
  aspect-ratio: 16 / 11;
}

.promo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.promo-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.2rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--rose) 40%, var(--white));
  color: var(--mauve-deep);
  font-size: var(--step-small);
  font-weight: 500;
}

.plan-teaser {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.25rem;
  align-items: center;
  background: color-mix(in srgb, var(--mauve) 90%, #4d3038);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(1.25rem, 3vw, 2rem);
  margin-top: 1.25rem;
}

.plan-teaser h3,
.plan-teaser p {
  color: var(--white);
}

.plan-teaser p {
  max-width: 34rem;
  color: color-mix(in srgb, var(--white) 88%, transparent);
}

.plan-teaser .btn-secondary {
  border-color: color-mix(in srgb, var(--white) 70%, transparent);
  color: var(--white);
  background: color-mix(in srgb, var(--white) 12%, transparent);
}

.plan-teaser .btn-secondary:hover {
  background: var(--white);
  color: var(--mauve-deep);
}

.plan-teaser .media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.plan-teaser .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 800px) {
  .promo-grid,
  .plan-teaser {
    grid-template-columns: 1fr;
  }
}

/* —— Case studies —— */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.case-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--rose) 50%, transparent);
  display: flex;
  flex-direction: column;
}

.case-card .media {
  aspect-ratio: 4 / 5;
  border-radius: 0;
}

.case-card .body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.case-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--mauve-deep);
}

.case-card p {
  margin: 0;
  font-size: var(--step-small);
  color: var(--ink-soft);
  max-width: none;
}

.case-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.case-stat {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--rose) 42%, var(--white));
  color: var(--mauve-deep);
  font-size: 0.78rem;
  font-weight: 600;
}

.case-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.case-note {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--peach) 35%, var(--white));
  font-size: var(--step-small);
  color: var(--ink-soft);
}

.case-note p { margin: 0; max-width: none; }

.video-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

@media (max-width: 900px) {
  .case-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .case-grid { grid-template-columns: 1fr; }
}
