:root {
  --navy-950: #051321;
  --navy-900: #071a2d;
  --navy-800: #0b2946;
  --blue-600: #0877e8;
  --blue-500: #1597f5;
  --blue-100: #dcefff;
  --blue-50: #f2f8fe;
  --ink: #071b3f;
  --muted: #596981;
  --line: #dbe5ef;
  --white: #fff;
  --surface: #f6f9fc;
  --shadow: 0 18px 60px rgba(7, 27, 63, .12);
  --radius: 24px;
}

/* Página editorial: ciclocomputador. */
.computer-page { --computer-dark: #05070b; --computer-panel: #181c28; --computer-pink: #df5bc5; --computer-yellow: #ffe000; --computer-green: #4da458; --computer-sky: #3f9cf7; }
.computer-hero { overflow: hidden; }
.computer-hero-grid { min-height: 720px; display: grid; grid-template-columns: 1fr .86fr; align-items: center; gap: clamp(48px, 9vw, 130px); }
.computer-hero .hero-copy h1 span { color: var(--blue-600); }
.computer-device { width: min(385px, 100%); margin: 60px auto; padding: 18px; color: #fff; background: var(--computer-dark); border: 7px solid #0d1118; border-radius: 36px; box-shadow: 0 32px 72px rgba(7,27,63,.25); transform: rotate(1deg); }
.computer-signal,.computer-time,.computer-altitude { display: grid; place-items: center; background: var(--computer-panel); border-radius: 11px; }
.computer-signal { min-height: 105px; position: relative; font-size: 13px; text-transform: uppercase; }
.computer-signal span { position: absolute; top: 10px; right: 12px; color: #8c7a00; font-size: 10px; letter-spacing: -2px; }
.computer-time { min-height: 112px; margin-top: 12px; }
.computer-time strong { font-size: clamp(42px, 5vw, 55px); line-height: 1; }
.computer-time span,.computer-device [class*="metric"] span,.computer-altitude span { margin-top: 8px; color: var(--computer-pink); font-weight: 700; text-transform: uppercase; }
.computer-metric-grid { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.computer-metric-grid div { min-height: 112px; display: grid; place-content: center; justify-items: center; background: var(--computer-panel); border-radius: 11px; }
.computer-device strong small { color: var(--computer-yellow); font-size: .28em; text-transform: none; }
.computer-metric-grid strong,.computer-altitude strong { font-size: 42px; line-height: 1; }
.computer-altitude { min-height: 108px; margin-top: 12px; }
.computer-searching { margin: 14px 0; color: var(--computer-yellow); text-align: center; font-size: 12px; font-weight: 700; }
.computer-searching i { width: 8px; height: 8px; display: inline-block; margin-right: 5px; background: #a08d00; border-radius: 50%; }
.computer-searching--active { color: #79d483; }
.computer-searching--active i { background: #57bd63; box-shadow: 0 0 0 5px rgba(87,189,99,.12); }
.computer-buttons { display: grid; grid-template-columns: 60px 1fr; gap: 15px; }
.computer-buttons--back-only { grid-template-columns: 60px; }
.computer-buttons > * { min-height: 60px; display: grid; place-items: center; border-radius: 10px; }
.computer-buttons span { position: relative; background: #3d97ff; font-size: 0; }
.computer-buttons strong {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  padding: 0 14px;
  color: #fff;
  background: #49924d;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  text-box: trim-both cap alphabetic;
}
.computer-buttons span::before,
.computer-buttons strong i,
.computer-live-device .live-actions span::before,
.computer-live-device .live-actions strong::after {
  width: 32px;
  height: 32px;
  display: block;
  background: currentColor;
  content: "";
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}
.computer-buttons span::before,
.computer-live-device .live-actions span::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M244 400 100 256l144-144M120 256h292' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M244 400 100 256l144-144M120 256h292' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'/%3E%3C/svg%3E");
}
.computer-buttons span::before,
.computer-live-device .live-actions span::before,
.computer-live-device .live-actions strong::after {
  margin: auto;
}
.computer-buttons span::before {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(calc(-50% + 1px), -50%);
}
.computer-buttons strong i {
  width: 28px;
  height: 28px;
  font-size: 0;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M96 448V64l320 192L96 448Z' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M96 448V64l320 192L96 448Z' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'/%3E%3C/svg%3E");
}

.computer-live,.computer-lock { padding: clamp(80px, 9vw, 128px) 0; color: #fff; background: var(--navy-950); }
.computer-live .split-heading > p,.computer-lock p,.computer-lock li { color: #bed0df; }
.computer-wide { margin-top: 54px; padding: 20px; display: grid; grid-template-columns: minmax(180px,1fr) minmax(320px,2fr) minmax(180px,1fr); grid-template-areas: "status time actions" "metrics metrics metrics"; gap: 12px; background: #000; border: 1px solid #253646; border-radius: 24px; box-shadow: 0 24px 70px rgba(0,0,0,.28); }
.computer-wide > div,.computer-wide-metrics div { display: grid; place-content: center; justify-items: center; background: var(--computer-panel); border-radius: 12px; }
.computer-wide-status { grid-area: status; min-height: 126px; }.computer-wide-status strong { color: var(--computer-yellow); text-transform: uppercase; }.computer-wide-status span { color: #9ba8b6; font-size: 12px; }
.computer-wide-time { grid-area: time; min-height: 126px; }.computer-wide-time strong { font-size: clamp(38px, 5vw, 62px); }.computer-wide-time span,.computer-wide-metrics span { color: var(--computer-pink); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.computer-wide-metrics { grid-area: metrics; display: grid!important; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 1px; }.computer-wide-metrics div { min-width: 0; min-height: 140px; border-radius: 0; }.computer-wide-metrics strong { font-size: clamp(25px,3.2vw,42px); text-align: center; }.computer-wide small { color: var(--computer-yellow); font-size: 12px; }.computer-wide-actions { grid-area: actions; min-height: 126px; gap: 8px; }.computer-wide-actions strong { width: 86%; padding: 13px 6px; text-align: center; background: #e3a515; border-radius: 8px; }
.computer-live-notes { margin-top: 30px; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }.computer-live-notes article { padding: 22px; display: flex; gap: 16px; border-top: 1px solid #294057; }.computer-live-notes article > span { color: var(--blue-500); font-weight: 700; }.computer-live-notes h3 { margin: 0 0 7px; font-size: 17px; }.computer-live-notes p { margin: 0; color: #9fb3c5; font-size: 13px; }

.computer-live-feature { margin-top: 54px; display: grid; grid-template-columns: minmax(330px,.82fr) minmax(380px,1.18fr); gap: clamp(48px,8vw,110px); align-items: center; }
.computer-live-device { width: min(430px,100%); padding: 16px; display: grid; gap: 10px; color: #fff; background: #000; border: 1px solid #26394a; border-radius: 24px; box-shadow: 0 28px 70px rgba(0,0,0,.32); }
.computer-live-device > div:not(.live-metrics),.live-metrics > div { display: grid; place-content: center; justify-items: center; background: var(--computer-panel); border-radius: 11px; }
.live-gps { min-height: 92px; }.live-gps strong { color: var(--computer-yellow); text-transform: uppercase; }.live-gps span { color: #9ba8b6; font-size: 12px; }
.live-time { min-height: 106px; }.live-time strong { font-size: clamp(40px,5vw,56px); line-height: 1; }.live-time span,.live-metrics span,.live-altitude span { margin-top: 8px; color: var(--computer-pink); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.live-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }.live-metrics > div { min-width: 0; min-height: 110px; }.live-metrics strong,.live-altitude strong { font-size: clamp(30px,4vw,42px); text-align: center; }.computer-live-device small { color: var(--computer-yellow); font-size: 11px; }
.live-altitude { min-height: 104px; }.live-actions { min-height: 56px; display: grid!important; grid-template-columns: 64px 1fr; gap: 10px; background: none!important; }.live-actions > * { height: 100%; display: grid; place-items: center; border-radius: 9px; }.live-actions span { background: var(--computer-sky); font-size: 26px; }.live-actions strong { background: #e3a515; }
.computer-live-device .live-actions { min-height: 60px; display: flex!important; align-items: center; justify-content: flex-start; gap: 15px; }
.computer-live-device .live-actions > span,
.computer-live-device .live-actions > strong {
  flex: 0 0 80px;
  width: 80px;
  height: 60px;
  padding: 0;
  display: flex!important;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  line-height: 0;
}
.computer-live-device .live-actions span { color: #fff; background: #3d97ff; font-size: 0; }
.computer-live-device .live-actions strong { color: transparent; background: #49924d; font-size: 0; }
.computer-live-device .live-actions strong::after {
  margin: 0;
  color: #fff;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M96 448V64l320 192L96 448Z' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M96 448V64l320 192L96 448Z' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'/%3E%3C/svg%3E");
}
.computer-live-device .live-actions span::before { margin: 0; }
.computer-live-device .live-actions::after {
  content: "FINALIZAR";
  min-width: 0;
  height: 60px;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--computer-panel);
  border-radius: 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  text-box: trim-both cap alphabetic;
}
.computer-live-feature .computer-live-notes { margin: 0; display: grid; grid-template-columns: 1fr; gap: 0; }.computer-live-feature .computer-live-notes article { padding: 28px 0; display: grid; grid-template-columns: 48px 1fr; gap: 18px; border-top: 1px solid #294057; }.computer-live-feature .computer-live-notes article:first-child { border-top: 0; }.computer-live-feature .computer-live-notes article > span { width: 42px; height: 42px; display: grid; place-items: center; background: #0b2a45; border-radius: 50%; }.computer-live-feature .computer-live-notes h3 { font-size: 20px; }.computer-live-feature .computer-live-notes p { max-width: 510px; font-size: 15px; line-height: 1.65; }
.computer-live-summary { margin: 42px 0 0; padding: 22px 26px; display: grid; grid-template-columns: 46px 1fr; gap: 2px 16px; align-items: center; color: #fff!important; background: #0b2942; border: 1px solid #18496f; border-radius: 16px; }.computer-live-summary > span { grid-row: span 2; width: 46px; height: 46px; display: grid; place-items: center; color: #fff; background: var(--blue-600); border-radius: 50%; font-size: 24px; }.computer-live-summary small { color: #a9bfd1; }

.computer-customize { padding: clamp(80px,9vw,130px) 0; }
.computer-customize-grid { margin-top: 55px; display: grid; grid-template-columns: 1fr .85fr; gap: clamp(42px,8vw,110px); align-items: center; }
.computer-settings-card { overflow: hidden; border: 1px solid var(--line); background: #fff; border-radius: 24px; box-shadow: var(--shadow); }
.settings-head { padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }.settings-head div { display: grid; }.settings-head small { color: var(--muted); }.settings-head button { padding: 11px 42px; color: #fff; background: var(--blue-600); border: 0; border-radius: 10px; font-weight: 700; }
.settings-map { margin: 18px; padding: 12px 12px 8px; display: grid; justify-items: center; color: var(--ink); background: #eef5fb; border-radius: 14px; }.settings-map svg { width: 100%; height: 100px; }.settings-map path { fill: none; stroke: #fff; stroke-width: 8; }.settings-map .route { stroke: var(--blue-600); stroke-width: 7; }.settings-map circle { fill: #69b600; stroke: #fff; stroke-width: 3; }.settings-map circle:last-child { fill: #ff6835; }
.settings-time { min-height: 88px; display: grid; place-content: center; justify-items: center; border-block: 1px solid var(--line); }.settings-time strong { font-size: 28px; }.settings-time span,.settings-metrics span { color: var(--ink); font-size: 12px; }
.settings-metrics { display: grid; grid-template-columns: 1fr 1fr; }.settings-metrics div { min-height: 105px; display: grid; place-content: center; justify-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }.settings-metrics strong { color: var(--ink); font-size: 25px; }.settings-metrics small { color: var(--muted); font-size: 11px; }
.settings-metrics > div {
  position: relative;
  z-index: 1;
  translate: 0 0;
  rotate: 0deg;
  scale: 1;
  background: #fff;
}
.settings-metrics > div:nth-child(1) {
  z-index: 3;
  animation: metric-drag-down 9s cubic-bezier(.45,0,.2,1) infinite;
}
.settings-metrics > div:nth-child(3) {
  z-index: 2;
  animation: metric-drag-up 9s cubic-bezier(.45,0,.2,1) infinite;
}
@keyframes metric-drag-down {
  0%, 14%, 88%, 100% { translate: 0 0; rotate: 0deg; scale: 1; box-shadow: none; border-radius: 0; }
  20% { translate: 0 -7px; rotate: -1deg; scale: 1.035; box-shadow: 0 12px 28px rgba(7,27,63,.18); border-radius: 10px; }
  38%, 64% { translate: 0 100%; rotate: 0deg; scale: 1; box-shadow: 0 8px 20px rgba(7,27,63,.12); border-radius: 6px; }
  76% { translate: 0 calc(100% + 7px); rotate: 1deg; scale: 1.035; box-shadow: 0 12px 28px rgba(7,27,63,.18); border-radius: 10px; }
}
@keyframes metric-drag-up {
  0%, 14%, 88%, 100% { translate: 0 0; rotate: 0deg; scale: 1; box-shadow: none; border-radius: 0; }
  20% { translate: 12px 7px; rotate: 1deg; scale: 1.035; box-shadow: 0 12px 28px rgba(7,27,63,.18); border-radius: 10px; }
  38%, 64% { translate: 0 -100%; rotate: 0deg; scale: 1; box-shadow: 0 8px 20px rgba(7,27,63,.12); border-radius: 6px; }
  76% { translate: -12px calc(-100% - 7px); rotate: -1deg; scale: 1.035; box-shadow: 0 12px 28px rgba(7,27,63,.18); border-radius: 10px; }
}
.settings-actions { padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.settings-actions button { padding: 13px; color: #fff; border: 0; border-radius: 22px; background: #bd292d; font-weight: 700; }.settings-actions button:last-child { background: var(--blue-600); }
.computer-rules { margin: 0; padding: 0; list-style: none; }.computer-rules li { padding: 26px 0; display: grid; grid-template-columns: 48px 1fr; gap: 18px; border-bottom: 1px solid var(--line); }.computer-rules li > span { width: 44px; height: 44px; display: grid; place-items: center; color: var(--blue-600); background: var(--blue-50); border-radius: 50%; font-weight: 700; }.computer-rules h3 { margin: 0 0 8px; }.computer-rules p { margin: 0; color: var(--muted); }

.computer-lock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px,8vw,120px); align-items: center; }.computer-lock h2 { color: #fff; }.computer-lock ul { padding-left: 20px; line-height: 2; }.lock-demo { padding: 28px; background: rgba(0,0,0,.75); border: 1px solid #34495d; border-radius: 24px; box-shadow: 0 25px 60px rgba(0,0,0,.32); }.lock-data { opacity: .45; }.lock-data > strong { display: block; font-size: 46px; text-align: center; }.lock-data > span { display: block; color: var(--computer-pink); text-align: center; text-transform: uppercase; }.lock-data > div { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.lock-data b { padding: 24px 10px; display: grid; place-items: center; background: var(--computer-panel); border-radius: 10px; font-size: 30px; }.lock-data small { color: var(--computer-yellow); font-size: 11px; }.lock-data em { color: var(--computer-pink); font-size: 11px; font-style: normal; text-transform: uppercase; }.lock-slider { margin-top: 30px; padding: 7px; display: flex; align-items: center; gap: 24px; background: #fff; border-radius: 40px; color: var(--ink); }.lock-slider i { width: 50px; height: 50px; display: grid; place-items: center; color: #fff; background: var(--blue-600); border-radius: 50%; font-size: 32px; font-style: normal; }.lock-slider span { font-weight: 700; }
.lock-slider i { font-size: 0; }
.lock-slider i::before {
  content: "";
  width: 24px;
  height: 24px;
  display: block;
  background: #fff;
  translate: 1px 0;
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='m184 112 144 144-144 144' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='48'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='m184 112 144 144-144 144' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='48'/%3E%3C/svg%3E");
}
.lock-demo { overflow: hidden; }
.lock-data { animation: lock-data-state 8s ease-in-out infinite; }
.lock-slider {
  position: relative;
  min-height: 64px;
  container-type: inline-size;
  animation: lock-track-state 8s ease-in-out infinite;
}
.lock-slider i {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 2;
  animation: lock-thumb-slide 8s cubic-bezier(.45,0,.2,1) infinite;
}
.lock-slider-instruction,
.lock-slider-success {
  width: 100%;
  padding-inline: 58px 18px;
  text-align: center;
  animation: lock-instruction-state 8s ease-in-out infinite;
}
.lock-slider-success {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding-inline: 18px;
  color: #fff;
  opacity: 0;
  animation-name: lock-success-state;
}
@keyframes lock-thumb-slide {
  0%, 14%, 82%, 100% { transform: translateX(0); }
  42%, 68% { transform: translateX(calc(100cqi - 64px)); }
}
@keyframes lock-data-state {
  0%, 35%, 82%, 100% { opacity: .45; }
  46%, 68% { opacity: 1; }
}
@keyframes lock-track-state {
  0%, 39%, 82%, 100% { background: #fff; }
  46%, 68% { background: #49924d; }
}
@keyframes lock-instruction-state {
  0%, 35%, 82%, 100% { opacity: 1; }
  43%, 72% { opacity: 0; }
}
@keyframes lock-success-state {
  0%, 41%, 76%, 100% { opacity: 0; }
  48%, 68% { opacity: 1; }
}
.lock-demo .lock-slider {
  min-height: 50px;
  padding: 0;
  color: #fff;
  background: #808080;
  border-radius: 25px;
}
.lock-demo .lock-slider i {
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  background: #f2c200;
  border-radius: 25px;
}
.lock-demo .lock-slider i::before { content: none; }
.lock-demo .lock-data,
.lock-demo .lock-slider,
.lock-demo .lock-slider i,
.lock-demo .lock-slider-instruction,
.lock-demo .lock-slider-success {
  animation-duration: 7s;
  animation-play-state: paused;
}
.lock-demo.is-animation-visible .lock-data,
.lock-demo.is-animation-visible .lock-slider,
.lock-demo.is-animation-visible .lock-slider i,
.lock-demo.is-animation-visible .lock-slider-instruction,
.lock-demo.is-animation-visible .lock-slider-success {
  animation-play-state: running;
}
@keyframes lock-thumb-slide {
  0%, 4%, 78%, 100% { transform: translateX(0); }
  34%, 60% { transform: translateX(calc(100cqi - 50px)); }
}
@keyframes lock-track-state {
  0%, 39%, 46%, 68%, 82%, 100% { background: #808080; }
}
@keyframes lock-data-state {
  0%, 27%, 78%, 100% { opacity: .45; }
  38%, 60% { opacity: 1; }
}
@keyframes lock-instruction-state {
  0%, 27%, 78%, 100% { opacity: 1; }
  34%, 66% { opacity: 0; }
}
@keyframes lock-success-state {
  0%, 32%, 68%, 100% { opacity: 0; }
  38%, 60% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .settings-metrics > div:nth-child(1),
  .settings-metrics > div:nth-child(3),
  .lock-data,
  .lock-slider,
  .lock-slider i,
  .lock-slider-instruction,
  .lock-slider-success { animation: none; }
}

@media (max-width: 900px) {
  .computer-hero-grid,.computer-customize-grid,.computer-lock-grid { grid-template-columns: 1fr; }
  .computer-hero-grid { padding-top: 30px; }.computer-device { margin-block: 10px 70px; }
  .computer-wide { grid-template-columns: minmax(150px,1fr) minmax(260px,1.8fr); grid-template-areas: "status time" "metrics metrics" "actions actions"; }.computer-wide-actions { min-height: 90px; grid-template-columns: 70px minmax(180px,320px); }.computer-wide-actions strong { width: 100%; }
  .computer-live-notes { grid-template-columns: 1fr; }
  .computer-live-feature { grid-template-columns: 1fr; }.computer-live-device { margin-inline: auto; }.computer-live-feature .computer-live-notes { max-width: 620px; margin-inline: auto; }
}
@media (max-width: 600px) {
  .computer-wide { grid-template-columns: 1fr; grid-template-areas: "status" "time" "metrics" "actions"; }.computer-wide-metrics { grid-template-columns: 1fr 1fr; }.computer-wide-metrics div:last-child { grid-column: 1/-1; }
  .computer-live-notes { gap: 0; }.computer-device { padding: 12px; }
  .settings-actions { grid-template-columns: 1fr; }.lock-slider { gap: 12px; }.lock-slider span { font-size: 12px; }
}

/* Página editorial: entrenador personal. */
.coach-page { --coach-blue:#0877e8; --coach-navy:#071a2d; --coach-green:#62b82f; --coach-orange:#f4a51c; }
.coach-hero { overflow: clip; }.coach-hero-grid { min-height: 760px; display:grid; grid-template-columns:minmax(0,.92fr) minmax(500px,1.08fr); gap:clamp(42px,6vw,84px); align-items:center; }.coach-hero .hero-copy h1 span { color:var(--coach-blue); }
.coach-today-card { padding:26px;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);transform:rotate(.6deg); }.coach-plan-head { margin-bottom:16px;display:flex;align-items:flex-start;justify-content:space-between;gap:18px; }.coach-plan-head p,.coach-session>p:first-child { margin:0 0 3px;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase; }.coach-plan-head strong { color:var(--ink);font-size:15px; }.coach-plan-head>span { padding:6px 10px;color:#29954d;background:#eef8e8;border-radius:999px;font-size:10px;font-weight:700;white-space:nowrap; }.coach-recommendation { margin-bottom:16px;padding:16px;display:flex;align-items:center;gap:14px;background:#f6f9fc;border:1px solid var(--line);border-radius:15px; }.coach-recommendation-icon { width:44px;height:44px;display:grid;flex:0 0 auto;place-items:center;color:var(--coach-blue);background:#fff;border:1px solid #cfe1ef;border-radius:50%;font-size:24px; }.coach-recommendation small { color:var(--coach-blue);font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase; }.coach-recommendation h2 { margin:2px 0 1px;font-size:22px; }.coach-recommendation p { margin:0;color:var(--muted);font-size:12px;font-weight:600; }.coach-week-strip { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px; }.coach-week-strip div { min-width:0;min-height:128px;padding:11px 8px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:13px;text-align:center; }.coach-week-strip small { display:flex;align-items:center;gap:3px;color:var(--muted);font-size:9px;font-weight:600; }.coach-week-strip b { color:var(--ink);font-size:12px;line-height:1.25; }.coach-week-strip em { min-height:28px;color:var(--muted);font-size:8px;font-style:normal;line-height:1.35; }.coach-week-strip span { min-width:58px;padding:5px 7px;display:inline-flex;align-items:center;justify-content:center;color:#fff;background:#74829a;border-radius:7px;font-size:8px;font-weight:700; }.coach-week-strip i { width:14px;height:14px;display:grid;place-items:center;color:#fff;border-radius:50%;font-size:9px;font-style:normal; }.coach-week-strip .is-done { background:#f7fbf2;border-color:#dcebcf; }.coach-week-strip .is-done span,.coach-week-strip .is-done i { background:#66b91e; }.coach-week-strip .is-missed { background:#fff7f6;border-color:#f3deda; }.coach-week-strip .is-missed span,.coach-week-strip .is-missed i { background:#f02929; }.coach-week-strip .is-today { background:#f2f7ff;border-color:#cadcf4; }.coach-week-strip .is-today span { background:#1674e8; }.coach-week-strip .is-today i { background:#66b91e; }.coach-week-strip .is-group span { background:#7d42bd; }.coach-week-strip .is-rest span { background:#74829a; }
.coach-modes,.coach-reason,.coach-checkin { padding:clamp(80px,9vw,130px) 0; }.coach-mode-grid { margin-top:50px;display:grid;grid-template-columns:1fr 1fr;gap:24px; }.coach-mode-grid article { padding:34px;display:grid;grid-template-columns:76px 1fr;gap:24px;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 14px 38px rgba(7,27,63,.07); }.coach-mode-icon { width:72px;height:72px;display:grid;place-items:center;color:var(--coach-blue);background:#e7f4ff;border-radius:50%;font-size:34px; }.coach-mode-icon--goal { color:#168850;background:#eaf8e3; }.coach-mode-grid h3 { margin:0;font-size:26px; }.coach-mode-grid strong { color:var(--coach-blue); }.coach-mode-grid p { margin-bottom:0;color:var(--muted); }
.coach-adaptive { padding:clamp(80px,9vw,130px) 0;color:#fff;background:var(--coach-navy); }.coach-adaptive .split-heading>p { color:#b8cede; }.coach-calendar-layout { margin-top:54px;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.7fr);gap:clamp(36px,6vw,84px);align-items:center; }.coach-calendar { padding:26px;color:var(--ink);background:#fff;border-radius:24px;box-shadow:0 24px 60px rgba(0,0,0,.25); }.coach-calendar header { display:flex;align-items:center;justify-content:space-between; }.coach-calendar header h3 { margin:0 0 20px;font-size:22px; }.coach-calendar header>span { color:var(--coach-blue);font-size:24px; }.coach-calendar-summary { display:grid;grid-template-columns:repeat(3,1fr);gap:10px; }.coach-calendar-summary>div { padding:14px;display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:13px; }.coach-calendar-summary span,.coach-calendar-summary i { width:42px;height:42px;display:grid;flex:0 0 auto;place-items:center;color:var(--coach-blue);background:#edf6ff;border-radius:50%;font-style:normal;font-weight:700; }.coach-calendar-summary .is-progress i { background:conic-gradient(#62b82f 0 82%,#e7edf2 82% 100%);position:relative; }.coach-calendar-summary .is-progress i::after { width:30px;height:30px;content:"";background:#fff;border-radius:50%; }.coach-calendar-summary .is-target>span { color:#f0792f;background:#fff4ec; }.coach-calendar-summary p { margin:0;display:grid; }.coach-calendar-summary small { color:var(--muted); }.coach-week-progress { margin-top:14px;padding:16px;border:1px solid var(--line);border-radius:13px; }.coach-week-progress span { height:5px;margin-top:10px;display:block;background:#e6edf3;border-radius:10px;overflow:hidden; }.coach-week-progress i { width:68%;height:100%;display:block;background:linear-gradient(90deg,#22b8ce,#57bd71 58%,#d6df00); }.coach-days { margin-top:12px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px; }.coach-days div { min-width:0;padding:12px 5px;display:grid;gap:7px;justify-items:center;border:1px solid var(--line);border-radius:10px;text-align:center; }.coach-days small,.coach-days span { font-size:9px; }.coach-days .done { color:#29954d; }.coach-days .partial { color:#d98700; }.coach-days .today { border:2px solid var(--coach-blue);background:#eef7ff; }.coach-adapt-list { margin:0;padding:0;list-style:none; }.coach-adapt-list li { padding:26px 0;display:grid;grid-template-columns:48px 1fr;gap:18px;border-bottom:1px solid #274057; }.coach-adapt-list li>span { width:44px;height:44px;display:grid;place-items:center;color:#fff;background:var(--coach-blue);border-radius:50%;font-weight:700; }.coach-adapt-list h3 { margin:0 0 7px; }.coach-adapt-list p { margin:0;color:#a9bfd1; }
.coach-reason-grid { margin-top:50px;display:grid;grid-template-columns:1fr 1fr;gap:24px; }.coach-session,.coach-evidence { padding:32px;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 14px 38px rgba(7,27,63,.07); }.coach-session>div { display:flex;align-items:center;gap:14px; }.coach-session>div span { width:45px;height:45px;display:grid;place-items:center;color:var(--coach-blue);background:#e8f4ff;border-radius:50%; }.coach-session h3 { margin:0;font-size:26px; }.coach-session>strong { margin-top:18px;display:block;font-size:19px; }.coach-session>p:not(:first-child),.coach-session>small { color:var(--muted); }.coach-evidence h3 { display:flex;align-items:center;gap:10px;font-size:22px; }.coach-evidence h3 span { width:28px;height:28px;display:grid;place-items:center;color:#fff;background:var(--coach-blue);border-radius:50%;font-size:14px; }.coach-evidence ul { margin:26px 0 0;padding-left:22px;color:var(--muted);line-height:1.8; }
.coach-checkin-grid { margin-top:46px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px; }.coach-checkin-grid article { min-width:0;padding:22px;display:grid;grid-template-columns:46px 1fr;gap:12px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:18px; }.coach-checkin-grid article>span { width:44px;height:44px;display:grid;place-items:center;color:var(--coach-blue);background:#e8f4ff;border-radius:50%;font-size:23px; }.coach-checkin-grid h3 { margin:0;font-size:16px; }.coach-checkin-grid strong { color:var(--muted); }.coach-checkin-grid i { grid-column:1/-1;height:7px;display:block;background:linear-gradient(90deg,var(--coach-green) var(--score),#e5ebf0 var(--score));border-radius:8px; }.coach-checkin-note { margin:25px auto 0;max-width:750px;color:var(--muted);text-align:center; }
@media(max-width:900px){.coach-hero-grid,.coach-calendar-layout { grid-template-columns:1fr; }.coach-today-card { max-width:620px;margin:0 auto 70px; }.coach-mode-grid,.coach-reason-grid { grid-template-columns:1fr; }.coach-checkin-grid { grid-template-columns:1fr 1fr; }}
@media(max-width:600px){.coach-hero-grid { grid-template-columns:minmax(0,1fr); }.coach-today-card { padding:18px;transform:none; }.coach-plan-head { align-items:flex-start;flex-direction:column; }.coach-week-strip { grid-template-columns:repeat(2,1fr); }.coach-mode-grid article { grid-template-columns:1fr; }.coach-calendar { padding:15px; }.coach-calendar-summary { grid-template-columns:1fr; }.coach-days { grid-template-columns:1fr 1fr; }.coach-checkin-grid { grid-template-columns:1fr; }}

.coach-calendar-layout { align-items:start; }
.coach-days--app { grid-template-columns:repeat(4,minmax(0,1fr)); }
.coach-days--app div { min-height:124px;padding:12px 7px;display:flex;flex-direction:column;align-items:center;justify-content:space-between; }
.coach-days--app small { display:flex;align-items:center;gap:3px; }
.coach-days--app small i { width:14px;height:14px;display:grid;place-items:center;color:#fff;border-radius:50%;font-size:9px;font-style:normal; }
.coach-days--app b { font-size:11px;line-height:1.25; }
.coach-days--app em { min-height:26px;color:var(--muted);font-size:8px;font-style:normal;line-height:1.35; }
.coach-days--app span { min-width:58px;padding:5px 7px;color:#fff;background:#74829a;border-radius:7px;font-size:8px;font-weight:700; }
.coach-days--app .is-done { background:#f7fbf2;border-color:#dcebcf; }
.coach-days--app .is-done i,.coach-days--app .is-done span { background:#66b91e; }
.coach-days--app .is-missed { background:#fff7f6;border-color:#f3deda; }
.coach-days--app .is-missed i,.coach-days--app .is-missed span { background:#f02929; }
.coach-days--app .is-today { background:#f2f7ff;border:1px solid #cadcf4; }
.coach-days--app .is-today i { background:#66b91e; }
.coach-days--app .is-today span,.coach-days--app .is-objective span { background:#1674e8; }
.coach-days--app .is-group span { background:#7d42bd; }
.coach-days--app .is-rest span { background:#74829a; }
.coach-days--app .is-activate span { background:#ff711e; }
.coach-days--app .is-easy span { background:#00a0aa; }
.coach-days--app .is-objective { background:#f7fbf2;border-color:#dcebcf; }
.coach-days--app .is-done em:empty::before { content:"Sin carga prevista."; }
.coach-days--app .is-missed em:empty::before { content:"40 min muy suaves."; }
.coach-days--app .is-today em:empty::before { content:"La salida real manda."; }
@property --coach-progress-angle { syntax:"<angle>";inherits:false;initial-value:0deg; }
.coach-calendar-summary .is-progress i { --coach-progress-angle:295deg;background:conic-gradient(#62b82f 0 var(--coach-progress-angle),#e7edf2 var(--coach-progress-angle) 360deg); }
.coach-calendar.is-coach-motion-active .coach-calendar-summary .is-progress i { animation:coach-ring-fill 900ms cubic-bezier(.22,.8,.3,1) 120ms both; }
.coach-calendar .coach-week-progress i { transform:scaleX(1);transform-origin:left; }
.coach-calendar.is-coach-motion-active .coach-week-progress i { animation:coach-bar-fill 850ms cubic-bezier(.22,.8,.3,1) 260ms both; }
.coach-days--app { position:relative;overflow:hidden; }
.coach-calendar.is-coach-motion-active .coach-days--app>div { animation:coach-day-enter 430ms cubic-bezier(.22,.8,.3,1) both; }
.coach-calendar.is-coach-motion-active .coach-days--app>div:nth-child(1) { animation-delay:580ms; }
.coach-calendar.is-coach-motion-active .coach-days--app>div:nth-child(2) { animation-delay:700ms; }
.coach-calendar.is-coach-motion-active .coach-days--app>div:nth-child(3) { animation-delay:1.82s; }
.coach-calendar.is-coach-motion-active .coach-days--app>div:nth-child(4) { animation-delay:980ms; }
.coach-calendar.is-coach-motion-active .coach-days--app>div:nth-child(5) { animation-delay:1.08s; }
.coach-calendar.is-coach-motion-active .coach-days--app>div:nth-child(6) { animation-delay:1.18s; }
.coach-calendar.is-coach-motion-active .coach-days--app>div:nth-child(7) { animation-delay:1.28s; }
.coach-calendar.is-coach-motion-active .coach-days--app>div:nth-child(8) { animation-delay:1.38s; }
.coach-calendar.is-coach-motion-active .coach-days--app>div:nth-child(9) { animation-delay:1.48s; }
.coach-calendar.is-coach-motion-active .coach-days--app>div:nth-child(10) { animation-delay:1.58s; }
.coach-calendar.is-coach-motion-active .coach-days--app .is-today { animation-name:coach-day-enter,coach-today-focus;animation-duration:430ms,700ms;animation-delay:1.82s,2.3s; }
.coach-calendar.is-coach-motion-active .coach-days--app::after { content:"";height:2px;position:absolute;left:3%;right:3%;top:50%;z-index:2;pointer-events:none;background:linear-gradient(90deg,transparent,rgba(22,116,232,.8),transparent);filter:drop-shadow(0 0 6px rgba(22,116,232,.7));transform:translateX(-105%);animation:coach-plan-scan 850ms ease-in-out 1.14s both; }
.coach-checkin-grid article { --coach-delay:0ms; }
.coach-checkin-grid article:nth-child(2) { --coach-delay:140ms; }
.coach-checkin-grid article:nth-child(3) { --coach-delay:280ms; }
.coach-checkin-grid article:nth-child(4) { --coach-delay:420ms; }
.coach-checkin-grid i { position:relative;overflow:hidden;background:#e5ebf0; }
.coach-checkin-grid i::after { width:var(--score);height:100%;content:"";position:absolute;inset:0 auto 0 0;background:var(--coach-green);border-radius:inherit;transform:scaleX(1);transform-origin:left; }
.coach-checkin-grid.is-coach-motion-active article { animation:coach-checkin-enter 420ms ease-out var(--coach-delay) both; }
.coach-checkin-grid.is-coach-motion-active i::after { animation:coach-score-fill 800ms cubic-bezier(.22,.8,.3,1) calc(180ms + var(--coach-delay)) both; }
@keyframes coach-ring-fill { from { --coach-progress-angle:0deg; } to { --coach-progress-angle:295deg; } }
@keyframes coach-bar-fill { from { transform:scaleX(0); } to { transform:scaleX(1); } }
@keyframes coach-day-enter { from { opacity:0;transform:translateY(10px) scale(.975); } to { opacity:1;transform:none; } }
@keyframes coach-plan-scan { 0% { opacity:0;transform:translateX(-105%); } 20%,75% { opacity:1; } 100% { opacity:0;transform:translateX(105%); } }
@keyframes coach-today-focus { 0%,100% { box-shadow:none; } 45% { box-shadow:0 0 0 4px rgba(22,116,232,.18),0 10px 25px rgba(22,116,232,.2);transform:translateY(-3px); } }
@keyframes coach-checkin-enter { from { opacity:0;transform:translateY(8px); } to { opacity:1;transform:none; } }
@keyframes coach-score-fill { from { transform:scaleX(0); } to { transform:scaleX(1); } }
@media(prefers-reduced-motion:reduce){.coach-calendar-summary .is-progress i,.coach-calendar .coach-week-progress i,.coach-days--app>div,.coach-days--app::after,.coach-checkin-grid article,.coach-checkin-grid i::after { animation:none!important;transform:none!important; }}
@media(max-width:600px){.coach-days--app { grid-template-columns:repeat(2,minmax(0,1fr)); }}

/* Página editorial: importar y conectar. */
.connect-page { --connect-blue:#0877e8;--connect-navy:#071a2d;--connect-soft:#eff7ff; }
.connect-hero { overflow:clip; }.connect-hero-grid { min-height:700px;display:grid;grid-template-columns:minmax(0,.9fr) minmax(500px,1.1fr);gap:clamp(42px,7vw,96px);align-items:center; }.connect-hero .hero-copy h1 span { color:var(--connect-blue); }
.connect-flow-visual { min-width:0;display:grid;grid-template-columns:minmax(130px,.65fr) 96px minmax(250px,1.2fr);align-items:center; }.connect-sources { display:grid;gap:10px; }.connect-sources>span { min-height:58px;padding:10px 16px;display:grid;place-items:center;text-align:center;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 10px 24px rgba(7,27,63,.08); }.connect-sources small { color:var(--muted);font-size:10px; }.connect-sources .provider { place-items:center; }.connect-sources .provider img { width:auto;height:auto;max-width:112px;max-height:30px;display:block;object-fit:contain; }
.flow-lines { display:grid;gap:32px; }.flow-lines i { height:2px;display:block;background:var(--connect-blue);position:relative; }.flow-lines i::after { content:"";width:8px;height:8px;position:absolute;right:0;top:50%;border-top:2px solid var(--connect-blue);border-right:2px solid var(--connect-blue);transform:translateY(-50%) rotate(45deg); }
.route-destination { padding:26px;display:grid;gap:14px;background:#fff;border:1px solid var(--line);border-radius:25px;box-shadow:var(--shadow);position:relative; }.route-r { width:52px;height:52px;display:grid;place-items:center;position:absolute;left:22px;top:22px;color:#fff;background:var(--connect-blue);border-radius:13px;font-size:28px;font-weight:700;font-style:italic;z-index:1; }.route-destination svg { width:100%;height:auto;display:block;color:var(--connect-blue);background:var(--connect-soft);border-radius:16px; }.route-destination .route-contours { fill:none;stroke:#cce3f7;stroke-width:2; }.route-destination .route-path { fill:none;stroke:currentColor;stroke-width:8;stroke-linecap:round;stroke-linejoin:round; }.route-destination circle { fill:#fff;stroke:currentColor;stroke-width:5; }.route-destination strong { text-align:center; }
.connect-options,.connect-providers { padding:clamp(80px,9vw,130px) 0; }.connect-option-grid { margin-top:50px;display:grid;grid-template-columns:1fr 1fr;gap:24px; }.connect-option-grid article { padding:34px;display:grid;grid-template-columns:74px 1fr;gap:24px;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 14px 38px rgba(7,27,63,.07); }.connect-option-icon { width:70px;height:70px;display:grid;place-items:center;color:var(--connect-blue);background:#e7f4ff;border-radius:50%;font-size:33px; }.connect-option-icon svg { width:38px;height:38px;display:block;fill:none;stroke:currentColor;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round; }.connect-option-icon--link { color:#0877e8;background:#e7f4ff; }.connect-option-grid h3 { margin:0;font-size:26px; }.connect-option-grid strong { color:var(--connect-blue); }.connect-option-grid p { color:var(--muted); }.connect-option-grid ul { margin:18px 0 0;padding:0;display:grid;gap:9px;list-style:none; }.connect-option-grid li { padding-inline-start:24px;position:relative; }.connect-option-grid li::before { content:"✓";position:absolute;left:0;color:var(--connect-blue);font-weight:700; }
.connect-own-route { margin-top:52px;min-height:430px;padding:clamp(34px,5vw,68px);display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,.72fr);gap:clamp(36px,7vw,96px);align-items:center;overflow:hidden;color:#fff;background:var(--connect-navy);border-radius:28px;box-shadow:0 20px 52px rgba(7,27,63,.14); }.connect-own-route-copy { max-width:620px; }.connect-own-route .eyebrow { color:#279bff; }.connect-own-route h2 { margin:8px 0 18px;color:#fff;font-size:clamp(34px,4vw,52px);line-height:1.08; }.connect-own-route p:not(.eyebrow) { margin:0;color:#bfd1df;font-size:17px;line-height:1.7; }.connect-own-route a { width:max-content;margin-top:26px;padding:14px 20px;display:inline-flex;align-items:center;gap:10px;color:#fff;background:var(--connect-blue);border-radius:12px;font-weight:700;text-decoration:none; }.connect-own-route figure { height:430px;margin:0;display:grid;place-items:center;overflow:visible; }
.connect-phone-frame { position:relative;width:min(210px,100%);aspect-ratio:504/1024;filter:drop-shadow(0 24px 34px rgba(0,0,0,.38)); }
.connect-own-route .connect-phone-screen,.connect-own-route .connect-phone-shell { display:block;width:100%;height:100%;max-width:none;border-radius:0;box-shadow:none;filter:none; }
.connect-own-route .connect-phone-screen { position:absolute;inset:0;z-index:1;object-fit:cover;border-radius:34px; }
.connect-own-route .connect-phone-shell { position:relative;z-index:2;pointer-events:none;object-fit:contain; }
.connect-steps { padding:clamp(80px,9vw,130px) 0;color:#fff;background:var(--connect-navy); }.connect-steps .split-heading>p { color:#b8cede; }.connect-step-list { margin:55px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:30px;list-style:none; }.connect-step-list li { padding-top:26px;display:grid;grid-template-columns:58px 1fr;gap:16px;border-top:1px solid #294158; }.connect-step-list li>span { color:var(--connect-blue);font-size:34px;font-weight:700;line-height:1; }.connect-step-list h3 { margin:0 0 8px;font-size:20px; }.connect-step-list p { margin:0;color:#b8cede; }
.provider-grid { margin-top:48px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px; }.provider-grid article { min-width:0;padding:30px;display:grid;align-content:start;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 14px 38px rgba(7,27,63,.07); }.provider-name { min-height:66px;display:grid;place-items:center;background:#f3f8fd;border-radius:13px; }.provider-name img { width:auto;height:auto;max-width:170px;max-height:42px;display:block;object-fit:contain; }.provider-grid h3 { margin:24px 0 7px;font-size:22px; }.provider-grid p { margin:0;color:var(--muted); }
@media(max-width:900px){.connect-hero-grid { grid-template-columns:1fr; }.connect-flow-visual { max-width:680px;margin:0 auto 70px; }.connect-option-grid,.connect-own-route { grid-template-columns:1fr; }.connect-own-route { padding-bottom:0; }.connect-own-route-copy { max-width:680px; }.connect-own-route figure { height:390px; }.connect-phone-frame { width:190px; }.connect-step-list,.provider-grid { grid-template-columns:1fr; }}
@media(max-width:600px){.connect-flow-visual { grid-template-columns:1fr;gap:14px; }.flow-lines { display:none; }.connect-sources { grid-template-columns:1fr 1fr; }.connect-sources>span:last-child { grid-column:1/-1; }.connect-option-grid article { grid-template-columns:1fr;padding:24px; }.connect-own-route { margin-top:34px;padding:30px 24px 0;border-radius:22px; }.connect-own-route h2 { font-size:34px; }.connect-own-route figure { height:310px; }.connect-phone-frame { width:150px; }.connect-step-list li { grid-template-columns:48px 1fr; }.route-destination { padding:18px; }}

/* Flujo de importación hacia la app y enlace editorial al ciclocomputador. */
.connect-page .flow-lines {
  height: 340px;
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  gap: 10px;
  align-items: center;
}

.connect-page .flow-lines i {
  position: relative;
  overflow: visible;
}

.connect-page .flow-lines i::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  background: #fff;
  border: 2px solid var(--connect-blue);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(8, 119, 232, .16);
  transform: translateY(-50%);
  animation: connect-flow-pulse 2.4s ease-in-out infinite;
}

.connect-page .flow-lines i:nth-child(2)::before { animation-delay: .25s; }
.connect-page .flow-lines i:nth-child(3)::before { animation-delay: .5s; }
.connect-page .flow-lines i:nth-child(4)::before { animation-delay: .75s; }
.connect-page .flow-lines i:nth-child(5)::before { animation-delay: 1s; }

@keyframes connect-flow-pulse {
  0% { left: 0; opacity: 0; }
  18% { opacity: 1; }
  82% { opacity: 1; }
  100% { left: calc(100% - 8px); opacity: 0; }
}

.connect-page .route-destination {
  padding: 0 0 0 12px;
  gap: 0;
  justify-items: start;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.connect-destination-phone {
  position: relative;
  width: min(240px, 100%);
  aspect-ratio: 504 / 1024;
  filter: drop-shadow(0 22px 32px rgba(7, 27, 63, .24));
}

.connect-destination-screen,
.connect-destination-shell {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  filter: none;
}

.connect-destination-screen {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 32px;
  object-fit: cover;
}

.connect-destination-shell {
  position: relative;
  z-index: 2;
  pointer-events: none;
  object-fit: contain;
}

.connect-page .connect-option-icon--link svg rect {
  vector-effect: non-scaling-stroke;
}

.connect-page .provider-name--garmin img {
  mix-blend-mode: multiply;
}

.connect-page .connect-own-route figure {
  height: auto;
}

.connect-page .connect-own-route .connect-computer-link {
  width: min(390px, 100%);
  margin: 0;
  padding: 0;
  display: block;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  text-decoration: none;
}

.connect-page .connect-own-route .connect-own-route-cta {
  margin-top: 24px;
  padding: 0;
  color: #fff;
  background: transparent;
  border-radius: 0;
}

.connect-page .connect-own-route .connect-own-route-cta:hover,
.connect-page .connect-own-route .connect-own-route-cta:focus-visible {
  color: #79bfff;
}

.connect-page .connect-computer-preview {
  --computer-dark: #05070b;
  --computer-panel: #181c28;
  --computer-pink: #df5bc5;
  --computer-yellow: #ffe000;
  width: 100%;
  margin: 0;
  padding: 12px;
  border-width: 4px;
  border-radius: 25px;
  box-shadow: 0 26px 55px rgba(0, 0, 0, .32);
  transform: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.connect-page .connect-computer-link:hover .connect-computer-preview,
.connect-page .connect-computer-link:focus-visible .connect-computer-preview {
  box-shadow: 0 30px 62px rgba(0, 0, 0, .4);
  transform: translateY(-3px);
}

.connect-page .connect-computer-link:focus-visible {
  outline: 2px solid #69baff;
  outline-offset: 6px;
}

.connect-page .connect-computer-preview .computer-signal { min-height: 60px; }
.connect-page .connect-computer-preview .computer-time { min-height: 72px; margin-top: 8px; }
.connect-page .connect-computer-preview .computer-time strong { font-size: 38px; }
.connect-page .connect-computer-preview .computer-metric-grid { margin-top: 8px; gap: 8px; }
.connect-page .connect-computer-preview .computer-metric-grid div { min-height: 70px; }
.connect-page .connect-computer-preview .computer-metric-grid strong,
.connect-page .connect-computer-preview .computer-altitude strong { font-size: 28px; }
.connect-page .connect-computer-preview .computer-altitude { min-height: 64px; margin-top: 8px; }
.connect-page .connect-computer-preview .computer-searching { margin: 9px 0; }
.connect-page .connect-computer-preview .computer-buttons { grid-template-columns: 52px 1fr; gap: 8px; }
.connect-page .connect-computer-preview .computer-buttons > * { min-height: 50px; }

@media (prefers-reduced-motion: reduce) {
  .connect-page .connect-computer-preview { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  .connect-page .flow-lines i::before { animation: none; opacity: 1; }
}

@media (max-width: 600px) {
  .connect-page .flow-lines { display: none; }
  .connect-page .route-destination { padding-left: 0; justify-items: center; }
  .connect-destination-phone { width: 170px; }
}

/* Comparar rutas */
.compare-page { --compare-blue:#0d82ef;--compare-green:#16a34a;--compare-navy:#071b2d;--compare-soft:#eef7fd; }
.compare-hero { overflow:clip; }
.compare-hero-grid { min-height:570px;display:grid;grid-template-columns:minmax(360px,.8fr) minmax(580px,1.2fr);gap:clamp(38px,5vw,76px);align-items:center; }
.compare-hero .hero-copy h1 { max-width:610px;font-size:clamp(3rem,4.25vw,4.45rem);line-height:1.01;letter-spacing:-.05em;text-wrap:balance; }
.compare-hero .hero-copy h1 span { color:var(--compare-blue); }
.compare-hero .hero-lead { max-width:610px; }
.compare-primary-link { display:inline-flex;align-items:center;gap:10px;margin-top:26px;padding:3px 0;border-bottom:2px solid currentColor;color:var(--compare-blue);font-family:Poppins,sans-serif;font-weight:700;line-height:1.4; }
.compare-primary-link span { transition:transform .18s ease; }
.compare-primary-link:hover span { transform:translateX(4px); }
.compare-primary-link:focus-visible { outline:3px solid rgba(13,130,239,.35);outline-offset:5px;border-radius:2px; }
.compare-pro-note { display:flex;align-items:center;gap:8px;margin:18px 0 0;color:#607086;font-size:.82rem; }.compare-pro-note span { color:var(--compare-green);font-weight:700; }
.compare-route-pair { position:relative;display:grid;grid-template-columns:1fr 1fr;gap:18px; }
.compare-route-card { position:relative;min-width:0;padding:14px;border:2px solid;border-radius:18px;background:#fff;box-shadow:0 18px 40px rgba(7,27,45,.1); }
.compare-route-card.is-base { border-color:var(--compare-blue);color:var(--compare-blue); }
.compare-route-card.is-compare { border-color:var(--compare-green);color:var(--compare-green); }
.compare-card-number { position:absolute;top:-16px;right:16px;display:grid;width:34px;aspect-ratio:1;place-items:center;border:4px solid #fff;border-radius:50%;color:#fff;font-weight:700;line-height:1;box-sizing:content-box; }
.compare-route-card.is-base .compare-card-number { background:var(--compare-blue); }
.compare-route-card.is-compare .compare-card-number { background:var(--compare-green); }
.compare-card-head { display:flex;justify-content:space-between;gap:10px;color:#071b2d; }
.compare-card-head small { color:currentColor;font-weight:700; }
.compare-card-head h2 { margin:3px 0 0;font-size:1.05rem;line-height:1.2; }
.compare-card-head p { margin:3px 0 0;color:#6a7890;font-size:.75rem; }
.compare-card-head>strong { align-self:start;font-size:.72rem;text-transform:uppercase; }
.compare-card-distance { margin:12px 0 8px;color:#071b2d; }
.compare-card-distance strong { font-size:2.1rem;line-height:1; }
.compare-map-thumbnail { display:block;width:100%;height:auto;aspect-ratio:2/1;border-radius:12px;background:#08253e;overflow:hidden; }
.compare-contour { fill:none;stroke:#193c57;stroke-width:2; }
.compare-map-road { fill:none;stroke:#42617a;stroke-width:4; }
.compare-route-line { fill:none;stroke:currentColor;stroke-width:8;stroke-linecap:round;stroke-linejoin:round; }
.compare-start { fill:#74c947;stroke:#fff;stroke-width:4; }.compare-finish { fill:#fff;stroke:#071b2d;stroke-width:4; }
.compare-card-metrics { display:grid;grid-template-columns:repeat(3,1fr);margin:10px 0 0;color:#071b2d; }
.compare-card-metrics div { padding-inline:6px;text-align:center;border-right:1px solid #dde5ed; }.compare-card-metrics div:last-child { border:0; }
.compare-card-metrics dt { color:#718096;font-size:.65rem; }.compare-card-metrics dd { margin:2px 0 0;font-size:.72rem;font-weight:700; }
.same-route-pill { position:absolute;z-index:2;top:44%;left:50%;display:flex;align-items:center;gap:8px;margin:0;padding:10px 14px;transform:translate(-50%,-50%);border:1px solid #d8e4ec;border-radius:999px;background:#fff;color:#071b2d;font-size:.76rem;font-weight:700;box-shadow:0 8px 22px rgba(7,27,45,.14); }
.same-route-pill span { display:grid;width:22px;aspect-ratio:1;place-items:center;border-radius:50%;background:var(--compare-green);color:#fff; }
.compare-select { padding:52px 0;background:linear-gradient(135deg,#eef8ff,#e9f4fb); }
.compare-select>.container { display:grid;grid-template-columns:minmax(230px,.72fr) minmax(390px,1.2fr) minmax(290px,.86fr);gap:clamp(26px,3.5vw,54px);align-items:center; }
.compare-select .section-heading { margin:0;text-align:left; }
.compare-select .section-heading h2 { font-size:clamp(2rem,3vw,3.15rem); }
.compare-select-grid { display:grid;grid-template-columns:minmax(0,1.15fr) minmax(310px,.85fr);gap:clamp(36px,6vw,80px);align-items:center;margin-top:30px; }
.compare-select>.container>.compare-select-grid { display:contents; }
.compare-selection-card { padding:20px;border:1px solid #d8e6ef;border-radius:18px;background:#fff;box-shadow:0 16px 36px rgba(7,27,45,.09); }
.compare-selection-card h3 { margin:0 0 16px;font-size:1.1rem; }
.compare-selection-card article { display:grid;grid-template-columns:32px minmax(0,1fr) auto 32px;gap:12px;align-items:center;margin-top:10px;padding:14px;border:1px solid #dfe8ef;border-radius:12px; }
.compare-selection-card article div { display:grid; }.compare-selection-card article small { color:#738096; }.compare-selection-card article i { display:grid;aspect-ratio:1;place-items:center;border-radius:50%;background:var(--compare-blue);color:#fff;font-style:normal;font-weight:700; }.compare-selection-card article:nth-of-type(2) i { background:var(--compare-green); }
.selection-check { display:grid;width:24px;aspect-ratio:1;place-items:center;border-radius:5px;background:var(--compare-blue);color:#fff; }
.selection-action { display:flex;justify-content:space-between;align-items:center;margin-top:18px;padding-top:18px;border-top:1px solid #dfe8ef; }.selection-action strong { padding:11px 18px;border-radius:9px;background:var(--compare-blue);color:#fff; }
.compare-flow-list { display:grid;gap:18px;margin:0;padding:0;list-style:none; }
.compare-flow-list li { display:grid;grid-template-columns:54px 1fr;gap:18px;align-items:start; }.compare-flow-list>li>span { display:grid;aspect-ratio:1;place-items:center;border-radius:50%;background:#dbeeff;color:var(--compare-blue);font-weight:700; }.compare-flow-list h3 { margin:1px 0 4px;font-size:1.05rem; }.compare-flow-list p { margin:0;color:#5f6f85; }
.compare-metrics-section { padding:54px 0;background:var(--compare-navy);color:#fff; }
.compare-metrics-layout { display:grid;grid-template-columns:minmax(280px,.72fr) minmax(620px,1.28fr);gap:clamp(50px,7vw,100px);align-items:center; }
.compare-dark-copy h2 { margin:8px 0 18px;font-size:clamp(2.55rem,3.5vw,4rem);line-height:1.04;letter-spacing:-.045em; }.compare-dark-copy>p:last-of-type { max-width:450px;color:#d5e3ee;font-size:1rem; }
.compare-dark-copy aside { display:flex;gap:12px;align-items:center;max-width:430px;margin-top:22px;padding:13px;border:1px solid #29475e;border-radius:12px;color:#c9dae6;font-size:.8rem; }.compare-dark-copy aside span { display:grid;flex:0 0 26px;aspect-ratio:1;place-items:center;border-radius:50%;background:#dff1ff;color:#0876d1;font-weight:700; }
.compare-table-wrap { overflow:hidden;border:1px solid #34556d;border-radius:18px;background:#fff;color:#071b2d;box-shadow:0 24px 50px rgba(0,0,0,.18); }
.compare-table-head,.compare-table>div { display:grid;grid-template-columns:minmax(180px,1.2fr) 1fr 1fr .8fr;align-items:center;text-align:center; }
.compare-table-head { min-height:56px;background:#f7fafc;font-size:.74rem;font-weight:700; }.compare-table-head strong { align-self:stretch;display:grid;place-items:center;padding:6px;color:#fff; }.compare-table-head strong small { display:block;font-weight:400; }.compare-table-head .base { background:var(--compare-blue); }.compare-table-head .second { background:var(--compare-green); }
.compare-table { margin:0; }.compare-table>div { min-height:46px;border-top:1px solid #e2e9ef; }.compare-table dt { padding:7px 14px;text-align:left;font-size:.84rem;font-weight:600; }.compare-table dd { margin:0;padding:7px;font-size:.86rem;font-weight:700; }.compare-table .winner { margin:4px 6px;border-radius:7px;background:#dcf8e4; }.compare-table .better { color:var(--compare-green); }
.compare-visual { padding:52px 0; }
.compare-visual-grid { display:grid;grid-template-columns:minmax(290px,.55fr) minmax(620px,1.45fr);gap:clamp(44px,6vw,90px);align-items:center; }
.visual-map-card { display:grid;grid-template-columns:1fr 190px;overflow:hidden;border:1px solid #d5e1e9;border-radius:20px;background:#fff;box-shadow:0 22px 48px rgba(7,27,45,.11); }
.visual-map-card>svg { display:block;width:100%;height:auto;min-height:240px; }.visual-map-card .map-road { fill:none;stroke:#fff;stroke-width:24;stroke-linecap:round; }.map-route-one,.map-route-two { fill:none;stroke-width:8;stroke-linecap:round;stroke-linejoin:round; }.map-route-one { stroke:var(--compare-blue); }.map-route-two { stroke:var(--compare-green); }.map-start { fill:#75c947;stroke:#fff;stroke-width:5; }.map-finish { fill:#fff;stroke:#071b2d;stroke-width:5; }.map-marker { stroke:#fff;stroke-width:5; }.marker-one { fill:var(--compare-blue); }.marker-two { fill:var(--compare-green); }
.compare-real-map { position:relative;min-height:390px;background:#dce7e2; }.compare-real-map>p { position:absolute;inset:0;display:grid;place-items:center;margin:0;color:#5d7082;font-size:.78rem; }.compare-real-map .mapboxgl-canvas { outline:0; }.compare-real-map .mapboxgl-ctrl-attrib { font-size:9px; }.compare-real-map .mapboxgl-ctrl-group { box-shadow:0 5px 18px rgba(7,27,45,.18); }
.visual-legend { display:grid;align-content:start;gap:10px;padding:15px;background:#f8fbfd; }.visual-legend article { display:grid;grid-template-columns:18px 1fr;gap:9px;padding:12px;border:1px solid #dce6ec;border-radius:10px;background:#fff; }.visual-legend article i { width:14px;aspect-ratio:1;margin-top:2px;border-radius:50%;background:var(--compare-blue); }.visual-legend article:nth-child(2) i { background:var(--compare-green); }.visual-legend article div { display:grid; }.visual-legend article span { color:#708095;font-size:.66rem; }.visual-legend article b { grid-column:2;font-size:.78rem; }.visual-legend>p { margin:0;padding:12px;border-radius:10px;background:#ddf7e5;color:#176d38; }.visual-legend>p span,.visual-legend>p strong { display:block; }.visual-legend>p span { font-size:.64rem; }
.visual-timeline { grid-column:1/-1;display:grid;grid-template-columns:34px auto 1fr auto;gap:12px;align-items:center;padding:14px 18px;border-top:1px solid #dce6ec; }.timeline-play { display:grid;width:34px;aspect-ratio:1;padding:0;border:0;place-items:center;border-radius:50%;background:var(--compare-blue);color:#fff;font:inherit;font-size:.75rem;cursor:pointer; }.timeline-play:hover { filter:brightness(.94); }.timeline-play:focus-visible,.timeline-range:focus-visible { outline:3px solid rgba(13,130,239,.3);outline-offset:3px; }.visual-timeline time { color:#4c5d72;font-size:.75rem; }.timeline-range { width:100%;height:20px;margin:0;accent-color:var(--compare-blue);cursor:pointer; }
.compare-benefits { padding:48px 0;background:#eaf6fd; }.compare-benefits>.container { display:grid;grid-template-columns:minmax(250px,.7fr) minmax(720px,1.8fr);gap:44px;align-items:center; }.compare-benefits .split-heading { display:block; }.compare-benefits .split-heading h2 { font-size:clamp(2.1rem,3vw,3.25rem); }.compare-benefits .split-heading>p { margin-top:16px; }.compare-benefit-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:0; }.compare-benefit-grid article { display:grid;grid-template-columns:38px 1fr;align-content:start;column-gap:10px;padding:16px;border:1px solid #d7e7f0;border-radius:14px;background:#fff;box-shadow:0 10px 24px rgba(7,27,45,.06); }.compare-benefit-grid article>span { display:grid;width:38px;aspect-ratio:1;place-items:center;border-radius:50%;background:#e2f2ff;color:var(--compare-blue);font-size:1.05rem;font-weight:700; }.compare-benefit-grid h3 { margin:0 0 4px;font-size:.9rem; }.compare-benefit-grid p { margin:0;color:#627289;font-size:.7rem; }.benefit-metric-compare,.benefit-data-list { grid-column:1/-1;margin:12px 0 0; }.benefit-metric-compare>div { display:flex;justify-content:space-between;gap:10px;padding:4px 6px;border-bottom:1px solid #e5edf2;font-size:.68rem; }.benefit-metric-compare dd { margin:0;font-weight:700; }.benefit-metric-compare .is-result dd { color:var(--compare-green); }.benefit-data-list { display:grid;grid-template-columns:1fr 1fr;gap:4px 8px;padding:0;list-style:none;color:#52667c;font-size:.62rem; }.benefit-data-list li::before { content:"✓";margin-right:4px;color:var(--compare-green);font-weight:700; }
.compare-final { background-image:linear-gradient(90deg,rgba(5,24,41,.98),rgba(5,24,41,.78)),url("../assets/hero.jpg");background-position:center;background-size:cover; }
.compare-hero-grid { min-height:680px; }
.compare-app-preview { overflow:hidden;border:1px solid #dce5ed;border-radius:28px;background:#f7f8fc;box-shadow:0 28px 70px rgba(7,27,45,.15);transform:rotate(1.2deg); }
.compare-app-top { height:58px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e1e7ed;background:#fff;color:#0a1b3b; }.compare-app-top>span { width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#f2f6fa;color:#147be8;font-weight:700; }.compare-app-top strong { font-size:1rem; }
.compare-app-routes { padding:14px 18px;display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center;background:#fff; }.compare-app-routes article { min-width:0;padding:12px;border:1px solid #dce7ef;border-radius:13px;background:#eef6ff;display:grid; }.compare-app-routes article:last-child { border-color:#d8eadb;background:#f0faed; }.compare-app-routes small { color:#147be8;font-weight:700; }.compare-app-routes article:last-child small { color:#299854; }.compare-app-routes b { margin-top:3px;color:#091a3c;font-size:.86rem; }.compare-app-routes article span { color:#6c7a91;font-size:.68rem; }.compare-app-routes>i { color:#75839a;font-size:.68rem;font-style:normal;font-weight:700; }
.compare-app-map { position:relative;margin:0 18px 14px;overflow:hidden;border-radius:15px;background:#dce7e2; }.compare-hero-static-map { position:relative;min-height:260px; }.compare-hero-static-map img { display:block;width:100%;height:auto;aspect-ratio:620/260;object-fit:cover; }.compare-hero-static-map>p { position:absolute;inset:0;display:grid;place-items:center;margin:0;color:#5d7082;font-size:.72rem; }.compare-app-legend { position:absolute;z-index:2;top:10px;left:10px;display:flex;gap:7px; }.compare-app-legend span { padding:5px 8px;display:flex;align-items:center;gap:5px;border-radius:99px;background:rgba(255,255,255,.93);color:#20344b;font-size:.6rem;font-weight:700; }.compare-app-legend i { width:7px;height:7px;border-radius:50%;background:#0d82ef; }.compare-app-legend span:last-child i { background:#36b964; }
.compare-app-metrics { margin:0 18px 18px;overflow:hidden;border:1px solid #dde6ed;border-radius:14px;background:#fff; }.compare-app-metrics-head,.compare-app-metrics>div:not(.compare-app-metrics-head) { display:grid;grid-template-columns:1fr 110px 1fr;align-items:center;text-align:center; }.compare-app-metrics-head { padding:8px 12px;color:#65758b;font-size:.65rem; }.compare-app-metrics>div:not(.compare-app-metrics-head) { min-height:44px;border-top:1px solid #e6edf2; }.compare-app-metrics strong { color:#091a3c;font-size:.77rem; }.compare-app-metrics strong small { font-size:.57rem;font-weight:500; }.compare-app-metrics>div>span { align-self:stretch;display:grid;place-items:center;border-inline:1px solid #e6edf2;color:#6c7a91;font-size:.65rem; }.compare-app-metrics .is-winner { color:#20a052; }.compare-app-metrics .is-winner small { display:block;color:#20a052; }
.compare-selection-card--app { padding:14px;background:#f8f9fc; }.selection-app-head { padding:4px 6px 10px;display:flex;justify-content:space-between;align-items:center; }.selection-app-head span { color:#6c7a91;font-size:.68rem; }.compare-selection-card--app article { position:relative;grid-template-columns:28px minmax(0,1fr) 112px 28px; }.compare-selection-card--app article>div:nth-of-type(1) { align-self:start; }.compare-selection-card--app article em { margin-top:4px;color:#147be8;font-size:.65rem;font-style:normal;font-weight:600; }.selection-route-thumb { height:68px;overflow:hidden;border-radius:9px;background:#08253e; }.selection-route-thumb svg { width:100%;height:100%; }.selection-route-thumb path { fill:none;stroke:#ffd128;stroke-width:5;stroke-linecap:round;stroke-linejoin:round; }.compare-selection-card--app article dl { grid-column:2/4;width:100%;margin:8px 0 0;padding-top:8px;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #e3eaf0; }.compare-selection-card--app article dl div { display:grid;text-align:center; }.compare-selection-card--app article dt { color:#7a879a;font-size:.56rem; }.compare-selection-card--app article dd { margin:1px 0 0;color:#132342;font-size:.65rem;font-weight:700; }
@media(max-width:700px){.compare-app-preview { transform:none; }.compare-app-metrics-head,.compare-app-metrics>div:not(.compare-app-metrics-head) { grid-template-columns:1fr 84px 1fr; }.compare-selection-card--app article { grid-template-columns:28px minmax(0,1fr) 86px 28px; }.selection-route-thumb { height:58px; }}

@media (max-width:1050px) {
  .compare-hero-grid,.compare-metrics-layout,.compare-visual-grid { grid-template-columns:1fr; }
  .compare-hero-grid { padding:44px 0 80px; }.compare-route-pair { max-width:780px;margin:auto; }
  .compare-metrics-layout,.compare-visual-grid { max-width:840px; }.compare-dark-copy { max-width:650px; }
  .compare-select>.container { display:block; }.compare-select .section-heading { margin-inline:auto;text-align:center; }.compare-select>.container>.compare-select-grid { display:grid; }
  .compare-benefits>.container { grid-template-columns:1fr; }.compare-benefits .split-heading { display:grid; }.compare-benefit-grid { margin-top:24px; }
}
@media (max-width:760px) {
  .compare-hero-grid { min-height:0; }.compare-hero .hero-copy h1 { font-size:clamp(2.65rem,13vw,4rem); }
  .compare-route-pair { grid-template-columns:1fr; }.same-route-pill { top:50%; }.compare-card-number { right:14px; }
  .compare-select,.compare-metrics-section,.compare-visual,.compare-benefits { padding:76px 0; }
  .compare-select-grid { grid-template-columns:1fr; }.compare-selection-card { padding:16px; }.compare-selection-card article { grid-template-columns:28px minmax(0,1fr) 30px; }.compare-selection-card article>b { display:none; }
  .compare-table-wrap { overflow-x:auto; }.compare-table-head,.compare-table>div { min-width:670px; }
  .visual-map-card { grid-template-columns:1fr; }.visual-legend { grid-template-columns:1fr 1fr; }.visual-legend>p { grid-column:1/-1; }.visual-timeline { grid-column:1; }
  .compare-benefit-grid { grid-template-columns:1fr; }
}
@media (max-width:500px) {
  .compare-card-metrics { grid-template-columns:1fr;gap:8px; }.compare-card-metrics div { display:flex;justify-content:space-between;border-right:0;border-bottom:1px solid #e5ebef;padding:7px 0; }.compare-card-metrics div:last-child { border-bottom:0; }
  .same-route-pill { padding:8px 11px;font-size:.7rem; }.selection-action { align-items:flex-start;gap:12px; }.selection-action strong { white-space:nowrap; }
  .visual-legend { grid-template-columns:1fr; }.visual-legend>p { grid-column:1; }.visual-timeline { grid-template-columns:32px 1fr auto; }.visual-timeline time:first-of-type { display:none; }
}

/* Página editorial: creación de vídeos de rutas. */
.video-page {
  --video-blue: #0e82ed;
  --video-navy: #071b2d;
  --video-soft: #eef6fb;
}

.video-hero {
  overflow: hidden;
}

.video-hero-grid {
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(36px, 7vw, 100px);
}

.video-hero .hero-copy {
  padding-block: 64px 72px;
}

.video-hero-benefits {
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.video-hero-benefits li {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 9px;
}

.video-hero-benefits li > span {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--video-blue);
  background: #e8f4ff;
  border-radius: 50%;
}

.video-hero-benefits strong {
  font-size: 12px;
}

.video-hero-benefits small {
  color: var(--muted);
  font-size: 9px;
}

.video-phone-stage {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.video-phone-stage::before {
  content: "";
  position: absolute;
  width: min(580px, 110%);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(21, 151, 245, .21), transparent 68%);
  border-radius: 50%;
}

.video-hero-phone {
  position: relative;
  z-index: 1;
  width: min(320px, 100%);
  height: auto;
  display: block;
  filter: drop-shadow(12px 30px 48px rgba(7, 27, 45, .24));
  transform: rotate(2.25deg) translateY(4px);
  transform-origin: center;
}

.video-phone-stage > p {
  position: absolute;
  right: -24px;
  bottom: 90px;
  width: 170px;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
  transform: rotate(-5deg);
}

.video-phone {
  position: relative;
  z-index: 1;
  width: 330px;
  padding: 14px;
  color: #fff;
  background: #08131e;
  border: 7px solid #17212b;
  border-radius: 46px;
  box-shadow: 0 34px 70px rgba(7, 27, 45, .28);
  transform: rotate(2deg);
}

.video-phone::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 104px;
  height: 24px;
  background: #02070b;
  border-radius: 20px;
  transform: translateX(-50%);
  z-index: 2;
}

.video-phone-top {
  height: 62px;
  padding: 24px 12px 8px;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.video-phone-top small { color: #aebdca; }

.video-phone-route {
  display: block;
  width: 100%;
  height: 390px;
  border-radius: 20px;
}

.video-phone-progress {
  padding: 14px 4px;
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 8px;
}

.video-phone-progress button,
.video-preview-player button,
.video-route-panel button {
  border: 0;
  color: #fff;
  background: var(--video-blue);
  border-radius: 50%;
  cursor: pointer;
}

.video-phone-progress button { width: 30px; height: 30px; }
.video-phone-play { width: 30px; height: 30px; display: grid; place-items: center; color: #fff; background: var(--video-blue); border-radius: 50%; }
.video-phone-progress span { height: 4px; background: #50606f; border-radius: 9px; }
.video-phone-progress i { display: block; width: 42%; height: 100%; background: #1b9cff; }
.video-phone-progress small { color: #b7c3ce; font-size: 9px; }

.video-phone-metrics {
  padding: 13px 8px 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: var(--ink);
  background: #fff;
  border-radius: 16px 16px 28px 28px;
}

.video-phone-metrics div { text-align: center; }
.video-phone-metrics strong, .video-phone-metrics small { display: block; }
.video-phone-metrics strong { font-size: 13px; }
.video-phone-metrics small { color: var(--muted); font-size: 7px; }

.video-steps,
.video-editor-section,
.video-story-section,
.video-output-section {
  padding: 105px 0;
}

.video-steps .section-heading { margin-bottom: 62px; }

.video-step-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
  list-style: none;
}

.video-step-list li {
  position: relative;
  text-align: center;
}

.video-step-list li:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 46px;
  right: -52px;
  color: var(--video-blue);
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
}

.video-step-list li > span {
  width: 34px;
  height: 34px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--video-blue);
  border-radius: 50%;
  font-weight: 700;
}

.video-step-list svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: block;
  fill: none;
  stroke: var(--video-blue);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.video-step-list h3 { margin-bottom: 6px; }
.video-step-list p { margin: 0 auto; max-width: 280px; color: var(--muted); font-size: 14px; }

.video-editor {
  display: grid;
  grid-template-columns: .83fr 1.17fr;
  gap: 28px;
  align-items: stretch;
}

.video-controls,
.video-preview-shell {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 55px rgba(7, 27, 63, .08);
}

.video-controls { display: grid; gap: 24px; }
.video-controls fieldset { margin: 0; padding: 0; border: 0; }
.video-controls legend,
.video-select-label { margin-bottom: 10px; color: var(--ink); font-size: 13px; font-weight: 700; }

.video-option-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.video-option-row button {
  min-height: 78px;
  padding: 12px;
  display: grid;
  grid-template-columns: 30px 1fr;
  text-align: left;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.video-option-row button.is-active,
.video-map-styles button.is-active { border-color: var(--video-blue); box-shadow: 0 0 0 1px var(--video-blue); }
.video-option-row button > span { grid-row: span 2; color: var(--video-blue); font-size: 24px; }
.video-option-row small { color: var(--muted); }

.video-select-label { display: grid; gap: 8px; }
.video-select-label small { color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.45; }
.video-select-label select { width: 100%; padding: 13px 14px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.video-control-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.video-extra-options { margin: 0; padding: 15px; display: grid; gap: 4px; color: var(--ink); background: var(--blue-50); border-radius: 12px; font-size: 12px; }
.video-extra-options span { color: var(--muted); line-height: 1.5; }
.video-format-note { margin: 0; min-height: 64px; padding: 12px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; color: var(--ink); background: var(--blue-50); border: 1px solid var(--line); border-radius: 12px; }
.video-format-item { min-width: 0; display: flex; align-items: center; gap: 9px; }
.video-format-item + .video-format-item { padding-inline-start: 16px; border-inline-start: 1px solid var(--line); }
.video-format-icon { color: var(--video-blue); font-size: 23px; line-height: 1; }
.video-format-note .video-format-copy { display: grid; gap: 4px; color: var(--ink); font-size: 13px; line-height: 1.2; }
.video-format-copy strong, .video-format-copy small { display: block; }
.video-format-copy small { color: var(--muted); font-size: 11px; }

.video-map-styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.video-map-styles button { padding: 5px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.video-map-styles i { height: 54px; display: block; border-radius: 6px; }
.video-map-styles span { padding: 7px 2px 4px; display: block; font-size: 11px; }
.map-style-standard { background: linear-gradient(135deg, #dbe9c9 0 45%, #c4e4f6 45% 55%, #f0e6c7 55%); }
.map-style-satellite { background: linear-gradient(145deg, #294d32, #697049 46%, #173848 48%, #586b41); }
.map-style-dark { background: linear-gradient(145deg, #0a1b2b, #18364a 60%, #07131e); }

.video-metric-options { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.video-metric-options label { color: var(--muted); font-size: 13px; }
.video-metric-options input { accent-color: var(--video-blue); }

.video-preview-shell { min-width: 0; display: grid; grid-template-rows: auto minmax(360px, 1fr) auto auto; }
.video-preview-shell.is-vertical { max-width: 590px; justify-self: center; width: 100%; }
.video-preview-title { padding-bottom: 16px; display: flex; justify-content: space-between; }
.video-preview-title span { color: var(--muted); font-size: 13px; }
.video-preview-map { position: relative; min-height: 360px; overflow: hidden; background: #d8e6ef; border-radius: 16px; }
.video-preview-map > p { position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; color: var(--muted); background: #eaf2f7; }
.video-preview-map > p[hidden] { display: none; }
.video-map-only { min-width: 0; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 18px 55px rgba(7, 27, 63, .08); }
.video-map-only .video-preview-map { min-height: 100%; }
.routeey-map-marker { width: 30px; height: 30px; display: grid; place-items: center; background: color-mix(in oklab, var(--routeey-marker-color) 50%, transparent); border-radius: 50%; pointer-events: none; }
.routeey-map-marker__middle { width: 15px; height: 15px; display: grid; place-items: center; background: #fff; border-radius: 50%; }
.routeey-map-marker__inner { width: 11px; height: 11px; background: var(--routeey-marker-color); border-radius: 50%; }
.video-map-race-marker[hidden] { display: none; }
.video-map-overlay { position: absolute; z-index: 2; inset: 0; pointer-events: none; color: #fff; font-family: "Lexend", sans-serif; isolation: isolate; }
.video-overlay-cinema-bars { position: absolute; inset: 0; border-block: clamp(26px, 6.5vw, 54px) solid #000; opacity: 0; transition: opacity .25s ease; }
.video-overlay-identity { position: absolute; top: 22px; left: 22px; display: flex; align-items: center; gap: 9px; filter: drop-shadow(0 2px 5px rgba(0,0,0,.45)); }
.video-overlay-avatar { width: 34px; height: 34px; display: grid; place-items: center; overflow: hidden; color: transparent; background: var(--video-blue) url("../assets/icon_r.png") center / cover no-repeat; border: 2px solid #fff; border-radius: 50%; font-size: 0; font-weight: 800; }
.video-overlay-divider { width: 2px; height: 32px; background: #fff; }
.video-overlay-identity strong, .video-overlay-identity small { display: block; }
.video-overlay-identity strong { font-size: clamp(10px, 1.25vw, 15px); }
.video-overlay-identity small { margin-top: 2px; color: rgba(255,255,255,.72); font-size: clamp(7px, .9vw, 10px); }
.video-overlay-stats { position: absolute; top: 20px; right: 22px; display: grid; grid-template-columns: repeat(4, auto); gap: clamp(10px, 2vw, 24px); text-align: center; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.video-overlay-stats small, .video-overlay-stats strong { display: block; }
.video-overlay-stats small { color: rgba(255,255,255,.76); font-size: clamp(6px, .8vw, 9px); }
.video-overlay-stats strong { margin-top: 3px; font-size: clamp(9px, 1.2vw, 14px); }
.video-overlay-profile { position: absolute; right: 142px; bottom: 22px; left: 20px; height: 34px; opacity: .9; }
.video-overlay-profile svg { width: 100%; height: 100%; overflow: visible; }
.video-overlay-profile path { stroke-width: 2; vector-effect: non-scaling-stroke; }
.video-overlay-profile-base { fill: rgba(42,42,42,.26); stroke: rgba(42,42,42,.7); }
.video-overlay-profile-progress { fill: rgba(14,130,237,.22); stroke: var(--video-blue); clip-path: inset(0 var(--profile-remaining, 100%) 0 0); transition: clip-path .08s linear; }
.video-overlay-gauges { position: absolute; right: 18px; bottom: 14px; display: flex; gap: 8px; }
.video-overlay-meter { position: relative; width: 58px; height: 58px; display: grid; place-content: center; text-align: center; background: rgba(0,0,0,.4); border-radius: 50%; box-shadow: 0 3px 12px rgba(0,0,0,.25); }
.video-overlay-meter::before, .video-overlay-meter::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); }
.video-overlay-meter::before { background: repeating-conic-gradient(from -120deg, rgba(255,255,255,.32) 0 3deg, transparent 3deg 7deg); clip-path: polygon(0 18%, 38% 18%, 50% 0, 62% 18%, 100% 18%, 100% 100%, 0 100%); }
.video-overlay-meter::after { background: conic-gradient(from -120deg, transparent 0 var(--meter-start), #fff600 var(--meter-start) calc(var(--meter-start) + 18deg), #ffa500 calc(var(--meter-start) + 32deg), transparent calc(var(--meter-start) + 33deg)); }
.video-overlay-meter-grade { --meter-start: 10deg; }
.video-overlay-meter-speed { --meter-start: 82deg; }
.video-overlay-meter svg { position: absolute; z-index: 1; top: -7px; left: 50%; width: 22px; height: 22px; translate: -50% 0; fill: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,.45)); }
.video-overlay-meter strong, .video-overlay-meter b { position: relative; z-index: 1; display: block; line-height: 1; }
.video-overlay-meter strong { font-size: 19px; font-weight: 500; }
.video-overlay-meter b { margin-top: 4px; font-size: 8px; font-weight: 400; }
.video-map-overlay[data-mode="clear"] > *,
.video-map-overlay[data-mode="simple"] .video-overlay-stats,
.video-map-overlay[data-mode="simple"] .video-overlay-profile,
.video-map-overlay[data-mode="simple"] .video-overlay-gauges,
.video-map-overlay[data-mode="cinema"] .video-overlay-profile,
.video-map-overlay[data-mode="cinema"] .video-overlay-gauges,
.video-map-overlay[data-mode="default"] .video-overlay-gauges { display: none; }
.video-map-overlay[data-mode="cinema"] .video-overlay-cinema-bars { display: block; opacity: 1; }
.video-map-overlay[data-mode="cinema"] .video-overlay-identity,
.video-map-overlay[data-mode="cinema"] .video-overlay-stats { top: clamp(34px, 7vw, 62px); }
.video-map-overlay[data-mode="simple"] .video-overlay-identity { top: 20px; }
.video-preview-shell.is-horizontal { grid-column: span 1; }
.video-preview-shell.is-horizontal .video-preview-map { min-height: 300px; }

.video-preview-metrics { padding: 14px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.video-preview-metrics div { min-width: 0; padding: 10px 6px; text-align: center; background: var(--blue-50); border-radius: 10px; }
.video-preview-metrics strong, .video-preview-metrics span { display: block; }
.video-preview-metrics strong { font-size: 15px; }
.video-preview-metrics span { margin-top: 2px; color: var(--muted); font-size: 9px; }

.video-preview-player { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; }
.video-preview-player button { width: 38px; height: 38px; }
.video-preview-player input { width: 100%; accent-color: var(--video-blue); }
.video-preview-player output { min-width: 82px; color: var(--muted); font-size: 11px; }

.video-generation-card { min-height: 100%; padding: 42px; color: #fff; background: var(--video-navy); border-radius: 22px; box-shadow: 0 18px 55px rgba(7, 27, 63, .14); }
.video-generated-frame { position: relative; margin: -18px -18px 34px; overflow: hidden; background: #dbe8d5; border: 1px solid rgba(255,255,255,.18); border-radius: 15px; }
.video-generated-frame > span { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 7px 11px; color: #fff; background: rgba(7,27,45,.78); border-radius: 8px; font-size: 11px; font-weight: 700; }
.video-generated-frame svg { width: 100%; height: auto; display: block; }
.video-generation-card h3 { margin: 8px 0 30px; color: #fff; font-size: clamp(28px, 3vw, 42px); }
.video-generation-card ol { margin: 0; padding: 0; display: grid; gap: 24px; list-style: none; }
.video-generation-card li { display: grid; grid-template-columns: 42px 1fr; gap: 15px; align-items: start; }
.video-generation-card li > span { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: var(--video-blue); border-radius: 50%; font-weight: 700; }
.video-generation-card strong, .video-generation-card small { display: block; }
.video-generation-card small { margin-top: 5px; color: #b5c7d8; font-size: 13px; line-height: 1.5; }
.video-generation-card aside { margin-top: 32px; padding: 20px; color: var(--ink); background: #fff; border-radius: 14px; }
.video-generation-card aside p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.video-story-section { color: #fff; background: var(--video-navy); }
.video-story-section .split-heading > p { color: #b5c7d8; }
.video-story-section .split-heading h2 { color: #fff; }
.video-mode-board { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.video-mode-board article { min-height: 250px; padding: 32px; display: flex; gap: 20px; color: var(--ink); background: #fff; border-radius: 20px; }
.video-mode-board article.is-technical { background: linear-gradient(145deg, #f7fbff, #e8f4ff); box-shadow: inset 0 0 0 2px var(--video-blue); }
.video-mode-icon { flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center; color: #fff; background: var(--video-blue); border-radius: 50%; font-size: 18px; }
.video-mode-board h3 { margin: 7px 0 10px; font-size: 22px; }
.video-mode-board p { margin: 0; color: var(--muted); line-height: 1.6; }
.video-mode-metrics { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.video-mode-metrics span { padding: 10px 6px; text-align: center; color: var(--muted); background: #fff; border-radius: 9px; font-size: 9px; }
.video-mode-metrics b { display: block; color: var(--ink); font-size: 15px; }
.video-story-board { overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: 20px; box-shadow: 0 24px 64px rgba(0, 0, 0, .2); }
.video-route-panel { position: relative; min-height: 330px; background: linear-gradient(135deg, #638070, #b5c3a3); }
.video-route-panel > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-route-panel > div { position: absolute; left: 22px; right: 22px; bottom: 20px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; }
.video-route-panel button { width: 42px; height: 42px; }
.video-route-panel div > span { height: 5px; overflow: hidden; background: rgba(255,255,255,.45); border-radius: 9px; }
.video-route-panel i { display: block; width: 0; height: 100%; background: #0e8dff; }
.video-route-panel output { font-size: 11px; }

.video-data-panel { padding: 26px; color: var(--ink); }
.video-data-tabs { padding-bottom: 12px; display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line); font-size: 11px; }
.video-data-tabs strong { color: var(--video-blue); }
.video-data-tabs span { color: var(--muted); }
.video-live-values { margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.video-live-values div { padding: 13px 6px; text-align: center; background: #f5f8fa; border: 1px solid var(--line); border-radius: 10px; }
.video-live-values strong, .video-live-values span { display: block; }
.video-live-values strong { font-size: 14px; }
.video-live-values span { color: var(--muted); font-size: 8px; }
.video-mini-chart { width: 100%; height: 120px; margin-top: 28px; fill: none; stroke: #0e82ed; stroke-width: 2; }
.video-mini-chart path:last-child { stroke: #ff724f; }

.video-output-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-output-grid article { padding: 25px; display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 35px rgba(7,27,63,.06); }
.video-output-grid article > span { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--video-blue); background: #e8f4ff; border-radius: 12px; font-size: 24px; }
.video-output-grid h3 { margin-bottom: 5px; font-size: 16px; }
.video-output-grid p { margin: 0; color: var(--muted); font-size: 12px; }

@media (max-width: 980px) {
  .video-hero-grid,
  .video-editor { grid-template-columns: 1fr; }
  .video-phone-stage { min-height: 660px; }
  .video-phone-stage > p { right: 5%; }
  .video-preview-shell { max-width: none; }
  .video-story-board { grid-template-columns: 1fr; }
  .video-mode-board { grid-template-columns: 1fr; }
  .video-route-panel { min-height: 390px; }
}

@media (max-width: 720px) {
  .video-hero-grid { min-height: 0; }
  .video-hero .hero-copy { padding-bottom: 20px; }
  .video-hero-benefits { grid-template-columns: 1fr; }
  .video-phone-stage { min-height: 570px; }
  .video-phone-stage > p { display: none; }
  .video-phone { width: min(310px, 92vw); }
  .video-hero-phone { transform: rotate(1.5deg); }
  .video-steps,
  .video-editor-section,
  .video-story-section,
  .video-output-section { padding: 76px 0; }
  .video-step-list { grid-template-columns: 1fr; gap: 48px; }
  .video-step-list li:not(:last-child)::after { content: "↓"; top: auto; right: 50%; bottom: -43px; font-size: 40px; transform: translateX(50%); }
  .video-editor { margin-inline: -6px; }
  .video-controls, .video-preview-shell { padding: 18px; }
  .video-option-row, .video-map-styles, .video-control-grid { grid-template-columns: 1fr; }
  .video-map-styles { grid-template-columns: repeat(3, 1fr); }
  .video-preview-map { min-height: 330px; }
  .video-overlay-stats { grid-template-columns: repeat(2, auto); }
  .video-overlay-profile { right: 116px; }
  .video-overlay-meter { width: 50px; height: 50px; }
  .video-preview-metrics { grid-template-columns: repeat(2, 1fr); }
  .video-preview-player { grid-template-columns: 38px 1fr; }
  .video-preview-player output { grid-column: 2; }
  .video-route-panel { min-height: 300px; }
  .video-data-panel { padding: 18px; }
  .video-data-tabs { overflow-x: auto; justify-content: flex-start; gap: 22px; }
  .video-live-values { grid-template-columns: repeat(2, 1fr); }
  .video-output-grid { grid-template-columns: 1fr; }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Poppins", system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
summary {
  font: inherit;
}

:where(a, button, summary):focus-visible {
  outline: 3px solid #65c9ff;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--navy-950);
  background: var(--white);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: var(--white);
  background: rgba(5, 19, 33, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1360px, calc(100% - 32px));
  min-height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.brand img:first-child {
  border-radius: 10px;
}

.brand-word {
  width: 104px;
  height: auto;
  object-fit: contain;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(11px, 1.25vw, 21px);
  font-size: 12px;
  font-weight: 500;
}

.main-nav > a,
.language-switch a {
  color: #dbe8f6;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav > a:hover,
.language-switch a:hover {
  color: var(--white);
}

.discover-menu {
  position: relative;
}

.discover-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 12px;
  color: var(--white);
  background: rgba(21, 151, 245, .13);
  border: 1px solid rgba(101, 201, 255, .3);
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.discover-trigger svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform .2s ease;
}

.discover-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.discover-panel {
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  width: min(630px, calc(100vw - 32px));
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.discover-panel::before {
  content: "";
  position: absolute;
  top: -16px;
  right: 0;
  left: 0;
  height: 16px;
}

.discover-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.discover-panel > div {
  display: grid;
  align-content: start;
  gap: 5px;
}

.menu-label {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.discover-panel a {
  padding: 7px 9px;
  border-radius: 8px;
  text-decoration: none;
}

.discover-panel a:hover,
.discover-panel a.is-current {
  color: #006fd6;
  background: var(--blue-50);
}

.discover-panel .menu-all {
  grid-column: 1 / -1;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  color: var(--blue-600);
  background: var(--blue-50);
  font-weight: 600;
}

.language-switch {
  display: flex;
  gap: 5px;
  color: #90a7bf;
  white-space: nowrap;
}

.language-switch [aria-current="page"] {
  color: var(--white);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 23px;
  height: 2px;
  margin: 5px auto;
  display: block;
  background: var(--white);
}

.section-light {
  background: var(--white);
}

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

.breadcrumb {
  padding-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb a {
  color: var(--blue-600);
  text-decoration: none;
}

/* Ritmo vertical común para el inicio de todas las páginas Descubre. */
.hero .breadcrumb + :is(
  .detail-hero-grid,
  .video-hero-grid,
  .compare-hero-grid,
  .coach-hero-grid,
  .computer-hero-grid,
  .connect-hero-grid,
  .sensor-hero-grid
) {
  margin-top: clamp(48px, 5vw, 64px);
  align-items: start;
}

.hero .breadcrumb + .video-hero-grid > .hero-copy {
  padding-top: 0;
}

@media (max-width: 720px) {
  .hero .breadcrumb + :is(
    .detail-hero-grid,
    .video-hero-grid,
    .compare-hero-grid,
    .coach-hero-grid,
    .computer-hero-grid,
    .connect-hero-grid,
    .sensor-hero-grid
  ) {
    margin-top: 36px;
  }
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, .98) 0 48%, rgba(242, 248, 254, .92) 72%, rgba(220, 239, 255, .85) 100%),
    url("../assets/hero.jpg") center/cover;
  padding-top: 72px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: 72px;
  background: var(--navy-950);
}

.hero > .container {
  width: min(1180px, calc(100% - 40px));
  max-width: none;
  padding-inline: 0;
  color: var(--ink);
}

.hero h1 {
  color: var(--ink);
  text-shadow: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -220px;
  width: 720px;
  height: 420px;
  background: url("../assets/hero.jpg") center/cover;
  opacity: .09;
  clip-path: polygon(0 100%, 21% 34%, 38% 61%, 60% 15%, 100% 100%);
}

.hero-grid {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-600);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

h1 span {
  color: var(--blue-600);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -.035em;
}

h3 {
  line-height: 1.25;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.primary-link {
  min-height: 50px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--blue-600);
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(8, 119, 232, .24);
}

.primary-link:hover {
  background: #0068cd;
}

.text-link {
  color: var(--blue-600);
  font-weight: 600;
  text-decoration: none;
}

.data-note {
  max-width: 580px;
  margin-top: 22px;
  color: #728198;
  font-size: 13px;
}

.hero-product {
  position: relative;
  height: 640px;
  display: grid;
  place-items: end center;
}

.hero-product img {
  position: relative;
  z-index: 2;
  width: min(360px, 85%);
  max-height: 620px;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 24px 45px rgba(7, 27, 63, .2));
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 151, 245, .26), rgba(21, 151, 245, 0) 68%);
}

/* Reutiliza el mismo marco físico que la galería principal de Routeey. */
.analysis-option-b .analysis-phone-frame {
  position: relative;
  z-index: 2;
  width: min(300px, 82%);
  aspect-ratio: 504 / 1024;
  filter: drop-shadow(0 28px 40px rgba(7, 27, 63, .26));
}

.analysis-option-b .editorial-hero .analysis-phone-frame .analysis-phone-screen,
.analysis-option-b .editorial-hero .analysis-phone-frame .analysis-phone-shell {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  filter: none;
}

.analysis-option-b .editorial-hero .analysis-phone-frame .analysis-phone-screen {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 48px;
  object-fit: cover;
}

.analysis-option-b .editorial-hero .analysis-phone-frame .analysis-phone-shell {
  position: relative;
  z-index: 2;
  pointer-events: none;
  object-fit: contain;
}

.story-section,
.charts-section,
.metrics-section,
.history-section,
.context-section,
.faq-section,
.related-section {
  padding: 110px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 54px;
}

.section-heading p:last-child,
.split-heading > p {
  color: var(--muted);
}

.section-heading-light p:last-child,
.history-section .section-heading p:last-child {
  color: #b5c7d8;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.narrow {
  max-width: 820px;
}

.chronology-layout {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  align-items: center;
  gap: 90px;
}

.phone-stage {
  position: relative;
  height: 680px;
  display: grid;
  place-items: start center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 40px;
  background: linear-gradient(145deg, rgba(21, 151, 245, .13), rgba(255, 255, 255, .03));
}

.phone-stage img {
  width: min(390px, 92%);
  margin-top: 28px;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, .35));
}

.mode-row {
  margin-bottom: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mode-row span {
  padding: 8px 13px;
  color: #b7cadd;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  font-size: 12px;
}

.mode-row .active {
  color: var(--white);
  background: var(--blue-600);
  border-color: var(--blue-600);
}

.feature-list {
  display: grid;
  gap: 10px;
}

.feature-list article {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.feature-list h3 {
  margin-bottom: 6px;
}

.feature-list p {
  margin-bottom: 0;
  color: #b5c7d8;
}

.number {
  color: var(--blue-500);
  font-size: 13px;
  font-weight: 700;
}

.chronology-demo {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  background: rgba(255, 255, 255, .04);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
  content-visibility: auto;
  contain-intrinsic-size: auto none auto 850px;
}

.chronology-demo__toolbar {
  padding: 18px 20px;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .11);
}

.chronology-demo__toolbar > div:first-child {
  flex: 0 0 auto;
}

.chronology-demo__kicker,
.chronology-demo__toolbar strong {
  display: block;
}

.chronology-demo__kicker {
  margin-bottom: 2px;
  color: #8eabc5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.chronology-demo__toolbar strong {
  color: var(--white);
  font-size: 18px;
}

.chronology-mode-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.chronology-mode-row button {
  min-height: 38px;
  padding: 8px 12px;
  color: #b7cadd;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.chronology-mode-row button:hover,
.chronology-mode-row button:focus-visible {
  color: var(--white);
  border-color: rgba(21, 151, 245, .7);
}

.chronology-mode-row button:focus-visible,
.chronology-play:focus-visible,
.chronology-player input:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
}

.chronology-mode-row button.active {
  color: var(--white);
  background: var(--blue-600);
  border-color: var(--blue-600);
}

.chronology-map-shell {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #e6edf1;
}

.chronology-map {
  display: block;
  width: 100%;
  height: 520px;
}

.chronology-map .mapboxgl-ctrl-group {
  overflow: hidden;
  border-radius: 10px;
}

.chronology-map .mapboxgl-ctrl-attrib {
  color: #40556a;
  font-family: Arial, sans-serif;
}

.chronology-map .mapboxgl-ctrl-attrib a {
  color: inherit;
}

.chronology-map__land {
  fill: #e7eef2;
}

.chronology-map__context path {
  fill: none;
  stroke: #fff;
  stroke-width: 13;
  stroke-linecap: round;
}

.chronology-map__context path:nth-child(2n) {
  stroke: #cbd8df;
  stroke-width: 7;
}

.chronology-route-segment {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 7;
}

.chronology-map__marker-halo {
  fill: rgba(255, 255, 255, .72);
  stroke: rgba(8, 119, 232, .22);
  stroke-width: 8;
}

.chronology-map__marker {
  fill: var(--blue-600);
  stroke: var(--white);
  stroke-width: 4;
}

.chronology-map__loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--navy-900);
  background: rgba(231, 238, 242, .82);
  font-size: 14px;
  font-weight: 600;
}

.chronology-map__loading[hidden] {
  display: none;
}

.chronology-legend {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px 10px;
  max-width: min(620px, calc(100% - 28px));
  padding: 9px 11px;
  color: #40556a;
  background: rgba(255, 255, 255, .93);
  border: 1px solid #d4e0e7;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(7, 27, 63, .13);
  font-size: 10px;
}

.chronology-legend:empty {
  display: none;
}

.chronology-legend span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.chronology-legend i {
  width: 17px;
  height: 5px;
  border-radius: 999px;
}

.chronology-player {
  padding: 13px 18px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 52px;
  gap: 13px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.chronology-play {
  width: 40px;
  height: 40px;
  padding: 9px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue-600);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.chronology-play svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: currentColor;
  stroke-linejoin: round;
}

.chronology-player input {
  width: 100%;
  accent-color: var(--blue-500);
  cursor: pointer;
}

.chronology-player output {
  color: #b7cadd;
  font-size: 12px;
  text-align: right;
}

.chronology-metrics {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
}

.chronology-metrics > div {
  min-width: 0;
  padding: 13px 10px 15px;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.chronology-metrics > div:last-child {
  border-right: 0;
}

.chronology-metrics span,
.chronology-metrics strong {
  display: block;
}

.chronology-metrics span {
  margin-bottom: 4px;
  color: #8eabc5;
  font-size: 10px;
}

.chronology-metrics strong {
  color: var(--white);
  font-size: 13px;
  line-height: 1.25;
}

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

.chronology-notes p {
  margin: 0;
  color: #b5c7d8;
  font-size: 13px;
}

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

.split-heading {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 80px;
  align-items: end;
}

.split-heading .section-heading {
  margin-bottom: 0;
}

.chart-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.chart-toolbar {
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.chart-toolbar span {
  padding: 7px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.blue { color: #0877e8; }
.green { color: #21a366; }
.red { color: #ef476f; }
.orange { color: #f77f00; }
.purple { color: #8657d6; }

.analysis-chart {
  width: 100%;
  height: auto;
}

.chart-grid path {
  fill: none;
  stroke: #dce5ee;
  stroke-width: 1;
}

.analysis-chart .area {
  fill: url(#area);
  stroke: #8fa2b8;
  stroke-width: 2;
}

.analysis-chart .line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.line-blue { stroke: #0877e8; }
.line-red { stroke: #ef476f; }
.line-green { stroke: #21a366; }

.chart-axis {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

.metrics-section,
.faq-section {
  background: var(--surface);
}

.metric-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.metric-group {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(7, 27, 63, .06);
}

.metric-title {
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.metric-title h3 {
  margin: 0;
}

.metric-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  background: var(--blue-50);
  border-radius: 10px;
  font-size: 22px;
}

.metric-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.metric-effort .metric-icon {
  color: #ef476f;
  background: #fff1f5;
}

.metric-terrain .metric-icon {
  color: #21a366;
  background: #edf9f3;
}

.metric-group dl {
  margin: 12px 0 0;
}

.metric-group dl div {
  padding: 11px 0;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #edf2f6;
}

.metric-group dl div:last-child {
  border-bottom: 0;
}

.metric-group dt {
  color: var(--muted);
  font-size: 13px;
}

.metric-group dd {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  text-align: right;
}

.availability-note {
  margin-top: 26px;
  padding: 24px 28px;
  display: flex;
  align-items: start;
  gap: 18px;
  background: var(--blue-50);
  border: 1px solid #c6e3fb;
  border-radius: 16px;
}

.availability-note > span {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  border: 2px solid currentColor;
  border-radius: 50%;
  font-weight: 700;
}

.availability-note h3 {
  margin-bottom: 4px;
}

.availability-note p {
  margin-bottom: 0;
  color: var(--muted);
}

.history-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 100px;
}

.history-grid .section-heading {
  margin-bottom: 0;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #d6e3ef;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #46c1ff;
  font-weight: 700;
}

.history-card {
  padding: 12px 28px 20px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
}

.history-head,
.history-row {
  min-height: 58px;
  display: grid;
  grid-template-columns: 1fr .8fr 1fr;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.history-head {
  grid-template-columns: 1fr auto;
}

.history-head span,
.history-row span {
  color: #9fb5c9;
}

.history-row em {
  justify-self: end;
  font-style: normal;
}

.history-row.is-best em,
.history-row .up {
  color: #4ad295;
}

.history-row .down {
  color: #ff748e;
}

.history-card .history-row:last-child {
  border-bottom: 0;
}

.history-ranking {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 28px;
  padding-top: 26px;
}

.history-position {
  min-width: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, rgba(21, 151, 245, .24), rgba(21, 151, 245, .07));
  border: 1px solid rgba(70, 193, 255, .28);
  border-radius: 16px;
}

.history-position-value {
  color: #fff;
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.06em;
}

.history-position-total {
  margin-top: 8px;
  color: #9fd8ff;
  font-size: 14px;
}

.history-position strong {
  margin-top: 22px;
  color: #fff;
  font-size: 18px;
}

.history-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.history-stats div {
  min-width: 0;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.history-stats div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.history-stats strong {
  color: #fff;
  font-size: 20px;
}

.history-stats strong.up {
  color: #4ad295;
}

.history-stats span {
  margin-top: 3px;
  color: #9fb5c9;
  font-size: 13px;
}

.context-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 28px;
}

.context-copy {
  display: flex;
  flex-direction: column;
}

.context-copy .section-heading {
  margin-bottom: 24px;
}

.context-copy .section-heading h2 {
  font-size: clamp(36px, 4vw, 52px);
}

.context-copy .insight-card {
  min-height: 0;
  margin-top: auto;
  padding: 22px;
}

.insight-card,
.weather-card {
  min-height: 230px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(7, 27, 63, .07);
}

.insight-card {
  display: flex;
  gap: 22px;
  background: linear-gradient(135deg, var(--blue-50), #fff);
}

.insight-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  background: rgba(255, 255, 255, .72);
  border-radius: 14px;
}

.insight-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.insight-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.weather-values {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.context-grid > .weather-card:only-child {
  grid-column: 1 / -1;
}

.weather-card h3 small {
  flex: 0 0 auto;
  margin-left: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.weather-card h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.weather-values div {
  min-width: 0;
  padding: 10px 4px;
  text-align: center;
}

.weather-values span,
.weather-values small {
  display: block;
}

.weather-values span {
  font-weight: 700;
}

.weather-icon {
  display: block;
  width: 1.8rem;
  height: 1.8rem;
  margin: 0 auto .45rem;
  fill: none;
  stroke: var(--blue-600);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 980px) {
  .chronology-demo__toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .chronology-mode-row {
    justify-content: flex-start;
  }

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

  .chronology-metrics > div:nth-child(3n) {
    border-right: 0;
  }

  .chronology-metrics > div:nth-child(n + 4) {
    border-top: 1px solid rgba(255, 255, 255, .1);
  }
}

@media (max-width: 640px) {
  .chronology-demo {
    border-radius: 18px;
  }

  .chronology-demo__toolbar {
    padding: 16px;
  }

  .chronology-mode-row {
    width: 100%;
    flex-wrap: nowrap;
    padding-bottom: 5px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .chronology-mode-row button {
    flex: 0 0 auto;
  }

  .chronology-map-shell,
  .chronology-map {
    min-height: 390px;
    height: 390px;
  }

  .chronology-legend {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: none;
  }

  .chronology-player {
    padding-inline: 12px;
  }

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

  .chronology-metrics > div,
  .chronology-metrics > div:nth-child(3n) {
    border-right: 1px solid rgba(255, 255, 255, .1);
    border-top: 1px solid rgba(255, 255, 255, .1);
  }

  .chronology-metrics > div:nth-child(-n + 2) {
    border-top: 0;
  }

  .chronology-metrics > div:nth-child(2n) {
    border-right: 0;
  }

  .chronology-notes {
    grid-template-columns: 1fr;
  }
}

.weather-values small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.weather-values .weather-subtext {
  margin-top: 0;
  color: var(--ink);
  font-size: 9px;
}

.faq-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 90px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.faq-list summary {
  padding: 20px 54px 20px 22px;
  position: relative;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 17px;
  right: 22px;
  color: var(--blue-600);
  font-size: 24px;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-grid article {
  min-height: 220px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  background: var(--blue-50);
  border: 1px solid #cfe6fa;
  border-radius: 18px;
}

.related-grid article::after {
  content: "→";
  position: absolute;
  right: 26px;
  bottom: 22px;
  color: var(--blue-600);
  font-size: 24px;
}

.related-grid span {
  color: var(--blue-600);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.related-grid h3 {
  margin: 18px 0 8px;
  font-size: 23px;
}

.related-grid p {
  color: var(--muted);
}

.final-cta {
  padding: 68px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 19, 33, .97), rgba(5, 19, 33, .67)),
    url("../assets/hero.jpg") center 48%/cover;
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.final-cta h2 {
  margin-bottom: 0;
}

.primary-link-light {
  color: var(--navy-950);
  background: var(--white);
  box-shadow: none;
}

.primary-link-light:hover {
  background: #e8f4ff;
}

.site-footer {
  padding: 28px 12px;
  color: #5b6672;
  background: var(--white);
  text-align: center;
}

.discover-page .site-footer {
  color: #5b6672;
  background: var(--white);
}

.footer-links {
  margin-bottom: 8px;
}

.discover-page .site-footer .footer-link {
  color: #86a8cf;
  text-decoration: none;
}

.discover-page .site-footer .footer-link:hover,
.discover-page .site-footer .footer-link:focus-visible {
  color: #0d1117;
  text-decoration: underline;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer-brand span {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  margin-left: auto;
  display: flex;
  gap: 18px;
}

.footer-inner nav a {
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .discover-menu:hover .discover-panel,
  .discover-menu:focus-within .discover-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .brand-word {
    display: none;
  }

  .main-nav {
    gap: 11px;
    font-size: 11px;
  }
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 66px;
  }

  .brand-word {
    display: block;
  }

  .mobile-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 66px;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 28px 24px 50px;
    display: none;
    align-items: stretch;
    overflow-y: auto;
    color: var(--ink);
    background: var(--white);
    font-size: 15px;
  }

  .main-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .main-nav > a,
  .language-switch a {
    padding: 10px 0;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }

  .discover-menu {
    width: 100%;
  }

  .discover-trigger {
    width: 100%;
    padding: 10px 0;
    justify-content: space-between;
    color: var(--blue-600);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 15px;
    font-weight: 600;
  }

  .discover-panel {
    width: 100%;
    padding: 18px 0 4px 14px;
    position: static;
    display: none;
    grid-template-columns: 1fr;
    color: var(--ink);
    border: 0;
    border-left: 2px solid var(--blue-100);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .discover-panel.is-open {
    display: grid;
  }

  .discover-panel .menu-all {
    grid-column: auto;
  }

  .language-switch {
    color: var(--muted);
  }

  .language-switch [aria-current="page"] {
    color: var(--ink);
  }

  .hero-grid,
  .chronology-layout,
  .history-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 60px;
    gap: 30px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-lead,
  .data-note {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-product {
    height: 510px;
  }

  .chronology-layout,
  .history-grid,
  .faq-grid {
    gap: 52px;
  }

  .phone-stage {
    height: 600px;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .metric-groups {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand-word {
    width: 94px;
  }

  .breadcrumb {
    padding-top: 22px;
  }

  .hero {
    min-height: 0;
  }

  .hero-grid {
    min-height: 0;
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(39px, 12vw, 58px);
  }

  h2 {
    font-size: 34px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-product {
    height: 500px;
  }

  .story-section,
  .charts-section,
  .metrics-section,
  .history-section,
  .context-section,
  .faq-section,
  .related-section {
    padding: 76px 0;
  }

  .phone-stage {
    height: 550px;
  }

  .chart-card {
    padding: 18px 12px;
    overflow-x: auto;
  }

  .analysis-chart {
    min-width: 650px;
  }

  .chart-axis {
    min-width: 650px;
  }

  .context-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .weather-values {
    grid-template-columns: repeat(2, 1fr);
  }

  .history-card {
    padding-inline: 16px;
  }

  .history-ranking {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .history-position {
    min-height: 190px;
  }

  .history-row {
    grid-template-columns: 1fr .7fr .7fr;
    font-size: 12px;
  }

  .final-cta-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner nav {
    margin-left: 0;
    flex-wrap: wrap;
  }
}

/* Identidad compartida, composición propia para la página editorial. */
.detail-page {
  --detail-navy: #071b2d;
  --detail-blue: #1597f5;
  --detail-soft: #f3f7fa;
}

.detail-hero {
  min-height: 48rem;
  padding-block-start: 4.5rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 77% 52%, rgba(21, 151, 245, .24), transparent 30rem),
    linear-gradient(135deg, #061726, #0d304b);
}

.detail-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -8rem -14rem auto;
  inline-size: 42rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem rgba(255, 255, 255, .025), 0 0 0 10rem rgba(255, 255, 255, .018);
}

.detail-hero > .container {
  width: min(73.75rem, calc(100% - 2.5rem));
  max-width: none;
  padding-inline: 0;
  color: inherit;
}

.detail-hero .breadcrumb {
  justify-content: flex-start;
  color: rgba(255, 255, 255, .64);
}

.detail-hero-grid {
  min-height: 41rem;
  grid-template-columns: minmax(0, 1.12fr) minmax(17rem, .88fr);
  gap: clamp(2rem, 6vw, 5.5rem);
}

.detail-hero .hero-copy {
  text-align: left;
}

.detail-hero h1 {
  max-width: 45rem;
  margin-inline: 0;
  font-size: clamp(2.8rem, 4.8vw, 4.8rem);
  text-align: left;
  text-wrap: balance;
}

.detail-hero h1 span {
  color: #74c8ff;
}

.detail-hero .lead,
.detail-hero .hero-points,
.detail-hero .data-note {
  margin-inline: 0;
  text-align: left;
}

.detail-hero .hero-points li::before {
  color: #74c8ff;
}

.detail-hero .stores {
  justify-content: flex-start;
}

.detail-hero .hero-product {
  height: 38rem;
  place-items: end center;
}

.detail-hero .hero-product img {
  max-height: 36rem;
}

.detail-kicker {
  margin: 0 0 .75rem;
  color: #0877e8;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.detail-section-dark .detail-kicker,
.detail-download .detail-kicker,
.detail-hero .detail-kicker {
  color: #74c8ff;
}

.detail-section {
  padding-block: clamp(4.75rem, 8vw, 7rem);
  padding-inline: 1rem;
}

.detail-title {
  max-width: 52rem;
  margin: 0 0 1.25rem;
  color: var(--txt-dark);
  font-size: clamp(2.15rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.detail-title strong {
  font-weight: 650;
}

.detail-heading-right .detail-title {
  margin-inline-start: auto;
}

.analysis-story {
  color: #fff;
  background: linear-gradient(145deg, #173b57, #071b2d 72%);
}

.analysis-story .detail-title,
.history-section .detail-title {
  color: #fff;
}

.charts-detail,
.context-section {
  background: #fff;
}

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

.history-section {
  color: #fff;
  background: var(--detail-navy);
}

.faq-section {
  background: #e9f2f8;
}

.faq-section .faq-list details {
  border: 1px solid rgba(7, 27, 45, .08);
}

.detail-download {
  padding-block: clamp(4rem, 7vw, 6rem);
  color: #fff;
  background: linear-gradient(120deg, #0b253a, #144c70);
}

.detail-download-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 3rem;
}

.detail-download h2 {
  max-width: 40rem;
  margin-bottom: .8rem;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  font-weight: 600;
  line-height: 1.1;
  text-wrap: balance;
}

.detail-download p {
  color: rgba(255, 255, 255, .78);
}

.detail-download .stores {
  justify-content: flex-start;
}

.detail-download .compat-note {
  margin-top: 1rem;
  text-align: left;
}

@media (max-width: 61.25rem) {
  .detail-hero-grid {
    grid-template-columns: 1fr;
    padding-block: 4rem 0;
  }

  .detail-hero .hero-copy,
  .detail-hero h1,
  .detail-hero .lead,
  .detail-hero .hero-points,
  .detail-hero .data-note {
    text-align: center;
  }

  .detail-hero h1,
  .detail-hero .lead,
  .detail-hero .hero-points,
  .detail-hero .data-note {
    margin-inline: auto;
  }

  .detail-hero .stores {
    justify-content: center;
  }

  .detail-download-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 45rem) {
  .detail-hero > .container {
    width: min(100% - 1.75rem, 73.75rem);
  }

  .detail-hero .breadcrumb {
    justify-content: center;
  }

  .detail-hero .hero-product {
    height: 31rem;
  }

  .detail-heading-right,
  .detail-heading-right .detail-title {
    text-align: left;
  }

  .detail-download,
  .detail-download .compat-note {
    text-align: center;
  }

  .detail-download .stores {
    justify-content: center;
  }
}

/* Valores compilados de routeey.scss y route-view-charts.component.scss. */
.route-chart {
  width: min(45rem, calc(100% - 2rem));
  max-width: 45rem;
  margin: 0 auto .875rem;
  padding: 0;
  overflow: hidden;
  color: #071447;
  font-family: "Lexend", sans-serif;
  background: #fefefe;
  border: 1px solid color-mix(in srgb, #e4e9f2 90%, transparent);
  border-radius: .9375rem;
  box-shadow: 0 .5rem 1.375rem rgba(22, 36, 64, .045), 0 .0625rem .25rem rgba(22, 36, 64, .03);
}

.route-chart .app-chart-header {
  min-height: 0;
  padding: .875rem 1rem .625rem;
}

.route-chart .app-chart-header strong {
  color: #071447;
  font-family: "Lexend", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.route-chart .app-chart-expand {
  width: 2.125rem;
  height: 2.125rem;
  padding: .5rem;
  color: #0d6ed8;
  background: #deebff;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
}

.route-chart .app-chart-divider {
  margin-inline: 1rem;
  border-top: 1px solid #e4e9f2;
}

.route-chart .chart-stage {
  position: relative;
  height: 10.625rem;
  padding: .5rem .625rem 0;
  overflow: hidden;
}

.route-chart .chart-stage canvas {
  width: 100% !important;
  min-width: 0;
  height: 100% !important;
}

.route-chart .app-chart-legend {
  min-height: 0;
  padding: .5rem .75rem .75rem;
  gap: .5rem;
  border-top: 1px solid #e4e9f2;
}

.route-chart .app-legend-chip {
  width: auto;
  height: 2rem;
  min-height: 2rem;
  padding: .4rem .7rem;
  display: inline-flex;
  grid-auto-flow: initial;
  align-items: center;
  gap: .4rem;
  border-radius: 999px;
  font-family: "Lexend", sans-serif;
  font-size: .7rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.route-chart .app-legend-chip svg {
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
}

/* En la web la leyenda identifica cada métrica también por su nombre. */
.route-chart .app-chart-legend > button.app-legend-chip {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: .4rem .7rem !important;
}

.route-chart .app-chart-legend > button.app-legend-chip svg {
  flex: 0 0 1rem !important;
  width: 1rem !important;
  height: 1rem !important;
}

.route-chart .app-chart-legend > button.app-legend-chip span {
  position: static !important;
  display: inline-block !important;
  width: auto !important;
  overflow: visible !important;
  opacity: 1 !important;
}

.route-chart .app-chart-legend .app-legend-chip {
  flex: 0 0 auto;
  width: max-content;
  min-width: max-content;
  display: flex;
}

.route-chart .app-legend-chip span {
  display: inline-block;
}

.route-chart.is-expanded .chart-stage {
  height: auto;
}

/* Adaptación web: en la app basta el icono; aquí cada serie necesita nombre visible. */
.route-chart .app-chart-legend .app-legend-chip {
  flex: 0 0 auto;
  width: max-content;
  min-width: max-content;
  height: 2rem;
  padding: .4rem .7rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  border-radius: 999px;
  font-family: "Lexend", sans-serif;
  font-size: .7rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.route-chart .app-chart-legend .app-legend-chip svg {
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
}

.route-chart .app-chart-legend .app-legend-chip span {
  display: inline-block;
}

@media (max-width: 45rem) {
  .route-chart {
    width: min(100% - 1.5rem, 45rem);
  }

  .route-chart .chart-stage {
    height: 10.625rem;
  }

  .route-chart.is-expanded .chart-stage {
    height: auto;
  }
}

/* Demo interactiva inspirada en la gráfica real de route-view. */
.route-chart {
  position: relative;
}

.route-chart .chart-toolbar {
  justify-content: center;
}

.chart-toggle {
  min-block-size: 2.25rem;
  padding: .45rem .8rem;
  background: #fff;
  border: 1px solid currentColor;
  border-radius: 999px;
  font: inherit;
  font-size: .76rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .18s ease, background-color .18s ease, transform .18s ease;
}

.chart-toggle.blue { color: #0877e8; }
.chart-toggle.green { color: #21a366; }
.chart-toggle.red { color: #ef476f; }
.chart-toggle.orange { color: #f77f00; }
.chart-toggle.purple { color: #8657d6; }

.chart-toggle:hover:not(:disabled) {
  transform: translateY(-1px);
}

.chart-toggle[aria-pressed="false"] {
  opacity: .48;
  background: transparent;
  border-style: dashed;
}

.chart-toggle:focus-visible,
.analysis-chart:focus-visible,
.chart-scrubber:focus-visible {
  outline: 3px solid rgba(8, 119, 232, .35);
  outline-offset: 3px;
}

.chart-readout {
  min-height: 3.25rem;
  margin-block: .5rem 1rem;
  padding: .7rem 1rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem 1.1rem;
  color: #526275;
  background: #f4f8fc;
  border: 1px solid #dce8f2;
  border-radius: .75rem;
  font-size: .82rem;
}

.chart-readout strong {
  color: #0877e8;
  font-size: 1rem;
}

.chart-stage {
  overflow-x: auto;
  scrollbar-color: #9eb2c5 #edf3f8;
  scrollbar-width: thin;
}

.route-chart .analysis-chart {
  display: block;
  cursor: crosshair;
  touch-action: pan-y;
}

.interactive-chart-grid line {
  stroke: #dce5ee;
  stroke-width: 1;
}

.interactive-chart-grid text {
  fill: #667294;
  font-family: inherit;
  font-size: 12px;
}

.interactive-chart-area {
  fill: rgba(143, 162, 184, .24);
  stroke: none;
}

.interactive-chart-line {
  fill: none;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.interactive-chart-cursor {
  stroke: rgba(8, 119, 232, .72);
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
  pointer-events: none;
}

.interactive-chart-point {
  stroke: #fff;
  stroke-width: 3;
  pointer-events: none;
}

.chart-scrubber-label {
  margin-block-start: .8rem;
  display: block;
  color: #526275;
  font-size: .75rem;
  font-weight: 600;
}

.chart-scrubber {
  width: 100%;
  min-block-size: 1.75rem;
  accent-color: #0877e8;
  cursor: pointer;
}

.chart-help {
  margin: .2rem 0 0;
  color: #728198;
  font-size: .72rem;
  text-align: center;
}

.chart-data-table {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (pointer: coarse) {
  .chart-toggle {
    min-block-size: 2.75rem;
    padding-inline: 1rem;
  }
}

/* Réplica web del componente route-view-charts de la app. */
.route-chart {
  width: min(45rem, calc(100% - 2rem));
  max-width: 45rem;
  margin-inline: auto;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce5ee;
  border-radius: 1.25rem;
  box-shadow: 0 .75rem 2.2rem rgba(7, 27, 63, .08);
}

.app-chart-header {
  min-height: 3.75rem;
  padding-inline: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.app-chart-header strong {
  color: #101827;
  font-size: 1rem;
  font-weight: 650;
}

.app-chart-expand {
  width: 2.125rem;
  height: 2.125rem;
  padding: .5rem;
  display: grid;
  place-items: center;
  color: #0877e8;
  background: #edf6ff;
  border: 1px solid #d1e8fb;
  border-radius: 50%;
  cursor: pointer;
}

.app-chart-expand svg,
.app-legend-chip svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-chart-expand:focus-visible,
.app-legend-chip:focus-visible {
  outline: 2px solid #0877e8;
  outline-offset: 2px;
}

.app-chart-divider,
.app-chart-legend {
  border-top: 1px solid #e4ebf1;
}

.route-chart .chart-stage {
  height: 13.75rem;
  padding: .5rem .625rem 0;
  overflow: hidden;
}

.route-chart .analysis-chart {
  width: 100%;
  min-width: 0;
  height: 100%;
  cursor: crosshair;
}

.route-chart .interactive-chart-line {
  stroke-width: 3;
}

.route-chart .interactive-chart-cursor {
  stroke: rgba(255, 47, 103, .9);
  stroke-width: 1;
  stroke-dasharray: none;
}

.route-chart .interactive-chart-point {
  r: 4;
  stroke-width: 2;
}

.app-chart-legend {
  min-height: 3.55rem;
  padding: .5rem .75rem .75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

.app-legend-chip {
  --series-color: #0d6ed8;
  width: 2rem;
  height: 2rem;
  min-height: 2rem;
  padding: .45rem;
  display: grid;
  place-items: center;
  color: var(--series-color);
  background: color-mix(in srgb, var(--series-color) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--series-color) 28%, transparent);
  border-radius: 50%;
  opacity: .42;
  cursor: pointer;
}

.app-legend-chip.altitude { --series-color: #0d6ed8; }
.app-legend-chip.speed { --series-color: #ff2f67; }
.app-legend-chip.cadence { --series-color: #14bfc7; }
.app-legend-chip.heart { --series-color: #ff7a1a; }
.app-legend-chip.power { --series-color: #864cff; }
.app-legend-chip.grade { --series-color: #f2d21b; }

.app-legend-chip[aria-pressed="true"] {
  color: #fff;
  background: var(--series-color);
  border-color: var(--series-color);
  opacity: 1;
}

.chart-screen-reader-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.route-chart.is-expanded {
  position: fixed;
  z-index: 10000;
  inset: 1rem;
  width: auto;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1px 1fr auto;
  border-radius: 1rem;
}

.route-chart.is-expanded .chart-stage {
  height: auto;
  min-height: 0;
}

@media (max-width: 45rem) {
  .route-chart {
    width: min(100% - 1.5rem, 45rem);
  }

  .route-chart .chart-stage {
    height: 10rem;
  }

  .route-chart.is-expanded {
    inset: .5rem;
    width: auto;
  }

  .route-chart.is-expanded .chart-stage {
    height: auto;
  }
}

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

/* Extensión del header original de la landing. La estructura base procede de styles.used.css. */
.navbar .desktop-nav {
  align-items: center;
}

.navbar .desktop-nav > a,
.navbar .discover-menu,
.navbar .lang-switch {
  display: inline-flex;
  align-items: center;
}

.navbar .discover-trigger {
  min-height: auto;
  padding: 0;
  color: #fff;
  background: none;
  border: 0;
  border-radius: 0;
  font-size: .95rem;
  font-weight: 500;
}

.navbar .discover-trigger:hover {
  color: #86A8CF;
}

.navbar .discover-panel a {
  color: var(--ink);
}

.navbar .discover-panel a:hover,
.navbar .discover-panel a.is-current {
  color: #006fd6;
}

.navbar .discover-panel .menu-all {
  color: var(--blue-600);
}

.mobile-discover-trigger,
.mobile-discover-panel {
  display: none;
}

@media (min-width: 981px) and (max-width: 1180px) {
  .navbar-content {
    max-width: 100%;
    padding-inline: 20px;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links a,
  .navbar .discover-trigger {
    width: auto;
    padding: 0;
    color: #fff;
    background: none;
    border: 0;
    font-size: .82rem;
  }

  .discover-panel {
    width: min(600px, calc(100vw - 32px));
    padding: 24px;
    position: absolute;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
  }

  .discover-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero {
    padding-top: 72px;
  }

  .mobile-menu {
    justify-content: flex-start;
  }

  .mobile-discover-trigger {
    position: relative;
    width: 100%;
    padding: 14px 0;
    display: flex;
    justify-content: space-between;
    color: currentColor;
    background: none;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, .15);
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 300;
    text-align: left;
    cursor: pointer;
  }

  .mobile-discover-panel.is-open {
    width: 100%;
    padding: 0 0 12px 14px;
    display: grid;
    gap: 3px;
    border-left: 2px solid rgba(134, 168, 207, .5);
  }

  .mobile-discover-panel > span {
    margin-top: 12px;
    color: #86A8CF;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
  }

  .mobile-menu .mobile-discover-panel a {
    padding: 7px 24px 7px 0;
    font-size: 17px;
    font-weight: 400;
    border-top: 0;
  }

  .mobile-menu .mobile-discover-panel a::after {
    font-size: .9em;
  }
}

/* Primera aproximación conservada temporalmente en una capa de baja prioridad. */
@layer legacy-detail {
.detail-page {
  color: var(--txt-dark);
  background: #fff;
}

.detail-page .panel {
  min-height: auto;
  scroll-snap-align: none;
}

.detail-hero {
  min-height: 760px;
  padding-top: 72px;
  display: block;
  color: #fff;
  background:
    linear-gradient(rgba(0, 0, 0, .52), rgba(0, 0, 0, .62)),
    url("../assets/hero.jpg") center/cover;
}

.detail-hero::before,
.detail-hero::after {
  content: none;
}

.detail-hero > .container {
  width: min(1100px, calc(100% - 40px));
  max-width: 1100px;
  color: #fff;
}

.detail-hero .breadcrumb {
  padding-top: 34px;
  justify-content: center;
  color: rgba(255, 255, 255, .72);
}

.detail-hero .breadcrumb a {
  color: #fff;
}

.detail-hero-grid {
  min-height: 640px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 58px;
}

.detail-hero h1 {
  max-width: 760px;
  margin-inline: auto;
  color: #fff;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.08;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .42);
}

.detail-hero .lead {
  max-width: 690px;
  margin-inline: auto;
}

.detail-hero .hero-points {
  max-width: 650px;
  margin-inline: auto;
}

.detail-hero .data-note {
  max-width: 620px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, .75);
}

.detail-hero .hero-product {
  height: 570px;
}

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

.detail-section {
  padding: 96px 16px;
}

.detail-section-dark,
.detail-section-dark p,
.detail-section-dark h2,
.detail-section-dark h3 {
  color: #fff;
}

.detail-heading {
  max-width: 800px;
  margin-bottom: 46px;
}

.detail-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.detail-heading > p {
  color: #5f6b78;
  font-size: 1.05rem;
}

.detail-section-dark .detail-heading > p {
  color: rgba(255, 255, 255, .78);
}

.detail-heading .cta-video,
.detail-heading .cta-modos,
.detail-heading .cta-faqs,
.detail-heading .cta-pricing {
  width: 100%;
  max-width: none;
  margin: 0 0 20px;
  padding: 0;
}

.detail-heading .cta-modos,
.detail-heading .cta-faqs {
  text-align: left;
}

.detail-heading-right {
  margin-left: auto;
  text-align: right;
}

.detail-heading-right .cta-modos {
  text-align: right;
}

.detail-soft {
  background: #f4f7fa;
}

.detail-page .metric-group,
.detail-page .chart-card,
.detail-page .insight-card,
.detail-page .weather-card,
.detail-page .related-grid article {
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.detail-page .faq-list details {
  color: var(--txt-dark);
  border: 0;
  border-radius: 10px;
}

.detail-page .faq-list details p {
  color: #5f6b78;
}

.detail-integrations {
  padding-top: 82px;
  padding-bottom: 82px;
}

.detail-integrations h3 {
  font-size: clamp(30px, 4vw, 42px);
}

@media (max-width: 980px) {
  .detail-hero-grid {
    grid-template-columns: 1fr;
    padding-top: 45px;
  }

  .detail-hero .hero-product {
    height: 480px;
  }
}

@media (max-width: 720px) {
  .detail-hero {
    min-height: 0;
  }

  .detail-hero-grid {
    min-height: 0;
  }

  .detail-hero .hero-product {
    height: 440px;
  }

  .detail-section {
    padding: 72px 14px;
  }

  .detail-heading-right,
  .detail-heading-right .cta-modos {
    text-align: left;
  }
}
}

/* Dirección elegida: página editorial clara con identidad Routeey compartida. */
.editorial-hero {
  min-height: 47.5rem;
  padding-block-start: 4.5rem;
  color: var(--ink);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, .99) 0 48%, rgba(242, 248, 254, .94) 72%, rgba(220, 239, 255, .88) 100%),
    url("../assets/hero.jpg") center/cover;
}

.editorial-hero > .container {
  width: min(73.75rem, calc(100% - 2.5rem));
  max-width: none;
  padding-inline: 0;
  color: inherit;
}

.editorial-hero .breadcrumb {
  justify-content: flex-start;
}

.editorial-hero .detail-hero-grid {
  min-height: 41rem;
  grid-template-columns: minmax(0, 1.08fr) minmax(17rem, .92fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.editorial-hero .hero-copy,
.editorial-hero h1,
.editorial-hero .hero-lead,
.editorial-hero .data-note {
  text-align: left;
}

.editorial-hero h1 {
  max-width: 46rem;
  margin-inline: 0;
  color: var(--ink);
  font-size: clamp(2.8rem, 4.8vw, 4.75rem);
  line-height: 1.05;
  text-shadow: none;
  text-wrap: balance;
}

.editorial-hero h1 span {
  color: var(--blue-600);
}

.editorial-hero .hero-lead,
.editorial-hero .data-note {
  margin-inline: 0;
}

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

.editorial-hero .hero-product {
  height: 38rem;
}

.editorial-hero .hero-product img {
  max-height: 36rem;
}

@media (max-width: 61.25rem) {
  .editorial-hero .detail-hero-grid {
    grid-template-columns: 1fr;
    padding-block-start: 3.5rem;
  }

  .editorial-hero .hero-copy,
  .editorial-hero h1,
  .editorial-hero .hero-lead,
  .editorial-hero .data-note {
    text-align: center;
  }

  .editorial-hero h1,
  .editorial-hero .hero-lead,
  .editorial-hero .data-note {
    margin-inline: auto;
  }

  .editorial-hero .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 45rem) {
  .editorial-hero > .container {
    width: min(100% - 1.75rem, 73.75rem);
  }

  .editorial-hero .breadcrumb {
    justify-content: center;
  }
}

/* Prioridad final: estilos exactos del componente Angular de Routeey. */
.route-chart {
  margin: 0 auto .875rem;
  padding: 0;
  overflow: hidden;
  color: #071447;
  font-family: "Lexend", sans-serif;
  background: #fefefe;
  border: 1px solid color-mix(in srgb, #e4e9f2 90%, transparent);
  border-radius: .9375rem;
  box-shadow: 0 .5rem 1.375rem rgba(22, 36, 64, .045), 0 .0625rem .25rem rgba(22, 36, 64, .03);
}

.route-chart .app-chart-header {
  min-height: 0;
  padding: .875rem 1rem .625rem;
}

.route-chart .app-chart-header strong {
  color: #071447;
  font-family: "Lexend", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.route-chart .app-chart-expand {
  width: 2.125rem;
  height: 2.125rem;
  padding: .5rem;
  color: #0d6ed8;
  background: #deebff;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
}

.route-chart .app-chart-divider {
  margin-inline: 1rem;
  border-top: 1px solid #e4e9f2;
}

.route-chart .chart-stage {
  position: relative;
  height: 10.625rem;
  padding: .5rem .625rem 0;
  overflow: hidden;
}

.route-chart .chart-stage canvas {
  width: 100% !important;
  min-width: 0;
  height: 100% !important;
}

.route-chart .app-chart-legend {
  min-height: 0;
  padding: .5rem .75rem .75rem;
  gap: .5rem;
  border-top: 1px solid #e4e9f2;
}

.route-chart .app-legend-chip {
  width: max-content;
  min-width: max-content;
  height: 2rem;
  min-height: 2rem;
  padding: .4rem .7rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  border-radius: 999px;
  font-family: "Lexend", sans-serif;
  font-size: .7rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.route-chart .app-legend-chip svg {
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
}

.route-chart.is-expanded .chart-stage {
  height: auto;
}

/* Adaptación final de escala: el card de la app se convierte en visualización web. */
@media (min-width: 45.01rem) {
  .charts-section .route-chart {
    inline-size: min(68rem, calc(100% - 2rem));
    max-inline-size: 68rem;
  }

  .charts-section .route-chart .chart-stage {
    block-size: clamp(22rem, 36vw, 28rem);
  }

  .charts-section .route-chart.is-expanded {
    inline-size: auto;
    max-inline-size: none;
  }

  .charts-section .route-chart.is-expanded .chart-stage {
    block-size: auto;
  }
}

@media (max-width: 45rem) {
  .charts-section .route-chart .chart-stage {
    block-size: clamp(13rem, 58vw, 17rem);
  }

  .charts-section .route-chart.is-expanded .chart-stage {
    block-size: auto;
  }
}

/* Distribución interactiva de zonas, basada en las zonas reales de Routeey. */
.metric-effort {
  display: flex;
  flex-direction: column;
}

.zone-switch {
  margin-block: 1rem .75rem;
  padding: .25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .25rem;
  background: #edf2f6;
  border-radius: .75rem;
}

.zone-switch button {
  min-block-size: 2.25rem;
  padding: .45rem .55rem;
  color: var(--muted);
  font: 600 .72rem/1.2 "Lexend", sans-serif;
  background: transparent;
  border: 0;
  border-radius: .55rem;
  cursor: pointer;
}

.zone-switch button[aria-pressed="true"] {
  color: #071447;
  background: #fff;
  box-shadow: 0 .2rem .65rem rgba(7, 20, 71, .09);
}

.zone-switch button:focus-visible {
  outline: 2px solid #0d6ed8;
  outline-offset: 2px;
}

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

.zone-summary {
  margin: 0 !important;
}

.metric-group .zone-summary div {
  padding-block: .45rem;
}

.zone-heading {
  margin-block: .85rem .55rem;
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  color: #071447;
  font-size: .75rem;
}

.zone-heading span {
  color: var(--muted);
  font-size: .66rem;
}

.zone-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: .45rem;
  list-style: none;
}

.zone-list li {
  --zone-color: #0d6ed8;
  display: grid;
  grid-template-columns: 1.65rem minmax(4rem, 1fr) 2.2rem 3.15rem;
  align-items: center;
  gap: .45rem;
  color: var(--muted);
  font-size: .68rem;
  line-height: 1;
}

.zone-list li strong {
  color: #071447;
  font-size: .7rem;
}

.zone-list li > span,
.zone-list li time {
  color: #071447;
  font-weight: 600;
  text-align: end;
}

.zone-list progress {
  width: 100%;
  height: .55rem;
  display: block;
  overflow: hidden;
  appearance: none;
  background: #edf2f6;
  border: 0;
  border-radius: 999px;
}

.zone-list progress::-webkit-progress-bar {
  background: #edf2f6;
  border-radius: 999px;
}

.zone-list progress::-webkit-progress-value {
  background: var(--zone-color);
  border-radius: 999px;
}

.zone-list progress::-moz-progress-bar {
  background: var(--zone-color);
  border-radius: 999px;
}

.zone-list .zone-1 { --zone-color: #0d6ed8; }
.zone-list .zone-2 { --zone-color: #75b900; }
.zone-list .zone-3 { --zone-color: #f2c200; }
.zone-list .zone-4 { --zone-color: #ff7a1a; }
.zone-list .zone-5 { --zone-color: #f01318; }

.zone-list-power .zone-1 { --zone-color: #8a94ad; }
.zone-list-power .zone-2 { --zone-color: #071447; }
.zone-list-power .zone-3 { --zone-color: #0d6ed8; }
.zone-list-power .zone-4 { --zone-color: #358551; }
.zone-list-power .zone-5 { --zone-color: #f2c200; }
.zone-list-power .zone-6 { --zone-color: #ff7a1a; }
.zone-list-power .zone-7 { --zone-color: #d05471; }

@media (max-width: 30rem) {
  .zone-list li {
    grid-template-columns: 1.5rem minmax(3rem, 1fr) 2rem 2.8rem;
    gap: .3rem;
  }

  .zone-switch button {
    font-size: .66rem;
  }
}

/* Lenguaje visual compartido por todas las páginas Descubre. */
.discover-page :where(
  .section-light,
  .detail-soft,
  .faq-section,
  .charts-section,
  .metrics-section,
  .context-section,
  .video-steps,
  .video-editor-section,
  .video-output-section,
  .compare-select,
  .compare-visual,
  .compare-benefits,
  .computer-customize,
  .coach-modes,
  .coach-reason,
  .coach-checkin,
  .connect-options,
  .connect-providers
) {
  background: #fff;
}

.discover-page :where(
  .story-section,
  .history-section,
  .computer-live,
  .computer-lock,
  .coach-adaptive,
  .connect-steps,
  .compare-metrics-section,
  .final-cta
) {
  background: url("../assets/bg-gradent.jpg") center / cover no-repeat;
}

.discover-page h2.discover-heading,
.discover-page .final-cta h2.discover-cta {
  font-size: clamp(1.75rem, 2.7vw, 2.6rem);
  font-weight: 300;
  text-wrap: balance;
}

.discover-page h2.discover-heading span,
.discover-page .final-cta h2.discover-cta span {
  display: inline;
  font-size: 1.35em;
  font-weight: 700;
}

/* Diseño aprobado para analizar rutas. */
.analysis-option-b :where(
  .editorial-hero,
  .charts-section,
  .metrics-section,
  .context-section,
  .faq-section
) {
  background: #fff;
}

.analysis-option-b :where(
  .story-section,
  .history-section,
  .final-cta
) {
  background: url("../assets/bg-gradent.jpg") center / cover no-repeat;
}

.analysis-option-b h2.option-b-cta {
  font-size: clamp(1.75rem, 2.7vw, 2.6rem);
  font-weight: 300;
  text-wrap: balance;
}

.analysis-option-b h2.option-b-cta span {
  font-size: 1.35em;
  font-weight: 700;
}

/* Prueba temporal B: cronología integrada en la sección, sin card exterior. */
.analysis-option-b .chronology-demo {
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.analysis-option-b .chronology-demo__toolbar {
  padding: 0 0 1.5rem;
  border: 0;
}

.analysis-option-b .chronology-demo__kicker {
  color: #7fb8e8;
}

.analysis-option-b .chronology-mode-row button {
  --mode-color: #0d6ed8;
  min-block-size: 2.5rem;
  padding: .55rem .75rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #d4e0eb;
  background: rgba(255, 255, 255, .055);
  border-color: rgba(255, 255, 255, .18);
  opacity: 1;
}

.analysis-option-b .chronology-mode-row button svg {
  inline-size: 1rem;
  block-size: 1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--mode-color);
}

.analysis-option-b .chronology-mode-row button:hover:not(.active),
.analysis-option-b .chronology-mode-row button:focus-visible:not(.active) {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .32);
}

.analysis-option-b .chronology-mode-row button.active {
  color: #fff;
  background: var(--mode-color);
  border-color: var(--mode-color);
  opacity: 1;
}

.analysis-option-b .chronology-mode-row button.active svg {
  color: currentColor;
}

.analysis-option-b .chronology-mode-row button[data-chronology-mode="speed"] {
  --mode-color: #ff2f67;
}

.analysis-option-b .chronology-mode-row button[data-chronology-mode="heartRate"] {
  --mode-color: #ff7a1a;
}

.analysis-option-b .chronology-mode-row button[data-chronology-mode="power"] {
  --mode-color: #9966ff;
}

.analysis-option-b .chronology-mode-row button[data-chronology-mode="cadence"] {
  --mode-color: #14bfc7;
}

.analysis-option-b .chronology-mode-row button[data-chronology-mode="grade"] {
  --mode-color: #f2c200;
}

.analysis-option-b .chronology-mode-row button[data-chronology-mode="altitude"] {
  --mode-color: #75b900;
}

.analysis-option-b .chronology-map-shell {
  overflow: clip;
  border-radius: 1rem;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .2);
}

.analysis-option-b .chronology-legend {
  inset-inline: auto .625rem;
  inset-block-end: 2.25rem;
  max-inline-size: min(9rem, calc(100% - 5rem));
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: .3rem;
  padding: .5rem .625rem;
}

.analysis-option-b .chronology-legend span {
  flex: 0 0 auto;
  inline-size: 100%;
}

.analysis-option-b .chronology-legend i {
  inline-size: 1rem;
  flex: 0 0 auto;
}

.analysis-option-b .chronology-player {
  margin-block-start: 1.25rem;
  padding: .75rem 0 1.25rem;
  border-block: 0 1px solid rgba(255, 255, 255, .16);
}

.analysis-option-b .chronology-metrics {
  padding-block-start: .25rem;
}

.analysis-option-b .chronology-metrics > div {
  padding: 1rem .75rem .5rem;
  border-inline-end: 1px solid rgba(255, 255, 255, .12);
}

@media (max-width: 61.25rem) {
  .analysis-option-b .chronology-demo__toolbar {
    padding-block-end: 1.25rem;
  }

  .analysis-option-b .chronology-metrics > div:nth-child(n + 4) {
    border-block-start: 1px solid rgba(255, 255, 255, .12);
  }
}

@media (max-width: 40rem) {
  .analysis-option-b .chronology-map-shell {
    border-radius: .75rem;
  }

  .analysis-option-b .chronology-legend {
    inset-inline: auto .625rem;
    inset-block-end: 2.25rem;
    max-inline-size: min(8.5rem, calc(100% - 4.5rem));
  }

  .analysis-option-b .chronology-player {
    margin-block-start: 1rem;
  }

  .analysis-option-b .chronology-metrics > div,
  .analysis-option-b .chronology-metrics > div:nth-child(3n) {
    border-block-start: 1px solid rgba(255, 255, 255, .12);
  }

.analysis-option-b .chronology-metrics > div:nth-child(-n + 2) {
    border-block-start: 0;
  }
}

/* Sensores Bluetooth: extiende el sistema visual compartido de Descubre. */
.sensor-page { --sensor-blue:#0877e8;--sensor-navy:#071a2d;--sensor-heart:#ff426d;--sensor-power:#f3b51b; }
.sensor-hero { overflow:clip; }
.sensor-hero-grid { min-height:700px;display:grid;grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);gap:clamp(42px,8vw,110px);align-items:center; }
.sensor-hero .hero-copy h1 span { color:var(--sensor-blue); }
.sensor-computer { width:min(530px,100%);margin-inline:auto;padding:20px;display:grid;grid-template-columns:1fr 1fr;gap:12px;color:#fff;background:#05070b;border:7px solid #0d1118;border-radius:34px;box-shadow:0 32px 72px rgba(7,27,63,.25);transform:rotate(1deg); }
.sensor-computer > div,.sensor-dashboard > div { display:grid;place-content:center;justify-items:center;background:#181c28;border-radius:12px; }
.sensor-live-status,.sensor-live-time,.sensor-live-route { grid-column:1/-1;min-height:92px; }
.sensor-live-status { position:relative; }
.sensor-live-status i { width:10px;height:10px;margin-bottom:8px;background:#57bd63;border-radius:50%;box-shadow:0 0 0 7px rgba(87,189,99,.12); }
.sensor-live-status strong { text-transform:uppercase; }
.sensor-live-status span,.sensor-live-time span,.sensor-live-metrics span,.sensor-live-route span { margin-top:7px;color:#df5bc5;font-size:12px;font-weight:700;text-transform:uppercase; }
.sensor-live-time strong { font-size:clamp(36px,5vw,54px);line-height:1; }
.sensor-live-metrics { grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px; }
.sensor-live-metrics > div { min-height:135px;display:grid;place-content:center;justify-items:center;background:#181c28;border-radius:12px; }
.sensor-live-metrics strong,.sensor-live-route strong { font-size:clamp(31px,4vw,46px); }
.sensor-computer small,.sensor-dashboard small { color:#ffe000;font-size:.3em; }

.sensor-connections,.sensor-data { padding:clamp(80px,9vw,130px) 0; }
.sensor-connections-grid { display:grid;grid-template-columns:minmax(280px,.75fr) minmax(560px,1.25fr);gap:clamp(44px,8vw,110px);align-items:center; }
.sensor-connections .section-heading > p:last-child,.sensor-computer-link p { color:var(--muted);line-height:1.75; }
.sensor-network { min-width:0;display:grid;grid-template-columns:minmax(135px,1fr) 82px minmax(170px,.85fr) 82px minmax(135px,1fr);align-items:center; }
.sensor-node,.sensor-phone { min-height:190px;padding:22px 14px;display:grid;place-content:center;justify-items:center;text-align:center;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 16px 38px rgba(7,27,63,.1); }
.sensor-node > span,.sensor-phone-logo { width:58px;height:58px;margin-bottom:16px;display:grid;place-items:center;border-radius:50%;font-size:27px;font-weight:700; }
.sensor-node--heart > span { color:var(--sensor-heart);background:#fff0f4; }
.sensor-node--power > span { color:#9a6900;background:#fff8df; }
.sensor-phone { min-height:240px;color:#fff;background:var(--sensor-navy);border:5px solid #152c40;border-radius:30px; }
.sensor-phone.sensor-phone--real { position:relative;z-index:1;justify-self:center;width:154px;min-height:0;padding:0;aspect-ratio:504/1024;display:block;overflow:visible;background:transparent;border:0;border-radius:0;box-shadow:none;filter:drop-shadow(0 22px 28px rgba(7,27,63,.25)); }
.sensor-phone-ui { position:absolute;inset:2.1% 3.2% 2.4%;z-index:1;padding:22px 7px 9px;display:grid;grid-template-rows:auto auto 1fr auto auto;gap:5px;overflow:hidden;color:#fff;background:#05070b;border-radius:25px;font-family:inherit; }
.sensor-phone-ui-status { display:flex;align-items:center;justify-content:space-between;color:#91a4b7;font-size:5px;font-weight:700;text-transform:uppercase; }
.sensor-phone-ui-status span { display:flex;align-items:center;gap:3px; }
.sensor-phone-ui-status i,.sensor-phone-ui-gps i { width:5px;height:5px;display:inline-block;background:#38c96b;border-radius:50%;box-shadow:0 0 7px rgba(56,201,107,.8); }
.sensor-phone-ui-status b { color:#ffe000;font-size:6px;letter-spacing:-1px; }
.sensor-phone-ui-time { padding:9px 4px;display:grid;justify-items:center;background:#181c28;border-radius:5px; }
.sensor-phone-ui-time strong { font-size:14px;line-height:1;letter-spacing:-.04em; }
.sensor-phone-ui-time span,.sensor-phone-ui-metrics span { margin-top:4px;color:#df5bc5;font-size:5px;font-weight:700;text-transform:uppercase; }
.sensor-phone-ui-metrics { display:grid;grid-template-columns:1fr 1fr;gap:5px; }
.sensor-phone-ui-metrics > div { min-width:0;display:grid;place-content:center;justify-items:center;background:#181c28;border-radius:5px;text-align:center; }
.sensor-phone-ui-metrics strong { font-size:11px;line-height:1;white-space:nowrap; }
.sensor-phone-ui-metrics small { color:#ffe000;font-size:5px; }
.sensor-phone-ui-gps { display:flex;align-items:center;justify-content:center;gap:4px;color:#ffe000;font-size:5px;font-weight:700; }
.sensor-phone-ui-action { display:grid;grid-template-columns:25px 1fr;gap:4px;text-align:center;font-size:6px; }
.sensor-phone-ui-action span,.sensor-phone-ui-action strong { padding:5px 2px;border-radius:4px; }
.sensor-phone-ui-action span { background:#3297f1;font-size:10px;line-height:1; }
.sensor-phone-ui-action strong { background:#49a357; }
.sensor-phone--real .sensor-phone-shell { display:block;width:100%;height:100%;max-width:none; }
.sensor-phone--real .sensor-phone-shell { position:relative;z-index:2;pointer-events:none;object-fit:contain; }
.sensor-phone-logo { color:#fff;background:var(--sensor-blue); }
.sensor-node small,.sensor-phone small { margin-top:7px;color:var(--muted);font-size:11px; }
.sensor-phone small { color:#a9bfd1; }
.sensor-network-lines { position:relative;height:42px;display:grid;place-items:center;color:var(--sensor-blue);text-align:center;font-size:9px;text-transform:uppercase; }
.sensor-network-lines i:first-child { position:absolute;left:0;right:0;top:50%;height:2px;background:linear-gradient(90deg,transparent,var(--sensor-blue) 14%,var(--sensor-blue) 86%,transparent);transform:translateY(-50%); }
.sensor-network-lines i:last-child { position:absolute;top:50%;left:0;width:12px;height:12px;border:3px solid #fff;border-radius:50%;background:var(--sensor-blue);box-shadow:0 0 0 5px rgba(17,132,242,.17),0 0 18px rgba(17,132,242,.7);transform:translateY(-50%);will-change:left,opacity; }
.sensor-network-lines--from-left i:last-child { animation:sensor-pulse-right 1.8s cubic-bezier(.45,0,.2,1) infinite; }
.sensor-network-lines--from-right i:last-child { animation:sensor-pulse-left 1.8s .35s cubic-bezier(.45,0,.2,1) infinite; }
.sensor-network-lines b { position:relative;z-index:1;margin-top:30px;padding:1px 5px;color:var(--sensor-blue);background:#fff;font-size:8px;letter-spacing:.04em; }

@keyframes sensor-pulse-right {
  0% { left:0;opacity:0; }
  12%,82% { opacity:1; }
  100% { left:calc(100% - 12px);opacity:0; }
}

@keyframes sensor-pulse-left {
  0% { left:calc(100% - 12px);opacity:0; }
  12%,82% { opacity:1; }
  100% { left:0;opacity:0; }
}

@media (prefers-reduced-motion: reduce) {
  .sensor-network-lines i:last-child { animation:none;left:calc(50% - 6px);opacity:1; }
}

.sensor-process,.sensor-computer-link { padding:clamp(80px,9vw,130px) 0;color:#fff;background:url("../assets/bg-gradent.jpg") center/cover no-repeat; }
.sensor-process .split-heading > p,.sensor-computer-link p { color:#b8cede; }
.sensor-step-list { margin:58px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:30px;list-style:none; }
.sensor-step-list li { min-height:0;padding:26px 0 0;display:grid;grid-template-columns:56px minmax(0,1fr);grid-template-rows:auto auto;column-gap:16px;align-content:start;background:none;border:0;border-top:1px solid #294158;border-radius:0; }
.sensor-step-list li > span { grid-row:1/-1;position:static;color:var(--sensor-blue);font-size:34px;font-weight:700;line-height:1; }
.sensor-step-list h3 { margin:0 0 8px;font-size:20px; }
.sensor-step-list p { margin:0;color:#b8cede;line-height:1.65; }

.sensor-data-grid { margin-top:52px;display:grid;grid-template-columns:1fr 1fr;gap:24px; }
.sensor-data-grid article { padding:32px;display:grid;grid-template-columns:68px 1fr;grid-template-areas:"icon copy" "value value";gap:20px 24px;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 14px 38px rgba(7,27,63,.07); }
.sensor-data-icon { grid-area:icon;width:66px;height:66px;display:grid;place-items:center;border-radius:50%;font-size:30px; }
.sensor-data-icon--heart { color:var(--sensor-heart);background:#fff0f4; }
.sensor-data-icon--power { color:#9a6900;background:#fff8df; }
.sensor-data-grid article > div { grid-area:copy; }
.sensor-data-grid h3 { margin:0 0 8px;font-size:24px; }
.sensor-data-grid p { margin:0;color:var(--muted);line-height:1.65; }
.sensor-data-grid article > strong { grid-area:value;padding-top:20px;border-top:1px solid var(--line);font-size:42px; }
.sensor-data-grid article > strong small { color:var(--sensor-blue);font-size:.35em; }
.sensor-availability { margin:28px 0 0;padding:20px 24px;display:grid;grid-template-columns:38px auto;gap:0 14px;align-items:center;color:var(--muted);background:#eef7ff;border:1px solid #cfe6fb;border-radius:15px; }
.sensor-availability span { grid-row:span 2;width:36px;height:36px;display:grid;place-items:center;color:#fff;background:var(--sensor-blue);border-radius:50%;font-weight:700; }

.sensor-computer-link-grid { display:grid;grid-template-columns:minmax(0,.86fr) minmax(410px,1.14fr);gap:clamp(50px,9vw,120px);align-items:center; }
.sensor-computer-link h2 { color:#fff; }
.sensor-computer-link a { margin-top:24px;display:inline-flex;align-items:center;gap:10px;color:#fff;font-weight:700;text-decoration:none; }
.sensor-computer-link a:hover,.sensor-computer-link a:focus-visible { color:#79bfff; }
.sensor-dashboard { padding:18px;display:grid;grid-template-columns:1fr 1fr;gap:10px;background:#05070b;border:6px solid #172635;border-radius:28px;box-shadow:0 28px 70px rgba(0,0,0,.3); }
.sensor-dashboard > div { min-height:150px; }
.sensor-dashboard strong { font-size:clamp(29px,4vw,43px); }
.sensor-dashboard [data-sensor-value] { font-variant-numeric:tabular-nums; }
.sensor-dashboard > div > span { margin-top:8px;color:#df5bc5;font-size:12px;font-weight:700;text-transform:uppercase; }

@media (max-width:980px) {
  .sensor-hero-grid,.sensor-connections-grid,.sensor-computer-link-grid { grid-template-columns:1fr; }
  .sensor-hero-grid { padding-block:120px 80px; }
  .sensor-connections .section-heading { max-width:680px; }
  .sensor-network { width:min(760px,100%);margin-inline:auto; }
  .sensor-dashboard { width:min(620px,100%);margin-inline:auto; }
}

@media (max-width:720px) {
  .sensor-hero-grid { padding-block:105px 65px; }
  .sensor-computer { transform:none; }
  .sensor-network { grid-template-columns:1fr;gap:13px; }
  .sensor-network-lines { width:90px;height:54px;margin-inline:auto;transform:rotate(90deg); }
  .sensor-node,.sensor-phone { width:min(290px,100%);min-height:170px;margin-inline:auto; }
  .sensor-phone { min-height:215px; }
  .sensor-phone.sensor-phone--real { width:170px;min-height:0; }
  .sensor-step-list,.sensor-data-grid { grid-template-columns:1fr; }
  .sensor-step-list li { min-height:0; }
}

@media (max-width:480px) {
  .sensor-computer { padding:10px;gap:8px;border-width:4px;border-radius:24px; }
  .sensor-live-metrics { gap:8px; }
  .sensor-live-metrics > div { min-height:112px; }
  .sensor-data-grid article { grid-template-columns:54px 1fr;padding:24px;gap:18px; }
  .sensor-data-icon { width:54px;height:54px;font-size:24px; }
  .sensor-dashboard { padding:10px;gap:7px;border-width:4px; }
  .sensor-dashboard > div { min-height:116px; }
  .sensor-availability { grid-template-columns:36px 1fr; }
}

/* Mantiene el mismo ritmo vertical también tras los ajustes responsive locales. */
@media (max-width: 720px) {
  .hero .breadcrumb + :is(
    .detail-hero-grid,
    .video-hero-grid,
    .compare-hero-grid,
    .coach-hero-grid,
    .computer-hero-grid,
    .connect-hero-grid,
    .sensor-hero-grid
  ) {
    margin-top: 36px;
    padding-top: 0;
  }
}

/* Ajuste responsive final compartido: móvil legible sin alterar escritorio. */
@media (max-width: 720px) {
  .discover-page .container,
  .discover-page .detail-hero > .container {
    width: min(100% - 40px, 1180px);
  }

  .discover-page .hero .breadcrumb,
  .discover-page .detail-hero .breadcrumb {
    justify-content: flex-start;
    text-align: left;
  }

  .discover-page :is(
    .hero-copy h1,
    .compare-hero .hero-copy h1,
    .coach-hero .hero-copy h1,
    .computer-hero .hero-copy h1,
    .connect-hero .hero-copy h1,
    .sensor-hero .hero-copy h1
  ) {
    font-size: clamp(2.35rem, 11vw, 2.75rem);
    line-height: 1.06;
    letter-spacing: -.035em;
  }

  .discover-page :is(
    .story-section,
    .charts-section,
    .metrics-section,
    .history-section,
    .context-section,
    .faq-section,
    .related-section,
    .video-steps,
    .video-editor-section,
    .video-output-section,
    .compare-select,
    .compare-visual,
    .compare-benefits,
    .computer-customize,
    .computer-live,
    .computer-lock,
    .coach-modes,
    .coach-adaptive,
    .coach-reason,
    .coach-checkin,
    .connect-options,
    .connect-steps,
    .connect-providers,
    .sensor-connections,
    .sensor-process,
    .sensor-data,
    .sensor-computer-link
  ) {
    padding-block: 64px;
  }

  .compare-table-wrap {
    overflow: hidden;
  }

  .compare-table-head,
  .compare-table > div {
    min-width: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .compare-table-head > :first-child {
    display: none;
  }

  .compare-table dt {
    grid-column: 1 / -1;
    padding: 12px 14px 8px;
    text-align: center;
    background: #f7fafc;
  }

  .compare-table dd {
    min-width: 0;
    padding: 10px 5px 12px;
  }

  .coach-days--app div {
    min-height: 108px;
    padding: 10px 6px;
  }
}
