/* ==========================================================================
   SoftBrava SEO — sistema visual "informe editorial"
   Papel cálido, tinta verde, arcilla. Nada de tarjetas genéricas.
   ========================================================================== */

:root {
  --paper: #f7f3ec;
  --paper-2: #efe8db;
  --paper-3: #e6ddcd;
  --ink: #101a16;
  --ink-soft: #26332d;
  --muted: #5b665f;
  --line: #d8cfc1;
  --line-strong: #bdb2a1;
  --clay: #b8461f;
  --clay-deep: #933616;
  --clay-soft: #f1d3c3;
  --moss: #17352c;
  --moss-2: #1f4438;
  --mint: #dce8e0;
  --white: #fffdf9;
  --ok: #2f6b4f;
  --warn: #a86a12;

  --f-display: "Syne", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow: 0 30px 60px -40px rgba(16, 26, 22, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: min(1180px, calc(100% - clamp(32px, 6vw, 88px)));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(16, 26, 22, 0.045) 0.6px, transparent 0.6px);
  background-size: 22px 22px;
  opacity: 0.55;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

p {
  margin: 0;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.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;
}

.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 243, 236, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}

.site-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex: none;
}

.brand img {
  width: 30px;
  height: 30px;
}

.brand span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-body);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.brand__tag {
  padding: 3px 7px;
  border: 1px solid var(--clay);
  border-radius: 4px;
  color: var(--clay-deep);
  font-family: var(--f-body);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.brand__by {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
  font-size: 0.86rem;
  font-weight: 500;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
}

.nav a:hover {
  color: var(--clay);
}

.nav__account {
  display: none;
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.lang a {
  text-decoration: none;
  color: var(--muted);
}

.lang a:hover,
.lang a[aria-current="true"] {
  color: var(--ink);
  font-weight: 600;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease),
    color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn--clay:hover {
  background: var(--clay-deep);
  border-color: var(--clay-deep);
}

.btn--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn--ink:hover {
  background: var(--moss);
  border-color: var(--moss);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--sm {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.8rem;
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--clay-deep);
  text-decoration: none;
}

.link-arrow::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ---------- eyebrow + section heads ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--clay);
}

.section {
  padding: clamp(56px, 8vw, 108px) 0;
  border-top: 1px solid var(--line);
}

.section--tight {
  padding: clamp(40px, 5vw, 68px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px 56px;
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.section-head h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.9rem);
  max-width: 15ch;
}

.section-head p {
  max-width: 52ch;
  justify-self: end;
  color: var(--muted);
  font-size: 1rem;
}

.section-num {
  display: block;
  margin-bottom: 14px;
  color: var(--clay);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

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

.hero {
  padding: clamp(44px, 7vw, 92px) 0 clamp(40px, 5vw, 64px);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.9rem, 7.2vw, 6.1rem);
  line-height: 0.93;
  letter-spacing: -0.055em;
}

.hero h1 em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
  color: var(--clay-deep);
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: -1%;
  right: -1%;
  bottom: 0.04em;
  height: 0.1em;
  border-radius: 99px;
  background: var(--clay);
  opacity: 0.5;
  transform: rotate(-1.2deg);
}

.hero__lead {
  max-width: 46ch;
  margin-top: 26px;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.78rem;
}

.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__trust span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ok);
}

/* ---------- audit card ---------- */

.audit {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(0.6deg);
}

.audit::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px dashed var(--line);
  border-radius: 11px;
  pointer-events: none;
}

.audit__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 4px 4px 16px;
  border-bottom: 1px solid var(--line);
}

.audit__top b {
  display: block;
  font-family: var(--f-display);
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.audit__top small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.audit__stamp {
  padding: 5px 9px;
  border: 1px solid var(--clay);
  border-radius: 4px;
  color: var(--clay-deep);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(-3deg);
}

.audit__score {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 4px 14px;
}

.dial {
  position: relative;
  flex: none;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: conic-gradient(var(--clay) 0 60%, var(--paper-3) 60% 100%);
}

.dial::before {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: var(--white);
}

.dial strong {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-size: 1.65rem;
  letter-spacing: -0.05em;
}

.dial strong small {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0;
}

.audit__score p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.audit__score p b {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 0.86rem;
}

.audit__rows {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audit__rows li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 4px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.bar {
  grid-column: 1 / -1;
  height: 3px;
  border-radius: 99px;
  background: var(--paper-3);
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--moss);
}

.bar i.is-low {
  background: var(--clay);
}

.audit__foot {
  margin-top: 12px;
  padding: 0 4px;
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.4;
}

/* ---------- strip ---------- */

.strip {
  background: var(--moss);
  color: var(--paper);
  padding: 18px 0;
}

.strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 26px;
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.strip__inner span {
  opacity: 0.9;
}

.strip__inner span::before {
  content: "✳";
  margin-right: 9px;
  color: #e3a184;
}

/* ---------- value / split ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.lede {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3.2vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.lede em {
  font-style: normal;
  color: var(--clay-deep);
}

.prose {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.prose + .prose {
  margin-top: 14px;
}

.value-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.value-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.value-list b {
  grid-row: span 2;
  font-family: var(--f-display);
  font-size: 1.05rem;
  color: var(--clay);
  letter-spacing: -0.03em;
}

.value-list strong {
  font-size: 1rem;
  font-weight: 600;
}

.value-list p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ---------- plans ---------- */

.plans {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(16px, 2.4vw, 26px);
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3.4vw, 38px);
  border-radius: var(--r-lg);
}

.plan--paper {
  border: 1px solid var(--line-strong);
  background: var(--white);
}

.plan--dark {
  position: relative;
  background: var(--moss);
  color: var(--paper);
  box-shadow: 0 40px 80px -50px rgba(23, 53, 44, 0.85);
}

.plan__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.plan__kind {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.8;
}

.plan__badge {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--clay);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plan h3 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  letter-spacing: -0.04em;
}

.plan__for {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.plan--dark .plan__for {
  color: rgba(247, 243, 236, 0.72);
}

.plan__price {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 22px 0 4px;
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 4.4vw, 3.7rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.plan__price small {
  padding-bottom: 6px;
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

.plan--dark .plan__price small {
  color: rgba(247, 243, 236, 0.7);
}

.plan__tax {
  color: var(--muted);
  font-size: 0.72rem;
}

.plan--dark .plan__tax {
  color: rgba(247, 243, 236, 0.6);
}

.plan__list {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
}

.plan__list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
}

.plan__list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ok);
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1;
}

.plan--dark .plan__list li::before {
  background: rgba(227, 161, 132, 0.18);
  color: #e3a184;
  box-shadow: inset 0 0 0 1px #e3a184;
}

.plan__foot {
  margin-top: auto;
  padding-top: 24px;
}

.plan--dark .btn--ghost {
  border-color: rgba(247, 243, 236, 0.34);
  color: var(--paper);
}

.plan--dark .btn--ghost:hover {
  border-color: var(--paper);
}

.plan__note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.plan--dark .plan__note {
  color: rgba(247, 243, 236, 0.6);
}

/* ---------- method ---------- */

.method {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}

.method li {
  position: relative;
  padding: 26px 22px 0 0;
}

.method li + li {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.method li::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clay);
}

.method li + li::before {
  left: 22px;
}

.method b {
  display: block;
  margin-bottom: 10px;
  font-family: var(--f-display);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--clay-deep);
}

.method h3 {
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.method p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.method small {
  display: block;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- table ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

th,
td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  font-family: var(--f-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper-2);
}

tr:last-child td {
  border-bottom: 0;
}

td strong {
  font-weight: 600;
}

.tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag--yes {
  background: var(--mint);
  color: var(--ok);
}

.tag--no {
  background: #f3ded6;
  color: var(--clay-deep);
}

/* ---------- compare ---------- */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--white);
}

.compare__col {
  padding: 26px clamp(20px, 3vw, 32px);
}

.compare__col + .compare__col {
  border-left: 1px solid var(--line);
  background: var(--paper-2);
}

.compare__col h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.compare__col > p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.8rem;
}

.compare__col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
}

.compare__col li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
}

.compare__col li::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--paper-3);
}

.compare__col--pro li::before {
  background: var(--clay);
}

/* ---------- faq ---------- */

.faq {
  border-top: 1px solid var(--line-strong);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: 1.02rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 400;
  color: var(--clay-deep);
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  max-width: 72ch;
  padding: 0 0 22px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.62;
}

/* ---------- cta ---------- */

.cta {
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--moss);
  color: var(--paper);
}

.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 30px 60px;
  align-items: end;
}

.cta h2 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  max-width: 18ch;
}

.cta h2 em {
  font-style: normal;
  color: #e3a184;
}

.cta p {
  max-width: 44ch;
  color: rgba(247, 243, 236, 0.74);
  font-size: 0.98rem;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cta .btn--clay {
  background: #e3a184;
  border-color: #e3a184;
  color: var(--ink);
}

.cta .btn--clay:hover {
  background: #f0bda6;
  border-color: #f0bda6;
}

.cta .btn--ghost {
  border-color: rgba(247, 243, 236, 0.4);
  color: var(--paper);
}

.cta .btn--ghost:hover {
  border-color: var(--paper);
}

.cta__contact {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.86rem;
}

.cta__contact a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 243, 236, 0.4);
  width: fit-content;
}

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

.site-foot {
  padding: 40px 0 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.site-foot__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 26px;
  align-items: start;
}

.site-foot b {
  display: block;
  margin-bottom: 8px;
  font-family: var(--f-body);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.site-foot__branch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
}

.site-foot__branch a {
  display: inline;
  padding: 0;
  color: var(--clay-deep);
  font-weight: 600;
  border-bottom: 1px solid rgba(184, 70, 31, 0.35);
}

.site-foot__branch a:hover {
  border-bottom-color: var(--clay-deep);
}

.site-foot a {
  display: block;
  padding: 3px 0;
  color: var(--muted);
  text-decoration: none;
}

.site-foot a:hover {
  color: var(--clay-deep);
}

.site-foot__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
}

.site-foot__bottom a {
  display: inline;
  padding: 0;
  color: var(--clay-deep);
  font-weight: 600;
  border-bottom: 1px solid rgba(184, 70, 31, 0.35);
}

.site-foot__bottom a:hover {
  border-bottom-color: var(--clay-deep);
}

/* ---------- auth ---------- */

.auth {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: 48px 0 64px;
}

.auth__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: var(--wrap);
}

.auth__pitch h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  max-width: 13ch;
}

.auth__pitch p {
  max-width: 46ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1rem;
}

.auth__points {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.auth__points li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.auth__points li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ok);
  font-size: 0.7rem;
  font-weight: 700;
}

.auth-card {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.auth-card__banner {
  margin-bottom: 20px;
  padding: 11px 13px;
  border: 1px solid #e8c9b6;
  border-radius: 10px;
  background: #fbf1ea;
  color: #7a3a1e;
  font-size: 0.74rem;
  line-height: 1.5;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
}

.tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.tabs button[aria-selected="true"] {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(16, 26, 22, 0.08);
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--clay);
  background: var(--white);
  outline: none;
  box-shadow: 0 0 0 3px rgba(184, 70, 31, 0.14);
}

.field small {
  color: var(--muted);
  font-size: 0.7rem;
}

.field .error {
  color: #a33a1c;
  font-size: 0.72rem;
}

.error {
  display: block;
  color: #a33a1c;
  font-size: 0.72rem;
}

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  margin: 6px 0 18px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.consent input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--clay);
}

.consent a {
  color: var(--ink);
  text-decoration: underline;
}

.oauth {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.oauth__divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 12px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.oauth__divider::before,
.oauth__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.oauth button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.oauth button:hover {
  border-color: var(--ink);
}

.oauth button span.badge {
  position: absolute;
  right: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-status {
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 0.8rem;
  line-height: 1.45;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  background: #fbe9e3;
  border: 1px solid #ecc6b8;
  color: #8f3418;
}

.form-status.is-ok {
  background: var(--mint);
  border: 1px solid #bfd6c8;
  color: #24513c;
}

.auth-card__foot {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.74rem;
  text-align: center;
}

.auth-card__foot a {
  color: var(--clay-deep);
}

/* ---------- dashboard ---------- */

.dash {
  padding: 36px 0 64px;
}

.dash__grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.dash__side {
  position: sticky;
  top: 100px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--white);
}

.dash__user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--moss);
  color: var(--paper);
  font-family: var(--f-display);
  font-size: 0.9rem;
}

.dash__user b {
  display: block;
  font-size: 0.86rem;
}

.dash__user small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.dash__nav {
  display: grid;
  gap: 2px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.dash__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  text-decoration: none;
}

.dash__nav a:hover {
  background: var(--paper-2);
}

.dash__nav a[aria-current="page"] {
  background: var(--moss);
  color: var(--paper);
}

.dash__nav small {
  color: var(--muted);
  font-size: 0.66rem;
}

.dash__main {
  display: grid;
  gap: 22px;
}

.dash__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.dash__head h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}

.dash__head p {
  color: var(--muted);
  font-size: 0.88rem;
}

.panel {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--white);
}

.panel h2 {
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.stat small {
  display: block;
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stat strong {
  display: block;
  margin-top: 6px;
  font-family: var(--f-display);
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.empty {
  padding: 26px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  text-align: center;
}

.empty b {
  display: block;
  font-family: var(--f-display);
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.empty p {
  max-width: 42ch;
  margin: 6px auto 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.empty .btn {
  margin-top: 14px;
}

.preview-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  border: 1px solid #e8c9b6;
  border-radius: 999px;
  background: #fbf1ea;
  color: #7a3a1e;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.dash-table th {
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.dash-table td {
  padding: 12px 8px;
}

.dash-table tr:last-child td {
  border-bottom: 0;
}

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

@media (max-width: 1040px) {
  .nav {
    display: none;
  }

  .burger {
    display: grid;
    place-items: center;
  }

  .site-head.is-open .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 4px;
    padding: 14px clamp(16px, 4vw, 32px) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-head.is-open .nav a {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-head.is-open .nav__account {
    display: flex;
    color: var(--clay-deep);
    font-weight: 600;
  }

  .hero__grid,
  .split,
  .section-head,
  .cta__grid,
  .auth__grid,
  .dash__grid {
    grid-template-columns: 1fr;
  }

  .section-head p {
    justify-self: start;
    max-width: 60ch;
  }

  .audit {
    max-width: 460px;
    transform: none;
  }

  .method {
    grid-template-columns: 1fr 1fr;
    border-top: 0;
  }

  .method li {
    padding: 22px 18px 22px 0;
    border-top: 2px solid var(--ink);
  }

  .method li + li {
    border-left: 0;
    padding-left: 0;
  }

  .method li::before,
  .method li + li::before {
    left: 0;
  }

  .dash__side {
    position: static;
  }

  .dash__nav {
    grid-template-columns: 1fr 1fr;
  }

  .site-foot__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .head-actions .btn--ghost {
    display: none;
  }

  .plans {
    grid-template-columns: 1fr;
  }

  .compare {
    grid-template-columns: 1fr;
  }

  .compare__col + .compare__col {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .dash__nav {
    grid-template-columns: 1fr;
  }

  .auth__pitch h1 {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .hero__actions .btn,
  .cta__actions .btn {
    width: 100%;
  }

  .method {
    grid-template-columns: 1fr;
  }

  .site-foot__grid {
    grid-template-columns: 1fr;
  }

  .audit__score {
    align-items: flex-start;
  }

  .dial {
    width: 88px;
    height: 88px;
  }

  .audit__top {
    flex-direction: column;
  }

  .auth-card {
    padding: 20px 16px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   Motion system (replicado de SoftBrava)
   ========================================================================== */

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: 2px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.site-head {
  transition: transform 0.45s var(--ease);
}

html.motion-live .site-head.is-hidden {
  transform: translateY(-105%);
}

/* Marca flotante de fondo */

.hero {
  position: relative;
}

.hero__mark {
  position: absolute;
  top: 2%;
  right: -7%;
  z-index: 0;
  width: min(44vw, 520px);
  opacity: 0.055;
  pointer-events: none;
}

.hero__mark img {
  width: 100%;
  height: auto;
  animation: sb-mark-float 14s ease-in-out infinite alternate;
}

.hero__grid {
  position: relative;
  z-index: 1;
}

/* Entrada del hero */

.hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.hero__line > span {
  display: block;
}

@keyframes sb-line-in {
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@keyframes sb-accent-in {
  from {
    opacity: 0.2;
    filter: blur(5px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes sb-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes sb-mark-float {
  from {
    transform: translateY(-10px) rotate(-2deg);
  }
  to {
    transform: translateY(12px) rotate(2deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__line > span {
    opacity: 0;
    transform: translateY(112%) rotate(1.2deg);
    transform-origin: left top;
    will-change: transform, opacity;
    animation: sb-line-in 1.05s var(--ease) forwards;
  }

  .hero__line:nth-child(1) > span {
    animation-delay: 0.08s;
  }

  .hero__line:nth-child(2) > span {
    animation-delay: 0.22s;
  }

  .hero h1 em {
    display: inline-block;
    animation: sb-accent-in 1.3s var(--ease) 0.58s both;
  }

  .hero > .wrap .eyebrow {
    opacity: 0;
    animation: sb-fade-up 0.85s var(--ease) 0.02s forwards;
  }

  .hero__lead {
    opacity: 0;
    animation: sb-fade-up 0.85s var(--ease) 0.4s forwards;
  }

  .hero__actions {
    opacity: 0;
    animation: sb-fade-up 0.85s var(--ease) 0.5s forwards;
  }

  .hero__trust {
    opacity: 0;
    animation: sb-fade-up 0.85s var(--ease) 0.6s forwards;
  }

  .audit {
    opacity: 0;
    animation: sb-fade-in 1.1s var(--ease) 0.25s forwards;
  }

  .hero__mark {
    opacity: 0;
    animation: sb-mark-in 1.6s var(--ease) 0.1s forwards;
  }
}

@keyframes sb-fade-in {
  to {
    opacity: 1;
  }
}

@keyframes sb-mark-in {
  to {
    opacity: 0.055;
  }
}

/* Reveal editorial */

html.motion-ready .motion-reveal {
  opacity: 0;
}

html.motion-ready .motion-reveal h2 {
  clip-path: inset(0 100% 0 0);
}

html.motion-ready .motion-reveal[data-motion="up"] {
  transform: translateY(24px);
}

html.motion-ready .motion-reveal[data-motion="side"] {
  transform: translateX(22px);
}

html.motion-ready .motion-reveal[data-motion="scale"] {
  transform: translateY(16px) scale(0.985);
}

html.motion-ready .motion-reveal[data-motion="fade"] {
  transform: translateY(12px);
}

html.motion-ready .motion-reveal.is-shown {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s var(--ease) var(--reveal-delay, 0ms),
    transform 0.8s var(--ease) var(--reveal-delay, 0ms);
}

html.motion-ready .motion-reveal.is-shown h2 {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease) calc(var(--reveal-delay, 0ms) + 100ms);
}

html.motion-ready .method li::before {
  transform: scale(0.2);
  opacity: 0.4;
}

html.motion-ready .method li.is-shown::before {
  transform: scale(1);
  opacity: 1;
  transition:
    transform 0.45s var(--ease) var(--reveal-delay, 0ms),
    opacity 0.45s var(--ease) var(--reveal-delay, 0ms);
}

/* Spotlight y tilt */

@media (hover: hover) and (pointer: fine) {
  .audit {
    background-image: radial-gradient(
      300px circle at var(--mx, 50%) var(--my, 50%),
      rgba(184, 70, 31, var(--spot, 0)),
      transparent 62%
    );
  }

  .audit:hover {
    --spot: 0.08;
  }

  .plan {
    background-image: radial-gradient(
      340px circle at var(--mx, 50%) var(--my, 50%),
      rgba(184, 70, 31, var(--spot, 0)),
      transparent 64%
    );
  }

  .plan:hover {
    --spot: 0.06;
  }

  .plan--dark {
    background-image: radial-gradient(
      340px circle at var(--mx, 50%) var(--my, 50%),
      rgba(227, 161, 132, var(--spot, 0)),
      transparent 64%
    );
  }

  .plan--dark:hover {
    --spot: 0.11;
  }

  .audit.motion-tilt {
    transform: perspective(1100px)
      translate3d(var(--hero-tx, 0px), var(--hero-ty, 0px), 0)
      rotateY(var(--hero-ry, 0deg))
      rotateX(var(--hero-rx, 0deg))
      rotate(0.6deg);
    transform-origin: 50% 60%;
    will-change: transform;
  }
}

/* Entradas de las páginas privadas */

@media (prefers-reduced-motion: no-preference) {
  .auth__pitch {
    opacity: 0;
    animation: sb-fade-up 0.8s var(--ease) 0.05s forwards;
  }

  .auth-card {
    opacity: 0;
    animation: sb-fade-up 0.9s var(--ease) 0.16s forwards;
  }

  .dash__side {
    opacity: 0;
    animation: sb-fade-up 0.7s var(--ease) 0.05s forwards;
  }

  .dash__main {
    opacity: 0;
    animation: sb-fade-up 0.8s var(--ease) 0.12s forwards;
  }
}

.panel.is-entering {
  animation: sb-panel-in 0.32s var(--ease);
}

@keyframes sb-panel-in {
  from {
    opacity: 0.35;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress {
    display: none;
  }

  .hero__line > span,
  .hero h1 em,
  .hero .eyebrow,
  .hero__lead,
  .hero__actions,
  .hero__trust,
  .audit {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }

  .hero__mark {
    opacity: 0.055 !important;
    animation: none !important;
  }

  .site-head,
  html.motion-live .site-head.is-hidden {
    transform: none !important;
  }
}

@media print {
  .scroll-progress,
  .hero__mark {
    display: none;
  }
}
