.home-relmotor,
.empresa-relmotor,
.application-page {
  --ink: #1d1d1f;
  --ink-soft: #5d5f65;
  --line: #d9dadd;
  --line-strong: #b9bbc0;
  --paper: #ffffff;
  --paper-soft: #f4f5f6;
  --red: #c8262c;
  --red-dark: #9f1e23;
  --green: #007452;
  --slate: #455d70;
  --font-ui: "Titillium Web", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --shell: 1360px;
  --gutter: clamp(18px, 3.5vw, 48px);
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

img,
svg {
  display: block;
}

button,
input {
  color: inherit;
  font: inherit;
}

h1,
h2,
p {
  margin: 0;
}

.shell {
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 12px 16px;
}

.skip-link:focus {
  top: 12px;
}

:where(a, button, input):focus-visible {
  outline: 3px solid rgba(0, 116, 82, 0.28);
  outline-offset: 3px;
}

.preview-note {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--slate);
  color: white;
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 6px 16px;
}

.preview-note span {
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  text-transform: uppercase;
}

.site-header {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.98);
}

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

.header-row {
  min-height: 70px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.brand {
  width: 122px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.brand-logo-frame {
  width: 122px;
  height: 62px;
  display: grid;
  place-items: center;
}

.brand-logo {
  position: static;
  width: auto;
  max-width: 100%;
  height: 58px;
  object-fit: contain;
}

.desktop-nav {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 2.6vw, 38px);
}

.desktop-nav a {
  position: relative;
  height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3d3e42;
  font-weight: 600;
}

.desktop-nav a span {
  color: #85878c;
  font-size: 13px;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: 160ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.is-current::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-button {
  min-height: 44px;
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  font-weight: 700;
  padding: 0 13px;
}

.menu-button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.search-band {
  border-bottom: 1px solid var(--line);
  background: white;
  padding-block: 15px;
}

.search-account-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.header-search {
  min-width: 0;
  min-height: 52px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid #bfc2c7;
  border-radius: 8px;
  background: #f2f3f4;
  padding: 4px;
  transition:
    background 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease;
}

.header-search:focus-within {
  border-color: var(--green);
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 116, 82, 0.10);
}

.header-search > svg {
  width: 21px;
  margin-left: 10px;
  fill: none;
  stroke: #5f6167;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.header-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
}

.header-search input::placeholder {
  color: #777980;
}

.header-search button {
  min-width: 98px;
  min-height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: var(--red);
  color: white;
  cursor: pointer;
  font-weight: 700;
}

.header-search button svg {
  width: 19px;
  display: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.header-search button:hover,
.button--primary:hover {
  background: var(--red-dark);
}

.account-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
}

.account-action {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
  padding: 0 15px;
}

.account-action svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.account-action--join {
  border-color: var(--green);
  background: var(--green);
  color: white;
  padding-inline: 18px;
}

.account-action--join:hover {
  border-color: #005f43;
  background: #005f43;
}

.family-nav {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.family-nav__track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding-inline: var(--gutter);
}

.family-nav__track > a {
  min-width: 0;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-right: 1px solid var(--line);
  padding: 7px 14px;
  transition: background 140ms ease;
}

.family-nav__track > a:first-child {
  border-left: 1px solid var(--line);
}

.family-nav__track > a:hover {
  background: var(--paper-soft);
}

.family-nav__track strong {
  font-size: 14px;
  line-height: 1.08;
}

.family-nav__icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--red);
}

.family-nav__track > a:nth-child(-n + 2) .family-nav__icon {
  border-color: var(--red);
  background: var(--red);
  color: white;
}

.family-nav__icon svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.family-nav__chevron {
  margin-left: auto;
  color: #85878c;
  font-size: 14px;
}

.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 0 76%, rgba(69, 93, 112, 0.035) 76% 100%),
    var(--paper);
}

.hero-grid {
  min-height: 455px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  align-items: center;
  gap: clamp(38px, 6vw, 88px);
  padding-block: clamp(48px, 6vw, 72px);
}

.eyebrow {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin-top: 13px;
  font-size: clamp(48px, 5vw, 70px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.hero h1 em {
  color: var(--red);
  font-style: normal;
}

.hero-lead {
  max-width: 590px;
  margin-top: 21px;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 7px;
  font-weight: 700;
  padding: 0 20px;
}

.button--primary {
  border-color: var(--red);
  background: var(--red);
  color: white;
}

.text-link {
  color: var(--green);
  font-weight: 700;
}

.text-link span {
  display: inline-block;
  margin-left: 5px;
}

.hero-product {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-product::before {
  position: absolute;
  inset: 7% 4% 5% 10%;
  z-index: -2;
  border: 1px solid #d9dde0;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(69, 93, 112, 0.10) 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, rgba(69, 93, 112, 0.10) 50%, transparent 50.2%),
    #f7f8f8;
  content: "";
}

.hero-product img {
  width: min(90%, 480px);
  max-height: 330px;
  object-fit: contain;
  filter: drop-shadow(0 22px 22px rgba(34, 38, 42, 0.12));
  mix-blend-mode: multiply;
}

/* Portada pública: mapa técnico de la especialidad, sin campañas ni
   productos aleatorios. La publicidad comercial vive en el hero autenticado. */
.hero-publico {
  position: relative;
  background:
    linear-gradient(90deg, transparent 0 73%, rgba(69, 93, 112, 0.045) 73% 100%),
    #ffffff;
}

.hero-publico::after {
  position: absolute;
  top: 0;
  right: 0;
  width: min(28vw, 430px);
  height: 4px;
  background: linear-gradient(90deg, #164fa2 0 48%, #c8262c 48% 100%);
  content: "";
}

.hero-publico__grid {
  min-height: 460px;
  grid-template-columns: minmax(0, 1.02fr) minmax(470px, 0.98fr);
}

.hero-publico__copy {
  position: relative;
  z-index: 1;
}

.hero-publico__mapa {
  position: relative;
  min-height: 342px;
  overflow: hidden;
  border: 1px solid #ccd1d6;
  border-radius: 16px;
  background:
    linear-gradient(90deg, transparent 49.85%, rgba(69, 93, 112, 0.07) 50%, transparent 50.15%),
    linear-gradient(transparent 49.85%, rgba(69, 93, 112, 0.07) 50%, transparent 50.15%),
    #f5f6f7;
  background-size: 72px 72px;
  box-shadow: 0 24px 56px rgba(46, 55, 63, 0.12);
  padding: 24px;
}

.hero-publico__cabecera {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.hero-publico__cabecera span,
.hero-publico__lineas span {
  color: #737980;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-publico__cabecera strong {
  max-width: 210px;
  color: #30363b;
  font-size: 14px;
  line-height: 1.15;
  text-align: right;
}

.hero-publico__circuito {
  height: 62px;
  display: grid;
  grid-template-columns: 9px 1fr 42px 1fr 9px;
  align-items: center;
  gap: 0;
  margin: 5px 12% 3px;
}

.hero-publico__circuito i {
  height: 1px;
  background: #aeb5bb;
}

.hero-publico__circuito span {
  width: 9px;
  height: 9px;
  border: 2px solid #c8262c;
  border-radius: 50%;
  background: white;
}

.hero-publico__circuito span:last-child {
  border-color: #164fa2;
}

.hero-publico__circuito b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #263744;
  color: white;
  font-family: var(--font-mono);
  font-size: 18px;
}

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

.hero-publico__lineas a {
  min-width: 0;
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid #d6dadd;
  border-top: 4px solid #c8262c;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  padding: 15px;
  transition: border-color 150ms ease, transform 150ms ease;
}

.hero-publico__lineas a + a {
  border-top-color: #164fa2;
}

.hero-publico__lineas a:hover {
  border-color: #8e969d;
  transform: translateY(-2px);
}

.hero-publico__lineas strong {
  margin-top: 8px;
  font-size: 21px;
  line-height: 1.05;
}

.hero-publico__lineas small {
  margin-top: 5px;
  color: #6f7479;
  font-size: 12px;
}

.hero-publico__componentes {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  border-top: 1px solid #cbd0d4;
  color: #38424a;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 3px 0;
}

.hero-publico__componentes strong {
  color: var(--red);
  font-size: 18px;
}

/* Campaña de portada: nuevo ingreso AS Parts.
   Paleta sobria Relmotor: gris azulado claro con acento AS. */
.hero-as {
  position: relative;
  border-bottom-color: #c8d2d8;
  background:
    radial-gradient(circle at 82% 18%, rgba(200, 38, 44, 0.10), transparent 30%),
    linear-gradient(128deg, #e7ecef 0%, #dce4e8 62%, #f2f4f5 100%);
  color: #1d252b;
}

.hero-as::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.85%, rgba(69, 93, 112, 0.055) 50%, transparent 50.15%),
    linear-gradient(transparent 49.85%, rgba(69, 93, 112, 0.05) 50%, transparent 50.15%);
  background-size: 124px 124px;
  content: "";
  pointer-events: none;
}

.hero-as__grid {
  position: relative;
  min-height: 470px;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: clamp(38px, 5vw, 76px);
  padding-block: clamp(42px, 5vw, 66px);
}

.hero-as__copy {
  position: relative;
  z-index: 2;
}

.hero-as__brand {
  width: max-content;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(69, 93, 112, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  padding: 5px 7px 5px 14px;
}

.hero-as__brand span {
  color: #455d70;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-as__brand img {
  width: 93px;
  height: 38px;
  border-radius: 5px;
  background: white;
  object-fit: contain;
  padding: 5px 7px;
}

.hero-as h1 {
  max-width: 650px;
  margin-top: 21px;
  color: #1d252b;
}

.hero-as h1 em {
  color: #c8262c;
}

.hero-as .hero-lead {
  max-width: 610px;
  color: #4f5d68;
}

.hero-as .hero-actions {
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}

.hero-as__button {
  min-height: 50px;
  gap: 18px;
  border-color: #d52b32;
  background: #d52b32;
  box-shadow: 0 12px 30px rgba(25, 44, 58, 0.18);
  padding-inline: 22px;
  transition:
    background 150ms ease,
    border-color 150ms ease,
    transform 150ms ease;
}

.hero-as__button:hover {
  border-color: #ed343b;
  background: #ed343b;
  transform: translateY(-1px);
}

.hero-as__button span {
  font-size: 19px;
  line-height: 1;
}

.hero-as__note {
  color: #687681;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.hero-as__showcase {
  position: relative;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #cbd3d9;
  border-radius: 18px;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(69, 93, 112, 0.08) 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, rgba(69, 93, 112, 0.08) 50%, transparent 50.2%),
    #f4f5f5;
  background-size: 80px 80px;
  box-shadow: 0 28px 65px rgba(42, 58, 70, 0.16);
  color: var(--ink);
  padding: 44px 18px 17px;
  transition:
    border-color 160ms ease,
    transform 160ms ease;
}

.hero-as__showcase:hover {
  border-color: rgba(255, 59, 65, 0.8);
  transform: translateY(-2px);
}

.hero-as__showcase::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 86px;
  height: 6px;
  background: #d52b32;
  content: "";
}

.hero-as__showcase-label {
  position: absolute;
  top: 16px;
  left: 19px;
  color: #626970;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.hero-as__products {
  min-height: 245px;
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1.35fr) minmax(150px, 0.65fr);
  grid-template-rows: repeat(2, minmax(112px, 1fr));
  gap: 10px;
}

.hero-as__product {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(86px, 1fr) auto;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  border: 1px solid #d9dde0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  padding: 10px;
}

.hero-as__product--main {
  grid-row: 1 / span 2;
  grid-template-columns: 1fr;
  align-content: center;
  padding: 13px;
}

.hero-as__product img {
  width: 100%;
  height: 86px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.hero-as__product--main img {
  height: 205px;
}

.hero-as__product > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.hero-as__product strong {
  overflow: hidden;
  color: #22262a;
  font-family: var(--font-mono);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-as__product span {
  margin-top: 2px;
  color: #72787e;
  font-size: 10px;
  line-height: 1.15;
  text-transform: capitalize;
}

.hero-as__product--main > div {
  position: absolute;
  right: 13px;
  bottom: 12px;
  left: 13px;
  border-left: 3px solid #d52b32;
  background: rgba(255, 255, 255, 0.94);
  padding: 7px 9px;
}

.hero-as__empty {
  min-height: 245px;
  display: grid;
  place-content: center;
  text-align: center;
}

.hero-as__empty span {
  color: #d52b32;
  font-size: 72px;
  font-weight: 900;
  line-height: 0.8;
}

.hero-as__empty strong {
  margin-top: 12px;
  color: #1c2228;
  font-family: var(--font-mono);
  letter-spacing: 0.22em;
}

.hero-as__showcase-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 13px;
  color: #1f252a;
  font-weight: 700;
  padding-inline: 2px;
}

.hero-as__showcase-link span {
  color: #d52b32;
  font-size: 18px;
}

.datum-line {
  position: absolute;
  top: 2%;
  bottom: 0;
  left: 10%;
  z-index: -1;
  width: 2px;
  background: var(--red);
}

.datum-line::before,
.datum-line::after {
  position: absolute;
  left: 50%;
  width: 11px;
  height: 11px;
  border: 2px solid var(--red);
  border-radius: 50%;
  background: white;
  content: "";
  transform: translate(-50%, -50%);
}

.datum-line::before {
  top: 0;
}

.datum-line::after {
  top: 100%;
}

.product-label {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--red);
  background: rgba(255, 255, 255, 0.94);
  padding: 7px 10px;
}

.product-label span {
  color: #74767b;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-label strong {
  font-size: 13px;
}

.product-label--top {
  top: 3%;
  right: 0;
}

.product-label--bottom {
  right: 2%;
  bottom: 1%;
}

.proof-section {
  border-bottom: 1px solid var(--line);
  background: white;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.proof-grid article {
  min-height: 124px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  padding-block: 28px;
  padding-inline: clamp(16px, 2.8vw, 36px);
}

.proof-grid article + article {
  border-left: 1px solid var(--line);
}

.proof-mark {
  width: 11px;
  height: 11px;
  border: 3px solid rgba(200, 38, 44, 0.2);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 1px var(--red);
}

.proof-grid h2 {
  font-size: 20px;
  line-height: 1.1;
}

.proof-grid p {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 14px;
}

.brand-band {
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
}

.brand-band__row {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}

.brand-band__row > p {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
}

.brand-list span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border-left: 1px solid var(--line);
  color: #414247;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.professional-section {
  padding-block: clamp(42px, 5vw, 64px);
}

.professional-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  border-radius: 12px;
  background: var(--slate);
  color: white;
  padding: clamp(28px, 4vw, 44px);
}

.professional-card .eyebrow {
  color: #9be0c5;
}

.professional-card h2 {
  max-width: 720px;
  margin-top: 7px;
  font-size: clamp(27px, 2.7vw, 38px);
  letter-spacing: -0.03em;
  line-height: 1.06;
}

.professional-card p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 11px;
  color: #dfe7eb;
  font-size: 16px;
}

.professional-actions {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 8px;
}

.button--light {
  border-color: white;
  background: white;
  color: var(--slate);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.75);
  color: white;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-soft);
}

.footer-row {
  min-height: 108px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
}

.footer-row > div:first-child {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.footer-row > div:first-child strong {
  font-size: 20px;
  font-weight: 900;
}

.footer-row > div:first-child span,
.footer-row p,
.footer-links {
  color: var(--ink-soft);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 22px;
  font-weight: 700;
}

.page-title-bar {
  border-bottom: 1px solid #303b49;
  background: #1c2531;
  color: white;
}

.page-title-bar .shell {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-title-bar strong,
.page-title-bar h1 {
  font-size: 15px;
}

.page-title-bar span {
  color: #a9b2bd;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.company-hero {
  padding-block: clamp(34px, 4.5vw, 62px);
}

.company-hero__panel {
  position: relative;
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(38px, 6vw, 84px);
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 94% 14%, rgba(200, 38, 44, 0.25), transparent 32%),
    linear-gradient(135deg, #111c27 0%, #1d2937 58%, #293746 100%);
  color: white;
  padding: clamp(44px, 6vw, 80px);
  isolation: isolate;
}

.company-hero__copy {
  position: relative;
  z-index: 2;
}

.company-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: #dfe5ea;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 8px 13px;
  text-transform: uppercase;
}

.company-kicker span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.company-hero h1 {
  max-width: 720px;
  margin-top: 23px;
  font-size: clamp(46px, 5.3vw, 74px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.company-hero__copy > p:last-child {
  max-width: 650px;
  margin-top: 25px;
  color: #dce3e8;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
}

.company-hero__facts {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
}

.company-hero__facts article {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 20px 24px;
  backdrop-filter: blur(10px);
}

.company-hero__facts strong {
  font-size: clamp(29px, 3vw, 42px);
  letter-spacing: -0.03em;
  line-height: 1;
}

.company-hero__facts span {
  margin-top: 8px;
  color: #d7dfe5;
  font-size: 14px;
  line-height: 1.25;
}

.company-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(255, 255, 255, 0.18) 50%, transparent 50.1%),
    linear-gradient(transparent 49.9%, rgba(255, 255, 255, 0.14) 50%, transparent 50.1%);
  background-size: 160px 160px;
  mask-image: linear-gradient(90deg, transparent 0%, black 58%, black 100%);
}

.company-story {
  padding-block: clamp(70px, 8vw, 112px);
}

.company-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  gap: clamp(58px, 8vw, 118px);
  align-items: start;
}

.company-story h2,
.company-section-heading h2,
.company-path h2,
.company-principles h2,
.company-cta h2 {
  margin-top: 8px;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.company-story__copy > p:not(.eyebrow) {
  max-width: 750px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.62;
}

.company-data {
  border-top: 4px solid var(--red);
  background: var(--paper-soft);
  padding: 27px 30px 30px;
}

.company-data__label {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-data dl {
  margin: 18px 0 0;
}

.company-data dl > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-block: 15px;
}

.company-data dt {
  color: #777980;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.company-data dd {
  margin: 0;
  font-weight: 700;
}

.company-focus {
  border-block: 1px solid var(--line);
  background: var(--paper-soft);
  padding-block: clamp(64px, 7vw, 92px);
}

.company-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
}

.company-section-heading > p {
  max-width: 390px;
  color: var(--ink-soft);
  font-size: 16px;
}

.company-focus__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.company-focus__grid article {
  min-height: 280px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  border: 1px solid var(--line);
  background: white;
  padding: 30px;
}

.company-focus__grid article > span {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-focus__grid h3 {
  margin: 42px 0 0;
  font-size: 27px;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.company-focus__grid p {
  margin-top: 13px;
  color: var(--ink-soft);
}

.company-focus__grid a {
  margin-top: auto;
  color: var(--green);
  font-weight: 700;
}

.company-path {
  padding-block: clamp(72px, 8vw, 112px);
}

.company-path__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(48px, 8vw, 120px);
}

.company-path ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.company-path li {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-block: 24px;
}

.company-path li:last-child {
  border-bottom: 1px solid var(--line);
}

.company-path li > span {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.company-path h3 {
  margin: 0;
  font-size: 22px;
}

.company-path li p {
  margin-top: 6px;
  color: var(--ink-soft);
}

.company-principles {
  background: #17222d;
  color: white;
  padding-block: clamp(70px, 8vw, 108px);
}

.company-principles__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(58px, 9vw, 130px);
  align-items: start;
}

.company-principles__statement .eyebrow {
  color: #8fddc1;
}

.company-principles__statement > p:last-child {
  max-width: 650px;
  margin-top: 23px;
  color: #cad5dc;
  font-size: 18px;
  line-height: 1.6;
}

.company-principles__list article {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-block: 21px;
}

.company-principles__list article:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.company-principles__list h3 {
  margin: 0;
  font-size: 21px;
}

.company-principles__list p {
  margin-top: 7px;
  color: #b8c5cd;
}

.company-cta {
  padding-block: clamp(42px, 5vw, 66px);
}

.company-cta__panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  border-radius: 12px;
  background: var(--slate);
  color: white;
  padding-block: clamp(30px, 4vw, 46px);
}

.company-cta .eyebrow {
  color: #9be0c5;
}

.company-cta h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.company-cta__actions {
  display: flex;
  align-items: stretch;
  gap: 9px;
}

.application-page {
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
}

.application-hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(110deg, rgba(200, 38, 44, 0.045), transparent 42%),
    white;
  padding-block: clamp(27px, 3vw, 39px);
}

.application-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(370px, 0.85fr);
  align-items: center;
  gap: clamp(36px, 6vw, 82px);
}

.application-hero h1 {
  max-width: 790px;
  margin-top: 7px;
  font-size: clamp(35px, 3.6vw, 50px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.application-hero__lead {
  max-width: 650px;
  margin-top: 13px;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.45;
}

.application-route {
  border-left: 3px solid var(--red);
  padding-left: 22px;
}

.application-route__label {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.application-route ol {
  display: grid;
  gap: 9px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.application-route li {
  display: grid;
  grid-template-columns: 25px 1fr;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}

.application-route li span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: white;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 10px;
}

.application-workspace {
  display: grid;
  grid-template-columns: minmax(230px, 0.58fr) minmax(0, 1.42fr);
  align-items: start;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(44px, 6vw, 78px);
}

.application-aside {
  position: sticky;
  top: 24px;
}

.application-aside__card {
  border-top: 4px solid var(--slate);
  background: white;
  padding: 25px 24px 27px;
}

.application-aside__card + .application-aside__card {
  margin-top: 12px;
}

.application-aside h2 {
  font-size: 23px;
  letter-spacing: -0.025em;
}

.application-aside p,
.application-aside li {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.48;
}

.application-aside p {
  margin-top: 12px;
}

.application-aside ul {
  display: grid;
  gap: 10px;
  margin: 17px 0 0;
  padding-left: 18px;
}

.application-aside__existing {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 19px;
  color: var(--green);
  font-weight: 700;
}

.application-form {
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 18px 50px rgba(38, 55, 68, 0.06);
}

.application-form__notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid #c8d9d3;
  background: #edf7f3;
  color: #174f3d;
  padding: 18px 24px;
}

.application-form__notice svg {
  width: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.application-form__notice p {
  font-size: 14px;
  line-height: 1.45;
}

.application-section {
  padding: clamp(24px, 4vw, 40px);
}

.application-section + .application-section {
  border-top: 1px solid var(--line);
}

.application-section__heading {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 25px;
}

.application-section__number {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}

.application-section h2 {
  font-size: 25px;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.application-section__heading p {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 14px;
}

.application-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
}

.application-field {
  display: grid;
  align-self: start;
  align-content: start;
  grid-auto-rows: max-content;
  gap: 7px;
}

.application-field--wide {
  grid-column: 1 / -1;
}

.application-field > span,
.application-choice > legend {
  color: #3f4146;
  font-size: 13px;
  font-weight: 700;
}

.application-field em {
  color: var(--red);
  font-style: normal;
}

.application-field input,
.application-field select,
.application-field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #c7c9cd;
  border-radius: 6px;
  outline: 0;
  background: #fafafa;
  padding: 10px 12px;
}

.application-field input,
.application-field select {
  height: 46px;
}

.application-field textarea {
  min-height: 105px;
  resize: vertical;
}

.application-field input:focus,
.application-field select:focus,
.application-field textarea:focus {
  border-color: var(--green);
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 116, 82, 0.10);
}

.application-field input.is-invalid,
.application-field select.is-invalid {
  border-color: var(--red);
  background: #fff8f8;
}

.application-field input.is-invalid:focus,
.application-field select.is-invalid:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 38, 44, 0.10);
}

.application-field input.is-valid,
.application-field select.is-valid {
  border-color: var(--green);
  background: #f8fcfa;
}

.application-field small {
  color: #7b7d82;
  font-size: 12px;
}

.application-field .application-field__error {
  min-height: 17px;
  color: var(--red);
  font-weight: 600;
}

.application-choice {
  grid-column: 1 / -1;
  margin: 0;
  border: 0;
  padding: 0;
}

.application-choice__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.application-choice label {
  position: relative;
}

.application-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.application-choice span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fafafa;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 13px;
}

.application-choice input:checked + span {
  border-color: var(--green);
  background: #e7f4ef;
  color: #075d44;
}

.application-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.application-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--green);
}

.application-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 25px;
}

.application-actions p {
  max-width: 360px;
  color: #76787d;
  font-size: 12px;
  line-height: 1.45;
}

.application-actions .button {
  min-width: 180px;
  border: 0;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .application-hero__grid {
    grid-template-columns: 1fr 330px;
    gap: 38px;
  }

  .application-workspace {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .desktop-nav {
    display: none;
  }

  .header-row {
    grid-template-columns: 1fr auto;
  }

  .menu-button {
    display: inline-flex;
  }

  .family-nav__track {
    overflow-x: auto;
    grid-template-columns: repeat(6, minmax(184px, 1fr));
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.82fr;
    gap: 30px;
  }

  .hero-publico__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(410px, 1.08fr);
    gap: 28px;
  }

  .hero-product {
    min-height: 300px;
  }

  .hero-as__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(450px, 1.1fr);
    gap: 28px;
  }

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

  .hero-as__product:not(.hero-as__product--main) > div {
    display: none;
  }

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

  .professional-actions {
    flex-direction: row;
  }

  .company-hero__panel {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 34px;
  }

  .company-story__grid,
  .company-principles__layout {
    gap: 54px;
  }

  .company-cta__panel {
    grid-template-columns: 1fr;
  }
}

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

  .hero-publico__mapa {
    width: 100%;
    max-width: 660px;
  }

  .application-hero__grid,
  .application-workspace {
    grid-template-columns: 1fr;
  }

  .application-route {
    max-width: 620px;
  }

  .application-aside {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .application-aside__card + .application-aside__card {
    margin-top: 0;
  }

  .company-hero__panel {
    grid-template-columns: 1fr;
  }

  .company-hero__facts {
    grid-template-columns: repeat(3, 1fr);
  }

  .company-hero__facts article {
    min-height: 128px;
    padding: 18px;
  }

  .company-story__grid,
  .company-path__layout,
  .company-principles__layout {
    grid-template-columns: 1fr;
  }

  .company-focus__grid {
    grid-template-columns: 1fr;
  }

  .company-focus__grid article {
    min-height: 220px;
  }
}

@media (max-width: 760px) {
  .preview-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    padding-block: 7px;
  }

  .preview-note strong {
    font-size: 11px;
  }

  .header-row {
    min-height: 64px;
  }

  .menu-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .menu-button {
    width: 44px;
    justify-content: center;
    padding: 0;
  }

  .search-band {
    padding-block: 8px;
  }

  .search-account-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
  }

  .header-search {
    min-height: 46px;
  }

  .header-search input {
    font-size: 15px;
  }

  .header-search button {
    width: 42px;
    min-width: 42px;
    min-height: 38px;
    padding: 0;
  }

  .header-search button span {
    display: none;
  }

  .header-search button svg {
    display: block;
  }

  .account-cluster {
    gap: 5px;
  }

  .account-action {
    width: 44px;
    min-height: 46px;
    padding: 0;
  }

  .account-action span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .account-action--join {
    display: none;
  }

  .family-nav__track {
    margin-inline: 0;
    grid-template-columns: repeat(6, 164px);
    padding-inline: 0;
  }

  .family-nav__track > a {
    min-height: 60px;
    padding: 8px 12px;
  }

  .family-nav__track > a:first-child {
    border-left: 0;
  }

  .family-nav__track strong {
    font-size: 13px;
  }

  .family-nav__icon {
    width: 32px;
    height: 32px;
  }

  .hero {
    background: white;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
    padding-block: 38px 44px;
  }

  .hero-publico__grid {
    min-height: 0;
  }

  .hero-publico::after {
    width: 44vw;
  }

  .hero-publico__mapa {
    min-height: 320px;
    border-radius: 13px;
    padding: 18px;
  }

  .hero-publico__cabecera strong {
    max-width: 165px;
    font-size: 12px;
  }

  .hero-publico__circuito {
    margin-inline: 8%;
  }

  .hero-publico__lineas a {
    min-height: 116px;
    padding: 12px;
  }

  .hero-publico__lineas strong {
    font-size: 17px;
  }

  .hero-as {
    background:
      radial-gradient(circle at 90% 38%, rgba(200, 38, 44, 0.11), transparent 34%),
      linear-gradient(150deg, #e4eaed 0%, #f3f5f6 100%);
  }

  .hero-as__grid {
    min-height: 0;
    gap: 30px;
    padding-block: 34px 38px;
  }

  .hero h1 {
    font-size: clamp(43px, 13vw, 58px);
  }

  .hero-as h1 {
    margin-top: 18px;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 18px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    margin-top: 24px;
  }

  .hero-as .hero-actions {
    gap: 11px;
  }

  .hero-as__button {
    width: 100%;
    min-height: 50px;
  }

  .hero-as__showcase {
    min-height: 310px;
    padding: 41px 13px 14px;
  }

  .hero-as__products {
    min-height: 205px;
    grid-template-columns: minmax(0, 1.25fr) minmax(96px, 0.75fr);
    grid-template-rows: repeat(2, minmax(92px, 1fr));
    gap: 7px;
  }

  .hero-as__product {
    padding: 7px;
  }

  .hero-as__product img {
    height: 72px;
  }

  .hero-as__product--main img {
    height: 170px;
  }

  .hero-product {
    min-height: 276px;
  }

  .hero-product::before {
    inset: 6% 0 4% 7%;
  }

  .hero-product img {
    max-height: 260px;
  }

  .datum-line {
    left: 7%;
  }

  .product-label--top {
    right: 3%;
  }

  .product-label--bottom {
    right: 5%;
  }

  .proof-grid {
    grid-template-columns: 1fr;
    padding-block: 8px;
  }

  .proof-grid article {
    min-height: 94px;
    padding-block: 19px;
  }

  .proof-grid article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .brand-band__row {
    display: block;
    padding-block: 22px;
  }

  .brand-list {
    overflow-x: auto;
    grid-template-columns: repeat(6, minmax(112px, 1fr));
    margin-top: 13px;
    overscroll-behavior-inline: contain;
  }

  .brand-list span:first-child {
    border-left: 0;
  }

  .professional-section {
    padding-block: 0;
  }

  .professional-card {
    width: 100%;
    border-radius: 0;
    padding-block: 36px;
  }

  .professional-actions {
    flex-direction: column;
  }

  .footer-row {
    grid-template-columns: 1fr;
    gap: 13px;
    padding-block: 26px;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .page-title-bar .shell {
    min-height: 42px;
  }

  .company-hero {
    padding-block: 0;
  }

  .company-hero .shell {
    padding-inline: 0;
  }

  .company-hero__panel {
    min-height: 0;
    border-radius: 0;
    padding: 42px var(--gutter) 48px;
  }

  .company-hero h1 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .company-hero__copy > p:last-child {
    font-size: 17px;
  }

  .company-hero__facts {
    grid-template-columns: 1fr;
  }

  .company-hero__facts article {
    min-height: 96px;
  }

  .company-story {
    padding-block: 58px;
  }

  .company-story__grid {
    gap: 42px;
  }

  .company-story h2,
  .company-section-heading h2,
  .company-path h2,
  .company-principles h2 {
    font-size: 36px;
  }

  .company-story__copy > p:not(.eyebrow) {
    font-size: 17px;
  }

  .company-data {
    padding-inline: 22px;
  }

  .company-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .company-focus {
    padding-block: 54px;
  }

  .company-focus__grid {
    margin-top: 26px;
  }

  .company-focus__grid article {
    min-height: 230px;
    padding: 24px;
  }

  .company-path {
    padding-block: 58px;
  }

  .company-path__layout {
    gap: 35px;
  }

  .company-path li {
    grid-template-columns: 78px 1fr;
    gap: 18px;
  }

  .company-principles {
    padding-block: 58px;
  }

  .company-principles__layout {
    gap: 42px;
  }

  .company-cta {
    padding-block: 0;
  }

  .company-cta__panel {
    width: 100%;
    border-radius: 0;
    padding-block: 36px;
  }

  .company-cta__actions {
    flex-direction: column;
  }

  .application-hero {
    padding-block: 25px 29px;
  }

  .application-hero h1 {
    font-size: clamp(34px, 10.5vw, 42px);
  }

  .application-route {
    display: none;
  }

  .application-aside {
    display: none;
  }

  .application-hero__grid {
    gap: 0;
  }

  .application-workspace {
    gap: 0;
    padding-block: 26px 44px;
  }

  .application-fields {
    grid-template-columns: 1fr;
  }

  .application-field--wide,
  .application-choice {
    grid-column: auto;
  }

  .application-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .application-actions .button {
    width: 100%;
  }
}

@media (max-width: 470px) {
  .header-search > svg {
    margin-left: 6px;
  }

  .search-account-row {
    gap: 5px;
  }

  .account-cluster {
    gap: 4px;
  }

  .account-action {
    width: 40px;
  }

  .product-label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Carrusel editorial de portada. El primer banner conserva la segmentación
   público/cliente y el segundo comunica la relación institucional con AS-PL. */
.home-carrusel {
  position: relative;
  isolation: isolate;
  background: #fff;
}

.home-carrusel__diapositiva[hidden] {
  display: none !important;
}

.home-carrusel__diapositiva:not([hidden]) {
  animation: home-carrusel-entrada 320ms ease both;
}

.home-carrusel__controles {
  position: absolute;
  right: max(var(--gutter), calc((100vw - var(--shell)) / 2 + var(--gutter)));
  bottom: 17px;
  z-index: 4;
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(69, 93, 112, 0.20);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(35, 51, 63, 0.12);
  padding: 4px 7px;
  backdrop-filter: blur(10px);
}

.home-carrusel__controles > button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #344551;
  cursor: pointer;
}

.home-carrusel__controles > button:hover {
  background: #edf0f2;
}

.home-carrusel__puntos {
  display: flex;
  align-items: center;
  gap: 6px;
}

.home-carrusel__puntos button {
  width: 30px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.home-carrusel__puntos button::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #59636a;
  content: "";
  transition: width 160ms ease, background 160ms ease;
}

.home-carrusel__puntos button.es-activo::before {
  width: 22px;
  background: #c8262c;
}

.hero-aspl-partner {
  position: relative;
  border-bottom-color: #c7d0d6;
  background:
    radial-gradient(circle at 84% 22%, rgba(22, 79, 162, 0.10), transparent 31%),
    linear-gradient(125deg, #f8f9fa 0%, #e8edf0 58%, #dfe7ec 100%);
}

.hero-aspl-partner::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(69, 93, 112, 0.055) 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, rgba(69, 93, 112, 0.05) 50%, transparent 50.2%);
  background-size: 112px 112px;
  content: "";
  pointer-events: none;
}

.hero-aspl-partner__grid {
  position: relative;
  min-height: 470px;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: clamp(38px, 5vw, 76px);
  padding-block: clamp(42px, 5vw, 66px);
}

.hero-aspl-partner__copy {
  position: relative;
  z-index: 2;
}

.hero-aspl-partner__marca {
  width: max-content;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  border: 1px solid rgba(69, 93, 112, 0.22);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.78);
  padding: 5px 8px 5px 14px;
}

.hero-aspl-partner__marca span {
  color: #293945;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-aspl-partner__marca i {
  color: #8b969e;
  font-style: normal;
}

.hero-aspl-partner__marca img {
  width: 103px;
  height: 38px;
  border-radius: 5px;
  background: #fff;
  object-fit: contain;
  padding: 5px 7px;
}

.hero-aspl-partner h2 {
  max-width: 650px;
  margin: 12px 0 0;
  color: #1d252b;
  font-size: clamp(48px, 5vw, 70px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.hero-aspl-partner h2 em {
  color: #c8262c;
  font-style: normal;
}

.hero-aspl-partner .hero-actions .button {
  gap: 15px;
}

.hero-aspl-partner__media {
  position: relative;
  min-height: 345px;
  align-self: center;
  overflow: hidden;
  border: 1px solid #bfc9cf;
  border-radius: 18px;
  background: #213645;
  box-shadow: 0 28px 65px rgba(42, 58, 70, 0.18);
  color: #fff;
  transition: border-color 160ms ease, transform 160ms ease;
}

.hero-aspl-partner__media:hover {
  border-color: rgba(200, 38, 44, 0.72);
  transform: translateY(-2px);
}

.hero-aspl-partner__media picture,
.hero-aspl-partner__media img {
  width: 100%;
  height: 100%;
}

.hero-aspl-partner__media img {
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.hero-aspl-partner__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(15, 28, 37, 0.86) 100%);
  content: "";
}

.hero-aspl-partner__media-tag {
  position: absolute;
  top: 17px;
  left: 17px;
  z-index: 2;
  border-radius: 999px;
  background: #c8262c;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  padding: 7px 10px;
  text-transform: uppercase;
}

.hero-aspl-partner__media-link {
  position: absolute;
  right: 20px;
  bottom: 17px;
  left: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 700;
}

.hero-aspl-partner__media-link b {
  color: #ff4a4f;
  font-size: 20px;
}

@keyframes home-carrusel-entrada {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 1100px) {
  .hero-aspl-partner__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
    gap: 28px;
  }
}

@media (max-width: 900px) {
  .hero-aspl-partner__grid {
    grid-template-columns: 1fr;
  }

  .hero-aspl-partner__media {
    width: 100%;
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .home-carrusel__controles {
    position: static;
    width: max-content;
    margin: 10px auto 12px;
    transform: none;
  }

  .hero-aspl-partner {
    background: linear-gradient(150deg, #f7f8f9 0%, #e5ebee 100%);
  }

  .hero-aspl-partner__grid {
    min-height: 0;
    display: flex;
    gap: 28px;
    padding-block: 34px 38px;
  }

  .hero-aspl-partner h2 {
    font-size: clamp(43px, 13vw, 58px);
  }

  .hero-aspl-partner__media {
    min-height: 270px;
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-carrusel__diapositiva:not([hidden]) {
    animation: none;
  }
}
