:root {
  --ink: #332047;
  --muted: #665875;
  --paper: #ffffff;
  --soft: #fbf5fb;
  --panel: #ffffff;
  --purple: #642b86;
  --purple-dark: #4b206f;
  --magenta: #c0288d;
  --magenta-dark: #9f1e73;
  --orange: #f7941d;
  --cyan: #1eb5d0;
  --line: rgba(100, 43, 134, 0.16);
  --shadow: 0 24px 70px rgba(100, 43, 134, 0.16);
  --content-width: 1320px;
  --page-gutter: clamp(20px, 6vw, 86px);
  --section-gutter: max(var(--page-gutter), calc((100% - var(--content-width)) / 2));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 18px;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(clamp(18px, 4vw, 56px), calc((100% - var(--content-width)) / 2));
  background: rgba(248, 244, 235, 0.92);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(100, 43, 134, 0.12);
  backdrop-filter: blur(18px);
  transition: padding 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.site-header.is-condensed {
  padding-block: 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 34px rgba(100, 43, 134, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 250px;
}

.brand img {
  display: block;
  width: auto;
  height: 92px;
  max-width: 46vw;
  transition: height 220ms ease, max-width 220ms ease;
}

.site-header.is-condensed .brand img {
  height: 62px;
  max-width: 42vw;
}

.site-header.is-condensed .header-action,
.site-header.is-condensed .primary-button,
.site-header.is-condensed .secondary-button {
  min-height: 40px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-inline-start: auto;
  gap: clamp(12px, 2vw, 28px);
  color: var(--purple-dark);
  font-size: 16px;
  font-weight: 900;
}

.desktop-nav a:not(.header-action) {
  border-bottom: 2px solid transparent;
  padding-block: 6px;
}

.desktop-nav a:hover {
  border-color: var(--orange);
}

.desktop-nav .header-action {
  white-space: nowrap;
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.header-action,
.primary-button,
.secondary-button,
.secondary-dark-button,
.light-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 4px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-action,
.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--magenta), var(--purple));
  box-shadow: 0 12px 24px rgba(192, 40, 141, 0.22);
}

.header-action.header-lookup {
  color: var(--purple-dark);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
}

.secondary-button {
  color: #fff;
  background: var(--purple);
  border: 1px solid rgba(255, 255, 255, 0.64);
}

.secondary-dark-button {
  color: #fff;
  background: var(--purple-dark);
}

.light-button {
  color: var(--purple);
  background: #fff;
}

.primary-button:hover,
.secondary-button:hover,
.secondary-dark-button:hover,
.light-button:hover,
.header-action:hover {
  transform: translateY(-2px);
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.hero {
  position: relative;
  min-height: clamp(620px, 87vh, 880px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 116px var(--section-gutter) 54px;
}

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

.hero-media {
  object-fit: cover;
  object-position: center;
}

.hero-overlay,
.hero-content {
  z-index: 1;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.86) 38%, rgba(255, 255, 255, 0.28) 72%),
    linear-gradient(0deg, rgba(75, 32, 111, 0.26), rgba(255, 255, 255, 0.08));
}

.hero-content {
  position: relative;
  max-width: min(1160px, 100%);
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--magenta);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--magenta);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1;
}

h1 {
  max-width: 1160px;
  font-size: clamp(44px, 6vw, 82px);
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(34px, 5vw, 62px);
}

h3 {
  font-size: 28px;
}

.hero-copy {
  max-width: 600px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.24;
}

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

.hero-actions .primary-button,
.hero-actions .secondary-button {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

.hero-actions .primary-button::before,
.hero-actions .secondary-button::before,
.hero-actions .primary-button::after,
.hero-actions .secondary-button::after {
  content: "";
  position: absolute;
  border-radius: 6px;
  pointer-events: none;
}

.hero-actions .primary-button::before,
.hero-actions .secondary-button::before {
  inset: -7px;
  z-index: -1;
  background: conic-gradient(
    from var(--chase-angle),
    rgba(192, 40, 141, 0),
    rgba(192, 40, 141, 0.95),
    rgba(247, 148, 29, 0.95),
    rgba(30, 181, 208, 0.9),
    rgba(100, 43, 134, 0.95),
    rgba(192, 40, 141, 0)
  );
  filter: blur(12px);
  opacity: 0.72;
  animation: heroButtonChase 3.2s linear infinite;
}

.hero-actions .primary-button::after,
.hero-actions .secondary-button::after {
  inset: -2px;
  z-index: 1;
  padding: 2px;
  background: conic-gradient(
    from var(--chase-angle),
    var(--magenta),
    var(--orange),
    var(--cyan),
    var(--purple),
    var(--magenta)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: heroButtonChase 3.2s linear infinite;
}

@property --chase-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes heroButtonChase {
  to {
    --chase-angle: 360deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-actions .primary-button::before,
  .hero-actions .secondary-button::before,
  .hero-actions .primary-button::after,
  .hero-actions .secondary-button::after {
    animation: none;
  }
}

.census-overview {
  display: flow-root;
  background: #f5f9f9;
}

.trust-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: -34px var(--section-gutter) 0;
  background: #f5f9f9;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trust-strip article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.trust-strip article img {
  display: block;
  width: 100%;
  height: 156px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 16px;
}

.trust-strip article:first-child img { object-position: center 33%; }
.trust-strip article:nth-child(2) img { object-position: center 40%; }

.trust-strip article > span {
  width: auto;
  height: auto;
  padding: 0;
  margin-bottom: 6px;
  color: var(--magenta-dark);
  background: none;
  border-radius: 0;
  font-size: 14px;
}

.trust-strip strong { line-height: 1.22; }
.trust-strip article p { margin: 10px 0 14px; }

.step-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: auto;
  color: var(--magenta-dark);
  font-weight: 800;
}

.step-link:hover, .step-link:focus-visible {
  text-decoration: underline;
}

@media (prefers-reduced-motion: no-preference) {
  .trust-strip article.step-enter {
    animation: step-enter 480ms ease-out both;
  }

  .trust-strip article:nth-child(2) { animation-delay: 90ms; }
  .trust-strip article:nth-child(3) { animation-delay: 180ms; }

  @keyframes step-enter {
    from { opacity: .55; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

.register-entry {
  align-items: center;
}

.register-entry h2, .census-section h2, .registration-intro h1 {
  font-size: 42px;
  line-height: 1.09;
}

.register-entry img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.registration-page main { padding-top: 92px; }
#registro, #mapa, #microchip, #carnet { scroll-margin-top: 100px; }

.census-section { background: #f2f9fa; }
.map-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin-top: 18px;
}
.map-toolbar label { flex: 1 1 220px; min-width: 0; max-width: 480px; }
.map-toolbar .ghost-button:disabled { opacity: .55; cursor: wait; }
#censusMap {
  height: clamp(340px, 62vh, 560px);
  isolation: isolate;
  overflow: hidden;
  background: #e4eff1;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.map-source { font-size: 14px; }
.map-source a { text-decoration: underline; }

@media (max-width: 1100px) {
  .registration-page .registration-section {
    grid-template-columns: minmax(0, 1fr);
  }
}

.trust-strip article:last-child {
  border-right: 0;
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--magenta), var(--purple));
  border-radius: 50%;
  font-weight: 800;
}

.trust-strip strong {
  display: block;
  font-size: 24px;
}

.trust-strip p,
.section p,
.steps p,
.site-footer p {
  color: var(--muted);
  line-height: 1.52;
}

.section {
  padding: clamp(64px, 8vw, 110px) var(--section-gutter);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: end;
}

.census-purpose {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.supporting-brands {
  background: #fff;
  padding-block: 42px;
}

.supporting-brands h2 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 26px;
  line-height: 1.2;
}

.marquee-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.marquee-logos li {
  flex: 0 0 192px;
  height: 96px;
  display: grid;
  place-items: center;
}

.marquee-logos img {
  width: 146px;
  height: 74px;
  object-fit: contain;
}

@media (prefers-reduced-motion: no-preference) {
  .marquee-ready .marquee-viewport { overflow: hidden; }
  .marquee-ready .marquee-track {
    display: flex;
    width: max-content;
    animation: supporting-brands-scroll 38s linear infinite;
  }
  .marquee-ready .marquee-logos { flex-wrap: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-logos[aria-hidden="true"] { display: none; }
}

@media (max-width: 640px) {
  .marquee-logos li { flex-basis: 158px; }
  .marquee-logos img { width: 130px; }
}

@keyframes supporting-brands-scroll {
  to { transform: translateX(-50%); }
}

.census-purpose-copy {
  max-width: 460px;
}

.census-purpose h2 {
  font-size: 44px;
  line-height: 1.1;
  text-wrap: balance;
  margin-bottom: 20px;
}

.census-purpose p {
  max-width: 590px;
  margin: 0;
}

.census-purpose p + p { margin-top: 14px; }

.census-purpose img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 900px) {
  .census-purpose { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .census-purpose-copy { max-width: 620px; }
}

@media (max-width: 640px) {
  .census-purpose h2 { font-size: 34px; }
}

.carnet-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
  background: var(--soft);
}

.registration-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(620px, 1fr);
  gap: clamp(24px, 4vw, 50px);
  align-items: start;
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(30px, 4vw, 52px);
  background:
    radial-gradient(circle at 18% 24%, rgba(30, 181, 208, 0.18), transparent 34%),
    radial-gradient(circle at 78% 22%, rgba(192, 40, 141, 0.16), transparent 30%),
    linear-gradient(135deg, #fff7ec 0%, #fbf5fb 48%, #eefaff 100%);
}

.registration-intro {
  position: sticky;
  top: 112px;
  max-width: 430px;
  text-align: left;
}

.registration-intro h2 {
  font-size: clamp(40px, 4.2vw, 58px);
}

.registration-intro p {
  max-width: 390px;
  font-size: 20px;
  line-height: 1.42;
}

.section-copy {
  position: sticky;
  top: 112px;
}

.form-panel,
.microchip-form,
.card-preview {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 34px);
  box-shadow: 0 18px 44px rgba(100, 43, 134, 0.08);
}

#petForm.form-panel {
  width: min(860px, 100%);
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: 0 28px 80px rgba(100, 43, 134, 0.14);
}

.stepper-progress {
  --step-progress: 0%;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: clamp(14px, 2vw, 22px);
  padding: 0 10px;
}

.stepper-line,
.stepper-fill {
  position: absolute;
  left: 54px;
  right: 54px;
  top: 17px;
  height: 3px;
  border-radius: 999px;
}

.stepper-line {
  background: rgba(100, 43, 134, 0.16);
}

.stepper-fill {
  width: calc(var(--step-progress) * 1%);
  max-width: calc(100% - 108px);
  right: auto;
  background: linear-gradient(90deg, var(--magenta), var(--orange), var(--cyan));
  transition: width 240ms ease;
}

.stepper-item {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: var(--muted);
  text-align: center;
}

.stepper-item span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--purple);
  background: #fff;
  border: 2px solid rgba(100, 43, 134, 0.22);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(100, 43, 134, 0.08);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.stepper-item strong {
  font-size: 13px;
  font-weight: 900;
}

.stepper-item.is-active {
  color: var(--purple-dark);
}

.stepper-item.is-active span {
  color: #fff;
  background: linear-gradient(135deg, var(--magenta), var(--purple));
  border-color: transparent;
  transform: scale(1.06);
}

.stepper-item.is-complete span {
  color: #fff;
  background: var(--cyan);
  border-color: transparent;
  font-size: 0;
}

.stepper-item.is-complete span::before {
  content: "✓";
  font-size: 20px;
  line-height: 1;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.form-grid-secondary {
  margin-top: 12px;
  align-items: start;
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
}

.step-heading {
  margin-bottom: 14px;
}

.step-heading span,
.success-kicker {
  color: var(--magenta);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.step-heading h3,
.success-panel h3 {
  margin: 5px 0 6px;
  color: var(--purple-dark);
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1;
}

.step-heading p,
.success-panel p {
  margin: 0;
}

.step-heading p {
  font-size: 18px;
  line-height: 1.35;
}

label {
  display: grid;
  gap: 6px;
  color: var(--purple-dark);
  font-size: 14px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(23, 33, 31, 0.18);
  border-radius: 8px;
  padding: 9px 12px;
  outline: none;
}

input[type="file"] {
  min-height: auto;
  cursor: pointer;
  padding: 9px;
}

.photo-upload span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

textarea {
  min-height: 64px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--magenta);
  box-shadow: 0 0 0 4px rgba(192, 40, 141, 0.12);
}

.full-label,
.consent,
.form-submit {
  margin-top: 10px;
}

.form-grid .full-label {
  grid-column: 1 / -1;
  margin-top: 0;
}

.location-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.location-row .ghost-button {
  min-height: 40px;
}

.location-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  color: var(--muted);
  font-weight: 600;
}

.consent input {
  min-height: auto;
  margin-top: 4px;
}

.form-message,
.light-message {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--purple);
  font-weight: 800;
}

.step-actions {
  display: grid;
  grid-template-columns: minmax(130px, 0.55fr) minmax(180px, 1fr);
  gap: 12px;
  margin-top: clamp(14px, 2vw, 22px);
}

.step-actions .primary-button,
.step-actions .ghost-button {
  min-height: 46px;
}

.step-actions .primary-button:only-child {
  grid-column: 2;
}

.success-panel .step-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  color: var(--purple-dark);
  background: #fff;
  border: 1px solid rgba(100, 43, 134, 0.2);
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
}

.ghost-button:hover {
  border-color: var(--magenta);
  box-shadow: 0 0 0 4px rgba(192, 40, 141, 0.1);
}

.success-panel {
  min-height: 330px;
  display: grid;
  align-content: center;
  padding: clamp(20px, 3vw, 30px);
  background:
    radial-gradient(circle at 90% 12%, rgba(30, 181, 208, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(255, 247, 236, 0.96), rgba(251, 245, 251, 0.96));
  border: 1px solid rgba(192, 40, 141, 0.18);
  border-radius: 8px;
}

.success-panel strong {
  display: inline-flex;
  width: fit-content;
  margin-top: 20px;
  padding: 12px 16px;
  color: #fff;
  background: var(--purple-dark);
  border-radius: 6px;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: 0.03em;
}

.lookup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 26px;
}

.card-preview {
  display: grid;
  gap: 18px;
}

canvas {
  width: 100%;
  height: auto;
  background: #fff;
  border: 1px solid rgba(23, 33, 31, 0.18);
  border-radius: 6px;
}

.microchip-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(58px, 7vw, 96px) var(--section-gutter);
  color: #fff;
  background:
    radial-gradient(circle at 92% 18%, rgba(247, 148, 29, 0.32), transparent 26%),
    linear-gradient(120deg, var(--purple-dark), var(--magenta));
}

.microchip-copy p {
  color: rgba(255, 253, 248, 0.84);
  line-height: 1.5;
}

.microchip-form {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.microchip-form label {
  color: #fff;
  margin-bottom: 16px;
}

.light-message {
  color: #fff;
}

.steps-section {
  background: #fff7ec;
}

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

.steps article {
  min-height: 230px;
  padding: 28px;
  background: #fff;
  border-top: 5px solid var(--magenta);
  box-shadow: 0 12px 30px rgba(100, 43, 134, 0.08);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 34px var(--section-gutter);
  color: rgba(255, 255, 255, 0.86);
  background: var(--purple-dark);
}

@media (prefers-reduced-motion: no-preference) and (min-height: 520px) {
  .footer-reveal main {
    position: relative;
    z-index: 1;
    background: var(--paper);
  }

  .footer-reveal .site-footer {
    position: sticky;
    bottom: 0;
  }

  .footer-reveal .site-footer:focus-within {
    z-index: 2;
  }
}

.site-footer img {
  display: block;
  width: min(220px, 70vw);
  height: auto;
}

.site-footer p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    flex-wrap: wrap;
  }

  .brand { min-width: 0; }
  .brand img {
    height: 70px;
    max-width: 58vw;
  }

  .site-header.is-condensed .brand img {
    height: 52px;
    max-width: 48vw;
  }

  .desktop-nav {
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: 14px;
  }

  .registration-page main { padding-top: 0; }
  #registro, #mapa, #microchip, #carnet { scroll-margin-top: 140px; }
  .register-entry h2, .census-section h2, .registration-intro h1 {
    font-size: 34px;
  }

  .hero {
    min-height: 82vh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72)),
      linear-gradient(0deg, rgba(100, 43, 134, 0.22), rgba(255, 255, 255, 0.08));
  }

  .trust-strip,
  .intro-section,
  .registration-section,
  .carnet-section,
  .microchip-band,
  .steps {
    grid-template-columns: 1fr;
  }

  .trust-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-copy,
  .registration-intro {
    position: static;
  }

  .registration-intro {
    max-width: 760px;
    text-align: center;
  }

  .registration-intro p {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 640px) {
  .site-header { gap: 0; padding-bottom: 8px; }
  .site-header.is-condensed { padding-bottom: 8px; }
  .desktop-nav { width: 100%; justify-content: space-between; gap: 4px 8px; font-size: 13px; }
  .desktop-nav .header-action { min-height: 36px; padding: 6px 9px; }
  .header-actions { width: 100%; }
  .header-actions .header-action { flex: 1 1 auto; }
  .registration-section { grid-template-columns: minmax(0, 1fr); }
  .registration-intro h1 { max-width: 100%; }

  body {
    font-size: 17px;
  }

  .hero {
    min-height: 78vh;
    padding-top: 72px;
  }

  .hero-media {
    object-position: 65% center;
  }

  .hero-actions,
  .lookup {
    grid-template-columns: 1fr;
    display: grid;
  }

  .primary-button,
  .secondary-button,
  .secondary-dark-button,
  .light-button {
    width: 100%;
  }

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

  .stepper-progress {
    padding: 0;
  }

  .stepper-line,
  .stepper-fill {
    left: 38px;
    right: 38px;
  }

  .stepper-fill {
    max-width: calc(100% - 76px);
  }

  .step-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .step-actions .primary-button:only-child {
    grid-column: auto;
  }

  .site-footer {
    display: grid;
  }
}
