:root {
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #dfe5ec;
  --paper: #fbfcfe;
  --soft: #f2f6f9;
  --white: #ffffff;
  --orange: #f4ad18;
  --orange-dark: #d58d00;
  --green: #008c4a;
  --green-dark: #006c3a;
  --yellow: #ffc84a;
  --shadow: 0 18px 48px rgba(17, 24, 39, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

.topbar__inner > *,
.nav > *,
.section__head > *,
.page-title > *,
.split > *,
.form-wrap > *,
.solution-card,
.sector-card,
.article-card,
.process-step,
.metric-card,
.resource-card,
.qa-card,
.contact-box,
.cta-band {
  min-width: 0;
}

[hidden] {
  display: none !important;
}

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

p {
  margin: 0;
}

.topbar {
  background: var(--orange);
  color: var(--ink);
  font-size: 0.88rem;
}

.topbar__inner,
.nav,
.section__inner,
.footer__inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar a {
  color: var(--ink);
  border-bottom: 1px solid transparent;
  font-weight: 500;
}

.topbar a:hover {
  border-color: currentColor;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(223, 229, 236, 0.95);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  line-height: 1;
}

.brand__logo {
  width: auto;
  height: 54px;
  max-width: 260px;
  object-fit: contain;
}

.brand__name {
  display: grid;
  gap: 4px;
  font-size: 1.04rem;
}

.brand__tag {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #273244;
  font-weight: 500;
  font-size: 0.94rem;
}

.nav__links a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  border-color: var(--orange);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5f6b7a;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
}

.language-switcher a {
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.language-switcher a:hover,
.language-switcher a[aria-current="true"] {
  color: var(--ink);
  border-color: var(--orange);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 1.3rem;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.94rem;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button--primary {
  color: var(--ink);
  background: var(--orange);
  box-shadow: 0 12px 28px rgba(244, 173, 24, 0.28);
}

.button--primary:hover {
  background: var(--orange-dark);
  color: var(--white);
}

.button--secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.button--dark {
  color: var(--white);
  background: var(--ink);
}

.button--ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.hero {
  position: relative;
  min-height: 660px;
  display: grid;
  align-items: stretch;
  background: var(--ink);
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.9), rgba(17, 24, 39, 0.64) 44%, rgba(17, 24, 39, 0.2) 100%),
    linear-gradient(0deg, rgba(17, 24, 39, 0.72), rgba(17, 24, 39, 0.05) 45%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 94px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(280px, 400px);
  gap: 54px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--white);
  font-weight: 500;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--yellow), var(--green));
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  color: var(--white);
  font-size: 3.5rem;
  line-height: 1.03;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 620px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
}

.hero__actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 38px;
}

.fact {
  min-height: 104px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.fact strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.2;
}

.fact span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.quote-panel {
  align-self: end;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(251, 252, 254, 0.96);
  box-shadow: var(--shadow);
}

.quote-panel h2 {
  margin: 0;
  font-size: 1.25rem;
}

.quote-panel p {
  margin-top: 10px;
  color: var(--muted);
}

.quick-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 20px;
}

.quick-list span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #283449;
  font-weight: 500;
}

.quick-list span::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
}

.section {
  padding: 82px 0;
}

.section--soft {
  background: var(--soft);
}

.section--dark {
  background: var(--ink);
  color: var(--white);
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.section-action {
  margin: -12px 0 28px;
}

.kicker {
  margin-bottom: 12px;
  color: var(--green);
  font-weight: 500;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.section--dark .kicker {
  color: var(--orange);
}

.section h2,
.page-title h1 {
  margin: 0;
  font-size: 2.35rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.section__head p,
.page-title p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section--dark .section__head p,
.section--dark .muted {
  color: rgba(255, 255, 255, 0.72);
}

.need-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.need-tabs button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: var(--white);
  color: #2d3748;
  font-weight: 500;
  cursor: pointer;
}

.need-tabs button.is-active {
  border-color: var(--orange);
  background: #fff5df;
  color: #7b5100;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.solution-card,
.sector-card,
.article-card,
.process-step,
.metric-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.solution-card {
  min-height: 360px;
  overflow: hidden;
}

.solution-card img,
.sector-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.solution-card__body,
.sector-card__body,
.article-card,
.process-step,
.metric-card {
  padding: 20px;
}

.solution-card h3,
.sector-card h3,
.article-card h3,
.process-step h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.solution-card p,
.sector-card p,
.article-card p,
.process-step p {
  margin-top: 10px;
  color: var(--muted);
}

.inline-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--green);
  font-weight: 500;
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.sector-card {
  overflow: hidden;
}

.sector-card--text {
  min-height: 210px;
}

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

.process-step {
  position: relative;
  min-height: 235px;
}

.process-step strong {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--orange-dark);
  border-radius: 8px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 52px;
  align-items: center;
}

.split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
}

.check-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.resource-card {
  position: relative;
  min-height: 250px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.resource-card::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--orange), var(--green));
}

.resource-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 0.84rem;
}

.resource-card h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.resource-card p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.cta-band {
  padding: 54px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.93), rgba(17, 24, 39, 0.78)),
    url("images/trazabilidad-codificacion.png") center / cover;
  color: var(--white);
}

.cta-band h2 {
  max-width: 760px;
}

.cta-band p {
  max-width: 720px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.cta-band .hero__actions {
  margin-top: 24px;
}

.cta-band .button--secondary,
.cta-band .button--ghost {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.18);
}

.cta-band .button--secondary:hover,
.cta-band .button--ghost:hover {
  border-color: var(--soft);
  background: var(--soft);
  color: var(--ink);
}

.page-hero {
  padding: 72px 0;
  background: var(--soft);
}

.page-title {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.6fr);
  gap: 54px;
  align-items: center;
}

.page-title img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.breadcrumb {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--green);
  font-weight: 500;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.metric-card strong {
  display: block;
  font-size: 1.7rem;
  color: var(--green);
}

.footer-logo {
  width: auto;
  height: 62px;
  max-width: 280px;
  margin-bottom: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--white);
}

.metric-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.48fr);
  gap: 44px;
  align-items: start;
}

.form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.form--compact {
  gap: 12px;
  padding: 22px;
}

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

.field-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-header,
.form-section {
  display: grid;
  gap: 14px;
}

.form-header {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.form-header h2,
.form-section__head h3 {
  margin: 0;
}

.form-header p,
.form-section__head p,
.prefill-note {
  color: var(--muted);
}

.form-required {
  font-size: 0.88rem;
}

.prefill-note {
  padding: 12px 14px;
  border: 1px solid #cfe1d3;
  border-radius: 8px;
  background: #f3fbf5;
  font-size: 0.9rem;
}

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

.mode-tab {
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: #263244;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
}

.mode-tab.is-active {
  border-color: var(--orange);
  background: #fff6e4;
  box-shadow: 0 8px 20px rgba(244, 173, 24, 0.16);
}

.form-section {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fcfdff;
}

.form--compact .form-header {
  padding-bottom: 14px;
}

.form--compact .form-section {
  gap: 12px;
  padding: 14px;
}

.form--compact .form-section__head p {
  font-size: 0.92rem;
}

.form-section__head {
  display: grid;
  gap: 6px;
}

label {
  display: grid;
  gap: 7px;
  color: #263244;
  font-weight: 500;
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

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

.form--compact textarea {
  min-height: 104px;
}

.form-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.status {
  min-height: 24px;
  color: var(--green);
  font-weight: 500;
}

.privacy-box {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.privacy-box h3 {
  margin: 0;
  font-size: 1rem;
}

.privacy-box p {
  color: var(--muted);
  font-size: 0.9rem;
}

.check-field {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.88rem;
}

.check-field input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  padding: 0;
}

.form button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.contact-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.contact-box h2,
.contact-box h3 {
  margin: 0;
}

.contact-box h3 {
  margin-top: 24px;
}

.contact-box p,
.contact-box ul {
  color: var(--muted);
}

.contact-box ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.map-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.map-card__body {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.map-card h3 {
  margin: 0;
  font-size: 1.12rem;
}

.map-card p {
  color: var(--muted);
}

.map-card iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

.qa-anchor-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}

.qa-anchor-grid a {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--green);
  font-weight: 500;
}

.qa-list {
  display: grid;
  gap: 18px;
}

.qa-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.qa-card > span {
  width: fit-content;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
}

.qa-card h2,
.qa-card h3 {
  margin: 0;
}

.qa-card h2 {
  font-size: 1.7rem;
  line-height: 1.18;
  overflow-wrap: break-word;
}

.qa-card h3 {
  font-size: 1rem;
}

.qa-card p {
  margin-top: 8px;
  color: var(--muted);
}

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

.legal-content {
  display: grid;
  gap: 22px;
  max-width: 900px;
}

.legal-content h2 {
  margin-top: 14px;
  font-size: 1.55rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.legal-content a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content .button {
  color: var(--white);
  text-decoration: none;
}

.legal-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.legal-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.legal-table th,
.legal-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--soft);
  color: var(--ink);
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.cookie-settings-button {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 70;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--green);
  border-radius: 6px;
  background: var(--white);
  color: var(--green-dark);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.16);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
}

.cookie-settings-button:hover,
.cookie-settings-button:focus-visible {
  background: var(--green);
  color: var(--white);
}

.map-consent-placeholder {
  min-height: 320px;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 28px;
  background: var(--soft);
  text-align: center;
}

.map-consent-placeholder h3 {
  margin: 0;
  font-size: 1.12rem;
}

.map-consent-placeholder p {
  max-width: 42ch;
}

.map-consent-placeholder .button {
  width: fit-content;
  margin: 4px auto 0;
}

iframe[data-cookieblock-src]:not([src]) {
  display: none;
}

/*
 * Cookiebot compliance overrides. Accept, reject and save-selection actions
 * intentionally share the same colour, size and visibility.
 */
#CybotCookiebotDialog {
  border-radius: 8px !important;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.22) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

#CybotCookiebotDialog .CybotCookiebotDialogBodyButton {
  min-height: 48px !important;
  border: 2px solid var(--green) !important;
  border-radius: 6px !important;
  background: var(--green) !important;
  color: var(--white) !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}

#CybotCookiebotDialog .CybotCookiebotDialogBodyButton:hover,
#CybotCookiebotDialog .CybotCookiebotDialogBodyButton:focus-visible {
  border-color: var(--green-dark) !important;
  background: var(--green-dark) !important;
  color: var(--white) !important;
}

#CybotCookiebotDialog a {
  color: var(--green-dark) !important;
}

#CybotCookiebotDialog input:checked + .CybotCookiebotDialogBodyLevelButtonSlider {
  background-color: var(--green) !important;
}

body.cookie-preview-open {
  overflow: hidden;
}

.cookie-preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 24, 39, 0.58);
}

.cookie-preview-overlay[hidden] {
  display: none;
}

.cookie-preview-dialog {
  position: relative;
  width: min(680px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.24);
}

.cookie-preview-dialog h2 {
  margin: 0 42px 8px 0;
  font-size: 1.55rem;
}

.cookie-preview-dialog > p {
  margin: 0;
  color: var(--muted);
}

.cookie-preview-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.cookie-preview-close:hover,
.cookie-preview-close:focus-visible {
  border-color: var(--green);
  color: var(--green-dark);
}

.cookie-preview-categories {
  display: grid;
  gap: 8px;
  margin: 22px 0;
}

.cookie-preview-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  cursor: pointer;
}

.cookie-preview-category:has(input:disabled) {
  cursor: default;
}

.cookie-preview-category span {
  min-width: 0;
}

.cookie-preview-category strong,
.cookie-preview-category small {
  display: block;
}

.cookie-preview-category small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.84rem;
}

.cookie-preview-category input {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  accent-color: var(--green);
}

.cookie-preview-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.cookie-preview-actions button {
  min-height: 48px;
  padding: 10px 12px;
  border: 2px solid var(--green);
  border-radius: 6px;
  background: var(--green);
  color: var(--white);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.cookie-preview-actions button:hover,
.cookie-preview-actions button:focus-visible {
  border-color: var(--green-dark);
  background: var(--green-dark);
}

h1,
h2,
h3,
strong,
b,
.brand,
.topbar a,
.nav__links,
.button,
.eyebrow,
.kicker,
.quick-list span,
.fact strong,
.inline-link,
.process-step strong,
.metric-card strong,
label,
.status {
  font-weight: 500;
}

.footer {
  background: var(--ink);
  color: var(--white);
  padding: 54px 0 28px;
}

.footer__inner {
  display: grid;
  gap: 34px;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(210px, 1.15fr) minmax(150px, 0.72fr) minmax(190px, 0.9fr) minmax(220px, 1.1fr);
  gap: 34px;
}

.footer h2,
.footer h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.72);
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--white);
}

.footer__brand-link {
  display: inline-flex;
}

.footer__brand p {
  max-width: 34ch;
}

.footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__locations {
  display: grid;
  gap: 14px;
  font-style: normal;
}

.footer__locations p {
  margin: 0;
}

.footer__locations strong {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
}

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px 16px;
}

.legacy-page-hero .page-title {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
}

.legacy-page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 4rem;
  line-height: 1.02;
  overflow-wrap: break-word;
}

.legacy-lead {
  max-width: 760px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.08rem;
}

.legacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: 64px;
  align-items: start;
}

.legacy-prose {
  max-width: 780px;
}

.legacy-prose h2 {
  margin: 42px 0 14px;
  font-size: 1.8rem;
}

.legacy-prose h2:first-child {
  margin-top: 0;
}

.legacy-prose h3 {
  margin: 30px 0 12px;
  font-size: 1.25rem;
}

.legacy-prose p {
  margin-bottom: 20px;
  color: #354152;
  font-size: 1.02rem;
}

.legacy-aside {
  position: sticky;
  top: 112px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.legacy-aside h2 {
  margin: 6px 0 12px;
  font-size: 1.55rem;
}

.legacy-aside p:not(.kicker) {
  margin-bottom: 22px;
  color: var(--muted);
}

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

.legacy-link-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.legacy-link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 140, 74, 0.42);
  box-shadow: var(--shadow);
}

.legacy-link-card h3 {
  margin: 4px 0 12px;
  font-size: 1.16rem;
  line-height: 1.28;
  overflow-wrap: break-word;
}

.legacy-link-card p {
  flex: 1;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.not-found {
  width: min(680px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 18px;
}

.not-found img {
  width: min(280px, 70vw);
  margin-bottom: 22px;
}

.not-found h1 {
  margin: 0;
  font-size: 4rem;
  line-height: 1.02;
}

.not-found > p:not(.kicker) {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.05rem;
}

.not-found__languages {
  margin-top: 16px;
}

.not-found__languages a {
  color: var(--green);
  font-weight: 700;
}

@media (max-width: 1040px) {
  .nav {
    position: relative;
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand actions"
      "lang lang";
    gap: 8px 10px;
    padding: 9px 0 10px;
  }

  .brand {
    grid-area: brand;
    justify-self: start;
  }

  .language-switcher {
    grid-area: lang;
    justify-self: start;
    margin-left: 0;
  }

  .nav__actions {
    grid-area: actions;
    justify-self: end;
    position: absolute;
    top: 16px;
    right: 0;
  }

  .menu-button {
    display: inline-grid !important;
    place-items: center;
    background: var(--white);
  }

  .nav__links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav__links.is-open {
    display: grid;
    gap: 12px;
  }

  .hero__inner,
  .page-title,
  .split,
  .form-wrap,
  .legacy-layout {
    grid-template-columns: 1fr;
  }

  .legacy-page-hero .page-title {
    grid-template-columns: minmax(0, 1fr);
  }

  .quote-panel {
    max-width: 540px;
  }

  .legacy-aside {
    position: static;
    max-width: 620px;
  }

  .solution-grid,
  .sector-grid,
  .process,
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-grid,
  .resource-grid,
  .qa-anchor-grid,
  .footer__grid,
  .legacy-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .topbar__inner,
  .nav,
  .section__inner,
  .footer__inner,
  .hero__inner,
  .page-title {
    width: min(100% - 28px, var(--max));
  }

  .topbar__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 10px 0;
  }

  .nav {
    gap: 8px 10px;
  }

  .brand__logo {
    height: 46px;
    max-width: 185px;
  }

  .language-switcher {
    gap: 4px;
    font-size: 0.78rem;
  }

  .menu-button {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
  }

  .nav__actions .button {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    padding: 70px 0 44px;
  }

  .hero h1,
  .page-title h1,
  .legacy-page-hero h1,
  .not-found h1 {
    font-size: 2.35rem;
  }

  .hero__lead {
    font-size: 1.02rem;
  }

  .hero__facts,
  .solution-grid,
  .sector-grid,
  .process,
  .article-grid,
    .resource-grid,
    .metrics,
    .qa-anchor-grid,
    .qa-columns,
    .map-grid,
    .field-grid,
    .field-grid--compact,
    .form-mode-tabs,
    .footer__grid,
    .section__head,
    .legacy-link-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .section h2 {
    font-size: 1.9rem;
  }

  .cta-band {
    padding: 30px 22px;
  }

  .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .solution-card {
    min-height: auto;
  }

  .solution-card img,
  .sector-card img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .qa-card,
  .form {
    padding: 22px;
  }

  #CybotCookiebotDialog {
    width: calc(100% - 24px) !important;
    max-height: 88dvh !important;
  }

  #CybotCookiebotDialogBodyContent {
    max-height: 30dvh !important;
    overflow-y: auto !important;
  }

  #CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton {
    width: 100% !important;
    min-height: 46px !important;
    margin: 5px 0 !important;
  }

  .cookie-preview-dialog {
    padding: 24px 18px 18px;
  }

  .cookie-preview-actions {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
  }

  .footer__bottom {
    flex-direction: column;
  }

  .footer__legal-links {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .topbar {
    font-size: 0.82rem;
  }

  .brand__logo {
    height: 42px;
    max-width: 155px;
  }

  .language-switcher {
    font-size: 0.72rem;
    gap: 3px;
  }

  .menu-button {
    width: 38px;
    height: 38px;
  }

  .cookie-settings-button {
    left: 8px;
    bottom: 8px;
    min-height: 38px;
    padding: 7px 10px;
    font-size: 0.76rem;
  }

  .hero h1,
  .page-title h1 {
    font-size: 2.05rem;
  }
}
