/* Layout for touch screens and the explicit /movil entry point. */
html { font-size: clamp(16px, 4.15vw, 40px); }
body {
  width: 100%;
  margin: 0;
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  font-size: 1rem;
  background: #100e18;
}
main, .site-nav { width: 100%; max-width: none; margin: 0; }
main { padding: 0; }

.site-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3rem;
  align-items: center;
  gap: 0 .75rem;
  padding: .65rem 1rem;
  min-height: 0;
  background: #100e18;
}
.site-nav .brand { width: min(100%, 10.5rem); }
.site-nav .brand img { display: block; width: 100%; height: auto; }
.site-nav .nav-toggle {
  display: grid;
  place-content: center;
  gap: .28rem;
  width: 3rem;
  height: 3rem;
  margin: 0;
  padding: 0;
  border: 1px solid #ffffff28;
  background: #211528;
}
.nav-toggle span { width: 1.3rem; height: 2px; border-radius: 2px; background: white; }
.site-nav .links {
  display: none;
  grid-column: 1 / -1;
  margin: .5rem 0 0;
  padding: .35rem;
  border: 1px solid #473551;
  border-radius: .75rem;
  background: #1b1423;
}
.site-nav .nav-toggle[aria-expanded="true"] + .links { display: grid; grid-template-columns: 1fr; }
.site-nav .links a { min-height: 3rem; font-size: .95rem; }
.site-nav .install-desktop { display: none; }
.hero-copy .install-mobile {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin: .7rem 0 0;
  padding: .45rem .85rem;
  border: 1px solid #ffffff40;
  background: #25172c;
  font-size: .9375rem;
}

main .landing { min-height: 0; margin: 0; padding: 0; border: 0; background: transparent; border-radius: 0; overflow: visible; }
.hero-spotlight { display: block; position: relative; width: 100%; }
.hero-spotlight .hero-photo {
  position: relative;
  z-index: auto;
  inset: auto;
  width: 100%;
  height: clamp(12.5rem, 60vw, 20rem);
  background: linear-gradient(to bottom, transparent 58%, #100e18 100%),
    url(assets/approved-0.webp) center 30% / cover no-repeat;
  opacity: 1;
}
.hero-copy { max-width: none; padding: 0 1.125rem 1rem; margin-top: -1.4rem; }
.hero-copy .tag { font-size: .75rem; color: #ffd4ef; }
.hero-copy h1 { font-size: clamp(2.2rem, 10.5vw, 3.15rem); line-height: 1; margin: .5rem 0 .75rem; }
.hero-copy h1 br:first-of-type { display: none; }
.hero-copy p { max-width: none; font-size: 1rem; line-height: 1.5; }
.hero-copy .muted { font-size: .875rem; }
.hero-actions { display: grid; gap: .5rem; grid-template-columns: minmax(0, 1fr); }
.hero-actions a.btn, .hero-actions a.outline {
  display: grid; place-items: center; width: 100%; min-height: 3.25rem; margin: 0;
  padding: .65rem; font-size: 1rem; text-align: center;
}

.categories { max-width: none; margin: .75rem 0 0; }
.categories .section-head { padding: 0 1.125rem; gap: .5rem; }
.categories .section-head h2 { font-size: 1.3rem; line-height: 1.2; margin-block: .65rem; }
.categories .tile-copy { padding: .8rem .5rem .45rem; gap: .45rem; }
.categories .tile-copy strong { font-size: 1.125rem; }
.categories .tile-copy small, .categories .tile-prices { font-size: .9375rem; }

.demo-section, .wizard, #workspace { max-width: none; margin-inline: .875rem !important; }
.demo-section, .card, form.panel { padding: 1rem; }
.demo-section h2, .wizard h2, #workspace h2 { font-size: 1.4rem; }
.demo-filters button { min-height: 2.75rem; font-size: .875rem; }
.demo-track { grid-template-columns: minmax(0, 1fr); padding: .75rem; }
.demo-track img { display: none; }
.demo-track audio, #workspace audio { min-height: 3rem; }
.steps { flex-direction: column; margin-inline: 1rem; }
.wizard label, #workspace label { font-size: 1rem; }
.wizard input:not([type=checkbox]):not([type=radio]), .wizard textarea, .wizard select { font-size: 1rem; min-height: 3.125rem; }
.wizard button, #workspace button { min-height: 3rem; font-size: 1rem; max-width: 100%; }
.wizard .grid, .wizard .packages, #workspace .section-row, .wizard-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
.wizard-actions #next, .wizard-actions #submit { margin-inline: 0; width: 100%; }
#crear, #demos, #ocasiones { scroll-margin-top: .75rem; }

.mobile-tabs {
  position: fixed;
  z-index: 5;
  inset: auto 0 0;
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.45fr);
  gap: .2rem;
  padding: .35rem .5rem calc(.35rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #ffffff25;
  background: #16111d;
}
.mobile-tabs a { min-height: 3.25rem; display: grid; place-items: center; font-size: .875rem; text-align: center; border-radius: .7rem; }
.mobile-tabs .mobile-create { background: #c00086; color: white; font-weight: 700; }

.site-nav .links .install-mobile {
  display: block;
  grid-column: 1 / -1;
  width: 100%;
  min-height: 2.75rem;
  margin: .3rem 0 .15rem;
  padding: .45rem .85rem;
  border: 1px solid #c675e5;
  border-radius: .65rem;
  color: #fff;
  background: #502067;
  font-size: .9375rem;
}
