:root {
  --bg: #f8fafc; /* slate-50 */
  --bg-soft: #f7f8fc; /* indigo-50 for stronger section contrast */
  --panel: #ffffff; /* white */
  --text: #0b1220; /* slightly darker for readability */
  --muted: #334155; /* slate-700 for better contrast */
  --primary: #374bcc; /* indigo-600 */
  --primary-2: #152155; /* darker hover */
  --accent: #22c55e; /* green-500 */
  --border: #d8dee9; /* slightly darker border */
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 24px 0 0 0; /* offset for fixed header */
  background: linear-gradient(180deg, var(--bg), #ffffff 60%, var(--bg));
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter,
    Arial, sans-serif;
  line-height: 1.5;
}
img,
svg {
  display: inline-block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 12px;
  padding: 0;
  list-style: none;
}
section {
  padding: 24px 0;
}
/* Parallax promo hero */
.promo-parallax {
  /* Igualar ancho al resto (como .container) */
  max-width: 1080px;
  margin: 16px auto; /* centrado */
}
.promo-inner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 280px; /* más alto para acentuar el efecto */
  display: grid;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 36px 20px;
  background-size: cover;
  background-repeat: no-repeat;
  /* Imagen anclada al viewport para efecto "hueco" */
  background-attachment: fixed;
  background-position: center center !important;
  /* sombra interior para simular ventana/recorte */
  box-shadow: inset 0 0 80px rgba(2, 6, 23, 0.6);
}
.promo-inner > * {
  position: relative;
  z-index: 1;
}
.promo-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 6, 23, 0.35),
    rgba(2, 6, 23, 0.55)
  );
}
.promo-inner h2 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.25;
}
.promo-lead {
  margin: 0 auto 16px;
  max-width: 820px;
  color: #e5e7eb;
}
.promo-actions {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.promo-link {
  color: #fff;
  font-weight: 600;
}
@media (max-width: 760px) {
  .promo-inner {
    min-height: 360px;
  }
  .promo-inner h2 {
    font-size: 24px;
  }
}
/* Higher-contrast alternating sections */
.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: 0.2s;
  cursor: pointer;
}
.btn:hover {
  background: var(--primary-2);
}
.btn--ghost {
  background: white;
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--primary);
  color: #fff;
}
.btn--block {
  display: flex;
  width: 100%;
}
.muted {
  color: var(--muted);
}
.tiny {
  font-size: 12px;
}
/* Yellow underline emphasis */
.highlight-underline {
  text-decoration: underline;
  text-decoration-color: #fbbf24; /* amber-400 */
  text-decoration-thickness: 0.18em;
  text-underline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(120%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand .logo {
  display: grid;
  place-items: center;
}
.brand .logo img {
  height: 40px;
  width: auto;
  display: block;
}
.brand-text {
  font-weight: 700;
  letter-spacing: 0.2px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-list {
  display: flex;
  gap: 12px;
  align-items: center;
}
.nav a {
  font-size: 14px;
  line-height: 1.2;
  padding: 6px 8px;
  transition: color 0.2s ease;
}
.nav .has-submenu {
  position: relative;
}
.nav .submenu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 0;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.12);
  z-index: 99999;
}
.nav .has-submenu {
  position: relative;
}
/* Hover bridge: prevents flicker when moving to submenu */
.nav .has-submenu::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 8px;
  pointer-events: none;
}
.nav .has-submenu:hover > .submenu,
.nav .has-submenu:focus-within > .submenu,
.nav .submenu:hover {
  display: block;
}
.nav .has-submenu.open > .submenu {
  display: block;
}
.nav .submenu a {
  display: block;
  padding: 8px 12px;
}
.nav .submenu a:hover {
  background: var(--bg-soft);
  color: var(--primary);
}

@media (max-width: 760px) {
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav .submenu {
    position: static;
    display: block;
    border: 0;
    box-shadow: none;
    padding: 0 0 0 8px;
    background: transparent;
  }
}
.nav a:not(.btn):hover,
.nav a:not(.btn):focus-visible {
  color: var(--primary);
}
.nav .btn {
  padding: 10px 14px;
}
.nav .btn--ghost {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--outline:hover {
  background: rgba(55, 75, 204, 0.08);
  color: var(--primary-2);
  border-color: var(--primary-2);
}
.nav .btn--ghost:hover {
  background: var(--primary-2);
  border-color: var(--primary-2);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  padding: 8px;
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
}

/* Hero */
.hero {
  padding-top: 24px;
}
.hero {
  background: radial-gradient(
    1000px 420px at 70% 80%,
    rgba(49, 46, 129, 0.24),
    transparent
  );
}
.grid-2 {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: 12px;
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hero h1 {
  font-size: clamp(1.875rem, 3.5vw, 2.375rem); /* Escalable, 30–38px */
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 12px;
}
.hero p {
  margin: 0 0 18px;
}
.hero-media picture,
.hero-media img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-media picture {
  max-width: 560px; /* limita el ancho para equilibrar con el texto */
  margin-left: auto; /* empuja la imagen hacia el borde derecho */
}
.disciplines {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin: 8px 0 12px;
}
.discipline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 72px;
}
.discipline-item img {
  height: 64px;
  width: auto;
  display: block;
}
.discipline-item .label {
  font-size: 12px;
  color: var(--muted);
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px 0 0;
}
.hero-note {
  font-size: 14px;
  color: #7a8696; /* lighter grey for subtle tone */
  margin-top: 14px !important; /* extra space from buttons above */
  line-height: 1.4;
}
.dashboard-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
}
.dash-head {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.dash-head .pill {
  background: rgba(99, 102, 241, 0.15);
  color: #3730a3;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
}
.dash-body {
  padding: 12px 14px;
}
.mini-chart {
  height: 80px;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.15), transparent);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  position: relative;
}
.mini-chart:before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 24px,
    rgba(15, 23, 42, 0.05) 24px,
    rgba(15, 23, 42, 0.05) 25px
  );
}
.dash-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #1b2640;
}
.dash-list li:last-child {
  border-bottom: 0;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.dot--run {
  background: #f59e0b;
}
.dot--bike {
  background: #22c55e;
}
.dot--swim {
  background: #0ea5e9;
}

/* Trust logos */
.trust {
  padding: 24px 0;
}
.trust-title {
  text-align: center;
  color: var(--muted);
  margin-bottom: 16px;
}
.logo-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.store-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}
.stores {
  background: #ffffff;
  border-top: 1px solid var(--border);
}
.store-single {
  text-align: center;
  padding: 16px 0 22px;
}
.store-single img {
  display: inline-block;
  height: 56px;
  width: auto;
}
.store-caption {
  margin-top: 8px;
  color: var(--muted);
}
.store-badge img {
  display: block;
  height: 40px;
  width: auto;
}
.logo-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: #334155;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 6, 23, 0.05);
}
.logo-badge img {
  height: 56px;
  width: auto;
  display: block;
}

/* Features */
.features {
  background: radial-gradient(
    1200px 400px at 50% -50%,
    rgba(49, 46, 129, 0.25),
    transparent
  );
}
.features h2,
.pricing h2,
.faq h2 {
  font-size: 28px;
  margin: 0 0 8px;
}
.section-lead {
  color: #172537;
  margin: 0 0 24px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.04);
}
.feature .icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.12);
  color: #3730a3;
  margin-bottom: 8px;
}
.feature h3 {
  margin: 6px 0 4px;
  font-size: 18px;
}
.feature p {
  margin: 0;
  color: #334155;
}

/* Showcase (alternating image/text) */
.showcase {
  background: radial-gradient(
    1200px 420px at 10% 60%,
    rgba(99, 102, 241, 0.12),
    transparent
  );
}
.showcase .split {
  display: grid;
  gap: 28px;
}
.showcase .split-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  margin: 24px 0;
}
.showcase .split-copy h3 {
  margin: 0 0 8px;
  font-size: 22px;
}
.showcase .split-copy p {
  margin: 0 0 12px;
  color: #334155;
}
.showcase .split-media {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.06);
  overflow: hidden;
}
.showcase .split-media img {
  display: block;
  width: 100%;
  height: auto;
}
.showcase > .container > h3 {
  font-size: 26px; /* ligeramente mayor */
  line-height: 1.25;
  margin: 0 0 16px;
}
.showcase .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3730a3;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  font-weight: 600;
}

@media (min-width: 960px) {
  .showcase .split-item {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .showcase .split-item.reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

/* How */
.how {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff, var(--bg-soft));
}
.step {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.15);
  color: #1e293b;
  font-weight: 700;
  margin-bottom: 4px;
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 18px;
}
.pricing .card {
  max-width: 780px;
  width: 100%;
}
.pricing .card h3 {
  font-size: 24px;
  margin: 8px 0; /* reduce top/bottom spacing */
}
.pricing {
  background: radial-gradient(
    1200px 500px at 50% 60%,
    rgba(117, 116, 133, 0.18),
    transparent
  );
}
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.04);
}
.card--highlight {
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.3) inset;
}
.price {
  margin: 0;
  text-align: center; /* center price text */
}
.price span {
  font-size: 28px;
  font-weight: 700;
}
/* Highlight plan heading in blue */
.card--highlight > h3 {
  color: var(--primary);
}
/* small note under plan title */
.pricing .card .plan-note {
  text-align: left;
  margin: 0 0 8px;
}
.list {
  display: grid;
  gap: 6px;
  color: #6f757c;
}
.list li {
  position: relative;
  padding-left: 18px;
}
.list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(180deg, #34d399, #22c55e);
}

/* Testimonials */
.testimonials blockquote {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.04);
}
.testimonials footer {
  color: #334155;
  margin-top: 8px;
}

/* FAQ */
.faq {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}
.faq details {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin: 10px 0;
  background: #fff;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  background: #ffffff;
  color: var(--text);
  padding: 14px 16px;
  font-weight: 600;
  position: relative;
}
.faq summary::after {
  content: "›";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.2s ease, color 0.2s ease;
  color: var(--muted);
  font-size: 18px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq details[open] summary {
  border-bottom: 1px solid var(--border);
  background: #111827;
  color: #fff;
}
.faq details[open] summary::after {
  transform: translateY(-50%) rotate(90deg);
  color: #fff;
}
.faq .answer {
  padding: 16px;
  background: #fff;
}
.faq .answer p {
  margin: 0 0 10px;
}
.faq .answer ul {
  margin: 8px 0 0;
  padding-left: 20px;
}
.faq .answer li {
  margin: 4px 0;
}

/* CTA */
.cta {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-top: 1px solid var(--border);
}
.signup {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.signup input {
  flex: 1 1 240px;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 12px;
}

/* CTA banner under pricing */
.cta-banner {
  background: #c2e9ff; /* blue-100 */
  border: 1px solid #c7d2fe; /* indigo-200 */
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(2, 6, 23, 0.06);
}
.cta-banner h3 {
  margin: 0 0 8px;
  font-size: 28px;
  color: #0f172a; /* slate-900 */
}
.cta-banner p {
  margin: 0 0 16px;
  color: #334155; /* slate-700 */
}
.cta-banner .btn-cta {
  background: #fbbf24; /* amber-400 */
  color: #0b1220;
  border-color: #f59e0b; /* amber-500 */
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.35);
}
.cta-banner .btn-cta:hover {
  background: #f59e0b;
  border-color: #d97706;
}

/* Botón CTA reutilizable */
.btn-cta {
  background: #fbbf24; /* amber-400 */
  color: #0b1220;
  border-color: #f59e0b; /* amber-500 */
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.35);
}
.btn-cta:hover {
  background: #f59e0b;
  border-color: #d97706;
}

/* Aplica estilo CTA solo al bloque de promo (no afecta otras secciones) */
.promo-inner .promo-actions .btn {
  background: #fbbf24; /* amber-400 */
  color: #0b1220;
  border-color: #f59e0b; /* amber-500 */
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.35);
}
.promo-inner .promo-actions .btn:hover {
  background: #f59e0b;
  border-color: #d97706;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}
.page-hero {
  padding: 48px 0;
  background: radial-gradient(
    1100px 420px at 80% 60%,
    rgba(49, 46, 129, 0.26),
    transparent
  );
}
.page-hero h1 {
  margin: 0 0 6px;
  font-size: 30px;
}
.page-hero .muted {
  color: #475569;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 24px;
}
.footer-brand .logo img {
  height: 40px;
  width: auto;
  display: block;
}
.footer-links {
  display: grid;
  gap: 8px;
  margin: 0px;
  padding-top: 10px;
}
.footer-links a {
  color: var(--muted);
}
/* Footer columns + centered social row */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.social-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 16px 0 8px;
}
.social-row i {
  font-size: 22px;
}

/* Mobile heading weight fix */
@media (max-width: 760px) {
  /* Make titles bolder on small screens for readability */
  .hero h1,
  .page-hero h1 {
    font-weight: 800;
  }
  .promo-inner h2,
  .features h2,
  .pricing h2,
  .faq h2 {
    font-weight: 700;
  }

  /* Subsection headings slightly heavier as well */
  .feature h3,
  .showcase .split-copy h3,
  .pricing .card h3,
  .cta-banner h3,
  .trust-title {
    font-weight: 600;
  }
}

/* Android Chrome: add subtle stroke to strengthen glyphs */
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 760px) {
  .hero h1,
  .page-hero h1,
  .promo-inner h2,
  .features h2,
  .pricing h2,
  .faq h2,
  .feature h3,
  .showcase .split-copy h3,
  .pricing .card h3,
  .cta-banner h3,
  .trust-title {
    -webkit-text-stroke: 0.25px currentColor; /* crisper, slightly thicker */
    text-rendering: optimizeLegibility;
  }
}

/* Blog sidebar tweaks */
.sidebar .widget { margin-bottom: 22px; }
.widget--search { margin-bottom: 28px; }
#blog-search-top.pill-input { border: 1px solid var(--border); border-radius: 9999px; padding: 10px 14px; }
.blog-search-top { display: none; }
@media (max-width: 980px) {
  .blog-search-top { display: block; margin-bottom: 16px; }
  .sidebar .widget--search { display: none; }
}
#blog-search.pill-input {
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 10px 14px;
  outline: none;
  background: #fff;
}
#blog-search.pill-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(55, 75, 204, 0.12);
}

/* Category chips as rounded pills */
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip,
.chips--pills a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  line-height: 1;
}
.chip:hover,
.chips--pills a:hover { border-color: var(--primary); color: var(--primary); }

/* Blog cards: 2-column grid and consistent media ratio */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 6px 16px rgba(2, 6, 23, 0.06);
}
.card-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { margin: 4px 0 0; font-size: 18px; line-height: 1.35; }
.card-title a { font-weight: 700; }
.card .chip { font-size: 12px; padding: 6px 10px; align-self: flex-start; width: auto; max-width: max-content; }
/* Smaller CTA in cards */
.card .btn { padding: 8px 12px; font-size: 14px; border-radius: 8px; }
/* Outline variant (used in cards) */
.btn--outline { background: #fff; border-color: var(--primary); color: var(--primary); }
/* Softer hover for outline buttons: subtle tinted background */
.btn.btn--outline:hover {
  background: rgba(55, 75, 204, 0.06);
  color: var(--primary);
  border-color: var(--primary);
}

/* Article header cover image */
.post-cover { margin: 16px auto; max-width: 820px; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 16px rgba(2,6,23,0.06); }
.post-cover img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 760px) {
  .post-cover { max-width: 92vw; }
}

/* Ensure post body media is responsive */
.post-content img, .post-content video, .post-content iframe { max-width: 100%; height: auto; display: block; margin: 12px auto; }
.post-content table { width: 100%; border-collapse: collapse; overflow-x: auto; display: block; }
.post-content th, .post-content td { border: 1px solid var(--border); padding: 8px; }

/* Responsive adjustments for blog layout */
@media (max-width: 980px) {
  .card-grid { grid-template-columns: 1fr; }
  .blog-layout { grid-template-columns: 1fr !important; }
  .sidebar { margin-top: 16px; }
}

/* Two-column layout container for blog index */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }

/* Centered help section before pricing */
#dudas .container {
  text-align: center;
}
#dudas .promo-actions {
  margin-top: 10px;
}
/* Floating WhatsApp button */
.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366; /* WhatsApp green */
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.25);
  z-index: 10000;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-fab:hover {
  background: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(2, 6, 23, 0.28);
}
.whatsapp-fab svg {
  width: 28px;
  height: 28px;
  display: block;
}
.whatsapp-fab i {
  font-size: 28px;
  line-height: 1;
  display: block;
}
/* Responsive */
@media (max-width: 960px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-3,
  .feature-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  /* Mantener iconos en una sola fila en mÃ³vil */
  .disciplines {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
  }
  .discipline-item {
    flex: 0 0 auto;
  }
  .discipline-item img {
    height: 40px;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-list {
    position: fixed;
    inset: 64px 0 auto 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px;
    display: none;
    flex-direction: column;
    gap: 10px;
  }
  .nav-list.open {
    display: flex;
  }
  .footer-columns {
    grid-template-columns: 1fr 1fr;
  }
}

/* Contact media */
.contact-media picture,
.contact-media img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.contact-media picture {
  max-width: 420px;
  margin-left: auto;
  overflow: hidden;
  box-shadow: none;
}
.contact {
  border-top: 1px solid var(--border);
}
.contact-points {
  margin: 12px 0;
  padding-left: 18px;
}
.contact-points li {
  list-style: disc;
  margin: 4px 0;
  color: #334155;
}

/* Spacing in help cards (ayuda.html) */
.feature p { margin-bottom: 10px; }
.feature .btn { margin-top: 8px; }

/* FAQ caret fix (override mojibake) */
.faq summary::after {
  content: ">";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.2s ease, color 0.2s ease;
  color: var(--muted);
  font-size: 18px;
}

/* Forzar comportamiento de swap en fuentes externas (Font Awesome) */
@font-face {
  font-family: "Font Awesome 6 Free";
  font-display: swap;
  src: local("Font Awesome 6 Free");
}

@font-face {
  font-family: "Font Awesome 6 Brands";
  font-display: swap;
  src: local("Font Awesome 6 Brands");
}

/* ============================
   💪 Refuerzo de títulos en móvil
   ============================ */
@media (max-width: 760px) {
  /* Aumenta grosor de títulos en pantallas pequeñas */
  .hero h1,
  .page-hero h1 {
    font-weight: 800;
  }

  .promo-inner h2,
  .features h2,
  .pricing h2,
  .faq h2 {
    font-weight: 700;
  }

  .feature h3,
  .showcase .split-copy h3,
  .pricing .card h3,
  .cta-banner h3,
  .trust-title {
    font-weight: 600;
  }
}

/* Refuerzo visual en Android Chrome */
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 760px) {
  .hero h1,
  .page-hero h1,
  .promo-inner h2,
  .features h2,
  .pricing h2,
  .faq h2,
  .feature h3,
  .showcase .split-copy h3,
  .pricing .card h3,
  .cta-banner h3,
  .trust-title {
    -webkit-text-stroke: 0.25px currentColor;
    text-rendering: optimizeLegibility;
  }
}
