:root {
  --primary: #071426;
  --primary-2: #10243d;
  --ink: #071426;
  --muted: #546173;
  --paper: #ffffff;
  --soft: #f4f6fa;
  --gold: #f6c45b;
  --gold-2: #ffe1aa;
  --navy-soft: #eef3f8;
  --green: #087a55;
  --green-2: #e6f8f1;
  --red: #d94f61;
  --line: #dfe5ed;
  --shadow: 0 18px 55px rgba(7, 20, 38, 0.12);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--soft);
  color: var(--ink);
  overflow-x: hidden;
}

button, input, select, textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
  font-weight: 850;
}

.shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 18px;
  max-width: 100%;
}

section,
header,
footer,
.hero-card,
.card,
.landing-hero,
.quote-section,
.home-band,
.growth-band,
.final-cta,
.product-mockup {
  max-width: 100%;
  min-width: 0;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 8px 0 20px;
}

.public-top {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 10px 0;
  background: rgba(245, 246, 251, .86);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  font-size: 28px;
}

.brand-logo {
  width: clamp(128px, 16vw, 168px);
  height: auto;
  display: block;
  border-radius: 10px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
}

.nav-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.link-nav {
  min-height: 44px;
  padding: 0 8px;
  color: var(--muted);
  background: transparent;
}

.link-nav:hover {
  color: var(--primary);
}

.section-menu {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 20;
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.section-toggle,
.back-top {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: var(--ink);
  border: 1px solid rgba(231, 232, 239, .9);
  box-shadow: 0 14px 35px rgba(27, 29, 54, 0.18);
  backdrop-filter: blur(16px);
  pointer-events: auto;
}

.section-toggle {
  justify-self: start;
}

.section-panel {
  display: none;
  width: min(260px, calc(100vw - 36px));
  padding: 10px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  box-shadow: 0 18px 55px rgba(27, 29, 54, 0.18);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.section-menu.open .section-panel {
  display: grid;
  gap: 6px;
}

.section-panel button {
  min-height: 44px;
  padding: 0 12px;
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.section-panel button:hover,
.section-panel button:focus,
.section-toggle:hover,
.section-toggle:focus {
  color: var(--primary);
  outline: none;
}

.back-top {
  position: fixed;
  right: 92px;
  bottom: 18px;
  z-index: 20;
  width: 48px;
  padding: 0;
  font-size: 22px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.back-top.visible {
  opacity: .82;
  transform: translateY(0);
  pointer-events: auto;
}

.btn {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
  text-decoration: none;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(7, 20, 38, 0.22);
}

.btn.gold {
  background: var(--gold);
  color: var(--ink);
  border-color: #dba833;
}

.btn.green {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

.btn.danger {
  background: #fee4e2;
  color: var(--red);
  border-color: #fecdca;
}

.muted {
  color: var(--muted);
}

.doc-grid,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.doc-preview {
  min-height: 132px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  display: grid;
  gap: 8px;
  align-content: start;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.doc-preview img {
  width: 100%;
  height: 118px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.doc-check {
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 2px 10px;
}

.doc-check span {
  grid-row: span 2;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff1c7;
  color: #9a6400;
  font-weight: 900;
}

.doc-check.loaded span {
  background: var(--green-2);
  color: var(--green);
}

.doc-check small {
  color: var(--muted);
  font-weight: 800;
}

.capture-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.camera-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  padding: 18px;
  background: rgba(7, 20, 38, .76);
  display: grid;
  place-items: center;
}

.camera-card {
  width: min(680px, 100%);
  padding: 16px;
  border-radius: 28px;
  background: white;
  display: grid;
  gap: 14px;
  box-shadow: var(--shadow);
}

.camera-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.camera-head div {
  display: grid;
  gap: 4px;
}

.camera-head small {
  color: var(--muted);
}

.camera-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  background: #071426;
}

.camera-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.camera-guide {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  border: 4px solid var(--gold);
  box-shadow: 0 0 0 999px rgba(7, 20, 38, .34);
}

.camera-guide.document {
  width: min(82%, 520px);
  aspect-ratio: 1.58 / 1;
  border-radius: 18px;
}

.camera-guide.face {
  width: min(58%, 320px);
  aspect-ratio: 1 / 1.22;
  border-radius: 999px;
}

.inline-alert {
  display: inline-block;
}

.pill.candidato { background: var(--green-2); color: var(--green); }
.pill.revisar { background: #fff7e6; color: #9a6400; }
.pill.rechazar { background: #fee4e2; color: var(--red); }

.reason-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: stretch;
}

.landing-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: stretch;
}

.landing-copy {
  align-content: center;
  position: relative;
  overflow: hidden;
}

.landing-copy > :not(.dollar-rain) {
  position: relative;
  z-index: 1;
}

.landing-copy::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), rgba(246, 196, 91, 0));
}

.dollar-rain {
  position: absolute;
  inset: 4px 0 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 1;
  mask-image: linear-gradient(180deg, transparent, #000 10%, #000 78%, transparent);
}

.dollar-rain span {
  position: absolute;
  left: var(--x);
  top: -26px;
  width: clamp(31px, 4.2vw, 49px);
  height: clamp(14px, 1.85vw, 22px);
  background: url('/fifty-bill.svg') center / contain no-repeat;
  filter: drop-shadow(0 2px 2px rgba(7, 20, 38, .12));
  transform: translate3d(0, -20px, 0) rotate(-12deg);
  animation: dollarFall var(--d) linear infinite;
  animation-delay: var(--delay);
}

.dollar-rain span:nth-child(3n) {
  width: clamp(25px, 3.4vw, 39px);
  height: clamp(11px, 1.55vw, 18px);
  opacity: 1;
}

.dollar-rain span:nth-child(4n) {
  animation-duration: calc(var(--d) + 3s);
  transform: translate3d(0, -20px, 0) rotate(10deg);
}

@keyframes dollarFall {
  0% {
    transform: translate3d(-8px, -34px, 0) rotate(-12deg);
    opacity: 0;
  }
  12% {
    opacity: .78;
  }
  100% {
    transform: translate3d(10px, 620px, 0) rotate(16deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dollar-rain span {
    animation: none;
    opacity: .18;
    top: calc((var(--i) % 8) * 12%);
  }
}

.hero-facts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-facts span {
  display: inline-grid;
  gap: 2px;
  min-width: 112px;
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--navy-soft);
  border: 1px solid #ecd29a;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-facts b {
  color: #9a6400;
  font-size: 18px;
}

.hero-cta {
  justify-content: flex-start;
}

.microcopy {
  font-size: 14px;
}

.product-mockup {
  min-height: 460px;
  border-radius: 34px;
  padding: 18px;
  background:
    radial-gradient(circle at 18% 18%, rgba(246,196,91,.22), transparent 35%),
    linear-gradient(160deg, #071426, #10243d);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.app-card {
  width: min(310px, 100%);
  border-radius: 28px;
  background: white;
  padding: 18px;
  display: grid;
  gap: 14px;
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
}

.app-top,
.app-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.app-top b {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--green-2);
  color: var(--green);
  font-size: 12px;
}

.app-balance {
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  display: grid;
  gap: 8px;
}

.app-balance small {
  opacity: .84;
}

.app-balance strong {
  font-size: 34px;
}

.app-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.giro-account-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  margin: 22px 0;
  padding: clamp(22px, 5vw, 34px);
  border-radius: 30px;
  color: white;
  background:
    radial-gradient(circle at 86% 18%, rgba(246, 196, 91, .34), transparent 26%),
    radial-gradient(circle at 12% 88%, rgba(50, 120, 200, .18), transparent 32%),
    linear-gradient(135deg, #071426 0%, #0a2340 46%, #031018 100%);
  box-shadow: 0 24px 50px rgba(7, 20, 38, .22);
  isolation: isolate;
}

.giro-account-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255,255,255,.16), transparent 34%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 14px);
  z-index: -1;
}

.card-money-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.bill {
  position: absolute;
  display: grid;
  place-items: center;
  width: 118px;
  height: 48px;
  border-radius: 6px;
  border: 2px solid rgba(11, 42, 31, .62);
  color: #071426;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 950;
  background:
    radial-gradient(circle at 54% 50%, rgba(7,20,38,.18) 0 18%, transparent 19%),
    linear-gradient(135deg, #eaf0df, #f8f3db 48%, #d4e3ca);
  box-shadow: 0 10px 22px rgba(0,0,0,.2);
  opacity: .34;
}

.bill::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(7, 20, 38, .5);
}

.bill.b50 {
  right: -18px;
  top: 22px;
  transform: rotate(-12deg);
}

.bill.b20 {
  right: 60px;
  bottom: 18px;
  transform: rotate(14deg);
  opacity: .28;
}

.bill.b10 {
  left: -22px;
  bottom: 28px;
  transform: rotate(-18deg);
  opacity: .24;
}

.account-top,
.account-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.account-top {
  margin-bottom: 26px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
}

.mini-logo {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  border-radius: 12px;
  background: rgba(255,255,255,.95);
  color: #071426;
  letter-spacing: .22em;
  box-shadow: 0 10px 25px rgba(0,0,0,.22);
}

.mini-logo::first-letter {
  color: var(--gold);
}

.account-balance {
  display: grid;
  gap: 8px;
  margin-bottom: 30px;
}

.account-balance span,
.account-meta span {
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.account-balance strong {
  font-size: clamp(42px, 9vw, 64px);
  line-height: .98;
  letter-spacing: 0;
}

.account-meta {
  align-items: end;
  flex-wrap: wrap;
}

.account-meta div {
  display: grid;
  gap: 4px;
  min-width: min(100%, 130px);
}

.account-meta strong {
  font-size: 15px;
  line-height: 1.25;
}

.quote-section,
.growth-band,
.final-cta {
  margin-top: 18px;
  border-radius: 28px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.quote-section {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 20px;
  align-items: center;
  padding: clamp(22px, 4vw, 38px);
  position: relative;
  overflow: hidden;
}

.quote-section::before,
.home-band::before,
.growth-band::before,
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), rgba(246, 196, 91, 0));
  pointer-events: none;
}

.quote-copy {
  display: grid;
  gap: 12px;
}

.quote-card {
  display: grid;
  gap: 16px;
  border-radius: 24px;
  padding: 18px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.amount-control {
  display: grid;
  grid-template-columns: 1fr minmax(120px, 180px);
  gap: 14px;
  align-items: end;
}

.slider {
  width: 100%;
  min-height: 34px;
  accent-color: var(--gold);
}

.quote-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quote-results div {
  padding: 14px;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--line);
  display: grid;
  gap: 6px;
}

.quote-results span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.quote-results strong {
  font-size: 24px;
}

.quote-results .total {
  grid-column: 1 / -1;
  background: #fff7e6;
  border-color: #f3d38f;
}

.quote-results .installments-list {
  grid-template-columns: 1fr auto;
  grid-column: 1 / -1;
  row-gap: 8px;
}

.quote-results .installments-list strong {
  font-size: 20px;
}

.quote-results .total strong {
  color: #9a6400;
}

.quote-button {
  width: 100%;
}

.steps-grid,
.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  background: #f8fafc;
  display: grid;
  gap: 10px;
}

.step-card b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--primary);
  color: var(--gold);
}

.growth-band {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 20px;
  align-items: center;
  padding: clamp(22px, 4vw, 38px);
  position: relative;
  overflow: hidden;
}

.progression {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.progression span {
  padding: 12px 14px;
  border-radius: 999px;
  background: white;
  border: 1px solid #f3d38f;
  font-weight: 900;
  box-shadow: inset 0 -3px 0 rgba(246, 196, 91, 0.32);
}

.progression i {
  width: 30px;
  height: 2px;
  background: var(--gold);
}

.trust-band {
  text-align: center;
}

.check-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.check-grid div {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #f8fafc;
  padding: 14px;
  font-weight: 900;
  border-left: 4px solid var(--gold);
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fafc;
  padding: 16px;
}

.faq details[open] {
  border-color: #f3d38f;
  box-shadow: 0 10px 24px rgba(246, 196, 91, 0.12);
}

.faq summary {
  cursor: pointer;
  font-weight: 950;
}

.faq details p {
  margin-top: 10px;
}

.final-cta {
  padding: clamp(24px, 4vw, 38px);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  background: linear-gradient(135deg, #fff7e6, #fff);
  position: relative;
  overflow: hidden;
}

.footer {
  margin-top: 18px;
  padding: 26px 0 80px;
  display: grid;
  gap: 16px;
  color: var(--muted);
}

.footer nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer a,
.footer button {
  color: var(--muted);
  background: transparent;
  text-decoration: none;
  padding: 0;
}

.landing-copy .nav-actions,
.cta-actions {
  justify-content: flex-start;
}

.home-band {
  margin-top: 18px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 28px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.home-band.dark {
  background: #12141d;
  color: white;
}

.home-band.dark p,
.home-band.dark .feature-card p {
  color: #cfd1dc;
}

.home-band.dark h2,
.home-band.dark h3 {
  color: white;
}

.grid.compact {
  margin-top: 8px;
}

.feature-card {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 10px;
}

.feature-card b {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--primary);
}

.cta-strip {
  margin-top: 8px;
  padding: 20px;
  border-radius: 22px;
  background: #fff7e6;
  border: 1px solid #f3d38f;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.mini-phone-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mini-phone {
  min-height: 180px;
  border-radius: 28px;
  padding: 18px;
  background: linear-gradient(180deg, #071426, #10243d);
  color: white;
  display: grid;
  align-content: end;
  gap: 8px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.mini-phone.light {
  background: linear-gradient(180deg, #f8fafc, #fff7e6);
  color: var(--ink);
}

.mini-phone span {
  width: 44px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  opacity: .32;
  align-self: start;
}

.mini-phone b {
  font-size: 24px;
}

.mini-phone small {
  color: inherit;
  opacity: .72;
  font-weight: 850;
}

.hero-card, .card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: clamp(24px, 5vw, 52px);
  display: grid;
  gap: 18px;
}

.eyebrow {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 950;
  font-size: 12px;
}

h1, h2, h3, p { margin: 0; }
h1, h2, h3, p, span, strong, small {
  overflow-wrap: anywhere;
}
h1 {
  font-size: clamp(42px, 8vw, 82px);
  line-height: 0.92;
  letter-spacing: -0.04em;
}
h2 { font-size: clamp(26px, 4vw, 40px); }
h3 { font-size: 18px; }
p { color: var(--muted); line-height: 1.5; }

.example {
  padding: 24px;
  display: grid;
  gap: 14px;
}

.money-big {
  font-size: 48px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.rows { display: grid; gap: 10px; }
.row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.card {
  padding: 18px;
  display: grid;
  gap: 14px;
  overflow: hidden;
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0 18px;
}

.tabs button.active { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: white; }

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  margin: 2px 0 10px;
}

.breadcrumbs button {
  background: transparent;
  color: var(--primary);
  padding: 0;
}

.admin-frame {
  display: grid;
  gap: 16px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.admin-nav {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 10px;
  box-shadow: 0 10px 28px rgba(27, 29, 54, 0.06);
  display: grid;
  gap: 6px;
  position: sticky;
  top: 12px;
}

.admin-nav button {
  min-height: 42px;
  justify-content: flex-start;
  border-radius: 14px;
}

.admin-nav button.active {
  background: #fff7e6;
  border-color: #f3d38f;
  color: var(--primary);
}

.admin-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-bottom: 2px;
}

.admin-title p {
  max-width: 680px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: #374151;
  font-size: 13px;
  font-weight: 850;
}

input, select, textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d9dafa;
  background: white;
  border-radius: 13px;
  padding: 10px 12px;
  color: var(--ink);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(246, 196, 91, 0.22);
}

textarea { min-height: 92px; resize: vertical; }

.full { grid-column: 1 / -1; }
.hidden { display: none !important; }

.notice {
  padding: 14px;
  border-radius: 16px;
  background: #fff7e6;
  color: var(--primary);
  font-weight: 850;
}

.alert {
  padding: 14px;
  border-radius: 16px;
  background: #fff1c7;
  color: #6b4700;
  font-weight: 850;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: white;
}

th, td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 13px;
}

th {
  color: #374151;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.pill {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--green-2);
  color: var(--green);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 5;
  min-width: 58px;
  height: 58px;
  padding: 0 16px 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  border: 5px solid white;
  box-shadow: 0 14px 35px rgba(37, 211, 102, 0.26);
}

.wa svg {
  width: 34px;
  height: 34px;
  fill: white;
  flex: 0 0 auto;
}

.wa span {
  color: white;
  font-weight: 950;
  font-size: 13px;
  white-space: nowrap;
}

.auth-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
}

.stepper {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.stepper span {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: white;
  border: 1px solid var(--line);
  font-weight: 900;
}

.stepper span.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.metric {
  min-height: 104px;
  justify-content: center;
}

.metric strong {
  font-size: 28px;
}

@media (max-width: 760px) {
  .shell { padding: 12px; overflow-x: hidden; }
  .top { align-items: center; gap: 8px; }
  .brand { font-size: 24px; gap: 8px; }
  .brand-logo { width: 112px; border-radius: 8px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 13px; }
  .desktop-only { display: none; }
  .nav-actions { gap: 6px; }
  .header-login,
  .public-top .btn.primary {
    min-height: 42px;
    padding: 0 12px;
    border-radius: 13px;
  }
  .hero, .landing-hero, .grid, .auth-layout, .form-grid, .quote-section, .growth-band {
    grid-template-columns: 1fr;
  }
  .doc-grid, .detail-grid {
    grid-template-columns: 1fr;
  }
  .capture-row {
    grid-template-columns: 1fr;
  }
  .camera-modal {
    padding: 10px;
  }
  h1 { font-size: clamp(38px, 11.5vw, 52px); letter-spacing: -0.03em; }
  h2 { font-size: clamp(26px, 8vw, 34px); }
  .hero-card { padding: 24px; }
  .landing-hero { gap: 14px; }
  .dollar-rain span {
    width: 31px;
    height: 14px;
    opacity: 1;
  }
  .dollar-rain span:nth-child(n+15) {
    display: none;
  }
  .product-mockup { min-height: 330px; padding: 14px; }
  .app-card { width: min(292px, 100%); }
  .giro-account-card {
    min-height: 218px;
    margin: 18px 0;
    border-radius: 26px;
  }
  .account-top {
    margin-bottom: 22px;
  }
  .account-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .account-meta strong {
    font-size: 13px;
  }
  .bill {
    width: 94px;
    height: 38px;
  }
  .bill.b50 { right: -20px; top: 26px; }
  .bill.b20 { right: 26px; bottom: 18px; }
  .bill.b10 { left: -32px; bottom: 42px; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .hero-facts span { min-width: 0; padding: 10px 8px; font-size: 11px; overflow-wrap: anywhere; }
  .hero-facts b { font-size: 16px; }
  .hero-cta { display: grid; grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .quote-section, .home-band, .growth-band, .final-cta { border-radius: 24px; }
  .quote-results, .steps-grid, .check-grid { grid-template-columns: 1fr; }
  .amount-control { grid-template-columns: 1fr; }
  .progression { display: grid; }
  .progression i { width: 2px; height: 24px; margin-left: 18px; }
  .final-cta { display: grid; }
  .nav-actions .btn { min-height: 44px; padding: 0 12px; }
  .quote-section { padding: 22px; }
  .quote-results strong { font-size: 22px; }
  .wa { left: auto; right: 16px; bottom: 16px; width: 58px; padding: 0; justify-content: center; }
  .wa span { display: none; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-nav { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-title { display: grid; }
  .cta-strip { display: grid; }
  .cta-strip .nav-actions, .landing-copy .nav-actions { justify-content: stretch; }
  .cta-strip .btn, .landing-copy .btn { flex: 1; }
}
