/**
 * Landing /qr-tecnologia — campaña flyer OMNI + Laia.
 * Paleta y ritmo de la pieza impresa; no usa el chrome del website master.
 */
:root {
  --qt-navy: #0b2559;
  --qt-navy-deep: #071a3f;
  --qt-blue: #2b6bff;
  --qt-blue-soft: #5b8cff;
  --qt-sky: #e8f1ff;
  --qt-sky-2: #f4f8ff;
  --qt-paper: #fbfcfe;
  --qt-card: #ffffff;
  --qt-ink: #0b2559;
  --qt-muted: #5c6e8a;
  --qt-line: rgba(11, 37, 89, 0.1);
  --qt-wa: #25d366;
  --qt-display: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  --qt-body: "Figtree", "Source Sans 3", "Helvetica Neue", sans-serif;
  --qt-max: 1120px;
  --qt-radius: 18px;
  --qt-shadow: 0 14px 40px rgba(11, 37, 89, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--qt-paper);
  color: var(--qt-ink);
  font-family: var(--qt-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  background:
    radial-gradient(circle at 12% 18%, rgba(43, 107, 255, 0.08), transparent 32%),
    radial-gradient(circle at 88% 8%, rgba(11, 37, 89, 0.07), transparent 28%),
    repeating-radial-gradient(circle at 80% 42%, rgba(43, 107, 255, 0.05) 0 1px, transparent 1px 72px);
}

.qt-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.qt-page {
  position: relative;
  z-index: 2;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.qt-wrap {
  width: min(var(--qt-max), calc(100% - 2rem));
  margin-inline: auto;
}

/* ── Header ── */
.qt-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0 0.4rem;
}

.qt-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.qt-brand img {
  width: 42px;
  height: 21px;
}

.qt-brand-name {
  font-family: var(--qt-display);
  font-weight: 700;
  letter-spacing: 0.38em;
  font-size: 0.78rem;
  color: var(--qt-navy);
}

.qt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.42rem 0.85rem;
  border: 1px solid rgba(43, 107, 255, 0.28);
  border-radius: 999px;
  background: #fff;
  color: var(--qt-navy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.qt-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--qt-blue);
  box-shadow: 0 0 0 4px rgba(43, 107, 255, 0.15);
}

/* ── Hero ── */
.qt-hero {
  padding: 1.6rem 0 0.4rem;
}

.qt-hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--qt-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 5.2vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  max-width: 18ch;
}

.qt-hero h1 .qt-wa-word {
  color: var(--qt-blue);
}

.qt-lead {
  margin: 0;
  max-width: 42ch;
  color: var(--qt-muted);
  font-size: 1.05rem;
}

.qt-split {
  display: grid;
  gap: 1.4rem;
  margin-top: 1.8rem;
}

.qt-features {
  display: grid;
  gap: 0.7rem;
}

.qt-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 1rem;
  background: var(--qt-card);
  border: 1px solid var(--qt-line);
  border-radius: 16px;
  box-shadow: var(--qt-shadow);
}

.qt-card h3 {
  margin: 0 0 0.12rem;
  font-family: var(--qt-display);
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.qt-card p {
  margin: 0;
  color: var(--qt-muted);
  font-size: 0.9rem;
}

.qt-ico {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--qt-sky);
  color: var(--qt-blue);
  flex-shrink: 0;
}

.qt-ico svg {
  width: 22px;
  height: 22px;
}

/* ── Portrait ── */
.qt-portrait {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 320px;
  background: #d7e4f7;
  box-shadow: var(--qt-shadow);
}

.qt-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.qt-ia-badge {
  position: absolute;
  top: 18%;
  right: 10%;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--qt-display);
  font-weight: 800;
  letter-spacing: 0.04em;
  background: radial-gradient(circle at 35% 30%, #6ea0ff, var(--qt-blue) 62%, #163a9a);
  box-shadow: 0 0 0 8px rgba(43, 107, 255, 0.18), 0 12px 30px rgba(11, 37, 89, 0.28);
  animation: qt-pulse 2.8s ease-in-out infinite;
}

.qt-laia-chip {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.85rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(11, 37, 89, 0.16);
}

.qt-laia-chip strong {
  display: block;
  font-family: var(--qt-display);
  font-size: 0.95rem;
}

.qt-laia-chip span {
  color: var(--qt-muted);
  font-size: 0.82rem;
}

.qt-online {
  margin-left: auto;
  color: #128c4a;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.qt-online::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: #22c55e;
}

/* ── Banner ── */
.qt-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin: 1.8rem 0 0;
  padding: 1rem 1.15rem;
  background: var(--qt-sky);
  border-radius: 18px;
}

.qt-banner-ico {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--qt-blue);
  color: #fff;
}

.qt-banner h2 {
  margin: 0;
  font-family: var(--qt-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.qt-banner p {
  margin: 0.15rem 0 0;
  color: var(--qt-muted);
  font-size: 0.88rem;
}

.qt-banner-copy {
  flex: 1;
  min-width: 180px;
}

.qt-link {
  margin-left: auto;
  color: var(--qt-blue);
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  text-decoration: none;
  text-transform: uppercase;
}

.qt-link:hover {
  text-decoration: underline;
}

/* ── Chat ── */
.qt-ask {
  padding: 3.2rem 0 1.2rem;
  text-align: center;
}

.qt-ask h2 {
  margin: 0 0 0.5rem;
  font-family: var(--qt-display);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
}

.qt-ask h2 em {
  font-style: normal;
  color: var(--qt-blue);
}

.qt-ask > p {
  margin: 0 auto 1.6rem;
  color: var(--qt-muted);
  max-width: 40ch;
}

.qt-chat {
  max-width: 420px;
  margin: 0 auto;
  background: #efeae2;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(11, 37, 89, 0.14);
  text-align: left;
  border: 1px solid rgba(11, 37, 89, 0.06);
}

.qt-chat-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  background: #075e54;
  color: #fff;
}

.qt-chat-ava {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  font-family: var(--qt-display);
  font-weight: 800;
  font-size: 0.72rem;
}

.qt-chat-head strong {
  display: block;
  font-size: 0.95rem;
}

.qt-chat-head small {
  opacity: 0.85;
  font-size: 0.75rem;
}

.qt-chat-body {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 0.85rem 1.15rem;
}

.qt-bubble {
  max-width: 86%;
  padding: 0.55rem 0.75rem 0.35rem;
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.35;
}

.qt-bubble time {
  display: block;
  text-align: right;
  font-size: 0.68rem;
  opacity: 0.65;
  margin-top: 0.2rem;
}

.qt-me {
  justify-self: end;
  background: #d9fdd3;
  border-bottom-right-radius: 4px;
}

.qt-laia {
  justify-self: start;
  background: #fff;
  border-bottom-left-radius: 4px;
}

/* ── Grid ── */
.qt-grid-sec {
  padding: 2.4rem 0 1rem;
}

.qt-grid-sec h2 {
  margin: 0 0 0.35rem;
  font-family: var(--qt-display);
  font-size: clamp(1.45rem, 3.4vw, 2rem);
  letter-spacing: -0.03em;
}

.qt-grid-sec .qt-lead {
  margin-bottom: 1.2rem;
}

.qt-grid {
  display: grid;
  gap: 0.75rem;
}

.qt-tile {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 1rem 1.05rem;
  background: #fff;
  border: 1px solid var(--qt-line);
  border-radius: 16px;
}

.qt-tile h3 {
  margin: 0 0 0.15rem;
  font-family: var(--qt-display);
  font-size: 1rem;
}

.qt-tile p {
  margin: 0;
  color: var(--qt-muted);
  font-size: 0.9rem;
}

/* ── Demo ── */
.qt-demo {
  margin: 1.6rem 0 2.4rem;
  padding: 1.4rem 1.15rem 1.3rem;
  background: linear-gradient(180deg, #f7fbff, var(--qt-sky));
  border: 1px solid rgba(43, 107, 255, 0.16);
  border-left: 6px solid var(--qt-blue);
  border-radius: 20px;
  display: grid;
  gap: 1.3rem;
}

.qt-demo h2 {
  margin: 0 0 0.4rem;
  font-family: var(--qt-display);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.qt-demo > p,
.qt-demo-copy p {
  margin: 0 0 1rem;
  color: var(--qt-muted);
}

.qt-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.1rem;
  margin-bottom: 1rem;
}

.qt-phones a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  font-weight: 700;
  color: var(--qt-navy);
  font-size: 1.05rem;
}

.qt-phones a svg {
  color: var(--qt-wa);
}

.qt-form {
  display: grid;
  gap: 0.65rem;
}

.qt-form label {
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--qt-navy);
}

.qt-form input {
  width: 100%;
  margin-top: 0.2rem;
  padding: 0.72rem 0.8rem;
  border: 1px solid var(--qt-line);
  border-radius: 12px;
  font: inherit;
  background: #fff;
}

.qt-form input:focus {
  outline: 2px solid rgba(43, 107, 255, 0.35);
  border-color: var(--qt-blue);
}

.qt-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.qt-error {
  margin: 0;
  color: #b42318;
  font-size: 0.9rem;
}

.qt-ok {
  margin: 0 0 0.6rem;
  color: #067647;
  font-size: 0.92rem;
}

.qt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: var(--qt-blue);
  color: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  text-decoration: none;
}

.qt-btn:hover {
  background: #1f58e6;
}

.qt-qr-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  justify-content: center;
}

.qt-qr-box img {
  width: 118px;
  height: 118px;
  background: #fff;
  padding: 6px;
  border-radius: 12px;
}

.qt-qr-box span {
  font-family: var(--qt-display);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--qt-blue);
  text-transform: uppercase;
  max-width: 8ch;
  line-height: 1.25;
}

/* ── Footer ── */
.qt-foot {
  padding: 0.4rem 0 5.5rem;
  text-align: center;
  color: var(--qt-muted);
  font-size: 0.88rem;
}

/* ── Sticky mobile CTA ── */
.qt-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(251, 252, 254, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--qt-line);
}

.qt-sticky a {
  width: 100%;
}

.qt-sticky.is-hidden {
  transform: translateY(120%);
  pointer-events: none;
  transition: transform 0.28s ease;
}

.qt-sticky {
  transition: transform 0.28s ease;
}

@keyframes qt-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 8px rgba(43, 107, 255, 0.18), 0 12px 30px rgba(11, 37, 89, 0.28); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 14px rgba(43, 107, 255, 0.12), 0 12px 30px rgba(11, 37, 89, 0.28); }
}

.qt-reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: qt-in 0.7s ease forwards;
}

.qt-features .qt-card:nth-child(1) { animation-delay: 0.05s; }
.qt-features .qt-card:nth-child(2) { animation-delay: 0.12s; }
.qt-features .qt-card:nth-child(3) { animation-delay: 0.19s; }
.qt-features .qt-card:nth-child(4) { animation-delay: 0.26s; }

@keyframes qt-in {
  to { opacity: 1; transform: none; }
}

@media (min-width: 760px) {
  .qt-kicker { font-size: 0.72rem; }
  .qt-split {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
  }
  .qt-portrait img { min-height: 460px; height: 100%; }
  .qt-grid { grid-template-columns: 1fr 1fr; }
  .qt-demo {
    grid-template-columns: 1.2fr auto;
    align-items: center;
    padding: 1.6rem 1.6rem;
  }
  .qt-sticky { display: none; }
  .qt-foot { padding-bottom: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .qt-ia-badge { animation: none; }
  .qt-reveal { animation: none; opacity: 1; transform: none; }
}
