:root {
  --paper: #f4f1e9;
  --ink: #182019;
  --rust: #c84a2e;
  --line: #cbc9c0;
  --soft: #e8e6dd;
}

/* V3: editorial, quiet, product-first. */
body {
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
html { scroll-padding-top: 100px; }
[id] { scroll-margin-top: 100px; }
body::before, .hero::before, .hero::after, .hero-glow, .cta-line { display: none; }
.section { padding: 120px 0; }
.container { width: min(calc(100% - 72px), 1360px); }
.reveal { opacity: 1; transform: none; transition: none; }

h1, h2, h3 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.055em;
}
h1 span, h2 span { color: inherit; }
h1 { font-size: clamp(68px, 7.2vw, 118px); line-height: .88; }
h2 { font-size: clamp(48px, 5.4vw, 82px); line-height: .94; }
.lead { color: #4f5750; }
.eyebrow {
  color: var(--ink);
  font-size: 10px;
  letter-spacing: .19em;
  font-weight: 700;
}
.eyebrow i { display: none; }
.badge, .eyebrow .badge {
  background: transparent;
  border: 1px solid var(--rust);
  border-radius: 0;
  color: var(--rust);
}

.site-header { position: absolute; padding: 0; }
.site-header.scrolled { position: fixed; padding: 0; }
.nav, .site-header.scrolled .nav {
  height: 82px;
  padding: 0;
  background: rgba(244, 241, 233, .96);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.logo, .product-logo {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -.06em;
}
.logo span, .product-logo span, .giant-logo span {
  color: var(--rust);
  font-style: italic;
}
.nav-links { gap: 30px; }
.nav-links a, .login { color: var(--ink); font-size: 12px; }
.nav-links a:hover, .login:hover { color: var(--rust); }
.button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 0;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  box-shadow: none;
  font-size: 12px;
  letter-spacing: .02em;
}
.button:hover {
  transform: none;
  background: var(--rust);
  border-color: var(--rust);
  box-shadow: none;
  filter: none;
}
.button-sm { min-height: 38px; }
.button-ghost { background: transparent; color: var(--ink); }
.button-row { gap: 0; }
.button-row .button + .button { border-left: 0; }

.hero {
  min-height: 920px;
  padding: 170px 0 90px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.hero-grid { grid-template-columns: 1.08fr .92fr; gap: 70px; }
.hero h1 { color: var(--ink); margin: 30px 0 36px; }
.hero h1 span { color: var(--rust); font-style: italic; }
.hero-copy .lead { max-width: 610px; font-size: 19px; }
.micro { color: #5d665e; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.micro span::before { content: "—"; color: var(--rust); }

.hero-product { height: 630px; perspective: none; }
.tablet {
  width: 610px;
  height: 485px;
  right: -90px;
  top: 95px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  box-shadow: 14px 14px 0 var(--ink);
  transform: rotate(1deg);
}
.tablet-top {
  height: 46px;
  padding: 0 18px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}
.tablet-top .product-logo { color: var(--ink); font-size: 16px; }
.tablet-screen {
  height: 437px;
  padding: 26px;
  background: #f8f6ef;
  border-radius: 0;
  color: var(--ink);
}
.tablet-home { display: none; }
.status-icon { background: transparent; color: var(--ink); border: 1px solid var(--ink); border-radius: 50%; }
.ready strong, .scan-copy strong { color: var(--ink); }
.scan-zone { height: 245px; }
.qr-wrap {
  width: 145px;
  height: 145px;
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 10px;
  box-shadow: none;
}
.qr { border: 4px solid white; }
.scan-line { height: 1px; background: var(--rust); box-shadow: none; }
.mode-buttons { gap: 0; }
.mode-buttons button, .mode-buttons button.active {
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}
.mode-buttons button + button { border-left: 0; }
.confirm-card {
  border: 1px solid var(--ink);
  border-radius: 0;
  background: #eef0e8;
  color: var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}
.presence-card {
  right: -5px;
  top: 25px;
  width: 240px;
  padding: 16px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 7px 7px 0 var(--rust);
  transform: rotate(-2deg);
}
.presence-card strong b { color: var(--ink); }
.floating-event { display: none; }

.problem, .experiences, .qr-security, .privacy, .infrastructure, .faq {
  background: var(--paper);
}
.problem { text-align: left; border-bottom: 1px solid var(--line); }
.problem .narrow { margin-left: max(36px, calc((100vw - 1360px) / 2)); }
.problem .lead { margin: 0; }
.transform-line {
  border: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
}
.old, .new { justify-content: flex-start; padding-left: 30px; background: transparent; }
.old { border-bottom: 1px solid var(--line); }
.new i { width: 20px; height: 1px; border-radius: 0; background: var(--rust); }

.section-head { border-top: 1px solid var(--ink); padding-top: 20px; }
.section-head > p, .section-head > div:last-child { color: #5d675f; }
.experience-shell { border-color: var(--ink); }
.role-tabs button {
  padding: 19px 0;
  color: #656d66;
  border-color: var(--line);
  border-radius: 0;
}
.role-tabs button[aria-selected="true"] {
  color: var(--ink);
  border-color: var(--rust);
  background: transparent;
}
.role-panel {
  min-height: 520px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
}
.role-copy { padding: 70px 70px 70px 0; }
.role-kicker { color: var(--rust); }
.role-desc { color: #59635b; }
.feature-list li::before { content: "—"; color: var(--rust); }
.role-visual { padding-right: 0; background: transparent; }
.mini-window {
  border: 1px solid var(--ink);
  border-radius: 0;
  background: #f8f6ef;
  box-shadow: 10px 10px 0 var(--ink);
  transform: rotate(-1deg);
}
.window-bar { border-color: var(--ink); }
.window-bar i { border-radius: 0; background: var(--ink) !important; }
.mini-scan { border: 1px solid var(--ink); border-radius: 0; box-shadow: none; }

.how, .dashboard-section, .use-cases, .final-cta { background: #e8e6dd; }
.how { border-block: 1px solid var(--line); }
.steps { gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.steps article { min-height: 340px; padding: 50px 28px; border-right: 1px solid var(--line); }
.steps article:last-of-type { border-right: 0; }
.steps > i { display: none; }
.step-icon {
  width: auto;
  height: 70px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: Georgia, serif;
  font-size: 44px;
  justify-content: start;
}
.steps article:nth-of-type(2) .step-icon, .steps article:nth-of-type(3) .step-icon { border: 0; box-shadow: none; }
.steps h3, .steps p { text-align: left; margin-left: 0; }
.tech-note { border: 0; }

.split { gap: 120px; }
.qr-stage { height: 560px; background: transparent; }
.orbit { border-color: var(--line); border-radius: 50%; }
.orbit span {
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
}
.qr-core {
  border: 1px solid var(--ink);
  border-radius: 0;
  box-shadow: 12px 12px 0 var(--rust);
}
.ring { border-color: var(--rust); border-left-color: transparent; border-radius: 50%; }
.split-copy > p:not(.eyebrow), .check-list li { color: #536057; }
.check-list li { border-color: var(--line); }
.check-list li::before { content: "—"; width: auto; height: auto; margin-right: 14px; background: transparent; color: var(--rust); }

.dashboard {
  border: 1px solid var(--ink);
  border-radius: 0;
  box-shadow: 14px 14px 0 var(--ink);
  background: #f4f1e9;
  transform: none;
}
.dashboard aside { background: var(--ink); }
.dashboard aside .product-logo { color: #f4f1e9; }
.dashboard aside .product-logo span { color: #ef7658; }
.dashboard aside nav b { border-radius: 0; }
.dash-main header button, .stat-grid article, .dash-content > article { border-radius: 0; }
.stat-grid article, .dash-content > article { background: #f8f6ef; border-color: #bebfb7; }

.face-ui { background: transparent; }
.face-frame {
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 0;
}
.face-frame::before, .face-frame::after { border-radius: 0; }
.face-frame::after {
  content: "Mantén tu rostro dentro del encuadre";
  inset: 28px 0 auto;
  border: 0;
  color: #687169;
  font: 10px Arial, sans-serif;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}
.face-outline {
  width: 116px;
  height: 136px;
  top: 105px;
  border-color: #8d958d;
  border-radius: 50%;
}
.face-outline::before {
  width: 238px;
  height: 122px;
  left: -62px;
  top: 154px;
  border: 1px solid #8d958d;
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
}
.face-ui .land { display: none; }
.face-scan { left: 24%; right: 24%; box-shadow: none; }
.face-status {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 14px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--rust);
}
.face-status > span { min-width: 0; gap: 3px; }
.face-status > span small { display: block; letter-spacing: .16em; }
.face-status > span strong { display: block; line-height: 1.25; }
.face-status > b {
  min-width: 52px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  text-align: right;
}
.legal-note { border-color: var(--ink); }

.visitor-card {
  padding: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
}
.visitor-card > div:first-child { padding: 80px 0; }
.visitor-pass {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ink);
  color: var(--paper);
  border-radius: 0;
  box-shadow: none;
  transform: none;
}
.visitor-pass h3 { color: var(--paper); }
.visitor-pass .avatar { background: var(--paper); color: var(--ink); }
.visitor-pass > span { border-radius: 0; }

.stack { gap: 0; border: 1px solid var(--ink); }
.stack > div {
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.security-list li { border-color: var(--line); }
.text-link, .section-head a, .security-list li > span { color: var(--rust); }

.buyer-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.buyer-benefits article {
  min-height: 260px;
  padding: 32px 38px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.buyer-benefits article:last-child { border-right: 0; }
.buyer-benefits article > span {
  font: 10px monospace;
  color: var(--rust);
}
.buyer-benefits h3 { margin: auto 0 14px; font-size: 31px; }
.buyer-benefits p { margin: 0; max-width: 320px; color: #59635b; font-size: 14px; }

.case-strip { grid-template-columns: repeat(5, 310px); gap: 0; }
.case-strip article, .case-strip article:nth-child(n) {
  height: 360px;
  background: transparent;
  border: 1px solid var(--ink);
  border-right: 0;
  border-radius: 0;
}
.case-strip article:last-child { border-right: 1px solid var(--ink); }
.case-strip article:nth-child(2n) { background: #dedcd2; }

.faq-grid { border-top: 1px solid var(--ink); padding-top: 25px; }
.accordion details { border-color: var(--line); }
.accordion summary { color: var(--ink); }
.accordion summary span { color: var(--rust); }

.final-cta { border-top: 1px solid var(--line); }
.giant-logo {
  color: transparent;
  -webkit-text-stroke: 1px rgba(24,32,25,.25);
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -.06em;
}
footer { background: var(--ink); }

.demo-modal {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  box-shadow: 14px 14px 0 var(--rust);
}
.modal-copy { background: var(--soft); border-right: 1px solid var(--ink); }
.demo-modal input, .demo-modal select, .demo-modal textarea {
  background: transparent;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
}
.modal-close { border: 1px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .problem .narrow { margin-inline: auto; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 32px), 1360px); }
  .section { padding: 80px 0; }
  h1, .hero h1 { font-size: 55px; }
  h2 { font-size: 43px; }
  .nav, .site-header.scrolled .nav { height: 66px; padding-inline: 0; background: rgba(244,241,233,.97); }
  .menu-btn span:not(.sr-only) {
    background: var(--ink);
    transform-origin: center;
    transition: transform 220ms ease, opacity 160ms ease;
  }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  .nav-menu,
  .nav-menu.open {
    display: flex;
    left: 0;
    right: 0;
    top: 66px;
    padding: 24px;
    background: var(--paper);
    border: 1px solid var(--ink);
    border-top: 0;
    border-radius: 0;
    box-shadow: 10px 10px 0 var(--rust);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transform-origin: top;
    transition: opacity 180ms ease, transform 240ms cubic-bezier(.2,.8,.2,1), visibility 0s linear 240ms;
  }
  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }
  .nav-menu .nav-links a,
  .nav-menu .nav-actions {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 180ms ease, transform 220ms ease;
  }
  .nav-menu.open .nav-links a,
  .nav-menu.open .nav-actions { opacity: 1; transform: translateY(0); }
  .nav-menu.open .nav-links a:nth-child(1) { transition-delay: 50ms; }
  .nav-menu.open .nav-links a:nth-child(2) { transition-delay: 85ms; }
  .nav-menu.open .nav-links a:nth-child(3) { transition-delay: 120ms; }
  .nav-menu.open .nav-links a:nth-child(4) { transition-delay: 155ms; }
  .nav-menu.open .nav-actions { transition-delay: 185ms; }
  .hero { min-height: auto; padding: 125px 0 70px; }
  .hero h1 { line-height: .94; }
  .hero-product { height: 440px; margin-top: 50px; overflow: hidden; }
  .tablet { width: 540px; left: 18px; right: auto; top: 50px; transform: scale(.72) rotate(1deg); transform-origin: left top; }
  .presence-card { right: 4px; width: 205px; }
  .old, .new { padding: 24px 0; }
  .role-copy { padding: 35px 0; }
  .role-visual { padding: 20px 0 30px; }
  .steps article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps article:last-child { border-bottom: 0; }
  .qr-stage { margin: -20px 0; }
  .visitor-card > div:first-child { padding: 50px 0; }
  .visitor-pass { padding: 45px 30px; }
  .buyer-benefits { grid-template-columns: 1fr; }
  .buyer-benefits article { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--line); }
  .buyer-benefits article:last-child { border-bottom: 0; }
  .faq-grid h2 br { display: block; }
  .modal-copy { border-right: 0; border-bottom: 1px solid var(--ink); }
}
