:root {
  color-scheme: light;
  --green-900: #073f34;
  --green-800: #0a5c47;
  --green-700: #08764f;
  --green-600: #0f8d5b;
  --green-100: #e7f4ec;
  --green-050: #f6fbf8;
  --gold-500: #d6a833;
  --blue-700: #1d5b7a;
  --red-600: #b64035;
  --ink: #17231f;
  --muted: #5f6b66;
  --line: #d8e2dc;
  --surface: #ffffff;
  --surface-muted: #f4f7f5;
  --focus: #f2c94c;
  --shadow: 0 18px 45px rgba(5, 40, 31, 0.12);
  --shadow-soft: 0 8px 24px rgba(5, 40, 31, 0.08);
  --radius: 8px;
  --base-font: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: var(--base-font);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
  background:
    linear-gradient(180deg, rgba(246, 251, 248, 0.72), rgba(255, 255, 255, 0) 520px),
    var(--surface);
  line-height: 1.6;
}

body.high-contrast {
  --green-900: #001f18;
  --green-800: #003f2f;
  --green-700: #005d40;
  --green-600: #007f57;
  --green-100: #eafff3;
  --gold-500: #ffd447;
  --red-600: #d33d2e;
  --ink: #050505;
  --muted: #222222;
  --line: #111111;
  --surface: #ffffff;
  --surface-muted: #f2f2f2;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 20;
  padding: 10px 14px;
  color: #fff;
  background: var(--green-900);
  border-radius: var(--radius);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 rgba(7, 63, 52, 0.1), 0 12px 28px rgba(7, 63, 52, 0.06);
  backdrop-filter: blur(14px);
}

.utility-bar {
  color: #fff;
  background:
    linear-gradient(90deg, var(--green-900), var(--green-800) 58%, #16443f),
    var(--green-900);
}

.utility-content,
.nav-content,
.access-tools,
.nav-links,
.hero-actions,
.filter-group,
.verify-actions {
  display: flex;
  align-items: center;
}

.utility-content {
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  font-size: 0.88rem;
}

.access-tools {
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.tool-button {
  min-height: 30px;
  padding: 4px 9px;
  color: #fff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 6px;
}

.tool-button:hover,
.tool-button[aria-pressed="true"] {
  color: var(--green-900);
  background: #fff;
}

.main-nav {
  background: transparent;
}

.nav-content {
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.brand img {
  width: min(260px, 58vw);
  height: auto;
  transition: transform 180ms ease;
}

.brand:hover img {
  transform: translateY(-1px);
}

.nav-links {
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 12px;
  color: var(--green-900);
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.nav-more summary:hover,
.nav-more details[open] summary,
.nav-more summary[aria-current="page"] {
  background: var(--green-100);
}

.nav-more {
  position: relative;
}

.nav-more details {
  position: relative;
}

.nav-more summary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  color: var(--green-900);
  font-weight: 800;
  list-style: none;
  cursor: pointer;
  border-radius: 6px;
}

.nav-more summary::-webkit-details-marker {
  display: none;
}

.nav-more summary::after {
  width: 7px;
  height: 7px;
  content: "";
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
}

.nav-more details[open] summary::after {
  transform: rotate(225deg) translateY(-1px);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: grid;
  min-width: 240px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.nav-dropdown a {
  width: 100%;
  justify-content: flex-start;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  cursor: pointer;
  background: var(--green-100);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--green-900);
}

.hero {
  position: relative;
  min-height: clamp(610px, 82vh, 780px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 34, 27, 0.96), rgba(7, 63, 52, 0.8) 48%, rgba(7, 63, 52, 0.24)),
    linear-gradient(180deg, rgba(4, 34, 27, 0.28), rgba(4, 34, 27, 0.76));
}

.hero::after {
  position: absolute;
  right: clamp(18px, 7vw, 96px);
  bottom: 34px;
  width: min(360px, 46vw);
  height: 10px;
  content: "";
  background: linear-gradient(90deg, var(--gold-500), var(--green-600), var(--red-600));
  border-radius: 6px;
  opacity: 0.92;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding-block: 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-500);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero h1,
.section-heading h2,
.verify-layout h2 {
  margin: 0;
  line-height: 1.08;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 6vw, 4.7rem);
  text-wrap: balance;
}

.hero-copy {
  max-width: 640px;
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  max-width: 560px;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
}

.hero-metrics div {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.hero-metrics dt {
  margin: 0 0 2px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-metrics dd {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 900;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--green-700), var(--green-600));
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(8, 118, 79, 0.24);
}

.button.primary:hover {
  background: var(--green-900);
  border-color: var(--green-900);
}

.button.secondary {
  color: var(--green-900);
  background: #fff;
  border-color: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.button.secondary:hover {
  color: #fff;
  background: transparent;
}

.button.secondary.dark {
  color: var(--green-900);
  background: var(--green-100);
  border-color: var(--green-100);
  box-shadow: none;
}

.button.secondary.dark:hover {
  color: #fff;
  background: var(--green-800);
  border-color: var(--green-800);
}

.button.quiet {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}

.button.quiet:hover,
.button.light:hover {
  color: var(--green-900);
  background: #fff;
}

.button.light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.82);
}

.quick-band {
  position: relative;
  z-index: 2;
  padding-block: 0 36px;
  margin-top: -48px;
  background: transparent;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.quick-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 120px;
  padding: 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(216, 226, 220, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.quick-item img {
  width: 52px;
  padding: 9px;
  background: var(--green-100);
  border-radius: var(--radius);
}

.quick-item h2 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.quick-item p,
.section-heading p,
.course-card p,
.info-card li,
.program-panel p,
.verify-layout p,
.site-footer p {
  margin: 0;
  color: inherit;
}

.section {
  padding-block: 86px;
}

.section-muted {
  background:
    linear-gradient(180deg, var(--surface-muted), var(--green-050));
}

.directory-hero {
  position: relative;
  overflow: hidden;
  padding-block: 86px 58px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(4, 34, 27, 0.97), rgba(7, 63, 52, 0.86) 58%, rgba(15, 141, 91, 0.78)),
    url("assets/hero-motos.jpg") center / cover;
}

.requirements-hero {
  position: relative;
  overflow: hidden;
  padding-block: 86px 58px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(4, 34, 27, 0.97), rgba(7, 63, 52, 0.86) 58%, rgba(31, 91, 122, 0.72)),
    url("assets/hero-cursos-viales.png") center / cover;
}

.requirements-hero::after {
  position: absolute;
  right: clamp(16px, 7vw, 90px);
  bottom: 26px;
  width: min(360px, 44vw);
  height: 8px;
  content: "";
  background: linear-gradient(90deg, var(--gold-500), var(--green-600), var(--red-600));
  border-radius: 6px;
}

.directory-hero::after {
  position: absolute;
  right: clamp(16px, 7vw, 90px);
  bottom: 26px;
  width: min(360px, 44vw);
  height: 8px;
  content: "";
  background: linear-gradient(90deg, var(--gold-500), var(--green-600), var(--red-600));
  border-radius: 6px;
}

.directory-hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.directory-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.15rem);
  line-height: 1.08;
  text-wrap: balance;
}

.directory-hero p:not(.eyebrow) {
  max-width: 700px;
  margin: 18px 0 0;
  font-size: clamp(1.03rem, 2vw, 1.22rem);
}

.section-heading {
  max-width: 770px;
  margin-bottom: 32px;
}

.section-heading h2,
.verify-layout h2 {
  color: var(--green-900);
  font-size: clamp(2rem, 4vw, 3rem);
  text-wrap: balance;
}

.section-heading p {
  margin-top: 14px;
  color: var(--muted);
}

.section-heading.compact {
  max-width: 480px;
}

.course-tools {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 18px;
  align-items: end;
  padding: 14px;
  margin-bottom: 26px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(216, 226, 220, 0.92);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.search-box {
  display: grid;
  gap: 8px;
  color: var(--green-900);
  font-weight: 800;
}

.search-box input,
.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.search-box input:focus,
.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(15, 141, 91, 0.12);
}

.filter-group {
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  background: var(--green-100);
  border-radius: var(--radius);
}

.filter-button {
  min-height: 42px;
  padding: 8px 13px;
  color: var(--green-900);
  font-weight: 800;
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  color: #fff;
  background: var(--green-700);
  border-color: var(--green-700);
  box-shadow: 0 7px 16px rgba(8, 118, 79, 0.22);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.course-card {
  position: relative;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  min-height: 250px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.course-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--green-700), var(--gold-500));
}

.course-card:hover {
  border-color: rgba(8, 118, 79, 0.34);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.course-card.is-hidden {
  display: none;
}

.course-card img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  padding: 8px;
  background: linear-gradient(180deg, var(--green-100), #fff);
  border-radius: var(--radius);
}

.course-code {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  border-radius: var(--radius);
}

.course-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tag {
  width: fit-content;
  margin-bottom: 8px;
  padding: 2px 8px;
  color: var(--green-900);
  font-size: 0.78rem;
  font-weight: 900;
  background: linear-gradient(180deg, var(--green-100), #fff);
  border: 1px solid rgba(15, 141, 91, 0.16);
  border-radius: 999px;
}

.tag.light {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.course-card h3,
.info-card h3,
.program-panel h3 {
  margin: 0 0 9px;
  color: var(--green-900);
  font-size: 1.15rem;
  line-height: 1.25;
}

.course-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.text-link {
  width: fit-content;
  margin-top: auto;
  padding-top: 16px;
  color: var(--green-700);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.text-link:hover {
  color: var(--green-900);
}

.no-results {
  padding: 20px;
  margin: 20px 0 0;
  color: var(--green-900);
  font-weight: 800;
  background: var(--green-100);
  border-radius: var(--radius);
}

.standalone-course-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.standalone-course-card {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  background: linear-gradient(180deg, #fff, var(--green-050));
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold-500);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.standalone-course-card img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  padding: 8px;
  background: var(--green-100);
  border-radius: var(--radius);
}

.standalone-course-card h3,
.standalone-course-card p {
  margin: 0;
}

.standalone-course-card h3 {
  color: var(--green-900);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.2;
}

.standalone-course-card p:not(.eyebrow) {
  margin-top: 6px;
  color: var(--muted);
}

.course-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.appointment-section {
  background:
    linear-gradient(180deg, #fff, var(--green-050)),
    var(--green-050);
}

.appointment-wizard {
  display: grid;
  gap: 22px;
}

.wizard-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.wizard-progress li {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--muted);
  font-weight: 900;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.wizard-progress span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  color: var(--green-900);
  background: var(--green-100);
  border-radius: 50%;
}

.wizard-progress li.is-active,
.wizard-progress li.is-complete {
  color: var(--green-900);
  border-color: rgba(8, 118, 79, 0.35);
}

.wizard-progress li.is-active span,
.wizard-progress li.is-complete span {
  color: #fff;
  background: var(--green-800);
}

.wizard-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.wizard-panel[hidden] {
  display: none;
}

.appointment-step-heading {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 16px;
  align-items: center;
}

.appointment-step-heading > span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  background: var(--green-800);
  border-radius: 999px;
}

.appointment-step-heading h3,
.appointment-step-heading p,
.appointment-selection-panel h4 {
  margin: 0;
}

.appointment-step-heading h3,
.appointment-selection-panel h4 {
  color: var(--green-900);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.15;
}

.appointment-step-heading p {
  margin-top: 6px;
  color: var(--muted);
}

.appointment-options {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.appointment-card {
  display: grid;
  min-height: 150px;
  gap: 8px;
  align-content: start;
  padding: 18px;
  color: var(--ink);
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.appointment-card:hover,
.appointment-card.is-active {
  border-color: var(--green-700);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.appointment-card.is-active {
  background:
    linear-gradient(180deg, rgba(12, 103, 70, 0.1), #fff 58%),
    #fff;
}

.appointment-code {
  width: fit-content;
  padding: 4px 9px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  background: var(--green-800);
  border-radius: 999px;
}

.appointment-card strong {
  color: var(--green-900);
  font-size: 1.05rem;
  line-height: 1.25;
}

.appointment-card small {
  color: var(--muted);
  font-weight: 800;
}

.appointment-selection-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.1fr 0.9fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  background: linear-gradient(180deg, var(--green-050), #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.appointment-selection-panel p {
  margin: 0;
}

.appointment-selection-panel dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.appointment-selection-panel dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.appointment-selection-panel dt {
  color: var(--green-900);
  font-weight: 900;
}

.appointment-selection-panel dd {
  margin: 0;
  color: var(--muted);
}

.appointment-slots {
  display: grid;
  gap: 8px;
}

.appointment-date-block {
  display: grid;
  gap: 8px;
}

.appointment-date-title {
  margin: 0;
  color: var(--green-900);
  font-size: 0.95rem;
  font-weight: 900;
}

.slot-button {
  min-height: 44px;
  padding: 9px 12px;
  color: var(--green-900);
  font-size: 0.92rem;
  font-weight: 900;
  text-align: left;
  background: var(--green-100);
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
}

.slot-button:hover,
.slot-button.is-active {
  color: #fff;
  background: var(--green-800);
  border-color: var(--green-800);
}

.appointment-form {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 12px;
  align-items: end;
}

.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.appointment-form label {
  display: grid;
  gap: 7px;
  color: var(--green-900);
  font-weight: 900;
}

.appointment-form input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

#appointment-curp,
#appointment-name {
  text-transform: uppercase;
}

.appointment-form input:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(15, 141, 91, 0.12);
}

.appointment-form input.is-invalid {
  border-color: #b3261e;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.12);
}

.appointment-form input.is-prefilled {
  color: var(--green-900);
  background: var(--green-050);
  border-color: var(--green-600);
  cursor: not-allowed;
}

.field-hint {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
}

.field-hint.is-error {
  color: #b3261e;
  font-weight: 800;
}

.field-hint.is-valid {
  color: var(--green-700);
  font-weight: 800;
}

.appointment-selection-hint {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 12px 14px;
  color: var(--green-900);
  font-weight: 800;
  background: var(--green-100);
  border-left: 4px solid var(--green-700);
  border-radius: 10px;
}

.appointment-selection-hint[hidden] {
  display: none;
}

@keyframes wizard-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(12, 103, 70, 0.5);
  }

  100% {
    box-shadow: 0 0 0 14px rgba(12, 103, 70, 0);
  }
}

.button.is-pulsing {
  animation: wizard-pulse 1s ease-out 2;
}

@media (prefers-reduced-motion: reduce) {
  .button.is-pulsing {
    animation: none;
  }
}

.appointment-status {
  min-height: 24px;
  color: var(--muted);
  font-weight: 800;
}

.confirmation-card {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 34px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(12, 103, 70, 0.1), #fff),
    #fff;
  border: 1px solid rgba(8, 118, 79, 0.26);
  border-radius: var(--radius);
}

.confirmation-card h3,
.confirmation-card p {
  margin: 0;
}

.confirmation-card h3 {
  color: var(--green-900);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.1;
}

.confirmation-card dl {
  display: grid;
  width: min(100%, 720px);
  gap: 10px;
  margin: 0;
  text-align: left;
}

.confirmation-card dl div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.confirmation-card dt {
  color: var(--green-900);
  font-weight: 900;
}

.confirmation-card dd {
  margin: 0;
  color: var(--muted);
}

.certified-course-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: stretch;
  padding: 24px;
  margin-top: 34px;
  color: #fff;
  background:
    linear-gradient(135deg, var(--green-900), var(--green-800) 62%, #205e55),
    var(--green-900);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.certified-course-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
}

.certified-course-intro h3,
.certified-course-intro p {
  margin: 0;
}

.certified-course-intro h3 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.12;
}

.certified-course-intro p {
  color: rgba(255, 255, 255, 0.84);
}

.certified-course-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.certified-course-list article {
  min-height: 150px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
}

.certified-course-list span {
  display: inline-grid;
  min-width: 58px;
  min-height: 36px;
  place-items: center;
  padding: 4px 10px;
  color: var(--green-900);
  font-weight: 900;
  background: var(--gold-500);
  border-radius: 6px;
}

.certified-course-list h4 {
  margin: 14px 0 4px;
  font-size: 1.05rem;
}

.certified-course-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.schools-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.schools-summary article {
  padding: 18px;
  background: linear-gradient(180deg, #fff, var(--green-050));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.schools-summary strong,
.schools-summary span {
  display: block;
}

.schools-summary strong {
  color: var(--green-900);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.08;
}

.schools-summary span {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
}

.school-tools {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 14px;
  align-items: end;
  padding: 14px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.school-tools label {
  display: grid;
  gap: 8px;
  color: var(--green-900);
  font-weight: 800;
}

.school-tools select,
.school-tools input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.school-result-count {
  min-height: 26px;
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 800;
}

.service-license-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.service-license-summary article {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.service-license-summary span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-license-summary strong {
  display: block;
  margin-top: 8px;
  color: var(--green-800);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1;
}

.service-requirements-grid,
.service-process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-requirement-card,
.service-process-grid article {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.service-requirement-card h3,
.service-process-grid h3 {
  margin: 0 0 12px;
  color: var(--green-900);
  line-height: 1.15;
}

.service-requirement-card ul {
  padding-left: 20px;
  margin: 0;
}

.service-requirement-card li,
.service-process-grid p {
  color: var(--muted);
}

.service-requirement-card li + li {
  margin-top: 9px;
}

.service-process-grid {
  margin-top: 18px;
}

.service-process-grid p {
  margin: 0;
}

.service-process-grid p + p {
  margin-top: 10px;
}

.school-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.school-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.school-card:hover {
  border-color: rgba(8, 118, 79, 0.34);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.school-card-header {
  display: grid;
  gap: 8px;
}

.school-card h3 {
  margin: 0;
  color: var(--green-900);
  font-size: 1.18rem;
  line-height: 1.22;
}

.school-city {
  width: fit-content;
  padding: 3px 9px;
  color: var(--green-900);
  font-size: 0.78rem;
  font-weight: 900;
  background: var(--green-100);
  border-radius: 999px;
}

.school-description,
.school-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.school-meta {
  display: grid;
  gap: 7px;
}

.school-meta strong {
  color: var(--green-900);
}

.school-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.school-contact a,
.school-contact span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 10px;
  color: var(--green-900);
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
  background: var(--green-100);
  border-radius: 6px;
}

.school-contact a:hover {
  color: #fff;
  background: var(--green-800);
}

.split-layout,
.request-layout,
.verify-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.steps-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  counter-reset: steps;
  list-style: none;
}

.steps-list li {
  position: relative;
  min-height: 86px;
  padding: 18px 18px 18px 74px;
  background: linear-gradient(180deg, #fff, var(--green-050));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.steps-list li::before {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  font-weight: 900;
  content: counter(steps);
  counter-increment: steps;
  background: var(--green-700);
  border-radius: 50%;
}

.timeline-section {
  background: linear-gradient(180deg, #fff, var(--green-050));
}

.timeline-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.timeline-heading h2 {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline-list::before {
  position: absolute;
  top: 46px;
  left: 8%;
  right: 8%;
  height: 2px;
  content: "";
  background: linear-gradient(180deg, var(--green-700), var(--gold-500));
}

.timeline-list li {
  position: relative;
  display: grid;
  gap: 14px;
  align-items: start;
  padding: 22px;
  background: linear-gradient(180deg, #fff, var(--green-050));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.timeline-step {
  position: relative;
  z-index: 1;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(8, 118, 79, 0.22);
}

.timeline-list h3,
.timeline-list p {
  margin: 0;
}

.timeline-list h3 {
  color: var(--green-900);
  font-size: 1.12rem;
  line-height: 1.25;
}

.timeline-list p {
  margin-top: 6px;
  color: var(--muted);
}

.requirements-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px;
  margin-bottom: 34px;
  color: #fff;
  background:
    linear-gradient(135deg, var(--green-900), var(--green-800) 58%, #1f5b7a),
    var(--green-900);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.requirements-cta h3,
.requirements-cta p {
  margin: 0;
}

.requirements-cta h3 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.12;
}

.requirements-cta p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
}

.simulator-banner {
  position: relative;
  display: grid;
  min-height: 330px;
  align-items: center;
  margin: 24px 0 34px;
  overflow: hidden;
  color: #fff;
  background: var(--green-900);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.simulator-banner::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(4, 34, 27, 0.98), rgba(6, 73, 57, 0.88) 48%, rgba(6, 73, 57, 0.2)),
    linear-gradient(180deg, rgba(4, 34, 27, 0.08), rgba(4, 34, 27, 0.62));
}

.simulator-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.simulator-banner-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: clamp(24px, 5vw, 46px);
}

.simulator-banner h3,
.simulator-banner p {
  margin: 0;
}

.simulator-banner h3 {
  font-size: clamp(1.65rem, 4vw, 3rem);
  line-height: 1.08;
  text-wrap: balance;
}

.simulator-banner p:not(.eyebrow) {
  max-width: 540px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.86);
}

.simulator-banner .button {
  margin-top: 20px;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-card {
  position: relative;
  padding: 22px;
  background: linear-gradient(180deg, #fff, var(--green-050));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.info-card::before {
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 16px;
  content: "";
  background: var(--gold-500);
  border-radius: 4px;
}

.info-card ul {
  padding-left: 20px;
  margin: 12px 0 0;
}

.info-card li + li {
  margin-top: 8px;
}

.notice {
  padding: 18px 20px;
  margin-top: 20px;
  color: var(--green-900);
  background: #fff8df;
  border-left: 6px solid var(--gold-500);
  border-radius: var(--radius);
}

.public-transport-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px;
  margin-top: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--green-900), var(--green-800));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.public-transport-cta.light {
  color: var(--green-900);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.public-transport-cta h3,
.public-transport-cta p {
  margin: 0;
}

.public-transport-cta h3 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.12;
}

.public-transport-cta p:not(.eyebrow) {
  max-width: 740px;
  margin-top: 8px;
  color: inherit;
  opacity: 0.86;
}

.pending-card p {
  margin: 0;
  color: var(--muted);
}

.license-price-panel {
  margin-bottom: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.license-price-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background:
    linear-gradient(90deg, rgba(12, 103, 70, 0.1), rgba(180, 145, 42, 0.08)),
    #fff;
  border-bottom: 1px solid var(--line);
}

.license-price-heading h3,
.requirement-detail-card h3 {
  margin: 0;
  color: var(--green-900);
  line-height: 1.18;
}

.license-price-table-wrap {
  overflow-x: auto;
}

.license-price-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
}

.license-price-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.license-price-table th,
.license-price-table td {
  padding: 14px 16px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.license-price-table th {
  color: #fff;
  font-size: 0.88rem;
  text-transform: uppercase;
  background: var(--green-800);
}

.license-price-table tbody tr:nth-child(even) {
  background: var(--green-050);
}

.license-price-table tbody tr:hover {
  background: #fff8df;
}

.license-price-table td:first-child {
  color: var(--green-900);
  font-weight: 900;
}

.license-price-table strong {
  display: inline-block;
  min-width: 88px;
  color: var(--green-800);
  font-size: 1.08rem;
}

.license-price-table td:last-child,
.requirement-note {
  margin: 0;
  color: var(--muted);
}

.requirement-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.requirement-detail-card {
  display: flex;
  min-height: 480px;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  background: linear-gradient(180deg, #fff, var(--green-050));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.requirement-card-header {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: center;
}

.requirement-number {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  background: var(--green-800);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.18);
}

.requirement-detail-card ul {
  padding-left: 20px;
  margin: 0;
}

.requirement-detail-card li {
  color: var(--ink);
}

.requirement-detail-card li + li {
  margin-top: 9px;
}

.requirement-note {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.module-tools {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(190px, 250px) 1fr;
  gap: 14px;
  align-items: end;
  padding: 14px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.module-tools label {
  display: grid;
  gap: 8px;
  color: var(--green-900);
  font-weight: 800;
}

.module-tools select,
.module-tools input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.module-result-count {
  min-height: 26px;
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 800;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 14px;
}

.module-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: linear-gradient(180deg, #fff, var(--green-050));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.module-card:hover {
  border-color: rgba(8, 118, 79, 0.34);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.module-card-header {
  display: grid;
  gap: 8px;
}

.module-card h3 {
  margin: 0;
  color: var(--green-900);
  font-size: 1.12rem;
  line-height: 1.22;
}

.module-city {
  width: fit-content;
  padding: 3px 9px;
  color: var(--green-900);
  font-size: 0.78rem;
  font-weight: 900;
  background: var(--green-100);
  border-radius: 999px;
}

.module-tags,
.module-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.module-tags span,
.module-contact a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 9px;
  color: var(--green-900);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  background: var(--green-100);
  border-radius: 6px;
}

.module-tags .is-simulator {
  color: #fff;
  background: linear-gradient(135deg, var(--green-800), #997217);
  box-shadow: 0 8px 18px rgba(8, 78, 56, 0.18);
}

.module-contact {
  margin-top: auto;
}

.module-contact a:hover {
  color: #fff;
  background: var(--green-800);
}

.module-meta {
  display: grid;
  gap: 7px;
}

.module-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.42;
}

.module-meta strong {
  color: var(--green-900);
}

.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.program-panel {
  position: relative;
  display: flex;
  min-height: 270px;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.program-panel::after {
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--gold-500), rgba(255, 255, 255, 0.75), var(--red-600));
}

.program-panel h3 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.program-panel.women {
  background: linear-gradient(135deg, var(--green-800), #24524d 58%, #733b65);
}

.program-panel.enterprise {
  background: linear-gradient(135deg, var(--green-900), #31594b 58%, #8b6b22);
}

.request-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.request-form label,
.field-row {
  display: grid;
  gap: 7px;
  color: var(--green-900);
  font-weight: 800;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.request-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 28px;
  margin: 0;
  color: var(--green-900);
  font-weight: 800;
}

.verify-section {
  color: #fff;
  background:
    linear-gradient(135deg, var(--green-900), var(--green-800) 58%, #1f4f49),
    var(--green-900);
}

.verify-layout {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.verify-layout h2 {
  color: #fff;
}

.verify-layout p {
  max-width: 720px;
  margin-top: 12px;
}

.news-section {
  background: #fff;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}

.news-card {
  display: grid;
  gap: 16px;
  overflow: hidden;
  background: var(--green-050);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.news-card.featured {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

.news-card img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.news-card:not(.featured) img {
  min-height: 240px;
}

.news-card div {
  display: grid;
  gap: 14px;
  align-content: center;
  padding: 24px;
}

.news-card h3 {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.12;
}

.campaigns-preview-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: center;
}

.campaigns-preview-layout img,
.campaign-feature img,
.org-chart img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-hero,
.campaign-hero {
  color: #fff;
  background:
    linear-gradient(135deg, var(--green-900), var(--green-800) 58%, #256d58),
    var(--green-900);
}

.about-hero-content,
.campaign-hero-content {
  max-width: 900px;
  padding-block: 86px 64px;
}

.about-hero h1,
.campaign-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.45rem, 6vw, 4.6rem);
  line-height: 1.05;
  text-wrap: balance;
}

.about-hero p:not(.eyebrow),
.campaign-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 42px;
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1.04rem;
}

.about-copy p {
  margin: 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.mission-card {
  padding: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--green-900), var(--green-800));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mission-card.vision {
  color: var(--green-900);
  background: linear-gradient(180deg, #fff, var(--green-050));
  border: 1px solid var(--line);
}

.mission-card h2,
.mission-card p {
  margin: 0;
}

.mission-card h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.1;
}

.mission-card p:not(.eyebrow) {
  margin-top: 14px;
  color: inherit;
}

.org-chart {
  margin: 0;
  padding: 0;
}

.allies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.allies-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.allies-card.wide {
  grid-column: 1 / -1;
}

.allies-card h3,
.campaign-card h3 {
  margin: 0;
  color: var(--green-900);
  line-height: 1.16;
}

.allies-card ul {
  padding-left: 20px;
  margin: 14px 0 0;
  color: var(--muted);
}

.allies-card li + li {
  margin-top: 9px;
}

.campaign-feature {
  margin-bottom: 22px;
}

.campaign-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.campaign-card {
  padding: 22px;
  background: linear-gradient(180deg, #fff, var(--green-050));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.campaign-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer {
  padding-block: 38px;
  color: #fff;
  background:
    linear-gradient(180deg, #0d1714, #07110f),
    #0d1714;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.site-footer img {
  width: 230px;
  padding: 10px;
  background: #fff;
  border-radius: var(--radius);
}

.site-footer p {
  max-width: 440px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
}

address,
.footer-links {
  display: grid;
  gap: 8px;
  font-style: normal;
}

.site-footer a {
  color: #fff;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .quick-grid,
  .course-grid,
  .requirements-grid,
  .requirement-detail-grid,
  .module-grid,
  .school-grid,
  .schools-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .course-tools,
  .certified-course-panel,
  .appointment-options,
  .appointment-selection-panel,
  .appointment-form,
  .about-intro-grid,
  .mission-grid,
  .news-grid,
  .campaigns-preview-layout,
  .public-transport-cta,
  .service-process-grid,
  .module-tools,
  .school-tools,
  .split-layout,
  .timeline-list,
  .requirements-cta,
  .request-layout,
  .verify-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .timeline-list::before {
    top: 28px;
    bottom: 28px;
    left: 27px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .timeline-list li {
    grid-template-columns: 56px 1fr;
  }

  .verify-actions {
    justify-content: flex-start;
  }

  /* Paso 2: en una columna, la selección de fecha aparece primero */
  .appointment-date-block {
    order: 1;
  }

  .appointment-selection-panel dl {
    order: 2;
  }
}

@media (max-width: 760px) {
  .utility-content {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 8px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-content {
    min-height: 70px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 18px;
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a,
  .nav-more summary {
    width: 100%;
  }

  .nav-more,
  .nav-more details {
    width: 100%;
  }

  .nav-dropdown {
    position: static;
    min-width: 0;
    padding: 4px 0 0 14px;
    margin-top: 2px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .hero {
    min-height: 640px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(4, 34, 27, 0.97), rgba(7, 63, 52, 0.82));
  }

  .hero::after {
    width: calc(100% - 32px);
    right: 16px;
    bottom: 18px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .quick-grid,
  .course-grid,
  .appointment-options,
  .requirements-grid,
  .requirement-detail-grid,
  .service-license-summary,
  .service-requirements-grid,
  .allies-grid,
  .campaign-card-grid,
  .module-grid,
  .school-grid,
  .schools-summary,
  .certified-course-list,
  .program-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .course-card {
    grid-template-columns: 72px 1fr;
    min-height: 220px;
    padding: 14px;
  }

  .course-card img,
  .course-code {
    width: 64px;
    height: 64px;
  }

  .section {
    padding-block: 58px;
  }

  .program-panel {
    min-height: 240px;
    padding: 24px;
  }

  .news-card.featured {
    grid-template-columns: 1fr;
  }

  .allies-card.wide {
    grid-column: auto;
  }

  .standalone-course-card {
    grid-template-columns: 72px 1fr;
  }

  .standalone-course-card .button {
    grid-column: 1 / -1;
  }

  .wizard-panel {
    padding: 16px;
  }

  /* Indicador de pasos compacto: los tres pasos en una sola fila */
  .wizard-progress {
    gap: 6px;
  }

  .wizard-progress li {
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    min-height: 0;
    padding: 7px 4px;
    font-size: 0.75rem;
    text-align: center;
  }

  .wizard-progress span {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
  }

  .appointment-step-heading {
    grid-template-columns: 1fr;
  }

  .appointment-step-heading > span {
    width: fit-content;
    min-height: 34px;
    padding: 0 16px;
  }

  /* Cards de curso compactas: fila horizontal, sin fecha */
  .appointment-options {
    gap: 8px;
  }

  .appointment-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-height: 0;
    padding: 12px 14px;
  }

  .appointment-card small {
    display: none;
  }

  .appointment-card strong {
    font-size: 0.95rem;
    line-height: 1.2;
  }

  /* Ocultar el botón Continuar del paso 1 en móvil (el tap en la card avanza solo) */
  [data-wizard-step="1"] .wizard-actions {
    display: none;
  }

  .appointment-selection-panel dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  /* Sede/modalidad: estilo más compacto en paso 2 */
  .appointment-selection-panel dl {
    border-top: 1px solid var(--line);
    padding-top: 14px;
    margin-top: 4px;
  }

  .wizard-actions {
    justify-content: stretch;
  }

  .wizard-actions .button {
    justify-content: center;
  }

  .confirmation-card dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .brand img {
    width: 210px;
  }

  .hero-actions,
  .verify-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .quick-item {
    grid-template-columns: 48px 1fr;
  }
}
