/* ==========================================================
   Argendia · renovación (se carga DESPUÉS de styles.css)
   Secciones de la página principal y de web.html
   ========================================================== */

/* ---------- Hero ---------- */
.hero-last {
  color: transparent;
  background: linear-gradient(90deg, #3d83ff, #0df2b0);
  -webkit-background-clip: text;
  background-clip: text;
}

.cta-left { margin-left: 0; margin-right: 0; }

.showcase-tabs-left { justify-content: flex-start; margin-bottom: 0.9rem; }

/* La captura entra una sola vez, al cargar: es lo único que se mueve solo */
.hero-stage { perspective: 1800px; min-width: 0; }
.hero-window { transform-origin: 30% 60%; }
@media (prefers-reduced-motion: no-preference) {
  .hero-window { animation: hero-settle 1.3s cubic-bezier(0.2, 0.75, 0.2, 1) 0.1s both; }
}
@keyframes hero-settle {
  from { opacity: 0; transform: rotateY(-16deg) rotateX(7deg) translateY(28px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Bandas de contenido ---------- */
.band { padding: 4.5rem 0; }
.band-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
  border-block: 1px solid rgba(255, 255, 255, 0.07);
}
@media (min-width: 640px) { .band { padding: 6.5rem 0; } }

.band-title {
  max-width: 22ch;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-size: clamp(1.8rem, 5.4vw, 3rem);
  text-wrap: balance;
}
.band-title-left { max-width: 20ch; }

/* ---------- Filas de producto ---------- */
.feature {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-top: 3.5rem;
}
@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 4rem; margin-top: 5rem; }
  .feature-reverse .feature-text { order: 2; }
}
.feature-text h3 {
  font-size: clamp(1.35rem, 3.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-wrap: balance;
}
.feature-text p {
  margin-top: 0.8rem;
  max-width: 32rem;
  font-size: 1.02rem;
  line-height: 1.65;
  font-weight: 500;
  color: #cbd5e1;
}
.feature-text .feature-note {
  font-size: 0.85rem;
  color: #8fa0c2;
}
.feature-shot {
  display: block;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.9rem;
  overflow: hidden;
  background: #050d30;
  cursor: zoom-in;
  box-shadow: 0 30px 70px -35px rgba(10, 92, 255, 0.6);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.feature-shot:hover { transform: translateY(-3px); border-color: rgba(13, 242, 176, 0.4); }
.feature-shot:focus-visible { outline: 2px solid #0df2b0; outline-offset: 3px; }
.feature-shot img { display: block; width: 100%; height: auto; }

/* Lista corrida (sin tarjetas) */
.more-list {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 1rem;
}
@media (min-width: 900px) { .more-list { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.more-list li { font-size: 0.98rem; line-height: 1.55; color: #b6c2db; font-weight: 500; }
.more-list strong { color: #fff; font-weight: 800; }

/* ---------- Seguridad ---------- */
.secure-list { display: grid; gap: 0; }
.secure-list li {
  display: flex;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.secure-list li:first-child { padding-top: 0; }
.secure-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.secure-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.7rem;
  color: #0df2b0;
  background: rgba(13, 242, 176, 0.1);
}
.secure-ico svg { width: 1.3rem; height: 1.3rem; }
.secure-list h3 { font-weight: 800; font-size: 1.05rem; }
.secure-list p { margin-top: 0.25rem; color: #b6c2db; font-weight: 500; font-size: 0.95rem; line-height: 1.55; }

/* ---------- Pasos ---------- */
.steps {
  margin-top: 3rem;
  display: grid;
  gap: 2rem;
  counter-reset: paso;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
  .steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.45rem;
    left: 4rem;
    right: -2rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(13,242,176,0.5), rgba(13,242,176,0));
  }
}
.steps li { position: relative; }
.step-n {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 9999px;
  font-weight: 900;
  font-size: 1.15rem;
  color: #012b12;
  background: #0df2b0;
}
.steps h3 { margin-top: 1rem; font-weight: 800; font-size: 1.2rem; }
.steps p { margin-top: 0.4rem; max-width: 20rem; color: #b6c2db; font-weight: 500; line-height: 1.6; }

/* ---------- Preguntas frecuentes ---------- */
.faq details { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.faq details:first-child { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  color: #0df2b0;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid #0df2b0; outline-offset: 2px; border-radius: 4px; }
.faq details p { padding: 0 2rem 1.3rem 0; color: #cbd5e1; font-weight: 500; line-height: 1.65; max-width: 40rem; }

/* ---------- Y además ---------- */
.also {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(13, 242, 176, 0.3);
  background: rgba(13, 242, 176, 0.05);
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s;
}
.also:hover { background: rgba(13, 242, 176, 0.1); border-color: rgba(13, 242, 176, 0.6); }
.also:focus-visible { outline: 2px solid #0df2b0; outline-offset: 3px; }
.also-text { display: grid; gap: 0.25rem; }
.also-title { font-weight: 800; font-size: 1.15rem; color: #fff; }
.also-sub { font-weight: 500; font-size: 0.95rem; color: #b6c2db; }
.also-go {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 9999px;
  color: #012b12;
  background: #0df2b0;
  transition: transform 0.2s;
}
.also:hover .also-go { transform: translateX(3px); }

/* ---------- Cierre ---------- */
.closing {
  padding: 5rem 0 4rem;
  background:
    radial-gradient(60% 90% at 50% 100%, rgba(10, 92, 255, 0.28), transparent 70%);
}

/* ---------- Botón fijo (celulares) ---------- */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 9999px;
  background: #25d366;
  color: #012b12;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.6), 0 0 0 1px rgba(255,255,255,0.15) inset;
  transform: translate(-50%, 160%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.sticky-cta.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .sticky-cta, .feature-shot, .also-go { transition: none; }
}

/* ---------- web.html ---------- */
.web-points { display: grid; gap: 1.6rem; margin-top: 2.5rem; }
@media (min-width: 800px) { .web-points { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.web-points h3 { font-weight: 800; font-size: 1.15rem; }
.web-points p { margin-top: 0.4rem; color: #b6c2db; font-weight: 500; line-height: 1.6; }
.web-defs { margin-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.1); }
.web-defs div { padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); display: grid; gap: 0.25rem; }
@media (min-width: 700px) { .web-defs div { grid-template-columns: 11rem 1fr; gap: 1.5rem; } }
.web-defs dt { font-weight: 800; color: #0df2b0; }
.web-defs dd { color: #cbd5e1; font-weight: 500; line-height: 1.6; }

/* Pestañas alineadas a la izquierda (el hero) */
.showcase-tabs-left .showcase-tab:first-child { margin-left: 0; }
.showcase-tabs-left .showcase-tab:last-child  { margin-right: 0; }
