/* Virtu — style.css (v2.7, 28 Sep 2026)
   PALETA: la anterior (coral + Army Black). EN REVISIÓN en el hilo de Marca por Flesh Studio.
   Todo color sale de estas variables — cambiar la paleta = tocar solo :root.
   Tipografía: RNS Sanz (archivos locales en /fonts, extraídos del sistema de marca). */

@font-face { font-family: "RNS Sanz"; font-weight: 300; font-style: normal; font-display: swap; src: url("fonts/rns-sanz-300.woff") format("woff"); }
@font-face { font-family: "RNS Sanz"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/rns-sanz-400.woff") format("woff"); }
@font-face { font-family: "RNS Sanz"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/rns-sanz-500.woff") format("woff"); }
@font-face { font-family: "RNS Sanz"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/rns-sanz-700.woff") format("woff"); }
@font-face { font-family: "RNS Sanz"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/rns-sanz-800.woff") format("woff"); }
@font-face { font-family: "RNS Sanz"; font-weight: 900; font-style: normal; font-display: swap; src: url("fonts/rns-sanz-900.woff") format("woff"); }


:root {
  --ink: #171616;        /* Army Black — texto */
  --accent: #F95C4B;     /* coral — wordmark, botón */
  --bg: #FFFFFF;
  --bg-soft: #F5F4F2;
  --muted: #5E5A57;      /* texto secundario, 6.6:1 sobre blanco */
  --line: #E4E1DD;

  --font-body: "RNS Sanz", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1080px;
  color-scheme: only light;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ---------- HERO (provisional, desde el boceto de Timo) ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 16px 88px;
  position: relative;
}

.hero__logo { margin: 0; line-height: 0; }

.wordmark {
  color: var(--accent);
  width: clamp(220px, 34vw, 440px);
  height: auto;
  display: block;
}

.hero__tagline {
  margin: clamp(10px, 1.4vw, 16px) 0 0;
  font-weight: 300;
  font-size: clamp(14px, 1.55vw, 20px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

/* v2.7: el descriptor pasó de etiqueta en mayúsculas a frase completa → minúscula, más legible */
.hero__label {
  margin: clamp(48px, 7vh, 80px) 0 0;
  max-width: 22em;
  font-weight: 400;
  font-size: clamp(19px, 2.2vw, 27px);
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.hero__cta { margin-top: clamp(28px, 4vh, 44px); }

.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  padding: 8px;
  line-height: 0;
}
.hero__scroll:hover { color: var(--ink); }

/* ---------- BOTONES ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 40px 12px;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { transform: translateY(-1px); background: #fa6e5f; }
.btn--ghost { border-color: var(--ink); color: var(--ink); text-transform: none; letter-spacing: 0.02em; font-weight: 500; }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--dark { background: var(--ink); color: var(--bg); text-transform: none; letter-spacing: 0.03em; font-weight: 700; }
.btn--dark:hover { transform: translateY(-1px); background: #2e2c2b; }
.btn--icon { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.btn--icon svg { flex: none; margin-top: -2px; }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* ---------- SECCIONES ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(64px, 10vw, 112px) 16px;
}

.section__title {
  margin: 0 0 40px;
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- CHAT DE EJEMPLO (Qué hacemos) ---------- */
.chat {
  max-width: 460px;
  margin: 0 auto clamp(48px, 7vw, 72px);
  background: var(--bg-soft);
  border-radius: 18px;
  padding: 18px 16px 20px;
}
.chat__caption {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px;
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}
.chat__tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); border: 1px solid var(--ink); border-radius: 999px; padding: 3px 10px;
}
.chat__body { display: flex; flex-direction: column; gap: 8px; }
.msg {
  position: relative;
  margin: 0;
  max-width: 82%;
  padding: 9px 13px 20px;
  border-radius: 14px;
  font-size: 16px;
  line-height: 1.4;
}
.msg--in  { align-self: flex-start; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg--out { align-self: flex-end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 4px; }
.msg__time { position: absolute; right: 10px; bottom: 4px; font-size: 11px; opacity: .6; }

/* ---------- CÓMO FUNCIONA ---------- */
.section--soft { max-width: none; background: var(--bg-soft); }
.steps {
  list-style: none; margin: 0 auto; padding: 0;
  max-width: var(--maxw);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 48px);
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; max-width: 460px; } }
.step { text-align: center; }
.step__num {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  font-weight: 800; font-size: 20px;
  margin-bottom: 14px;
}
.step__title { margin: 0 0 8px; font-weight: 700; font-size: clamp(20px, 2vw, 22px); }
.step p { margin: 0; color: var(--muted); font-size: 17px; }

/* ---------- QUÉ HACEMOS ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 48px);
}
@media (max-width: 820px) { .features { grid-template-columns: 1fr; } }
.feature { border-top: 2px solid var(--accent); padding-top: 20px; }
.feature__title { margin: 0 0 12px; font-weight: 700; font-size: clamp(20px, 2vw, 23px); line-height: 1.25; }
.feature p { margin: 0; color: var(--muted); font-size: 17px; }
.feature p + p { margin-top: 10px; }
.feature__note { font-size: 15px !important; font-style: italic; }
.features__signature {
  margin: clamp(40px, 6vw, 64px) 0 0;
  text-align: center;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- CARDS ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
}
.card__title {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 21px;
}
.card p { margin: 0 0 18px; color: var(--muted); font-size: 17px; }
.card__status {
  margin-top: auto;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 4px 12px;
}
.card--teaser { background: transparent; border: 1.5px dashed var(--line); }

/* ---------- CONTACTO ---------- */
.section--contact { padding-bottom: clamp(72px, 10vw, 120px); }
.contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
@media (max-width: 520px) {
  .contact .btn { width: 100%; justify-content: center; text-align: center; font-size: 15px; letter-spacing: 0.04em; white-space: nowrap; padding-left: 16px; padding-right: 16px; }
}

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 24px 16px;
  font-size: 14px;
  color: var(--muted);
}
.footer p { margin: 0; }

/* ---------- AJUSTES MOBILE ---------- */
.hero__label { text-wrap: balance; }
@media (max-width: 520px) {
  .wordmark { width: min(72vw, 300px); }
  .hero__tagline { font-weight: 400; font-size: 13px; letter-spacing: 0.06em; }
  .hero__label { font-size: 19px; margin-top: 40px; max-width: 18em; }
}

/* ---------- VICKY (dormida) ---------- */
.vicky {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  transition: opacity .25s ease, transform .25s ease;
}
.vicky.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }

.vicky__bubble {
  position: relative;
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  color: var(--bg);
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(23,22,22,.22);
  animation: vicky-breathe 4.2s ease-in-out infinite;
}
.vicky__bubble:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.vicky__z {
  position: absolute;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--accent);
  opacity: 0;
  animation: vicky-z 4.2s ease-in-out infinite;
}
.vicky__z--1 { top: 0; right: 4px; font-size: 15px; }
.vicky__z--2 { top: -12px; right: -6px; font-size: 19px; animation-delay: 1.4s; }

@keyframes vicky-breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes vicky-z {
  0% { opacity: 0; transform: translate(0,4px); }
  30% { opacity: 1; }
  70% { opacity: 0; transform: translate(6px,-10px); }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .vicky__bubble, .vicky__z { animation: none; }
  .vicky__z--1 { opacity: 1; }
}

.vicky__card {
  position: relative;
  width: min(300px, calc(100vw - 32px));
  background: var(--bg);
  border-radius: 14px;
  padding: 20px 20px 18px;
  box-shadow: 0 10px 34px rgba(23,22,22,.2);
  border: 1px solid var(--line);
}
.vicky__card[hidden] { display: none; }
.vicky__title { margin: 0 32px 6px 0; font-weight: 700; font-size: 18px; }
.vicky__text { margin: 0 0 16px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.vicky__cta { padding: 11px 24px 10px; font-size: 15px; }
.vicky__close {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px;
  border: 0; border-radius: 8px;
  background: transparent; color: var(--muted);
  display: grid; place-items: center; cursor: pointer;
}
.vicky__close:hover { background: var(--bg-soft); color: var(--ink); }
