/* ==========================================================================
   Kingshopia — Landing styles
   Palette: ink navy + gold accent. Mobile-first, no framework.
   ========================================================================== */

:root {
  --ink-900: #050c1e;
  --ink-800: #0a142f;
  --ink-700: #10203f;
  --ink-600: #172c52;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #eaf2ff;
  --text-muted: #9db3d4;
  --text-dim: #6a819f;

  --gold-400: #5aa9ff;
  --gold-500: #2b8fff;
  --gold-600: #0a5fd6;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --wrap: 1180px;
  --gutter: 20px;

  --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  --shadow-gold: 0 18px 46px -18px rgba(43, 143, 255, 0.62);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;            /* clip, no hidden: no crea un contenedor de scroll */
}

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 { font-size: clamp(2.4rem, 6.2vw, 4.25rem); }
h2 { font-size: clamp(1.95rem, 4.4vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; }

.section-pad { padding-block: clamp(72px, 10vw, 130px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold-500);
}

.lede {
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  color: var(--text-muted);
  max-width: 62ch;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: #ffffff;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { box-shadow: 0 22px 52px -16px rgba(43, 143, 255, 0.66); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-block { width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background-color 0.25s ease, border-color 0.25s ease,
    backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(5, 12, 30, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--gold-400), var(--gold-600));
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; border-radius: 9px; }

.nav {
  display: none;
  align-items: center;
  gap: 30px;
  font-size: 0.94rem;
  color: var(--text-muted);
}
.nav a { transition: color 0.16s ease; }
.nav a:hover { color: var(--text); }

.header-cta { display: none; }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Con el menu abierto el header necesita fondo SIEMPRE, haya scroll o no.
   Sin esto, los enlaces se leian encima del hero. */
.site-header.menu-open,
.site-header.menu-open .header-inner {
  background: rgba(5, 12, 30, 0.97);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
/* El fondo de la pagina no se mueve mientras el menu esta abierto. */
body.nav-locked { overflow: hidden; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0 26px;
  border-top: 1px solid var(--line);
  /* Opaco por si el header no alcanza a cubrirlo (menu mas alto que el vh). */
  background: rgba(5, 12, 30, 0.99);
  /* Si no cabe en pantalla, el menu hace su propio scroll. */
  max-height: calc(100vh - 74px);
  max-height: calc(100dvh - 74px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 14px 4px;
  font-size: 1.05rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 18px; }

@media (min-width: 940px) {
  .nav, .header-cta { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: 140px;
  padding-bottom: clamp(70px, 9vw, 120px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      120% 90% at 78% 8%,
      rgba(43, 143, 255, 0.2) 0%,
      transparent 58%
    ),
    linear-gradient(180deg, rgba(5, 12, 30, 0.72) 0%, rgba(5, 12, 30, 0.94) 62%,
      var(--ink-900) 100%);
}

.hero-inner { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  gap: 54px;
  align-items: center;
}

.hero h1 { margin-bottom: 22px; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--gold-400), #c8e4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede { font-size: clamp(1.08rem, 1.9vw, 1.28rem); margin-bottom: 32px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.dot-live {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #46d17f;
  box-shadow: 0 0 0 0 rgba(70, 209, 127, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 11px rgba(70, 209, 127, 0); }
  100% { box-shadow: 0 0 0 0 rgba(70, 209, 127, 0); }
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--ink-700);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

.hero-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(5, 12, 30, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
}
.hero-badge strong { display: block; font-size: 0.95rem; }
.hero-badge span { font-size: 0.82rem; color: var(--text-dim); }
.hero-badge .icon {
  width: 38px; height: 38px; flex: none;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(43, 143, 255, 0.14);
  color: var(--gold-400);
}

@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 64px; }
}

/* ---------- Stat strip ---------- */

.strip {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent);
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}
.strip-item {
  background: var(--ink-900);
  padding: 30px 22px;
  text-align: center;
}
.strip-item .num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  color: var(--gold-400);
  line-height: 1;
  margin-bottom: 8px;
}
.strip-item .label {
  font-size: 0.83rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
@media (min-width: 800px) { .strip-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Section head ---------- */

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { margin-bottom: 18px; }

/* ---------- Problem ---------- */

.problem { background: var(--ink-800); }

.problem-grid {
  display: grid;
  gap: 22px;
  margin-top: 44px;
}
@media (min-width: 760px) { .problem-grid { grid-template-columns: repeat(3, 1fr); } }

.problem-card {
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
}
.problem-card .qmark {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold-500);
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}
.problem-card h3 { margin-bottom: 10px; }
.problem-card p { color: var(--text-muted); font-size: 0.97rem; }

.problem-answer {
  margin-top: 44px;
  padding: 34px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(43, 143, 255, 0.3);
  background: linear-gradient(135deg, rgba(43, 143, 255,0.12), rgba(43, 143, 255,0.02));
}
.problem-answer p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
}

/* ---------- Services ---------- */

.services-grid { display: grid; gap: 22px; }
@media (min-width: 700px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink-800);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(43, 143, 255, 0.36);
  box-shadow: var(--shadow-lg);
}

.service-media {
  aspect-ratio: 16 / 10;
  background: var(--ink-700);
  overflow: hidden;
  position: relative;
}
.service-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-media img { transform: scale(1.05); }
.service-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(10, 20, 47,0.92) 100%);
}

.service-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { margin-bottom: 11px; }
.service-body p { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 18px; }

.service-list {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-list li {
  font-size: 0.79rem;
  color: var(--text-dim);
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

/* ---------- Process ---------- */

.process { background: var(--ink-800); }

.process-grid { display: grid; gap: 26px; counter-reset: step; }
@media (min-width: 900px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }

.process-step { position: relative; padding-top: 26px; }
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold-500);
  letter-spacing: 0.1em;
}
.process-step .bar {
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500), rgba(43, 143, 255,0.06));
  margin: 14px 0 20px;
}
.process-step h3 { margin-bottom: 10px; }
.process-step p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Industries ---------- */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 760px) { .industries-grid { grid-template-columns: repeat(4, 1fr); } }

.industry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.022);
  font-size: 0.94rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.industry:hover {
  border-color: rgba(43, 143, 255, 0.34);
  background: rgba(43, 143, 255, 0.05);
}
.industry .icon { color: var(--gold-400); flex: none; }
.industry .icon svg { width: 21px; height: 21px; }

/* ---------- Why ---------- */

.why { background: var(--ink-800); }

.why-grid { display: grid; gap: 46px; align-items: center; }
@media (min-width: 980px) { .why-grid { grid-template-columns: 0.95fr 1.05fr; gap: 66px; } }

.why-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-lg);
  background: var(--ink-700);
}
.why-visual img { width: 100%; height: 100%; object-fit: cover; }

.why-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 24px; }
.why-list li { display: flex; gap: 16px; }
.why-list .tick {
  width: 30px; height: 30px; flex: none;
  border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(43, 143, 255, 0.14);
  color: var(--gold-400);
}
.why-list .tick svg { width: 17px; height: 17px; }
.why-list h3 { font-size: 1.08rem; margin-bottom: 5px; }
.why-list p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 840px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.04rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.faq-q .chev {
  flex: none;
  width: 22px; height: 22px;
  color: var(--gold-400);
  transition: transform 0.24s ease;
}
.faq-item.is-open .chev { transform: rotate(45deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--text-muted); font-size: 0.98rem; padding: 0 4px 26px; }

/* ---------- Contact ---------- */

.contact {
  position: relative;
  background: var(--ink-800);
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  width: 620px; height: 620px;
  top: -220px; right: -180px;
  background: radial-gradient(circle, rgba(43, 143, 255,0.16), transparent 66%);
  pointer-events: none;
}

.contact-grid { position: relative; display: grid; gap: 46px; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }

.contact-side h2 { margin-bottom: 18px; }

.contact-channels { display: grid; gap: 12px; margin-top: 32px; }
.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.channel:hover { border-color: rgba(43, 143, 255,0.4); transform: translateX(3px); }
.channel .icon {
  width: 40px; height: 40px; flex: none;
  border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(43, 143, 255, 0.13);
  color: var(--gold-400);
}
.channel .icon svg { width: 20px; height: 20px; }
.channel strong { display: block; font-size: 0.96rem; }
.channel span { font-size: 0.84rem; color: var(--text-dim); }

.form-card {
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  box-shadow: var(--shadow-lg);
}

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.field .req { color: var(--gold-500); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  min-height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(5, 12, 30, 0.55);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field textarea { min-height: 118px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239db3d4' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 19px;
  padding-right: 44px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(43, 143, 255, 0.16);
}

.field-row { display: grid; gap: 18px; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }

.form-foot {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--text-dim);
  text-align: center;
}

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

.form-status {
  display: none;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
}
.form-status.is-visible { display: block; }
.form-status.ok {
  background: rgba(70, 209, 127, 0.1);
  border: 1px solid rgba(70, 209, 127, 0.35);
  color: #a6ecc4;
}
.form-status.err {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.35);
  color: #ffb4b4;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 54px 34px;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.footer-top {
  display: grid;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 800px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }

.footer-brand p { margin-top: 14px; max-width: 40ch; }

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.79rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 15px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
}
.social { display: flex; gap: 10px; }
.social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--text-muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.social a:hover { color: var(--gold-400); border-color: rgba(43, 143, 255,0.4); }
.social svg { width: 19px; height: 19px; }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Focus visibility ---------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
}

/* ==========================================================================
   Added: comparison, founding-client offer, guarantee, proof scaffold
   ========================================================================== */

/* ---------- Comparison table ---------- */

.compare { background: var(--ink-900); }

.compare-table {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-800);
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--line);
}
.compare-row:last-child { border-bottom: 0; }

.compare-cell { padding: 20px 22px; }

.compare-cell.label {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.compare-cell.old { color: var(--text-dim); font-size: 0.94rem; }
.compare-cell.ks {
  color: var(--text);
  font-size: 0.94rem;
  background: rgba(43, 143, 255, 0.06);
  border-left: 2px solid rgba(43, 143, 255, 0.4);
}

.compare-cell.old::before,
.compare-cell.ks::before {
  display: inline-block;
  margin-right: 9px;
  font-weight: 700;
}
.compare-cell.old::before { content: "✕"; color: #ff8b8b; }
.compare-cell.ks::before { content: "✓"; color: var(--gold-400); }

.compare-head {
  display: none;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}
.compare-head div {
  padding: 18px 22px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.compare-head .ks-head { color: var(--gold-400); }

.compare-mobile-tag {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 5px;
}

@media (min-width: 820px) {
  .compare-head { display: grid; }
  .compare-head, .compare-row { grid-template-columns: 1fr 1.25fr 1.25fr; }
  .compare-mobile-tag { display: none; }
  .compare-cell { padding: 22px 24px; }
}

/* ---------- Founding client offer ---------- */

.offer {
  position: relative;
  background: var(--ink-800);
  overflow: hidden;
}
.offer::before {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  top: -300px; left: -220px;
  background: radial-gradient(circle, rgba(43, 143, 255,0.15), transparent 66%);
  pointer-events: none;
}

.offer-card {
  position: relative;
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid rgba(43, 143, 255, 0.34);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(43, 143, 255,0.1), rgba(255,255,255,0.02));
  box-shadow: var(--shadow-lg);
}

.offer-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(43, 143, 255, 0.16);
  border: 1px solid rgba(43, 143, 255, 0.4);
  color: var(--gold-400);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.offer-card h2 { margin-bottom: 18px; }

.offer-perks {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
@media (min-width: 780px) { .offer-perks { grid-template-columns: repeat(2, 1fr); gap: 18px 32px; } }

.offer-perks li { display: flex; gap: 13px; align-items: flex-start; }
.offer-perks .tick {
  width: 26px; height: 26px; flex: none;
  margin-top: 2px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(43, 143, 255, 0.18);
  color: var(--gold-400);
}
.offer-perks .tick svg { width: 15px; height: 15px; }
.offer-perks strong { display: block; font-size: 0.98rem; margin-bottom: 3px; }
.offer-perks span { font-size: 0.9rem; color: var(--text-muted); }

.offer-foot {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(43, 143, 255, 0.22);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
}
.offer-foot p { font-size: 0.9rem; color: var(--text-muted); max-width: 44ch; }

/* ---------- Guarantee ---------- */

.guarantee-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .guarantee-grid { grid-template-columns: repeat(3, 1fr); } }

.guarantee-card {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.008));
  text-align: center;
  transition: border-color 0.22s ease, transform 0.22s ease;
}
.guarantee-card:hover { border-color: rgba(43, 143, 255,0.34); transform: translateY(-4px); }
.guarantee-card .shield {
  width: 54px; height: 54px;
  margin: 0 auto 20px;
  border-radius: 15px;
  display: grid; place-items: center;
  background: rgba(43, 143, 255, 0.13);
  color: var(--gold-400);
}
.guarantee-card .shield svg { width: 26px; height: 26px; }
.guarantee-card h3 { margin-bottom: 11px; }
.guarantee-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Proof / testimonials scaffold ---------- */

.proof { background: var(--ink-800); }

.proof-grid { display: grid; gap: 22px; }
@media (min-width: 860px) { .proof-grid { grid-template-columns: repeat(3, 1fr); } }

.proof-card {
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.025);
  display: flex;
  flex-direction: column;
}
.proof-card .stars { color: var(--gold-400); font-size: 1rem; letter-spacing: 3px; margin-bottom: 16px; }
.proof-card blockquote {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.5;
  letter-spacing: -0.012em;
}
.proof-author { margin-top: auto; display: flex; align-items: center; gap: 13px; }
.proof-author .avatar {
  width: 42px; height: 42px; flex: none;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--gold-400), var(--gold-600));
  color: #ffffff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
}
.proof-author strong { display: block; font-size: 0.94rem; }
.proof-author span { font-size: 0.83rem; color: var(--text-dim); }

/* ---------- Mid-page CTA band ---------- */

.cta-band {
  border-block: 1px solid rgba(43, 143, 255, 0.24);
  background: linear-gradient(120deg, rgba(43, 143, 255,0.11), rgba(43, 143, 255,0.02));
  padding-block: clamp(46px, 6vw, 70px);
}
.cta-band-inner {
  display: grid;
  gap: 24px;
  align-items: center;
}
@media (min-width: 880px) {
  .cta-band-inner { grid-template-columns: 1fr auto; gap: 44px; }
}
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 10px; }
.cta-band p { color: var(--text-muted); max-width: 58ch; }

/* Brand mark holds the real logo: no gradient chip behind it */
.brand-mark { background: none; }
.brand-mark.is-fallback {
  background: linear-gradient(140deg, var(--gold-400), var(--gold-600));
}
.brand-mark img { border-radius: 0; }

/* ---------- Wordmark: King (white) + shopia (celeste) ---------- */
.wordmark { color: #ffffff; }
.wm-accent { color: #5ec2ff; }

/* ---------- Story / manifesto ---------- */

.story {
  position: relative;
  background: var(--ink-900);
  overflow: hidden;
}
.story::before {
  content: "";
  position: absolute;
  width: 760px; height: 760px;
  top: -300px; right: -260px;
  background: radial-gradient(circle, rgba(43, 143, 255, 0.14), transparent 66%);
  pointer-events: none;
}

.story-inner { position: relative; }

.story-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 980px) { .story-grid { grid-template-columns: 0.85fr 1.15fr; gap: 70px; } }

.story-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
  background: var(--ink-700);
  position: relative;
}
.story-visual img { width: 100%; height: 100%; object-fit: cover; }

.story-quote {
  position: absolute;
  inset: auto 16px 16px 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: rgba(5, 12, 30, 0.86);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(43, 143, 255, 0.3);
}
.story-quote p {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.4;
  letter-spacing: -0.012em;
}

.story-body > p { margin-bottom: 1.15rem; }
.story-body > p:last-of-type { margin-bottom: 0; }

.story-lead {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.7vw, 1.85rem);
  line-height: 1.35;
  letter-spacing: -0.018em;
  color: var(--text);
  margin-bottom: 1.5rem !important;
}

.story-body p:not(.story-lead) {
  color: var(--text-muted);
  font-size: 1.03rem;
  max-width: 64ch;
}

.story-pull {
  margin: 34px 0;
  padding: 24px 28px;
  border-left: 3px solid var(--gold-500);
  background: linear-gradient(90deg, rgba(43, 143, 255, 0.1), transparent);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.story-pull p {
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 2.1vw, 1.32rem);
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--text) !important;
}

.story-values {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
@media (min-width: 700px) { .story-values { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

.story-values li {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}
.story-values .n {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--gold-400);
  margin-bottom: 10px;
}
.story-values strong { display: block; font-size: 1rem; margin-bottom: 6px; }
.story-values span { font-size: 0.9rem; color: var(--text-muted); }

.story-sign {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 15px;
}
.story-sign .mark {
  width: 46px; height: 46px; flex: none;
  border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--gold-400), var(--gold-600));
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}
.story-sign strong { display: block; font-size: 0.98rem; }
.story-sign span { font-size: 0.87rem; color: var(--text-dim); }

/* ==========================================================================
   HERO v2 — inmersivo, la foto manda (estilo editorial full-bleed)
   ========================================================================== */

.hero {
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  padding-top: 120px;
  padding-bottom: clamp(48px, 7vw, 86px);
}

/* la imagen ya no va apagada: se ve */
.hero-bg img { opacity: 1; }

/* velo direccional: oscuro abajo-izquierda donde vive el texto,
   la foto respira arriba-derecha */
.hero-bg::after {
  background:
    linear-gradient(to top, rgba(5, 12, 30, 0.94) 0%, rgba(5, 12, 30, 0.72) 34%,
      rgba(5, 12, 30, 0.34) 62%, rgba(5, 12, 30, 0.55) 100%),
    linear-gradient(to right, rgba(5, 12, 30, 0.78) 0%, rgba(5, 12, 30, 0.28) 52%,
      rgba(5, 12, 30, 0.1) 100%);
}

.hero-grid { display: block; }

.hero-inner > .hero-grid > div:first-child { max-width: 42rem; }

.hero h1 {
  font-size: clamp(2.7rem, 7vw, 5rem);
  line-height: 1.02;
  text-shadow: 0 2px 30px rgba(5, 12, 30, 0.5);
}

/* palabra en itálica, como la referencia */
.hero h1 .accent {
  font-style: italic;
  background: none;
  -webkit-text-fill-color: currentColor;
  color: #8ec7ff;
}

.hero-lede {
  color: #cddcf2;
  max-width: 34rem;
  text-shadow: 0 1px 18px rgba(5, 12, 30, 0.6);
}

/* la tarjeta grande de la derecha ya no va en el hero */
.hero-visual { display: none; }

/* franja de dato al pie del hero, como el bloque de la referencia */
.hero-meta {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  max-width: 30rem;
}
.hero-meta .k {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(206, 226, 255, 0.75);
  margin-bottom: 8px;
}
.hero-meta .v {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.hero-meta .v em { font-style: italic; color: #8ec7ff; }
.hero-meta .s {
  display: block;
  margin-top: 7px;
  font-size: 0.84rem;
  color: rgba(190, 208, 232, 0.72);
}

/* banda ancha reutilizando la captura de producto */
.showcase {
  position: relative;
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.showcase picture, .showcase img {
  display: block;
  width: 100%;
  height: clamp(260px, 46vw, 560px);
  object-fit: cover;
}
.showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,12,30,0.9), rgba(5,12,30,0.15) 55%, rgba(5,12,30,0.5));
  pointer-events: none;
}
.showcase-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding-bottom: clamp(24px, 4vw, 44px);
}
.showcase-cap p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.8rem);
  line-height: 1.3;
  letter-spacing: -0.018em;
  max-width: 30ch;
}
.showcase-cap em { font-style: italic; color: #8ec7ff; }

/* ---------- Bloque corporativo del pie ---------- */

.footer-entity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--text-dim);
}
.footer-entity > div:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-entity .entity-name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}
.footer-entity .entity-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
.footer-entity .sep { opacity: 0.35; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(70, 209, 127, 0.12);
  border: 1px solid rgba(70, 209, 127, 0.34);
  color: #8fe6b4;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.status-pill::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #46d17f;
}

.corp-line {
  margin-top: 14px;
  font-size: 0.87rem;
  color: var(--text-dim);
  line-height: 1.7;
}
.corp-line a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
.corp-line a:hover { color: var(--gold-400); }
.corp-line strong { color: var(--text-muted); font-weight: 600; }

/* el pie ahora tiene 4 columnas en pantallas grandes */
@media (min-width: 800px) {
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
}

/* enlaces de texto en la fila social de las paginas legales */
.site-footer .social a[href$=".html"] {
  width: auto;
  padding: 0 12px;
  font-size: 0.86rem;
  color: var(--text-dim);
}
.site-footer .social a[href$=".html"]:hover { color: var(--gold-400); }

/* ---------- Logo mas grande y mas pegado al wordmark (estilo Shopify) ---------- */

.brand { gap: 8px; }

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 0;
}
.brand-mark.is-fallback {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.wordmark { font-size: 1.52rem; letter-spacing: -0.03em; font-weight: 700; }

@media (min-width: 940px) {
  .brand-mark { width: 52px; height: 52px; }
  .wordmark { font-size: 1.68rem; }
  .header-inner { height: 82px; }
}

/* el logo del pie va un poco mas discreto */
.footer-brand .brand-mark { width: 40px; height: 40px; }
.footer-brand .wordmark { font-size: 1.35rem; }

/* ---------- Video de fondo del hero ---------- */

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
  z-index: 1;
}
.hero-video.is-ready { opacity: 1; }

/* el velo tiene que quedar POR ENCIMA del video */
.hero-bg::after { z-index: 2; }

/* si el visitante pidio menos movimiento, se queda la foto */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

/* ==========================================================================
   Escalas de tiempo — "donde cae tu proyecto"
   ========================================================================== */

.scales { background: var(--ink-800); }

.scale-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .scale-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .scale-grid { grid-template-columns: repeat(4, 1fr); } }

.scale-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.008));
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.scale-card:hover {
  transform: translateY(-5px);
  border-color: rgba(43, 143, 255, 0.4);
  box-shadow: var(--shadow-lg);
}

/* las dos bandas mas frecuentes se destacan */
.scale-card.is-common {
  border-color: rgba(43, 143, 255, 0.34);
  background: linear-gradient(180deg, rgba(43,143,255,0.1), rgba(43,143,255,0.02));
}

.scale-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.scale-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.05);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.scale-card.is-common .scale-tag {
  border-color: rgba(43,143,255,0.45);
  background: rgba(43,143,255,0.16);
  color: #8ec7ff;
}

.scale-time { text-align: right; line-height: 1; }
.scale-time strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--gold-400);
}
.scale-time span {
  display: block;
  margin-top: 5px;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.scale-card h3 { font-size: 1.06rem; margin-bottom: 9px; }
.scale-card > p { font-size: 0.93rem; color: var(--text-muted); margin-bottom: 16px; }

.scale-card ul {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.scale-card li {
  position: relative;
  padding-left: 18px;
  font-size: 0.89rem;
  color: var(--text-muted);
}
.scale-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
}

.scale-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text);
}
.scale-foot span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}

/* bloque de factores */
.scale-note {
  margin-top: clamp(36px, 5vw, 54px);
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.028);
}
.scale-note h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); margin-bottom: 20px; }

.scale-factors { display: grid; gap: 16px; }
@media (min-width: 780px) { .scale-factors { grid-template-columns: repeat(2, 1fr); gap: 18px 32px; } }
.scale-factors div {
  font-size: 0.94rem;
  color: var(--text-muted);
  padding-left: 16px;
  border-left: 2px solid rgba(43, 143, 255, 0.4);
}
.scale-factors strong { color: var(--text); font-weight: 600; }

.scale-promise {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--text);
}

/* ==========================================================================
   Encabezado: que nada se parta en dos lineas
   ========================================================================== */

.nav { gap: 22px; white-space: nowrap; }
.nav a { white-space: nowrap; }

.header-cta .btn {
  white-space: nowrap;
  padding: 13px 22px;
  min-height: 48px;
  font-size: 0.92rem;
}

.brand { flex: none; }
.wordmark { white-space: nowrap; }

/* el menu completo necesita mas espacio: colapsa en hamburguesa por debajo de 1120px */
@media (max-width: 1119px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: inline-grid; }
}
@media (min-width: 1120px) {
  .nav, .header-cta { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .nav { gap: 26px; }
}

/* margen de scroll para que el encabezado fijo no tape los titulos */
section[id] { scroll-margin-top: 92px; }

/* ==================== Formulario inteligente ==================== */
/* Preguntas por pasos con chips en vez de un muro de campos. El dueno de un
   negocio contesta cinco toques en el celular; no llena ocho casillas. */

.smart-step { margin-bottom: 22px; }
.smart-q {
  font-weight: 600;
  margin: 0 0 10px;
  font-size: 0.98rem;
}
.smart-extra { margin-bottom: 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  appearance: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.2;
  /* 44px de alto: es lo minimo que un pulgar acierta sin fallar. */
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}
.chip:hover { border-color: rgba(90, 160, 255, 0.6); }
.chip:focus-visible { outline: 2px solid #5aa0ff; outline-offset: 2px; }
.chip.is-on {
  border-color: #5aa0ff;
  background: rgba(90, 160, 255, 0.18);
  font-weight: 600;
}
.chip-sm { font-size: 0.85rem; padding: 9px 14px; min-height: 40px; }

.opt { font-weight: 400; opacity: 0.6; font-size: 0.85em; }

/* La trampa para robots: fuera de la vista pero no display:none, porque
   algunos robots ignoran lo que esta oculto de esa forma. */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none;
}

.form-status:empty { display: none; }
.form-status.is-error {
  color: #ff9a9a;
  border: 1px solid rgba(255, 107, 107, 0.35);
  background: rgba(255, 107, 107, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}
.form-status.is-info {
  opacity: 0.75;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.form-done { text-align: center; padding: 34px 18px; }
.form-done h3 { font-size: 1.4rem; margin: 0 0 8px; }
.form-done p { margin: 0; opacity: 0.8; }

@media (max-width: 560px) {
  .chips { gap: 7px; }
  .chip { font-size: 0.86rem; padding: 10px 13px; }
}
