:root {
  --pachi: #00c2cb;
  --navy: #0b1f4a;
  --green: #1A4E8C;
  --green-2: #0561A7;
  --mint: #89ABD9;
  --mint-2: #f0faf5;
  --sky: #e8f2ff;
  --lilac: #f0ebff;
  --orange: #ff8a1f;
  --pink: #ff5f7e;
  --purple: #7a5cf0;
  --blue: #3b82e6;
  --text: #14213d;
  --muted: #667085;
  --line: #e6ebf1;
  --bg: #ffffff;
  --shadow: 0 10px 30px rgba(11, 31, 74, .06);
  --radius: 18px;
}

* {
  box-sizing: border-box; 
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

#logo-principal {
  width: 100%;
  max-width: 150px;
}

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

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
}

.brand img {
  width: 140px;
  height: auto;
}

.main-nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.main-nav a:hover {
  color: var(--green);
}

.main-nav .has-sub::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.nav-actions {
  display: flex;
  gap: 10px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: .2s ease;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-primary:hover {
  background: #0c8a5c;
}

.btn-outline {
  border: 1px solid #cfd8e3;
  background: #fff;
  color: var(--navy);
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn-lg {
  min-height: 48px;
  padding: 0 24px;
  font-size: 15px;
}

.btn .play {
  width: 0;
  height: 0;
  border-left: 8px solid currentColor;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

/* Hero */

.hero {
  padding: 40px 0 30px;
  overflow: hidden;
}

.hero-grid {
  /* Ancho de la columna de texto. El resto se lo queda la imagen. */
  --hero-copy-w: 480px;
  display: grid;
  grid-template-columns: minmax(0, var(--hero-copy-w)) minmax(0, 1fr);
  align-items: center;
  gap: 40px 0;
}

.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--pachi);
  color: var(--bg);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
}

.hero h1 {
  margin: 20px 0 16px;
  font-size: clamp(40px, 4.6vw, 58px);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 700;
  color: var(--navy);
}

.hero h1 span {
  color: var(--green);
}


.hero-copy>p {
  max-width: 470px;
  margin: 0;
  color: #44506a;
  font-size: 17px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.hero-categories {
  display: flex;
  justify-content: space-around;
  gap: 16px;
  margin-top: 40px;
  width: 100%;
  max-width: 470px;
}

.hero-categories div {
  text-align: center;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}

.ico {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: 0 auto 6px;
  font-size: 22px;
  line-height: 1;
}

.ico.purple {
  color: var(--purple);
}

.ico.green {
  color: var(--green);
}

.ico.orange {
  color: var(--orange);
}

.ico.pink {
  color: var(--pink);
}

.hero-visual {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.hero-mockup {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: contain;
  display: block;
}

.report-row em {
  font-style: normal;
  padding: 3px 7px;
  border-radius: 999px;
  background: #e6f6ee;
  color: var(--green);
  font-size: 8px;
  font-weight: 700;
}

.report-row em.yellow {
  background: #fff2da;
  color: #d07800;
}

.report-row em.blue {
  background: var(--sky);
  color: var(--blue);
}

/* Reloj (100% CSS, sin imágenes) */

.watch {
  position: relative;
  width: 132px;
  height: 160px;
  border-radius: 38px;
  background: linear-gradient(160deg, #4a4f57, #24272d);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .25), inset 0 0 0 3px #3a3e45;
  padding: 10px;
}

.watch::before,
.watch::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 68px;
  height: 80px;
  transform: translateX(-50%);
  z-index: -1;
}

.watch::before {
  bottom: 100%;
  margin-bottom: -22px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(#141618, #1f2226);
}

.watch::after {
  top: 100%;
  margin-top: -22px;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(#1f2226, #141618);
}

.watch .crown {
  position: absolute;
  right: -7px;
  top: 44px;
  width: 7px;
  height: 22px;
  border-radius: 3px;
  background: #3a3e45;
}

.watch.light {
  background: linear-gradient(160deg, #f4f5f7, #d9dce1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .12), inset 0 0 0 3px #e6e8ec;
}

.watch.light::before {
  background: linear-gradient(#ffffff, #eceef1);
}

.watch.light::after {
  background: linear-gradient(#eceef1, #ffffff);
}

.watch.light .crown {
  background: #cfd3d9;
}

.watch-face {
  height: 100%;
  border-radius: 28px;
  background: #06080c;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  padding: 12px 8px;
  text-align: center;
}

.watch-face small {
  font-size: 9px;
  color: #b8c0cc;
}

.watch-face strong {
  font-size: 17px;
  letter-spacing: -.02em;
}

.watch-face .sub {
  font-size: 8px;
  color: #8a93a4;
}

.bars {
  width: 78px;
  height: 34px;
  margin-top: 6px;
  background:
    linear-gradient(to top, #6f4fd4 0 70%, transparent 70%) 0 100% / 8px 100% no-repeat,
    linear-gradient(to top, #8c6be8 0 40%, transparent 40%) 14px 100% / 8px 100% no-repeat,
    linear-gradient(to top, #a889ff 0 90%, transparent 90%) 28px 100% / 8px 100% no-repeat,
    linear-gradient(to top, #7656d8 0 58%, transparent 58%) 42px 100% / 8px 100% no-repeat,
    linear-gradient(to top, #a889ff 0 75%, transparent 75%) 56px 100% / 8px 100% no-repeat,
    linear-gradient(to top, #6f4fd4 0 50%, transparent 50%) 70px 100% / 8px 100% no-repeat;
}

/* Feature strip */

.feature-strip {
  padding: 30px 0;
  background: #f7f9fb;
}

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

.feature-card {
  display: flex;
  gap: 18px;
  padding: 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.feature-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 24px;
}

.mint {
  background: var(--mint);
  color: var(--green);
}

.sky {
  background: var(--sky);
  color: var(--blue);
}

.lilac {
  background: var(--lilac);
  color: var(--purple);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--navy);
}

.feature-card p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13.5px;
}

.feature-card a {
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

/* Goals */

.goals {
  padding: 36px 0 10px;
}

.goals h2,
.section h2,
.app-download h2 {
  margin: 0;
  color: var(--navy);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.goals h2 {
  text-align: center;
}

.goal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 760px;
  margin: 22px auto 0;
}

.goal-card {
  min-height: 108px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.goal-card span {
  font-size: 28px;
  line-height: 1;
}

.goal-card b {
  font-size: 13px;
  color: var(--navy);
}

/* Los objetivos son botones: filtran el listado de programas. */

.goal-card {
  padding: 12px;
  font: inherit;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.goal-card:hover {
  border-color: #cfd8e6;
  box-shadow: var(--shadow);
}

.goal-card.is-active {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(26, 78, 140, .15);
}

.goal-card:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* Sections / cards */

.section {
  padding: 36px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.section-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section-head>a {
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
}

.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

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

.program-card,
.article-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.card-media {
  position: relative;
}

.card-media img {
  height: 160px;
  object-fit: cover;
}

.card-media .tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  margin: 0;
}

.card-body {
  padding: 14px 16px 16px;
}

.tag {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .02em;
}

.purple-bg {
  background: #eee7ff;
  color: #6b50c8;
}

.green-bg {
  background: #e6f6ee;
  color: var(--green);
}

.blue-bg {
  background: #e8f2ff;
  color: #3b82e6;
}

.pink-bg {
  background: #ffe7ec;
  color: #d64262;
}

.orange-bg {
  background: #fff2da;
  color: #d07800;
}

.card-body h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.3;
  color: var(--navy);
}

.card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 12px;
}

.price-row span {
  color: #f3912f;
  font-weight: 600;
}

.price-row strong {
  color: var(--navy);
  font-size: 14px;
}

/* Card de programa: toda la card es un link al curso. */

.program-link {
  display: block;
  color: inherit;
}

.program-card {
  transition: transform .15s ease, box-shadow .15s ease;
}

.program-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.program-card:focus-within {
  border-color: var(--green);
}

.program-card[hidden] {
  display: none;
}

.card-media-vacia {
  height: 160px;
  display: grid;
  place-items: center;
  background: var(--sky);
  color: #9fb4d4;
  font-size: 28px;
}

.programas-vacio {
  margin: 0;
  padding: 32px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.programas-vacio[hidden] {
  display: none;
}

.carousel {
  position: relative;
}

/* Programas: una sola fila que scrollea en horizontal.
   El padding + margin negativo dan aire para que el hover y la sombra de las
   cards no queden recortados por el overflow del track. */

.programas-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 60px) / 4);
  gap: 20px;
  padding: 10px;
  margin: -10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.programas-track::-webkit-scrollbar {
  display: none;
}

.programas-track .program-card {
  scroll-snap-align: start;
}

.carousel-nav {
  position: absolute;
  top: 88px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow);
  font: inherit;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}

.carousel-nav:hover {
  border-color: #cfd8e6;
  color: var(--green);
}

.carousel-nav.prev {
  left: -22px;
}

.carousel-nav.next {
  right: -22px;
}

.carousel-nav[hidden] {
  display: none;
}

/* News */

.news-layout {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 22px;
}

.article-card .card-media img {
  height: 150px;
}

.topic-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.topic-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  background: #fff;
  color: var(--navy);
}

.topic-list a:hover {
  border-color: var(--green);
  color: var(--green);
}

/* Data panel */

.data-panel {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 36px 40px;
  background: var(--mint-2);
  border-radius: 24px;
}

.data-left {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.data-copy h2 {
  margin-bottom: 22px;
  font-size: 24px;
  line-height: 1.2;
}

.data-copy ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.data-copy li {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  color: #2b3650;
}

.data-copy li>span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  flex: 0 0 20px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.data-watch {
  position: relative;
  padding: 26px 30px 26px 0;
}

.data-watch .arrow {
  position: absolute;
  right: -46px;
  top: 50%;
  width: 60px;
  border-top: 2px dashed var(--navy);
}

.data-watch .arrow::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -6px;
  border-left: 8px solid var(--navy);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.hr-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 22px;
  font-weight: 800;
}

.hr-value i {
  font-style: normal;
  color: #ff3b5c;
  font-size: 14px;
}

.ecg {
  width: 90px;
  height: 26px;
  margin-top: 4px;
}

.report-card {
  padding: 20px 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.report-head strong {
  font-size: 14px;
  color: var(--navy);
}

.report-head small {
  display: block;
  margin: 2px 0 10px;
  font-size: 11px;
  color: var(--muted);
}

.report-row {
  display: grid;
  grid-template-columns: 1.2fr .9fr auto 70px;
  gap: 8px;
  align-items: center;
  min-height: 40px;
  border-bottom: 1px solid #f0f2f5;
  font-size: 10px;
}

.report-row:last-of-type {
  border-bottom: 0;
}

.report-row svg {
  width: 70px;
  height: 22px;
}

.report-card>a {
  display: block;
  margin-top: 14px;
  text-align: right;
  color: var(--green);
  font-weight: 700;
  font-size: 12px;
}

/* App download */

.app-download {
  padding: 10px 0 36px;
}

.app-box {
  --badge-h: 50px;
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 0 30px;
  min-height: 130px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--mint-2);
}

.app-phone {
  align-self: end;
  height: 110px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

.app-phone-img {
  width: 110px;
  height: auto;
  display: block;
}

.app-copy h2 {
  font-size: 24px;
}

.app-copy p {
  margin: 6px 0 0;
  color: #2b3650;
  font-size: 16px;
}

.store-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.store-btn {
  display: block;
  padding: calc(var(--badge-h) / 4);
  line-height: 0;
}

.store-btn img {
  height: var(--badge-h);
  width: auto;
  display: block;
}

/* Footer */

.footer {
  padding: 40px 0 20px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, .7fr) 1.1fr;
  gap: 28px;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-brand img {
  width: 120px;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  max-width: 240px;
}

.footer h4 {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--navy);
}

.footer a:not(.brand):not(.social) {
  display: block;
  margin-bottom: 8px;
  color: #556077;
  font-size: 12px;
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.social {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.newsletter {
  display: flex;
  gap: 8px;
}

.newsletter input {
  min-width: 0;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 12px;
  outline: none;
}

.newsletter input:focus {
  border-color: var(--green);
}

.newsletter button {
  width: 40px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.copyright {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

/* Iconos (Font Awesome) */

.ic-purple {
  color: var(--purple);
}

.ic-green {
  color: var(--green);
}

.ic-orange {
  color: var(--orange);
}

.ic-pink {
  color: var(--pink);
}

.ic-blue {
  color: var(--blue);
}

.ic-after {
  margin-left: 4px;
  font-size: .85em;
}

.ico i {
  font-size: 26px;
}

.feature-icon i {
  font-size: 22px;
}

.goal-card span {
  font-size: 26px;
}

.card-body p i {
  margin-right: 2px;
  color: #98a2b3;
}

.carousel-nav {
  font-size: 14px;
}

.topic-list a span {
  width: 18px;
  text-align: center;
  font-size: 14px;
}

.report-row span i {
  width: 16px;
  margin-right: 4px;
  text-align: center;
  font-size: 11px;
}

.hr-value i {
  font-size: 13px;
}

.newsletter button {
  font-size: 14px;
}

/* Responsive */

@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }

  .hero-grid,
  .feature-grid,
  .data-panel {
    grid-template-columns: 1fr;
  }

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

  /* Sin flechas: en pantallas chicas el track se desliza con el dedo. */

  .carousel-nav {
    display: none;
  }

  .programas-track {
    grid-auto-columns: calc((100% - 20px) / 2.2);
  }

  .news-layout {
    grid-template-columns: 1fr;
  }

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

  .data-watch .arrow {
    display: none;
  }

  .app-box {
    grid-template-columns: 90px 1fr;
    padding: 20px;
  }

  .store-buttons {
    grid-column: 2;
  }

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

  .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-mockup {
    max-width: 480px;
  }
}

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

  .nav-actions .btn-outline {
    display: none;
  }

  .hero {
    padding-top: 24px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-copy>p {
    font-size: 15px;
  }

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

  .hero-categories {
    gap: 10px;
    justify-content: space-between;
    max-width: none;
  }

  .hero-categories div {
    font-size: 11px;
  }

  .hero-visual {
    margin-top: 10px;
  }

  .hero-visual img {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .feature-grid,
  .card-grid.four,
  .card-grid.three,
  .footer-grid,
  .data-left {
    grid-template-columns: 1fr;
  }

  .programas-track {
    grid-auto-columns: calc(100% - 44px);
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .goal-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
  }

  .goal-card {
    min-height: 96px;
  }

  .topic-list {
    grid-template-columns: 1fr 1fr;
  }

  .data-panel {
    padding: 24px;
  }

  .data-watch {
    padding: 30px 0;
    display: grid;
    justify-content: center;
  }

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

  .report-row svg {
    display: none;
  }

  .app-phone {
    display: none;
  }

  .app-box {
    /* Piso 40px = minimo exigido por Google Play y App Store. Escala con el
       ancho disponible para que Google + Apple llenen la fila sin cortarse. */
    --badge-h: clamp(40px, calc(14.6vw - 13px), 56px);
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px;
  }

  .store-buttons {
    grid-column: auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    /* Separacion minima entre badges: 1/4 de la altura (Google), 10% (Apple) */
    gap: 0 calc(var(--badge-h) / 4);
    /* El corte 2 + 1 sale solo: con esta altura un tercer badge nunca entra */
  }

  .store-btn {
    padding: calc(var(--badge-h) / 4) 0;
  }

  .footer-grid {
    gap: 20px;
  }
}

/* ==========================================================================
   Ajustes específicos de WordPress
   ========================================================================== */

.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

#wpadminbar img {
  width: auto;
  display: inline-block;
}

.tpl-medify-landing #page,
.tpl-medify-landing .site-content,
.tpl-medify-landing .entry-content {
  max-width: none;
  margin: 0;
  padding: 0;
}

.pachi-btn {
  background: var(--pachi);
  color: #fff;

  &:hover {
    background: #0561A7;
  }
}