:root {
  --color-refleja: #00645f;
  --color-refleja-dark: #004c48;
  --color-mostaza: #eba00a;
  --color-mostaza-dark: #8a5a00;
  /* La mostaza de marca solo llega a 3.6:1 sobre el verde oscuro; esta pasa AA. */
  --color-mostaza-light: #f6c453;
  --color-text: #173331;
  --color-muted: #61706f;
  --color-line: #dce7e4;
  --color-page: #f7faf9;
  --color-white: #ffffff;
  --glass: rgba(255, 255, 255, 0.66);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(255, 255, 255, 0.76);
  --shadow-soft: 0 24px 70px rgba(0, 76, 72, 0.12);
  --shadow-glass: 0 20px 45px rgba(0, 76, 72, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  --radius: 8px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  /* El encabezado es fijo: sin este margen, cada salto del menú deja el título debajo. */
  scroll-padding-top: 104px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

.solo-lectores {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 8% 10%, rgba(235, 160, 10, 0.12), transparent 24rem),
    radial-gradient(circle at 88% 18%, rgba(0, 100, 95, 0.14), transparent 30rem),
    radial-gradient(circle at 54% 70%, rgba(45, 141, 132, 0.08), transparent 34rem),
    linear-gradient(145deg, #f8fbfa 0%, #edf6f4 48%, #f8faf7 100%);
  background-attachment: fixed;
  color: var(--color-text);
  line-height: 1.55;
}

body::before {
  position: fixed;
  z-index: -1;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  pointer-events: none;
  content: "";
}

body::before {
  top: 18%;
  left: -14rem;
  background: linear-gradient(135deg, rgba(235, 160, 10, 0.24), rgba(255, 255, 255, 0));
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: var(--radius);
  background: var(--color-refleja-dark);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

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

:where(a, button):focus-visible {
  outline: 3px solid rgba(0, 100, 95, 0.32);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 30px rgba(0, 76, 72, 0.06);
  backdrop-filter: blur(22px) saturate(145%);
}

.site-header img {
  width: 142px;
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  justify-content: flex-end;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--color-muted);
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-refleja-dark);
  box-shadow: inset 0 0 0 1px rgba(0, 100, 95, 0.08);
}

main {
  width: min(1000px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px) clamp(16px, 4vw, 32px);
}

.hero {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: clamp(48px, 9vw, 96px) clamp(16px, 4vw, 32px) clamp(40px, 7vw, 72px);
  overflow: hidden;
  text-align: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(242, 249, 247, 0.58));
  border-radius: 28px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(24px) saturate(130%);
}

.hero::after {
  position: absolute;
  inset: 1px;
  border-radius: 27px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.68), transparent 34%, rgba(255, 255, 255, 0.18));
  pointer-events: none;
  content: "";
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(420px 220px at 12% -10%, rgba(0, 100, 95, 0.10), transparent 65%),
    radial-gradient(360px 200px at 92% 0%, rgba(235, 160, 10, 0.14), transparent 60%);
  pointer-events: none;
}

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

.hero > .hero-glow {
  z-index: 1;
}

.hero > :not(.hero-glow) {
  z-index: 2;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 248, 226, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 22px rgba(138, 90, 0, 0.08), inset 0 1px 0 #fff;
  backdrop-filter: blur(12px);
  color: #7a4c00;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-mostaza);
  content: "";
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.hero h1 strong {
  color: var(--color-refleja);
}

.hero p {
  max-width: 620px;
  margin: 0;
  color: var(--color-muted);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.hero-meta {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 6px 0 0;
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-meta svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex: none;
  fill: none;
  stroke: var(--color-refleja);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.primary-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: linear-gradient(145deg, #08736d, var(--color-refleja-dark));
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 76, 72, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-link:hover {
  background: linear-gradient(145deg, #0a7d76, #00433f);
  box-shadow: 0 16px 34px rgba(0, 76, 72, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.flow {
  padding: clamp(40px, 7vw, 64px) 0 clamp(8px, 2vw, 16px);
}

.flow h2 {
  margin: 0 0 clamp(28px, 5vw, 40px);
  font-size: 1.35rem;
  text-align: center;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: paso;
}

.flow-steps li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 0 12px;
  text-align: center;
}

.flow-steps li::before {
  counter-increment: paso;
  content: counter(paso);
  position: absolute;
  top: -6px;
  right: calc(50% - 34px);
  z-index: 2;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-mostaza);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.flow-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  color: var(--color-refleja);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(16px);
}

.flow-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-steps strong {
  margin-top: 4px;
  font-size: 0.98rem;
}

.flow-steps p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.87rem;
}

.problem {
  max-width: 700px;
  margin: 0 auto;
  padding: clamp(44px, 8vw, 76px) 0 clamp(36px, 6vw, 56px);
  text-align: center;
}

.problem h2 {
  margin: 0 0 clamp(20px, 4vw, 28px);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.25;
}

.problem-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.problem-list li {
  padding: 12px 18px;
  border-left: 3px solid var(--color-mostaza);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--glass);
  border-top: 1px solid var(--glass-border);
  border-right: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  color: var(--color-text);
  text-align: left;
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(16px) saturate(125%);
}

.problem-close {
  margin: clamp(20px, 4vw, 28px) 0 0;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.sectors {
  margin: 0;
  padding: 16px 22px;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background: var(--glass);
  color: var(--color-muted);
  font-size: 0.95rem;
  text-align: center;
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(16px) saturate(125%);
}

.sectors strong {
  color: var(--color-refleja-dark);
}

.features {
  padding: clamp(48px, 8vw, 80px) 0;
}

.features-heading {
  max-width: 680px;
  margin: 0 0 clamp(28px, 5vw, 42px);
}

.eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--color-refleja);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.features-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.2;
}

.features-heading p {
  margin: 0;
  color: var(--color-muted);
}

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

.feature {
  position: relative;
  min-height: 230px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  background: var(--glass);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(20px) saturate(130%);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.feature-highlight {
  background: linear-gradient(145deg, rgba(0, 91, 86, 0.94), rgba(0, 61, 58, 0.9));
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.feature:hover {
  box-shadow: 0 26px 58px rgba(0, 76, 72, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translateY(-3px);
}

.feature-number {
  display: block;
  margin-bottom: 34px;
  color: var(--color-mostaza-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.feature-highlight .feature-number {
  color: var(--color-mostaza-light);
}

.feature h3 {
  max-width: 390px;
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.3;
}

.feature p {
  max-width: 390px;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.feature-highlight p {
  color: rgba(255, 255, 255, 0.78);
}

.advantages {
  padding: clamp(32px, 6vw, 56px) 0 clamp(8px, 2vw, 16px);
  border-top: 1px solid var(--color-line);
}

.advantages-heading {
  max-width: 620px;
  margin: 0 auto clamp(28px, 5vw, 40px);
  text-align: center;
}

.advantages-heading h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.advantages-heading p {
  margin: 0;
  color: var(--color-muted);
}

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

.advantage {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.advantage-mark {
  display: grid;
  width: 30px;
  height: 30px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--glass-border);
  color: var(--color-refleja-dark);
  box-shadow: 0 8px 20px rgba(0, 76, 72, 0.08), inset 0 1px 0 #fff;
  backdrop-filter: blur(12px);
}

.advantage-mark svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.advantage h3 {
  margin: 2px 0 4px;
  font-size: 1rem;
}

.advantage p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.about {
  margin-top: clamp(40px, 7vw, 64px);
  padding: clamp(28px, 6vw, 50px);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(240, 248, 246, 0.58));
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(20px) saturate(125%);
}

.about h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.about p {
  max-width: 720px;
  margin: 0;
  color: var(--color-muted);
}

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

.about strong {
  color: var(--color-text);
}

.about-cta {
  margin-top: clamp(22px, 4vw, 30px);
}

.about-cta a {
  color: #fff;
}

.site-footer {
  padding: 28px clamp(16px, 4vw, 48px) 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(18px);
  color: var(--color-muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(1000px, 100%);
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.footer-links a {
  color: var(--color-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-refleja);
  text-decoration: underline;
}

.legal-page main {
  width: min(760px, 100%);
  margin-top: clamp(24px, 5vw, 48px);
  margin-bottom: clamp(24px, 5vw, 48px);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  background: var(--glass-strong);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(20px);
}

.legal-page .page-heading {
  margin-bottom: 8px;
}

.legal-page .page-heading p {
  margin: 8px 0 0;
  color: var(--color-muted);
}

.legal-page h1 {
  margin: 0;
  font-size: 2rem;
}

.legal-page h2 {
  margin: 36px 0 10px;
  font-size: 1.2rem;
}

.legal-page p,
.legal-page li {
  color: var(--color-text);
}

.legal-page ul {
  padding-left: 20px;
}



/* La Hoja: bloque de dos columnas con una maqueta de hoja de cálculo. */
.sheet {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(28px, 5vw, 56px);
  padding: clamp(48px, 8vw, 80px) 0;
}

.sheet-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.2;
}

.sheet-copy > p {
  margin: 0 0 20px;
  color: var(--color-muted);
}

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

.sheet-points li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--color-muted);
}

.sheet-points li::before {
  position: absolute;
  top: 0.42em;
  left: 4px;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--color-mostaza);
  content: "";
}

.sheet-points strong,
.sheet-copy p strong {
  color: var(--color-text);
}

.sheet-demo {
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  background: var(--glass-strong);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px) saturate(130%);
}

.sheet-chrome {
  display: flex;
  gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--color-line);
  background: rgba(255, 255, 255, 0.7);
}

.sheet-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(0, 100, 95, 0.18);
}

.sheet-body {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
}

.sheet-rail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 8px;
  border-right: 1px solid var(--color-line);
  background: rgba(0, 100, 95, 0.045);
  font-size: 0.78rem;
}

.rail-item {
  padding: 7px 9px;
  border-radius: 6px;
  color: var(--color-text);
  font-weight: 700;
}

.rail-item.is-open {
  background: rgba(0, 100, 95, 0.12);
  color: var(--color-refleja-dark);
}

.rail-sub {
  padding: 5px 9px 5px 18px;
  border-radius: 6px;
  color: var(--color-muted);
}

.rail-sub.is-active {
  background: var(--color-white);
  box-shadow: inset 2px 0 0 var(--color-mostaza);
  color: var(--color-text);
  font-weight: 700;
}

/* La hoja real se desplaza; la maqueta también, en vez de recortar la última columna. */
.sheet-scroll {
  overflow-x: auto;
}

.sheet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.sheet-table th,
.sheet-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--color-line);
  text-align: left;
  white-space: nowrap;
}

.sheet-table th {
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* La descripción es la única columna que puede partirse: así la maqueta cabe sin barra. */
.sheet-table th:nth-child(2),
.sheet-table td:nth-child(2) {
  white-space: normal;
}

.sheet-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

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

.sheet-table .is-editing td {
  background: rgba(235, 160, 10, 0.08);
}

.cell-caret {
  display: inline-block;
  padding: 1px 7px;
  border: 2px solid var(--color-refleja);
  border-radius: 4px;
  background: var(--color-white);
  font-weight: 700;
}

/* Facturación: panel oscuro, porque es el anuncio y no una tarjeta más. */
.billing {
  padding: clamp(40px, 7vw, 64px) 0;
}

.billing-inner {
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(0, 91, 86, 0.96), rgba(0, 55, 52, 0.94));
  box-shadow: var(--shadow-soft);
  color: #fff;
}

.eyebrow-light {
  color: var(--color-mostaza-light);
}

.billing-inner h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 4.2vw, 2.35rem);
  line-height: 1.15;
}

.billing-lead {
  max-width: 62ch;
  margin: 0 0 clamp(24px, 4vw, 36px);
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.03rem;
}

.billing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 40px);
}

.billing-block h3 {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-mostaza-light);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.billing-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.billing-block li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.billing-block li::before {
  position: absolute;
  top: 0.44em;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--color-mostaza-light);
  content: "";
}

.billing-block p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.82);
}

.billing-block strong {
  color: #fff;
}

.billing-note {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.86rem;
}

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

  .advantage-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

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

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

  .feature {
    min-height: auto;
  }

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

  .flow-steps {
    grid-template-columns: 1fr;
    gap: 28px;
    justify-items: start;
    text-align: left;
  }

  .flow-steps li {
    grid-template-columns: 54px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: start;
    justify-items: start;
    padding: 0;
    text-align: left;
  }

  .flow-steps li::before {
    top: -4px;
    right: auto;
    left: 36px;
  }

  .flow-steps strong,
  .flow-steps p {
    grid-column: 2;
    margin-top: 0;
  }

  .flow-icon {
    grid-row: 1 / span 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .primary-link,
  .feature {
    transition: none;
  }

  .primary-link:hover,
  .feature:hover {
    transform: none;
  }
}

@media (max-width: 520px) {
  html {
    scroll-padding-top: 8px;
  }

  .site-header {
    position: static;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .site-nav a {
    flex: none;
    padding: 8px 5px;
    font-size: 0.84rem;
  }

  /* La maqueta de la hoja no cabe entera: se desplaza en lugar de encogerse. */
  .sheet-body {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .sheet-table {
    font-size: 0.76rem;
  }

  .sheet-table th,
  .sheet-table td {
    padding: 8px 9px;
  }

  /* En el móvil sobra la última columna antes que obligar a desplazar la maqueta. */
  .sheet-table th:last-child,
  .sheet-table td:last-child {
    display: none;
  }
}
