:root {
  --brand-navy: #16408a;
  --brand-navy-dark: #0f3269;
  --brand-cyan: #0ea5e9;
  --brand-cyan-soft: #e0f2fe;
  --brand-green: #10b981;
  --brand-green-dark: #059669;
  --brand-green-soft: #d1fae5;
  --gradient-brand: linear-gradient(135deg, #16408a 0%, #0ea5e9 52%, #10b981 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(22, 64, 138, 0.12) 0%, rgba(14, 165, 233, 0.1) 52%, rgba(16, 185, 129, 0.1) 100%);
  --bg: #f3f8fb;
  --bg-alt: #eef6fc;
  --surface: #fff;
  --text: #0f172a;
  --muted: #475569;
  --line: #cfe0ea;
  --accent: var(--brand-navy);
  --accent-strong: var(--brand-navy-dark);
  --accent-soft: var(--brand-cyan);
  --accent-green: var(--brand-green);
  --shadow: 0 14px 28px rgba(15, 64, 138, 0.08);
  --topbar-offset: 76px;
  --container-max: 1120px;
  --page-gutter: 24px;
}
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--topbar-offset);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  overflow-x: clip;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(900px 450px at 8% -8%, rgba(22, 64, 138, 0.1), transparent 58%),
    radial-gradient(720px 380px at 92% 0%, rgba(16, 185, 129, 0.08), transparent 55%),
    radial-gradient(640px 320px at 50% 100%, rgba(14, 165, 233, 0.06), transparent 60%),
    var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}
h1, h2, h3 {
  font-family: "Sora", "Inter", sans-serif;
}
a { text-decoration: none; color: inherit; }
[data-lang] { display: none !important; }
.lang-show { display: inline !important; }
[data-lang].block.lang-show { display: block !important; }
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}
main section[id] {
  scroll-margin-top: var(--topbar-offset);
}
.skip-link{position:absolute;left:12px;top:-44px;z-index:100;background:#0f172a;color:#fff;padding:8px 10px;border-radius:8px;font-size:.82rem;font-weight:700;}
.skip-link:focus{top:10px;}
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  min-width: 0;
  flex: 1 1 auto;
}
.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand img { width:38px; height:38px; border-radius:10px; border:1px solid var(--line); object-fit:contain; background:#fff; }
.nav-toggle {
  display: none;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: #0f172a;
  cursor: pointer;
}
.topnav { display:flex; gap:8px; align-items:center; }
.topnav a {
  font-size: 0.9rem;
  padding: 8px 10px;
  border-radius: 999px;
  color: #41506e;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}
.topnav a:hover {
  background: rgba(14, 165, 233, 0.1);
  color: var(--accent-strong);
}
.topnav .cta {
  background: var(--gradient-brand);
  color: #fff;
}
.topnav .cta:hover {
  filter: brightness(1.05);
  color: #fff;
}
.lang-switch {
  display: inline-flex;
  flex-shrink: 0;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
.lang-switch a.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #334155;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-switch a.lang-btn:hover {
  background: rgba(14, 165, 233, 0.12);
  color: var(--accent-strong);
}
.lang-switch a.lang-btn.active {
  background: var(--gradient-brand);
  color: #fff;
}
.lang-switch a.lang-btn.active:hover {
  filter: brightness(1.05);
  color: #fff;
}
.topnav .lang-switch {
  margin-left: 2px;
}
.hero-media picture {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.hero { padding:44px 0 34px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  grid-template-rows: auto auto;
  gap: 24px;
  align-items: start;
}
.hero-intro,
.hero-detail {
  display: grid;
  gap: 12px;
  align-content: start;
}
.hero-intro { grid-column: 1; grid-row: 1; }
.hero-detail { grid-column: 1; grid-row: 2; }
.eyebrow {
  display:inline-flex;
  border-radius:999px;
  border:1px solid rgba(14, 165, 233, 0.28);
  background: var(--gradient-brand-soft);
  color: var(--brand-navy-dark);
  padding:6px 12px;
  font-size:.82rem;
  font-weight:700;
}
h1,h2,h3 { margin:0; letter-spacing:-0.01em; }
h1{font-size:clamp(2rem,4vw,2.8rem); line-height:1.12; margin-top:2px;}
h2{font-size:clamp(1.4rem,2.3vw,1.95rem); line-height:1.2;}
h3{font-size:1.12rem; line-height:1.3;}
p{font-size:1rem; line-height:1.6; color:var(--muted); margin:0;}
.hero-points { margin:4px 0 2px; padding-left:18px; color:#475569; } .hero-points li{margin-bottom:6px;}
.hero-points li:last-child { margin-bottom: 0; }
.cta-row { display:flex; flex-wrap:wrap; gap:10px; }
.btn { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 14px; border-radius:999px; border:1px solid transparent; font-weight:700; font-size:.92rem; transition:transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.btn-primary { background: var(--gradient-brand); color:#fff; box-shadow: 0 8px 18px rgba(22, 64, 138, 0.18); } .btn-ghost { background:#fff; border-color:var(--line); color:#0f172a; }
.btn:hover{transform:translateY(-1px);}
.btn:active{transform:translateY(0);}
.btn:focus-visible,
.lang-switch a.lang-btn:focus-visible,
.nav-toggle:focus-visible,
.topnav a:focus-visible,
.back-top:focus-visible {
  outline: 2px solid var(--brand-cyan);
  outline-offset: 2px;
}
.hero-media {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(22, 64, 138, 0.1);
  background: #fff;
  display: block;
  padding: 0;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: transform .22s ease, box-shadow .22s ease;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
  pointer-events: none;
}
.hero-media:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(15,23,42,.16);
}
.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(38vh, 340px);
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  cursor: zoom-in;
}
.section {
  padding: 52px 0;
  position: relative;
}
.section:not(#inicio) {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}
main section[id]:target {
  content-visibility: visible;
}
.section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.28) 18%, rgba(16, 185, 129, 0.28) 82%, transparent);
}
.hero { background: transparent; }
#beneficios { background: #fff; }
#funciones { background: var(--bg-alt); }
#galeria { background: #fff; }
#novedades { background: var(--bg-alt); }
#descargas { background: #fff; }
#faq { background: var(--bg-alt); }
.section-head {
  margin-bottom: 18px;
  padding-left: 12px;
  border-left: 4px solid transparent;
  border-image: linear-gradient(180deg, var(--brand-navy), var(--brand-cyan), var(--brand-green)) 1;
  display: grid;
  gap: 8px;
  max-width: 920px;
}
.section-head p {
  color: var(--muted);
  font-size: 0.98rem;
}
.grid-2,.grid-3 { display:grid; gap:14px; } .grid-2{grid-template-columns:repeat(2,1fr);} .grid-3{grid-template-columns:repeat(3,1fr);}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
@media (hover: hover) {
  .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.1);
    border-color: rgba(14, 165, 233, 0.35);
  }
}
.card p, .faq p, .store-help { font-size: .96rem; line-height: 1.58; }
.card ul{margin:8px 0 0; padding-left:18px; color:#475569;} .card ul li{margin-bottom:6px;}
#funciones .grid-3 { gap: 14px; }
#funciones .feature-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(14, 165, 233, 0.22);
}
#funciones .feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
}
#funciones .feature-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
#funciones .feature-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
#funciones .feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(14, 165, 233, 0.25);
  background: var(--brand-cyan-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
}
#funciones .feature-badge {
  border: 1px solid rgba(14, 165, 233, 0.22);
  border-radius: 999px;
  background: #f8fcff;
  color: #334155;
  font-size: .73rem;
  font-weight: 700;
  padding: 4px 8px;
  white-space: nowrap;
}
#funciones .feature-card:nth-child(-n+2) .feature-badge {
  border-color: rgba(16, 185, 129, 0.35);
  background: var(--brand-green-soft);
  color: var(--brand-green-dark);
}
#funciones .feature-note {
  margin-top: 10px;
  display: inline-flex;
  border-radius: 999px;
  border: 1px dashed rgba(14, 165, 233, 0.35);
  background: #f4fbff;
  color: #475569;
  font-size: .76rem;
  font-weight: 600;
  padding: 4px 9px;
}
.gallery {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 2px 0 10px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.gallery-item { flex: 0 0 clamp(200px, 42vw, 230px); scroll-snap-align: start; }
.gallery-item picture,
.gallery-item img { display: block; width: 100%; max-width: 100%; }
.gallery-item img {
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: zoom-in;
}
.gallery-item p { margin-top:6px; text-align:center; font-size:.84rem; }
.faq details{border:1px solid var(--line); border-radius:12px; padding:12px; background:#fff; transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;}
.faq details+details{margin-top:8px;}
.faq summary{font-weight:700; cursor:pointer;}
.faq details[open]{
  border-color:rgba(14, 165, 233, 0.35);
  background:#f4fbff;
  box-shadow:0 10px 20px rgba(15,23,42,.06);
}
.faq .faq-badge{
  display:inline-flex;
  margin-top:8px;
  border:1px solid rgba(16, 185, 129, 0.28);
  border-radius:999px;
  background:var(--brand-green-soft);
  color:var(--brand-green-dark);
  font-size:.72rem;
  font-weight:700;
  padding:4px 8px;
}
.faq .faq-cta{
  margin-top:16px;
  border:1px solid rgba(14, 165, 233, 0.22);
  border-radius:14px;
  background:linear-gradient(180deg, #f8fdff 0%, #ffffff 100%);
  padding:14px;
  display:grid;
  gap:10px;
}
#novedades { background: #fff; }
#novedades.is-hidden { display: none; }
.is-hidden { display: none !important; }
#novedades .update-card {
  border-radius: 18px;
  border: 1px solid rgba(14, 165, 233, 0.22);
  background: linear-gradient(180deg, #f4fbff 0%, #ffffff 55%);
  padding: 20px 20px 18px;
  box-shadow: 0 12px 24px rgba(15,23,42,.08);
}
#novedades .update-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
#novedades .update-version {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(14, 165, 233, 0.28);
  background: var(--brand-cyan-soft);
  color: var(--brand-navy-dark);
  font-size: .88rem;
  font-weight: 800;
  padding: 7px 12px;
}
#novedades .update-version strong {
  font-size: 1.05rem;
  color: var(--accent);
}
#novedades .update-intro {
  font-size: 1rem;
  color: #334155;
  margin-bottom: 12px;
}
#novedades .update-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}
#novedades .update-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #334155;
  font-size: .95rem;
  line-height: 1.55;
}
#novedades .update-list li::before {
  content: "✓";
  color: var(--brand-green);
  font-weight: 800;
  flex: 0 0 auto;
  margin-top: 2px;
}
#novedades .update-loading,
#novedades .update-error {
  font-size: .92rem;
  color: #64748b;
}
#descargas .downloads-note {
  margin: 0 0 14px;
  color: #475569;
  font-size: .95rem;
}
#descargas .store-card {
  display: grid;
  gap: 10px;
}
#descargas .store-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
#descargas .store-badge {
  border: 1px solid rgba(14, 165, 233, 0.22);
  border-radius: 999px;
  background: var(--brand-cyan-soft);
  color: var(--brand-navy-dark);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 8px;
  white-space: nowrap;
}
#descargas .store-help {
  margin-top: 12px;
  border: 1px dashed rgba(16, 185, 129, 0.35);
  border-radius: 12px;
  background: var(--brand-green-soft);
  padding: 10px 12px;
  color: #475569;
  font-size: .87rem;
}
.final-cta { width:100%; max-width:100%; box-sizing:border-box; border-radius:18px; background:var(--gradient-brand); padding:24px; text-align:center; box-shadow: 0 16px 32px rgba(22, 64, 138, 0.22); }
.final-cta h2,.final-cta p{color:#fff;}
.final-cta h2 { margin-bottom: 8px; text-wrap: balance; }
.final-cta p { margin-bottom: 14px; max-width: 780px; margin-left: auto; margin-right: auto; }
.final-cta .cta-row { gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; }
.final-cta .btn { min-width: 174px; }
.final-cta .btn-primary{background:#fff;color:var(--brand-navy);} .final-cta .btn-ghost{border-color:rgba(255,255,255,.7); color:#fff; background:rgba(255,255,255,.12);}
footer { border-top:1px solid var(--line); background:#fff; padding:24px 0 88px; }
.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:12px;} .footer-col{border:1px solid var(--line);border-radius:16px;padding:15px;background:#fff;box-shadow:0 8px 18px rgba(15,23,42,.05);}
.footer-brand-head{display:flex;align-items:center;gap:10px;margin-bottom:10px;} .footer-brand-icon{width:34px;height:34px;border-radius:10px;object-fit:contain;background:#fff;border:1px solid var(--line);} .footer-brand-head h3{margin:0;background:var(--gradient-brand);-webkit-background-clip:text;background-clip:text;color:transparent;}
.footer-links{display:grid;gap:8px;} .footer-links a{color:#334155;font-size:.92rem;transition:color .2s ease;text-decoration:none;} .footer-links a:hover{color:#0f172a;text-decoration:none;} .footer-bottom{margin-top:10px;padding-top:10px;border-top:1px solid var(--line);font-size:.85rem;color:#64748b;display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;}
.mobile-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 60;
}
.back-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  z-index: 59;
  box-shadow: 0 14px 24px rgba(22, 64, 138, 0.34);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.back-top.show{opacity:1;pointer-events:auto;}
.back-top:hover{transform:translateY(-2px);}
.back-top::before{content:"";position:absolute;inset:3px;border-radius:inherit;border:1px solid rgba(255,255,255,.22);}
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(18px, env(safe-area-inset-top, 0px)) max(18px, env(safe-area-inset-right, 0px)) max(18px, env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left, 0px));
  z-index: 80;
}
.lightbox.open { display: flex; }
.lightbox img {
  width: auto;
  max-width: min(96vw, 1200px);
  max-height: min(88vh, calc(100dvh - 36px));
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
}
.lightbox-close {
  position: absolute;
  top: max(14px, env(safe-area-inset-top, 0px));
  right: max(14px, env(safe-area-inset-right, 0px));
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(15, 23, 42, 0.5);
  color: #fff;
  cursor: pointer;
}
@media (min-width: 981px) {
  .hero-grid {
    grid-template-columns: 1fr 1.12fr;
    grid-template-rows: auto auto;
  }
  .hero-intro { grid-column: 1; grid-row: 1; }
  .hero-detail { grid-column: 1; grid-row: 2; }
  .hero-media {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }
  .hero-media img {
    max-height: min(42vh, 380px);
  }
}

@media (min-width: 981px) and (max-width: 1023px) {
  :root {
    --page-gutter: 22px;
  }
  .gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow-x: visible;
    scroll-snap-type: none;
    gap: 14px;
    padding: 0;
  }
  .gallery-item {
    flex: unset;
    scroll-snap-align: unset;
  }
  .gallery-item img {
    max-height: 360px;
  }
}

@media (min-width: 1024px) {
  :root {
    --container-max: 1240px;
    --page-gutter: 28px;
    --topbar-offset: 80px;
  }
  .hero { padding: 56px 0 36px; }
  .section { padding: 58px 0; }
  .grid-2,
  .grid-3 {
    gap: 16px;
  }
  .gallery {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow-x: visible;
    scroll-snap-type: none;
    gap: 16px;
    padding: 0;
  }
  .gallery-item {
    flex: unset;
    scroll-snap-align: unset;
  }
  .gallery-item img {
    max-height: 420px;
  }
  .footer-grid {
    gap: 18px;
  }
}

@media (min-width: 1280px) {
  :root {
    --container-max: 1320px;
    --page-gutter: 32px;
  }
  .hero-media img {
    max-height: min(44vh, 420px);
  }
}

@media (max-width: 980px) {
  :root {
    --page-gutter: 18px;
    --topbar-offset: 74px;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .topbar-inner {
    flex-wrap: nowrap;
  }
  .brand {
    flex: 1 1 auto;
  }
  .topnav {
    display: none;
    position: absolute;
    top: calc(100% - 6px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    box-shadow: var(--shadow);
    z-index: 45;
  }
  .topnav.open {
    display: flex;
  }
  .topnav a {
    text-align: center;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .topnav .lang-switch {
    margin-left: 0;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    justify-content: center;
    width: 100%;
    box-shadow: none;
  }
  .topnav .lang-switch a.lang-btn {
    flex: 1;
    max-width: 80px;
    min-height: 40px;
  }
  .mobile-sticky-cta {
    display: grid;
  }
  footer {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  body { font-size: 15.5px; }
  .hero-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    grid-template-rows: auto auto auto;
  }
  .hero { padding: 36px 0 28px; }
  .hero-intro,
  .hero-detail { gap: 11px; }
  .hero-intro { grid-column: 1; grid-row: 1; }
  .hero-media {
    grid-column: 1;
    grid-row: 2;
    align-self: stretch;
    max-height: none;
    margin-bottom: 8px;
  }
  .hero-detail { grid-column: 1; grid-row: 3; }
  .hero-media img {
    max-height: min(48vw, 420px);
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  #stores-grid article:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin-inline: auto;
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .footer-grid .footer-col:first-child {
    grid-column: 1 / -1;
  }
  .gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow-x: visible;
    scroll-snap-type: none;
    gap: 12px;
    padding: 0;
  }
  .gallery-item {
    flex: unset;
    scroll-snap-align: unset;
  }
  .gallery-item img {
    max-height: 380px;
  }
  .section { padding: 46px 0; }
  .section-head { margin-bottom: 14px; }
  .card { padding: 15px; border-radius: 15px; }
  #funciones .feature-head {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
  }
  #funciones .feature-badge {
    margin-left: 0;
  }
  #descargas .store-card { gap: 9px; }
  #descargas .store-top {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 7px;
  }
  #descargas .store-card .btn {
    width: calc(100% - 8px);
    margin: 0 4px;
  }
  .faq .faq-cta { padding: 13px; }
  .faq .faq-cta .cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .faq .faq-cta .btn {
    width: 100%;
  }
  .final-cta .cta-row {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  :root {
    --page-gutter: 16px;
    --topbar-offset: 72px;
  }
  body { font-size: 15px; }
  .hero-grid,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .grid-3,
  #stores-grid {
    grid-template-columns: 1fr;
  }
  .grid-2,
  .grid-3 {
    gap: 12px;
  }
  .hero { padding: 30px 0 26px; }
  .hero-grid { grid-template-rows: auto auto auto; }
  .hero-intro,
  .hero-detail { gap: 10px; }
  .hero-intro { grid-column: 1; grid-row: 1; }
  .hero-media {
    grid-column: 1;
    grid-row: 2;
    align-self: stretch;
    max-height: none;
    margin-top: 0;
    margin-bottom: 8px;
  }
  .hero-detail { grid-column: 1; grid-row: 3; }
  h1 { font-size: clamp(1.72rem, 7vw, 2.15rem); line-height: 1.15; }
  h2 { font-size: clamp(1.28rem, 5.6vw, 1.52rem); line-height: 1.22; }
  h3 { font-size: 1.02rem; }
  p,
  .card p,
  .faq p,
  .store-help {
    font-size: 0.94rem;
    line-height: 1.55;
  }
  .section { padding: 42px 0; }
  .section-head {
    padding-left: 10px;
    border-left-width: 3px;
  }
  .card {
    padding: 14px;
    border-radius: 14px;
  }
  .card:hover { transform: none; }
  #funciones .feature-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  #funciones .feature-badge {
    align-self: flex-start;
  }
  #descargas .store-card { gap: 8px; }
  #descargas .store-top {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px;
  }
  #descargas .store-badge {
    font-size: 0.7rem;
    padding: 4px 7px;
  }
  #descargas .store-card .btn {
    width: calc(100% - 8px);
    margin: 0 4px;
  }
  .faq details { padding: 11px; }
  .faq summary {
    padding-right: 8px;
    line-height: 1.4;
  }
  .faq .faq-cta { padding: 12px; }
  .hero-media img {
    object-position: center;
    max-height: min(52vw, 280px);
  }
  .cta-row { gap: 8px; }
  .cta-row .btn { width: 100%; }
  .hero .cta-row,
  .faq .cta-row { padding: 0 4px; }
  .btn { font-size: 0.9rem; min-height: 44px; }
  .final-cta { padding: 18px; }
  .final-cta h2 { margin-bottom: 10px; }
  .final-cta p { margin-bottom: 12px; }
  .final-cta .cta-row { gap: 8px; }
  .final-cta .btn { min-width: 0; }
  .footer-col { padding: 12px; }
  .footer-links a { font-size: 0.9rem; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn,
  .card,
  .hero-media,
  .back-top {
    transition: none;
  }
  .btn:hover,
  .card:hover,
  .hero-media:hover,
  .back-top:hover {
    transform: none;
  }
}
