/* ==========================================================
   Drop — estilos
   Paleta tomada del personaje: traje (tinta), corbata (azul),
   anteojos (rojo), pelaje (marrón).
   ========================================================== */
:root {
  --paper: #F5F7FC;
  --paper-2: #FFFFFF;
  --ink: #1C1F27;
  --ink-soft: #4A5063;
  --tie: #2457D6;
  --tie-deep: #183C9C;
  --lens: #E5352B;
  --fur: #7A4B2A;
  --sky: #E3EBFB;
  --line: #D3DAE8;

  --t-hogar: #E2EFE4;
  --t-gaming: #E7E3F6;
  --t-pyme: #F3EADC;

  --f-sans: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-hand: "Shantell Sans", "Comic Sans MS", system-ui, sans-serif;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --stroke: 2px solid var(--ink);
  --pop: 3px 3px 0 var(--ink);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
  --tabbar-h: 0px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tie); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.02em; font-weight: 750; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.9rem); font-variation-settings: "opsz" 96; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-variation-settings: "opsz" 72; }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--lens); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 650 1rem/1 var(--f-sans);
  padding: .95em 1.5em;
  border-radius: 999px;
  border: var(--stroke);
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background-color .15s;
  white-space: nowrap;
}
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--primary { background: var(--tie); color: #fff; box-shadow: var(--pop); }
.btn--primary:hover { background: var(--tie-deep); }
.btn--ghost { background: var(--paper-2); color: var(--ink); box-shadow: var(--pop); }
.btn--ghost:hover { background: var(--sky); }
.btn--light { background: #fff; color: var(--ink); box-shadow: 3px 3px 0 rgba(0,0,0,.35); }
.btn--sm { padding: .65em 1.1em; font-size: .92rem; box-shadow: 2px 2px 0 var(--ink); }
.btn--block { width: 100%; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Globo de diálogo (la voz de Drop) ---------- */
.bubble {
  position: relative;
  display: inline-block;
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 26px 30px 24px 32px / 30px 24px 32px 26px;
  padding: .75em 1.05em;
  font-family: var(--f-hand);
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--ink);
  max-width: 19rem;
  margin: 0;
  text-align: left;
}
.bubble::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  background: #fff;
  border-right: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  bottom: -11px; left: 38px;
  transform: rotate(45deg) skew(8deg, 8deg);
}
.bubble--big { font-size: clamp(1.15rem, 2.6vw, 1.5rem); max-width: 24rem; padding: .9em 1.2em; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 24px;
  padding: 12px var(--gutter);
  padding-top: max(12px, env(safe-area-inset-top));
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.top.is-scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 50%; background: var(--sky); border: 2px solid var(--ink); object-fit: cover; object-position: top; }
.brand span { font-weight: 800; font-size: 1.6rem; letter-spacing: -0.05em; font-variation-settings: "opsz" 96; }
.top__nav { display: flex; gap: 26px; margin-left: 18px; }
.top__nav a { color: var(--ink-soft); text-decoration: none; font-weight: 550; }
.top__nav a:hover { color: var(--ink); }
.top__actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* ---------- Secciones comunes ---------- */
main > section { padding: clamp(64px, 9vw, 120px) var(--gutter); }
main > section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--ink-soft); max-width: 36rem; margin-top: 14px; font-size: 1.1rem; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 34rem; margin-top: 22px; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding-top: clamp(32px, 6vw, 72px) !important;
  padding-bottom: clamp(40px, 6vw, 80px) !important;
}
.hero > * { max-width: none; margin: 0; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.promise { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; border-top: 1.5px solid var(--line); padding-top: 22px; }
.promise li { font-size: .95rem; color: var(--ink-soft); line-height: 1.4; }
.promise strong { display: block; color: var(--ink); font-weight: 700; margin-bottom: 2px; }

.hero__art { position: relative; display: flex; justify-content: center; }
.drop-talk {
  position: relative; background: none; border: 0; padding: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center;
}
.drop-talk img { width: min(100%, 400px); max-height: 62vh; object-fit: contain; transform-origin: 50% 100%; }
.drop-talk:hover img { animation: wiggle .5s ease; }
.drop-talk::before {
  content: ""; position: absolute; z-index: -1;
  left: 50%; bottom: 2%; width: 92%; aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--sky);
}
.hero__bubble { position: absolute; top: -6px; left: -12%; max-width: 15rem; z-index: 2; }
.hero__bubble::after { left: auto; right: 40px; }
.hero__bubble.is-new { animation: pop .35s cubic-bezier(.3,1.6,.6,1); }

@keyframes wiggle { 0%,100% { transform: rotate(0); } 30% { transform: rotate(-3deg); } 65% { transform: rotate(2deg); } }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- Planes ---------- */
.plans { background: var(--paper-2); border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); }
.switcher {
  display: inline-flex; gap: 6px; padding: 6px;
  background: var(--paper); border: var(--stroke); border-radius: 999px;
  margin-bottom: 28px;
}
.switcher button {
  font: 650 1.02rem/1 var(--f-sans); color: var(--ink-soft);
  background: none; border: 0; border-radius: 999px;
  padding: .8em 1.4em; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.switcher button[aria-selected="true"] { background: var(--ink); color: #fff; }
.switcher button:not([aria-selected="true"]):hover { color: var(--ink); background: var(--sky); }
.plans .switcher { display: flex; width: fit-content; }

.scene {
  display: grid; grid-template-columns: 1fr 1fr;
  border: var(--stroke); border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: 6px 6px 0 var(--ink);
}
.scene__art {
  position: relative; background: var(--t-hogar);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 72px 24px 24px;
  min-height: 420px;
  transition: background-color .35s;
}
.scene[data-theme="gaming"] .scene__art { background: var(--t-gaming); }
.scene[data-theme="pyme"] .scene__art { background: var(--t-pyme); }
.scene__art img { width: 100%; max-width: 440px; max-height: 420px; object-fit: contain; }
.scene__art img.is-swap { animation: swapIn .4s ease; }
.scene__bubble { position: absolute; top: 22px; right: 22px; max-width: 16rem; }
.scene__bubble::after { left: 34px; }
@keyframes swapIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.scene__info { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; border-left: var(--stroke); }
.scene__info h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-variation-settings: "opsz" 72; }
.scene__for { color: var(--ink-soft); margin: 10px 0 18px; }
.speed { margin: 0 0 18px; display: flex; align-items: baseline; gap: 8px; }
.speed span { font-size: clamp(3.4rem, 7vw, 5rem); font-weight: 800; letter-spacing: -0.05em; line-height: .9; font-variation-settings: "opsz" 96; color: var(--tie); }
.speed small { font-size: 1.1rem; font-weight: 650; color: var(--ink-soft); }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%232457D6' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.scene__buy { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1.5px dashed var(--line); padding-top: 22px; }
.price { margin: 0; display: flex; flex-direction: column; }
.price span { font-size: 2rem; font-weight: 750; letter-spacing: -0.03em; line-height: 1; }
.price small { color: var(--ink-soft); font-size: .9rem; margin-top: 4px; }

/* ---------- Quién es Drop ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.about > * { max-width: none; margin: 0; }
.about__art img { width: 100%; max-width: 480px; margin: 0 auto; }
.about__text h2 { margin-bottom: 24px; }
.about__text p { color: var(--ink-soft); font-size: 1.08rem; max-width: 36rem; }
.sign { font-family: var(--f-hand); color: var(--fur) !important; font-size: 1.2rem !important; margin-top: 8px; }

/* ---------- Pasos ---------- */
.steps { background: var(--sky); }
.steps__body { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.steps__list { list-style: none; padding: 0; margin: 0; counter-reset: paso; display: grid; gap: 14px; }
.steps__list li {
  counter-increment: paso;
  position: relative;
  background: var(--paper-2);
  border: var(--stroke);
  border-radius: var(--r-md);
  padding: 22px 24px 20px 88px;
}
.steps__list li::before {
  content: counter(paso);
  position: absolute; left: 22px; top: 20px;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--lens); color: #fff;
  font: 800 1.4rem/1 var(--f-sans);
  border: var(--stroke);
}
.steps__list h3 { margin-bottom: 6px; }
.steps__list p { margin: 0; color: var(--ink-soft); }
.steps__art { width: 100%; max-width: 380px; margin: 0 auto; }

/* ---------- Drop TV ---------- */
.tv {
  background: var(--ink); color: #fff;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center;
}
.tv > * { margin: 0; }
.tv[data-href] { cursor: pointer; }
.tv[data-href]:hover .tv__art { transform: translate(-2px, -2px) rotate(-1deg); box-shadow: 9px 9px 0 var(--tie); }
.tv__art { position: relative; display: block; width: 100%; max-width: 460px; justify-self: end; background: #fff; border-radius: var(--r-lg); padding: 18px; box-shadow: 6px 6px 0 var(--tie); transition: transform .2s ease, box-shadow .2s ease; }
.tv__art img { width: 100%; }
.tv__art:hover { transform: translate(-2px, -2px) rotate(-1deg); box-shadow: 9px 9px 0 var(--tie); }
.tv__live, .onair {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--ink);
  border: var(--stroke); border-radius: 999px;
  padding: .4em .85em; font-weight: 700; font-size: .9rem;
}
.tv__live { position: absolute; top: 14px; left: 14px; }
.tv__live i, .onair i, .ch__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lens); flex-shrink: 0; }
.tv__live i, .onair i { animation: onair 1.6s ease-in-out infinite; }
@keyframes onair { 50% { opacity: .35; } }
.tv__text { max-width: 30rem; }
.tv__text h2 { margin-bottom: 18px; }
.tv__text p { color: #C9CEDC; font-size: 1.1rem; margin-bottom: 28px; }

/* ---------- Contratar ---------- */
.hire { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.hire > * { max-width: none; margin: 0; }
.hire__intro h2 { margin-bottom: 16px; }
.hire__intro p { color: var(--ink-soft); font-size: 1.08rem; }
.hire__intro img { width: 100%; max-width: 300px; margin-top: 20px; }

.form, .done {
  background: var(--paper-2);
  border: var(--stroke);
  border-radius: var(--r-lg);
  padding: clamp(22px, 4vw, 40px);
  box-shadow: 6px 6px 0 var(--ink);
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-weight: 650; font-size: .95rem; }
input, select {
  font: 500 1rem/1.3 var(--f-sans);
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: .85em .95em;
  width: 100%;
  min-height: 50px;
  transition: border-color .15s, background-color .15s;
}
input:hover, select:hover { border-color: #AEB8CE; }
input:focus, select:focus { outline: none; border-color: var(--tie); background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--tie) 22%, transparent); }
input[aria-invalid="true"] { border-color: var(--lens); background: #FFF5F4; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%231C1F27' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.form__error { color: #B3221A; font-weight: 600; font-size: .95rem; }

.done { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.done:focus { outline: none; }
.done img { width: 220px; order: 2; }
.done .bubble { order: 1; }
.done .bubble::after { left: 50%; margin-left: -9px; }
.done__actions { order: 3; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- Preguntas ---------- */
.faq__list { border-top: var(--stroke); }
.faq details > * { max-width: 46rem; }
details { border-bottom: 1.5px solid var(--line); }
summary {
  max-width: none !important;
  list-style: none; cursor: pointer;
  padding: 22px 48px 22px 0; position: relative;
  font-weight: 650; font-size: 1.15rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 22px; height: 22px; margin-top: -11px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%231C1F27' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .2s;
}
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-soft); max-width: 42rem; padding-bottom: 8px; }

/* ---------- Footer ---------- */
.foot {
  display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center;
  padding: 40px var(--gutter) 48px;
  border-top: 1.5px solid var(--line);
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
}
.foot__brand { display: flex; align-items: center; gap: 14px; }
.foot__brand img { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--ink); background: var(--sky); object-fit: cover; object-position: top; }
.foot__brand p { margin: 0; color: var(--ink-soft); }
.foot__name { font-weight: 800; font-size: 1.5rem; letter-spacing: -0.05em; color: var(--ink) !important; }
.foot__links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot__links a, .foot__links .linklike { color: var(--ink); font-weight: 550; }
.foot__legal { grid-column: 1 / -1; margin: 0; color: var(--ink-soft); font-size: .9rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + var(--tabbar-h) + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  background: var(--ink); color: #fff;
  padding: 14px 20px; border-radius: 14px;
  font-weight: 550; z-index: 60;
  max-width: calc(100vw - 32px);
  box-shadow: 0 10px 30px rgba(28,31,39,.25);
  animation: pop .25s ease;
}

/* ==========================================================
   Saludo inicial
   ========================================================== */
.hello {
  position: fixed; inset: 0; z-index: 100;
  background: var(--tie);
  display: grid; place-items: center;
  overflow: hidden;
  cursor: pointer;
}
.hello::before {
  content: ""; position: absolute; left: 50%; bottom: -30vmin;
  width: 120vmin; aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%; background: var(--tie-deep);
}
.hello__stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; padding: 0 16px; }
.hello__drop { position: relative; width: auto; height: min(60vh, 520px, 98vw); max-width: none; object-fit: contain; animation: rise .9s cubic-bezier(.2,1.25,.4,1) both; }
.hello__bubble { position: relative; z-index: 2; margin-bottom: 18px; min-height: 3.3em; min-width: min(80vw, 18rem); animation: pop .35s .75s cubic-bezier(.3,1.6,.6,1) both; transform-origin: 30% 100%; }
.hello__bubble .caret { display: inline-block; width: 2px; height: 1em; background: var(--ink); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
.hello__skip { position: absolute; right: 20px; top: max(20px, env(safe-area-inset-top)); z-index: 3; }
.hello.is-leaving { animation: leave .55s cubic-bezier(.6,0,.4,1) forwards; }
@keyframes rise { from { transform: translateY(70%); } to { transform: none; } }
@keyframes leave { to { transform: translateY(-100%); } }
@keyframes blink { 50% { opacity: 0; } }
body.hello-open { overflow: hidden; }

/* ==========================================================
   Barra inferior (celulares)
   ========================================================== */
.tabbar { display: none; }

@media (max-width: 860px) {
  :root { --tabbar-h: 68px; }
  .top__nav { display: none; }
  .top__actions .btn:not(.install-btn) { display: none; }
  .tabbar {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--paper-2);
    border-top: var(--stroke);
  }
  .tabbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    text-decoration: none; color: var(--ink-soft); font-size: .76rem; font-weight: 600;
  }
  .tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar a.is-active { color: var(--tie); }
  .tabbar__main svg { background: var(--tie); color: #fff; stroke: #fff; border-radius: 50%; width: 30px; height: 30px; padding: 5px; border: 2px solid var(--ink); }

  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero__art { order: -1; margin-top: 8px; }
  .drop-talk img { max-height: 38vh; width: auto; }
  .hero__bubble { position: relative; top: auto; left: auto; margin-bottom: 14px; font-size: .95rem; max-width: 17rem; }
  .hero__bubble::after { right: auto; left: 50%; margin-left: -9px; }
  .promise { grid-template-columns: 1fr; gap: 12px; }

  .scene { grid-template-columns: 1fr; box-shadow: 4px 4px 0 var(--ink); }
  .scene__art { min-height: 0; padding-top: 96px; }
  .scene__art img { max-height: 300px; }
  .scene__info { border-left: 0; border-top: var(--stroke); }
  .switcher { width: 100% !important; }
  .switcher button { flex: 1; padding: .8em .6em; }

  .about, .hire, .tv, .steps__body { grid-template-columns: 1fr; }
  .about__art img { max-width: 340px; }
  .steps__art { max-width: 240px; order: -1; }
  .tv__art { justify-self: center; max-width: 360px; }
  .hire__intro img { display: none; }
  .foot { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .steps__list li { padding: 20px 18px 18px 74px; }
  .steps__list li::before { left: 16px; width: 42px; height: 42px; }
  .hero__cta .btn { flex: 1; }
  .scene__buy .btn { width: 100%; }
}

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

/* ==========================================================
   Login (login.html)
   ========================================================== */
.auth { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 1fr 1fr; }
.auth__side {
  background: var(--tie); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 32px clamp(24px, 5vw, 64px);
  position: relative; overflow: hidden;
}
.auth__side::before { content: ""; position: absolute; left: 50%; bottom: -25%; width: 110%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: var(--tie-deep); }
.auth__side .brand { color: #fff; position: relative; }
.auth__side .brand img { border-color: #fff; }
.auth__art { position: relative; display: flex; flex-direction: column; align-items: center; }
.auth__art img { width: min(100%, 320px); max-height: 52vh; object-fit: contain; }
.auth__art .bubble { margin-bottom: 14px; }
.auth__main { display: flex; align-items: center; justify-content: center; padding: 40px var(--gutter); }
.auth__box { width: 100%; max-width: 420px; }
.auth__box h1 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 10px; }
.auth__box > p { color: var(--ink-soft); margin-bottom: 28px; }
.auth__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: -4px 0 22px; font-size: .95rem; flex-wrap: wrap; }
.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; min-height: 0; accent-color: var(--tie); }
.pw { position: relative; }
.pw input { padding-right: 84px; }
.pw button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; font: 600 .9rem var(--f-sans); color: var(--tie); cursor: pointer; padding: 8px; }
.auth__note { margin-top: 18px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--sky); border: 1.5px solid var(--line); font-size: .95rem; }
.auth__alt { margin-top: 28px; padding-top: 20px; border-top: 1.5px solid var(--line); color: var(--ink-soft); font-size: .95rem; }

@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; }
  .auth__side { padding: 20px 20px 0; padding-top: max(20px, env(safe-area-inset-top)); }
  .auth__art { flex-direction: row; align-items: flex-end; justify-content: center; gap: 8px; margin-top: 12px; }
  .auth__art img { width: 140px; max-height: none; }
  .auth__art .bubble { font-size: .95rem; margin-bottom: 70px; }
  .auth__art .bubble::after { left: auto; right: -6px; bottom: 14px; transform: rotate(-45deg) skew(8deg, 8deg); }
  .auth__main { padding-top: 32px; align-items: flex-start; }
}
.auth-page { --tabbar-h: 0px; }

/* ==========================================================
   Contacto: WhatsApp e Instagram
   ========================================================== */
.ico { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ico .ico__fill { fill: currentColor; stroke: none; }

.contact { display: grid; gap: 10px; margin: 26px 0 6px; max-width: 22rem; }
.contact__lead { font-family: var(--f-hand); color: var(--fur); font-size: 1.1rem; margin: 0 0 2px; }
.contact__item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  background: var(--paper-2); color: var(--ink); text-decoration: none;
  border: var(--stroke); border-radius: var(--r-md);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease, background-color .15s;
}
.contact__item:hover { background: var(--sky); }
.contact__item:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.contact__item .ico { width: 28px; height: 28px; color: var(--tie); }
.contact__item span { display: flex; flex-direction: column; line-height: 1.25; font-size: .95rem; color: var(--ink-soft); }
.contact__item strong { color: var(--ink); font-size: 1rem; }

.foot__social { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.foot__social a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; text-decoration: none; }
.foot__social a:hover { color: var(--tie); text-decoration: underline; }

.wa-float {
  position: fixed; z-index: 35;
  right: max(20px, env(safe-area-inset-right));
  bottom: calc(22px + var(--tabbar-h) + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px;
  background: #25D366; color: var(--ink);
  border: var(--stroke); border-radius: 999px;
  box-shadow: var(--pop);
  font-weight: 700; text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}
.wa-float .ico { width: 26px; height: 26px; }
.wa-float:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.wa-float:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
body.hello-open .wa-float { display: none; }

@media (max-width: 860px) {
  .wa-float { padding: 12px; right: 16px; bottom: calc(14px + var(--tabbar-h) + env(safe-area-inset-bottom)); }
  .wa-float span { display: none; }
  .contact { max-width: none; }
}
@media (max-width: 860px) {
  .foot { padding-bottom: 92px; }
}

/* ==========================================================
   Dentro de la app de Android (WebView)
   ========================================================== */
html { -webkit-tap-highlight-color: transparent; }
.is-app body { overscroll-behavior-y: none; }
.is-app .install-btn { display: none !important; }
.is-app .btn, .is-app .tabbar a, .is-app .switcher button, .is-app summary { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
