/* Trust Vault — Depósitos Corporativos
   Paleta y tipografía tomadas del manual de marca (Notas/Branding Trust Vault). */

:root {
  --rojo: #F52829;
  --rojo-osc: #C41C1D;
  --negro: #141416;
  --negro-2: #1F1F22;
  --hueso: #F2F1EF;
  --blanco: #FFFFFF;
  --gris: #6B6B70;
  --gris-claro: #C9C8C5;
  --verde-wa: #25D366;
  --verde-wa-osc: #1EB855;

  --wrap: 1120px;
  --pad: clamp(1.25rem, 5vw, 3rem);
  --radio: 4px;

  --sans: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  color: var(--negro);
  background: var(--hueso);
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

img, svg { max-width: 100%; }

a { color: inherit; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- tipografía ---------- */

h1, h2, h3 {
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 1.4rem + 4.6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 1.25rem + 2.1vw, 2.6rem); }
h3 { font-size: 1.25rem; line-height: 1.2; }

p { margin: 0 0 1rem; }

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--rojo);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.lede {
  max-width: 46ch;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  color: var(--gris-claro);
}

.tagline {
  margin-top: 1.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  font-style: italic;
  color: var(--rojo);
}

.fineprint {
  margin-top: 1.75rem;
  max-width: 60ch;
  font-size: 0.9rem;
  color: var(--gris);
}

/* ---------- lockup ---------- */

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.mark {
  width: 30px;
  height: 29px;
  flex: none;
  fill: var(--rojo);
}

.lockup-text { display: grid; line-height: 1; }
.lockup-text strong { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; }
.lockup-text small {
  margin-top: 3px;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--gris);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem var(--pad);
  background: rgba(242, 241, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(20, 20, 22, 0.09);
}

.site-nav {
  display: flex;
  gap: 1.4rem;
  margin-left: auto;
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav a {
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}

.site-nav a:hover { color: var(--rojo); border-bottom-color: var(--rojo); }

/* ---------- botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radio);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.12s, background-color 0.15s, color 0.15s;
}

.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--rojo); outline-offset: 3px; }

.btn-wa { background: var(--verde-wa); color: #06301A; }
.btn-wa:hover { background: var(--verde-wa-osc); }

.btn-ghost { border-color: currentColor; color: var(--blanco); }
.btn-ghost:hover { background: var(--blanco); color: var(--negro); }

.btn-sm { padding: 0.6rem 1rem; font-size: 0.88rem; }

.btn-lg {
  margin-top: 1.5rem;
  padding: 1rem 1.6rem;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.btn-lg small {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
}

.btn-lg span { text-align: left; line-height: 1.15; }

.ico { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.btn-lg .ico { width: 2rem; height: 2rem; }

/* ---------- secciones ---------- */

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-bone { background: var(--blanco); }

.section-dark {
  background: var(--negro);
  color: var(--blanco);
}

.section-dark .lede,
.section-dark .fineprint { color: var(--gris-claro); }

.two-col {
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.prose { max-width: 54ch; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--negro);
  color: var(--blanco);
}

.pattern::before,
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' width='400' height='400'%3E%3Cg fill='%23ffffff' transform='translate(50 55)'%3E%3Cpath d='M0 0H150V137H93V98L57 137V233H242V58H300V290H0V107L49 58H0Z'/%3E%3Cpath d='M185 0H242V58H185Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 150px 150px;
  pointer-events: none;
}

.pattern { position: relative; overflow: hidden; }
.pattern > .wrap { position: relative; }

.hero-inner {
  position: relative;
  padding-top: clamp(3.5rem, 9vw, 7rem);
  padding-bottom: clamp(3.5rem, 9vw, 7rem);
}

.hero h1 { margin-bottom: 1.25rem; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  margin: 3rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  list-style: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gris-claro);
}

.hero-facts li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.6rem;
  background: var(--rojo);
  vertical-align: 1px;
}

/* ---------- checklist ---------- */

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 46ch;
}

.checklist li {
  display: flex;
  gap: 0.85rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(20, 20, 22, 0.1);
  font-weight: 600;
}

.checklist li::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 0.55em;
  background: var(--rojo);
}

/* ---------- tarjetas ---------- */

.cards {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 3rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.card {
  padding: 1.75rem;
  background: var(--negro);
}

.card .num {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--rojo);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.card p { margin: 0; color: var(--gris-claro); font-size: 0.95rem; }

/* ---------- comparativa de precio ---------- */

.compare {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr 1fr;
  margin-top: 2.5rem;
}

.opt { padding: 2rem; }

.opt-label {
  margin-bottom: 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.opt-own {
  background: var(--blanco);
  border: 1px solid rgba(20, 20, 22, 0.12);
  color: var(--gris);
}

.opt-own .opt-price {
  font-size: clamp(1.4rem, 1rem + 1.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #9A9A9E;
}

.struck { text-decoration: line-through; text-decoration-thickness: 3px; }

.opt-tv {
  background: var(--negro);
  border-left: 6px solid var(--rojo);
  color: var(--blanco);
}

.opt-tv .opt-label { color: var(--rojo); }

.opt-tv .opt-price {
  margin-bottom: 0.5rem;
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.opt-tv .opt-price span {
  font-size: 0.35em;
  font-weight: 700;
  letter-spacing: 0;
}

.opt-note { margin: 0; font-size: 0.95rem; }
.opt-own .opt-note { color: var(--gris); }

.badge {
  display: inline-block;
  margin: 1.5rem 0 0;
  padding: 0.5rem 0.9rem;
  background: var(--rojo);
  color: var(--blanco);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- contacto ---------- */

.contacto {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.datos {
  font-style: normal;
  padding-top: 0.5rem;
}

.dato-label {
  margin: 0 0 0.35rem;
  color: var(--rojo);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.datos a {
  display: inline-block;
  margin-bottom: 1.75rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  border-bottom: 2px solid var(--rojo);
}

.datos a:hover { color: var(--rojo); }

/* ---------- footer ---------- */

.site-footer {
  padding: 2.5rem 0;
  background: var(--blanco);
  border-top: 1px solid rgba(20, 20, 22, 0.1);
  font-size: 0.9rem;
}

.footer-inner { display: grid; gap: 0.5rem; }
.footer-inner .lockup { margin-bottom: 0.75rem; }
.footer-inner p { margin: 0; color: var(--gris); }
.copy { font-size: 0.8rem; }

/* ---------- responsive ---------- */

@media (max-width: 880px) {
  .two-col,
  .contacto { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .compare { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .site-header { gap: 0.75rem; }
  .site-header .btn { margin-left: auto; }
  .btn-lg { font-size: 1.15rem; }
}
