/* Home: secciones propias de la portada. Base común en site.css */

/* Testimonios: conservar la etiqueta de simulación hasta contar con autorización real. */
.h-customer-stories { margin-top: 2.5rem; }
.h-story-intro { max-width: 760px; margin-bottom: 1.5rem; }
.h-story-intro h3 { margin: 0.8rem 0 0.5rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.h-story-intro p, .h-story-case p, .h-story-case dd { color: var(--ink-soft); }
.h-story-badge { display: inline-block; padding: 0.35rem 0.75rem; border-radius: 999px; background: #fff3d4; color: #745000; font-size: 0.8rem; font-weight: 700; }
.h-story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.h-story-card { margin: 0; padding: clamp(1.25rem, 3vw, 2rem); background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-md); }
.h-story-sector { display: block; color: var(--indigo-deep); font-size: 0.8rem; font-weight: 700; }
.h-story-card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.h-story-card-head .h-story-sector { min-width: 0; }
.h-story-logo { display: block; flex: 0 1 104px; width: 104px; min-width: 0; height: 32px; object-fit: contain; object-position: right center; }
.h-story-card blockquote { margin: 1rem 0 1.5rem; font-size: clamp(1.05rem, 2vw, 1.2rem); line-height: 1.65; }
.h-story-card figcaption { display: flex; align-items: center; gap: 0.8rem; font-size: 0.85rem; }
.h-story-card figcaption strong, .h-story-card figcaption span span { display: block; }
.h-story-card figcaption span span { color: var(--ink-soft); }
.h-story-avatar { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; object-fit: cover; background: #e4e1ff; color: var(--indigo-deep); border-radius: 50%; font-weight: 700; }
.h-story-case { margin-top: 1.25rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--r-md); }
.h-story-case h3 { margin: 0.5rem 0; font-size: 1.45rem; }
.h-story-case dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 1.5rem 0; }
.h-story-case dt { margin-bottom: 0.4rem; font-weight: 700; }
.h-story-case dd { margin: 0; }
.h-case-person { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.2rem; font-size: 0.85rem; }
.h-case-person strong, .h-case-person span { display: block; }
.h-case-person span { color: var(--ink-soft); }
@media (max-width: 700px) { .h-story-grid, .h-story-case dl { grid-template-columns: 1fr; } }

/* Hero */
.h-hero {
  position: relative;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3.5rem, 6vw, 5rem);
  overflow: hidden;
  text-align: center;
}

.h-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 100%, rgba(105, 107, 238, 0.2), transparent 50%),
    radial-gradient(ellipse at 85% 100%, rgba(56, 150, 240, 0.18), transparent 50%),
    linear-gradient(180deg, #fff 12%, #fbfaff 55%, #eeefff 100%);
  pointer-events: none;
}

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

.h-hero h1 {
  max-width: 1100px;
  margin-inline: auto;
  font-family: var(--font-body);
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.045em;
  color: var(--indigo-deep);
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .h-hero h1 {
    background: linear-gradient(105deg, #2866c5 8%, #6746d4 52%, #9259b8 94%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.h-hero-lead {
  max-width: 68ch;
  margin: 1.2rem auto 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.h-hero .h-hero-actions { margin-top: 2rem; }
.h-hero .h-btn-primary { min-height: 56px; padding: 0.95rem 2.2rem; border-radius: 999px; }
.h-hero .h-hero-price { margin-top: 1.2rem; font-size: 0.88rem; color: var(--ink-soft); }
.h-hero .h-hero-price strong { font-weight: 600; }

/* Tarjetas decorativas de la interfaz, sin interacción. */
.h-hero-decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; user-select: none; }
.h-float-card { position: absolute; width: 270px; padding: 1.4rem; border: 1px solid #fff; border-radius: 18px; background: rgba(255, 255, 255, 0.65); box-shadow: 0 15px 50px rgba(66, 57, 146, 0.08); text-align: left; opacity: 0.35; filter: blur(1.3px); }
.h-float-card strong { display: block; margin: 0.6rem 0; font-size: 1rem; }
.h-float-label { display: block; font-size: 0.72rem; color: var(--ink-soft); }
.h-float-time { display: flex; align-items: center; justify-content: space-between; font-size: 1.7rem; font-weight: 600; }
.h-float-time i, .h-float-file i { font-style: normal; color: #268357; font-size: 0.7rem; }
.h-float-bars { display: grid; gap: 0.55rem; margin-top: 1rem; }
.h-float-bars i { display: block; height: 9px; width: 85%; background: #d7d7fa; border-radius: 4px; }
.h-float-bars i:nth-child(2) { width: 60%; background: #c6d9f7; }
.h-float-bars i:nth-child(3) { width: 72%; }
.h-float-calendar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; font-size: 0.75rem; text-align: center; }
.h-float-calendar i { font-style: normal; }
.h-float-calendar b { padding: 0.3rem 0; background: #e5e2fc; border-radius: 5px; }
.h-float-file { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.8rem; padding-top: 0.6rem; border-top: 1px solid #e6e5f3; font-size: 0.7rem; }
.h-float-card.is-fichaje { left: max(-90px, calc(50% - 830px)); top: 30%; transform: rotate(-8deg); }
.h-float-card.is-vacaciones { left: max(-55px, calc(50% - 740px)); top: 75%; transform: rotate(5deg); }
.h-float-card.is-documentos { right: max(-80px, calc(50% - 810px)); top: 42%; transform: rotate(7deg); }
.h-float-card.is-turnos { right: max(-30px, calc(50% - 730px)); top: 85%; transform: rotate(-5deg); }
.h-product-preview { padding: clamp(2rem, 5vw, 4rem) 0 1rem; }
.h-product-preview .h-day { margin-top: 0; }

.h-hero-compliance {
  max-width: 60ch;
  margin: 1rem auto 0;
  color: var(--ink);
  font-weight: 600;
}

.h-hero-modules {
  margin: 0.4rem auto 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.h-hero-proof {
  margin-top: 1.4rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.h-hero-proof strong {
  color: var(--ink);
}

/* Jornada de hoy (pieza principal del hero) */
.h-day {
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  max-width: 1040px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 80px -30px rgba(10, 31, 69, 0.28);
  text-align: left;
  overflow: hidden;
}

.h-day-main {
  padding: 1.5rem 1.6rem 1.4rem;
}

.h-day-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.h-day-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.h-day-sub {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.h-scale,
.h-row-track {
  position: relative;
}

.h-scale {
  height: 1.2rem;
  margin-left: 190px;
  margin-right: 70px;
  color: #8a93b2;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

/* 07:00 a 19:00: cada etiqueta cada 2 h (1/6 de la pista) */
.h-scale span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
}

.h-scale span:nth-child(1) { left: 0; transform: none; }
.h-scale span:nth-child(2) { left: 16.667%; }
.h-scale span:nth-child(3) { left: 33.333%; }
.h-scale span:nth-child(4) { left: 50%; }
.h-scale span:nth-child(5) { left: 66.667%; }
.h-scale span:nth-child(6) { left: 83.333%; }
.h-scale span:nth-child(7) { left: auto; right: 0; transform: none; }

.h-rows {
  position: relative;
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.h-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 70px;
  align-items: center;
  min-height: 52px;
  border-top: 1px solid #eef0f8;
}

.h-person {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.h-person-name {
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.2;
}

.h-channel {
  display: block;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 500;
}

.h-row-track {
  height: 12px;
  border-radius: 999px;
  background: #f1f2f9;
}

.h-seg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--from);
  width: calc(var(--to) - var(--from));
  border-radius: 999px;
  background: var(--indigo);
  transform-origin: left center;
}

.h-seg.is-open {
  background: linear-gradient(90deg, var(--indigo), var(--blue));
}

.h-seg.is-absence {
  background: repeating-linear-gradient(135deg, #fbe3a6 0 6px, #fdf0cf 6px 12px);
}

.h-row-total {
  text-align: right;
  font-size: 0.85rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.h-row-total.is-muted {
  color: #a0710a;
  font-weight: 500;
}

/* línea de "ahora" alineada con la pista */
.h-now {
  position: absolute;
  top: -6px;
  bottom: 0;
  left: calc(190px + (100% - 260px) * var(--now));
  width: 2px;
  background: var(--navy);
  pointer-events: none;
}

.h-now span {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

.h-day-foot {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid #eef0f8;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.h-feed {
  padding: 1.5rem 1.25rem;
  background: var(--mist);
  border-left: 1px solid var(--line);
}

.h-feed-title {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 0.8rem;
}

.h-feed ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.h-feed li {
  padding: 0.75rem 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 0.86rem;
  line-height: 1.4;
}

.h-feed time {
  display: block;
  margin-top: 0.2rem;
  color: #8a93b2;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.h-feed .is-wa {
  border-left: 3px solid var(--wa);
}

/* Única animación: la jornada se rellena al cargar */
@media (prefers-reduced-motion: no-preference) {
  .h-seg {
    animation: h-grow 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: calc(0.25s + var(--i, 0) * 0.12s);
  }

  .h-now {
    animation: h-fade 0.4s ease 1.3s both;
  }

  .h-feed li {
    animation: h-feed-in 0.45s ease both;
    animation-delay: calc(1.4s + var(--i, 0) * 0.35s);
  }
}

@keyframes h-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes h-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes h-feed-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* Distribuidores */
.h-partners {
  padding: 2.5rem 0 1rem;
  text-align: center;
}

.h-partners p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.h-partners ul {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 3.5rem;
}

.h-partners img {
  display: block;
  height: 34px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
}

/* Franja de confianza y distribuidores. */
.h-trust-bar { padding: 1.4rem 0; border-bottom: 1px solid var(--line); background: #fff; text-align: left; }
.h-trust-inner { display: flex; align-items: center; gap: 2rem; }
.h-trust-bar .h-trust-count { flex: 0 0 250px; margin: 0; padding-right: 2rem; border-right: 1px solid var(--line); color: var(--ink); font-size: 0.95rem; }
.h-trust-count strong { font-weight: 700; }
.h-trust-count span { display: block; font-size: 0.8rem; color: var(--ink-soft); }
.h-logo-group { flex: 1; min-width: 0; }
.h-trust-bar .h-logo-group > p { margin: 0 0 0.6rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.09em; }
.h-logo-window { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.h-logo-track { display: flex; width: max-content; animation: h-logo-scroll 28s linear infinite; }
.h-trust-bar .h-logo-track ul { display: flex; flex: 0 0 auto; flex-wrap: nowrap; justify-content: flex-start; gap: 3.5rem; margin: 0; padding: 0 3.5rem 0 0; }
.h-logo-track li { display: flex; justify-content: center; align-items: center; width: 130px; }
.h-trust-bar .h-logo-track img { max-width: 130px; max-height: 30px; width: auto; height: auto; opacity: 0.65; }
.h-logo-toggle { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--ink-soft); background: #fff; cursor: pointer; }
.h-logo-toggle:hover { color: var(--indigo); border-color: var(--indigo); }
.h-trust-bar.is-paused .h-logo-track { animation-play-state: paused; }
@keyframes h-logo-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .h-logo-track { animation: none; }
  .h-logo-toggle { display: none; }
  .h-logo-window { overflow-x: auto; mask-image: none; }
  .h-logo-track ul[aria-hidden="true"] { display: none; }
}

/* Pestañas de producto */
.h-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.h-tab {
  min-height: 44px;
  padding: 0 1.2rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}

.h-tab:hover {
  color: var(--ink);
  border-color: #c9cdf0;
}

.h-tab[aria-selected="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.h-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--mist);
  border-radius: var(--r-lg);
}

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

.h-panel h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.12;
}

.h-panel-copy > p {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

/* Canales */
.h-channels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.h-channel-item {
  padding: 1.8rem 1.5rem 0 0;
}

.h-channel-item + .h-channel-item {
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
}

.h-channel-item svg {
  width: 30px;
  height: 30px;
  stroke: var(--indigo);
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.h-channel-item h3 {
  margin-top: 1rem;
  font-size: 1.2rem;
}

.h-channel-item p {
  margin-top: 0.5rem;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.h-channel-item .h-link {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.92rem;
}

/* Sectores */
.h-sectors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.h-sector {
  display: block;
  padding: 1.8rem;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
}

.h-sector h3 {
  font-size: 1.35rem;
}

.h-sector p {
  margin-top: 0.6rem;
  color: var(--ink-soft);
}

.h-sector.is-feature {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
}

.h-sector.is-feature h3 {
  color: #fff;
}

.h-sector.is-feature p {
  color: #dcdcff;
}

.h-sector.is-feature .h-btn {
  background: #fff;
  color: var(--indigo);
}

/* Prueba social */
.h-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.h-proof h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.08;
}

.h-proof-video {
  min-width: 0;
  width: 100%;
  margin: 0;
  align-self: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--navy);
  box-shadow: 0 18px 45px -25px rgba(10, 31, 69, 0.35);
}

.h-proof-video video,
.h-proof-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.h-proof-video-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  padding: 1.5rem;
  isolation: isolate;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #082b6e, #3f37c9);
}

.h-proof-video-placeholder > img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
}

.h-proof-video-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.h-proof-video-icon svg { width: 32px; height: 32px; }
.h-proof-video-copy p { font-family: var(--font-display); font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 700; }
.h-proof-video-copy > span:last-child { display: block; margin-top: 0.35rem; font-size: 0.85rem; }

.h-stats {
  margin: 2rem 0 0;
  display: grid;
  gap: 1.2rem;
}

.h-stats div {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.h-stats dt {
  order: 2;
  color: var(--ink-soft);
}

.h-stats dd {
  margin: 0;
  min-width: 5.5ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--indigo);
}

.h-quotes {
  display: grid;
  gap: 1rem;
}

.h-quote {
  margin: 0;
  padding: 1.6rem 1.8rem;
  border-radius: var(--r-md);
  background: var(--mist);
}

.h-quote:first-child {
  padding: 2.2rem 2.2rem 2rem;
  background: var(--navy);
}

.h-quote blockquote {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.5;
}

.h-quote:first-child blockquote {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.h-quote figcaption {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.h-quote:first-child figcaption {
  color: #aab4d4;
}

/* En la home sobra el aviso flotante de WhatsApp: la página ya tiene su sección */
.home .floating-whatsapp-promo {
  display: none;
}

.h-footer {
  padding-bottom: 5rem;
}

/* Responsive */
@media (max-width: 960px) {
  .h-hero-decor { opacity: 0.5; }
  .h-float-card.is-fichaje { left: -170px; top: 50%; }
  .h-float-card.is-documentos { right: -170px; top: 60%; }
  .h-float-card.is-turnos, .h-float-card.is-vacaciones { display: none; }
  .h-trust-inner { gap: 1.2rem; }
  .h-trust-bar .h-trust-count { flex-basis: 210px; padding-right: 1.2rem; }
  .h-day {
    grid-template-columns: 1fr;
  }

  .h-feed {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .h-feed ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .h-panel,
  .h-wa,
  .h-proof,
  .h-law,
  .h-calc {
    grid-template-columns: 1fr;
  }

  .h-channels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .h-channel-item:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .h-channel-item {
    padding-bottom: 1.5rem;
  }

  .h-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2rem;
  }
}

@media (max-width: 640px) {
  .h-hero {
    text-align: center;
  }

  .h-hero h1,
  .h-hero-lead {
    margin-inline: auto;
  }

  .h-hero .h-hero-actions { justify-content: center; }
  .h-hero .h-hero-actions .h-btn { flex: 0 1 auto; }
  .h-hero .h-hero-price { max-width: 38ch; margin-inline: auto; line-height: 1.7; }
  .h-trust-inner { flex-wrap: wrap; gap: 1rem; }
  .h-trust-bar .h-trust-count { flex-basis: 100%; padding: 0; border: 0; text-align: center; }
  .h-trust-count span { display: inline; margin-left: 0.3rem; }
  .h-logo-group { flex-basis: calc(100% - 50px); }
  .h-trust-bar .h-logo-group > p { text-align: center; }

  .h-hero-actions {
    justify-content: flex-start;
  }

  .h-hero-actions .h-btn {
    flex: 1 1 100%;
  }

  .h-day-main {
    padding: 1.1rem 1rem;
  }

  .h-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "person total"
      "track track";
    row-gap: 0.45rem;
    padding: 0.7rem 0;
  }

  .h-person { grid-area: person; }
  .h-row-total { grid-area: total; }
  .h-row-track { grid-area: track; }

  .h-scale {
    margin: 0;
  }

  .h-scale span:nth-child(even) {
    display: none;
  }

  .h-day-top {
    flex-direction: column;
    gap: 0.1rem;
  }

  .h-now {
    display: none;
  }

  .h-feed ol {
    grid-template-columns: 1fr;
  }

  .h-feed li:nth-child(n + 3) {
    display: none;
  }

  .h-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    margin-inline: -16px;
    padding: 0 16px 0.25rem;
    scrollbar-width: none;
  }

  .h-tab {
    flex: none;
  }

  .h-channels,
  .h-sectors,
  .h-steps {
    grid-template-columns: 1fr;
  }

  .h-channel-item,
  .h-channel-item + .h-channel-item {
    padding-left: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .h-sector.is-feature {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .h-module {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 0.2rem;
  }

  .h-module em {
    grid-column: 2;
  }
}
