:root {
  /* Marca Robinson Ávila */
  --ra-primary: #FF4F43;
  --ra-primary-dark: #D93A31;
  --ra-primary-soft: #FFE8E5;

  /* Autoridad */
  --ra-navy: #071A2F;
  --ra-navy-dark: #051526;
  --ra-navy-soft: #102A43;
  --ra-blue: #173555;
  --ra-blue-soft: #E8EEF1;

  /* Acento secundario */
  --ra-gold: #F8B400;
  --ra-gold-soft: #FFF4D6;

  /* Neutros */
  --ra-bg: #F6F8FA;
  --ra-bg-soft: #EEF3F6;
  --ra-surface: #FFFFFF;
  --ra-white: #FFFFFF;
  --ra-text: #17212B;
  --ra-text-soft: #647084;
  --ra-border: #E3E8EF;

  /* Sombras */
  --shadow-soft: 0 6px 18px rgba(7, 26, 47, 0.04);
  --shadow-card: 0 8px 24px rgba(7, 26, 47, 0.06);
  --shadow-strong: 0 12px 36px rgba(7, 26, 47, 0.08);

  /* Layout */
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --container-width: 1180px;

  /* Motion */
  --transition: 180ms ease;
  --transition-slow: 420ms ease;

  /* Tipografía */
  --font-heading: "Plus Jakarta Sans", "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ra-text);
  background:
    radial-gradient(circle at top left, rgba(255, 79, 67, 0.05), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, var(--ra-bg) 100%);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--ra-navy);
  color: var(--ra-white);
}

.container {
  width: min(calc(100% - 2rem), var(--container-width));
  margin: 0 auto;
}

.section {
  padding: 4.8rem 0;
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(237, 244, 249, 0.96)),
    var(--ra-blue-soft);
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(255, 79, 67, 0.03), rgba(255, 255, 255, 0.82)),
    #f8fbfd;
}

.section-profile {
  background:
    radial-gradient(circle at top right, rgba(255, 79, 67, 0.06), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(237, 244, 249, 0.9));
}

.section-process {
  background:
    radial-gradient(circle at top left, rgba(23, 53, 85, 0.06), transparent 24%),
    linear-gradient(180deg, rgba(7, 26, 47, 0.02), rgba(255, 255, 255, 0.92));
}

.section-audit {
  background:
    radial-gradient(circle at top right, rgba(255, 79, 67, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(25, 55, 109, 0.05), rgba(255, 255, 255, 0.9));
}

.section-solomo {
  background:
    linear-gradient(180deg, rgba(7, 26, 47, 0.02), rgba(255, 255, 255, 0.94));
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ra-primary);
}

h1,
h2,
h3,
.brand-copy strong {
  margin: 0;
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
}

h1 {
  max-width: 18ch;
  font-size: clamp(2.9rem, 5vw, 5.35rem);
    text-wrap: balance;

  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2.05rem, 4vw, 3.25rem);
  line-height: 1.08;
  text-wrap: balance;

  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.24rem;
  
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.section-heading,
.section-heading-left {
  max-width: 790px;
  margin-bottom: 2.3rem;
}

.section-lead,
.hero-lead {
  color: var(--ra-text-soft);
  font-size: 1.05rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.05rem;
  padding: 0.78rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    transform var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ra-white);
  background: linear-gradient(135deg, var(--ra-primary) 0%, var(--ra-primary-dark) 100%);
  box-shadow: 0 14px 30px rgba(255, 79, 67, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(135deg, var(--ra-primary-dark) 0%, var(--ra-primary) 100%);
  box-shadow: 0 18px 34px rgba(255, 79, 67, 0.30);
}

.button-secondary {
  color: var(--ra-navy);
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--ra-border);
}

.button-secondary:hover,
.button-secondary:focus-visible,
.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--ra-primary);
  background: rgba(255, 255, 255, 1);
}

.button-ghost {
  color: var(--ra-navy);
  background: transparent;
  border-color: var(--ra-border);
}

.button-block {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(7, 26, 47, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
}

.brand-logo {
  width: auto;
  height: 2.3rem;
  max-width: 14rem;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 0.12rem;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy small {
  color: var(--ra-text-soft);
  font-size: 0.86rem;
}

.site-nav {
  position: fixed;
  inset: 5.5rem 1rem auto 1rem;
  display: none;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(7, 26, 47, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.site-nav.is-open {
  display: grid;
  gap: 0.2rem;
}

.site-nav a {
  padding: 0.55rem 0.78rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ra-text-soft);
  transition: color var(--transition), background-color var(--transition);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ra-primary);
  background: rgba(7, 26, 47, 0.02);
}

.nav-cta {
  margin-top: 0.35rem;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.26rem;
  width: 3rem;
  height: 3rem;
  padding: 0;
  background: #fff;
  border: 1px solid rgba(7, 26, 47, 0.14);
  border-radius: 999px;
  box-shadow: var(--shadow-card);
}

.nav-toggle span {
  width: 1.15rem;
  height: 2px;
  margin: 0 auto;
  background: var(--ra-navy);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 5.3rem 0 4.95rem;
  background:
    radial-gradient(circle at top left, rgba(255, 79, 67, 0.20), transparent 28%),
    radial-gradient(circle at bottom right, rgba(248, 180, 0, 0.12), transparent 26%),
    linear-gradient(135deg, var(--ra-navy) 0%, var(--ra-navy-dark) 60%, var(--ra-navy-soft) 100%);
  color: var(--ra-white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -14rem 42%;
  height: 30rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 60%);
  pointer-events: none;
}

.hero-grid,
.problem-grid,
.audit-grid,
.split-section,
.cta-panel,
.profile-grid,
.solomo-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: grid;
  align-content: start;
  gap: 1.25rem;
  max-width: 830px;
}

.hero-eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.hero-lead {
  max-width: 66ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.hero-authority {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.hero-authority::before {
  content: "";
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ra-primary), var(--ra-primary-dark));
  box-shadow: 0 0 0 6px rgba(255, 79, 67, 0.15);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.hero .button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero .button-secondary:hover,
.hero .button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.38);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-proof li {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.84);
  font-weight: 600;
}

.hero-visual,
.problem-panel,
.form-shell,
.audience-box,
.profile-card,
.solomo-panel {
  padding: 1.5rem;
  border: 1px solid var(--ra-border);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
}

.hero-visual {
  position: relative;
  min-height: 100%;
  color: var(--ra-text);
  box-shadow: var(--shadow-strong);
}

.hero-profile-card {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(7, 26, 47, 0.04), rgba(255, 79, 67, 0.1));
  border: 1px solid rgba(7, 26, 47, 0.08);
}

.hero-profile-tag,
.flow-label,
.profile-badge,
.solomo-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin-bottom: 0.25rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: var(--ra-blue-soft);
  color: var(--ra-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-profile-tag::before,
.flow-label::before,
.profile-badge::before,
.solomo-label::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--ra-primary);
}

.hero-profile-card strong {
  font-family: var(--font-heading);
  font-size: 1.24rem;
}

.hero-profile-card span,
.hero-profile-meta {
  color: var(--ra-text-soft);
}

.hero-profile-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 0.2rem 0 0;
  list-style: none;
}

.hero-profile-points li {
  padding: 0.48rem 0.78rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ra-border);
  font-size: 0.9rem;
  font-weight: 700;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.hero-profile-points li:hover {
  transform: translateY(-2px);
  border-color: var(--ra-primary);
  box-shadow: var(--shadow-card);
}

.flow-track {
  display: grid;
  gap: 0.95rem;
}

.flow-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: center;
  padding: 1.1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff, #f6fbfd);
  border: 1px solid var(--ra-border);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background-color var(--transition);
}

.flow-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: var(--ra-primary);
}

.flow-step-accent {
  background: linear-gradient(135deg, var(--ra-navy), var(--ra-blue));
  border-color: var(--ra-navy);
  color: #fff;
}

.flow-step-accent:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 36px rgba(7, 26, 47, 0.22);
}

.flow-step-accent .flow-copy span {
  color: rgba(255, 255, 255, 0.8);
}

.flow-icon {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 999px;
  background: var(--ra-blue-soft);
  color: var(--ra-navy);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  transition: transform var(--transition), background-color var(--transition);
}

.flow-step:hover .flow-icon {
  transform: scale(1.06);
}

.flow-step-accent .flow-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.flow-copy strong {
  display: block;
  margin-bottom: 0.16rem;
}

.flow-copy span {
  color: var(--ra-text-soft);
  font-size: 0.94rem;
}

.flow-connector {
  position: relative;
  height: 1rem;
}

.flow-connector::before {
  content: "";
  position: absolute;
  left: 1.55rem;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--ra-border), var(--ra-primary));
}

.problem-panel {
  border-top: 4px solid var(--ra-primary);
}

.check-list {
  display: grid;
  gap: 0.9rem;
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
}

.check-list li,
.profile-list li,
.deliverable-list li {
  position: relative;
  padding-left: 1.75rem;
}

.check-list li::before,
.profile-list li::before,
.deliverable-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ra-primary), var(--ra-primary-dark));
  box-shadow: 0 0 0 4px var(--ra-primary-soft);
}

.check-list-strong li::before {
  box-shadow: 0 0 0 4px rgba(255, 79, 67, 0.14);
}

.profile-card,
.solomo-panel {
  border-color: rgba(7, 26, 47, 0.1);
}

.profile-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: var(--ra-blue-soft);
  margin-bottom: 1rem;
}

.profile-panel p {
  color: var(--ra-text-soft);
}

.profile-mark {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--ra-navy), var(--ra-blue));
  color: var(--ra-white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 16px 30px rgba(7, 26, 47, 0.18);
}

.profile-list,
.deliverable-list {
  display: grid;
  gap: 0.95rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

.info-card,
.resource-card,
.system-item,
.faq-item,
.process-step,
.method-cta {
  border: 1px solid var(--ra-border);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.info-card,
.resource-card,
.system-item,
.process-step {
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.info-card {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1.55rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ra-text);
  border: 1px solid var(--ra-border);
  box-shadow: var(--shadow-soft);
}

.info-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.info-card-blue::before {
  background: var(--ra-navy-soft);
}
.info-card-teal::before {
  background: var(--ra-primary);
}
.info-card-navy::before {
  background: var(--ra-gold);
}

.info-card:hover {
  box-shadow: var(--shadow-card);
  border-color: var(--ra-primary);
}

.info-card:hover,
.resource-card:hover,
.system-item:hover,
.process-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
  border-color: var(--ra-primary);
}

.info-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.card-step,
.card-icon,
.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
}

.card-step,
.card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
}

.card-step {
  color: var(--ra-navy);
  background: var(--ra-blue-soft);
}

.card-icon {
  width: 2.7rem;
  height: 2.7rem;
  color: #fff;
  background: linear-gradient(135deg, var(--ra-blue), var(--ra-primary));
  font-size: 0.84rem;
}

.info-card-blue .card-icon { background: var(--ra-blue); }
.info-card-teal .card-icon { background: var(--ra-primary); }
.info-card-navy .card-icon { background: var(--ra-navy); }

.method-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 1.5rem;
  padding: 1.3rem 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--ra-blue-soft);
  border: 1px solid var(--ra-border);
  box-shadow: var(--shadow-soft);
}

.method-cta p {
  color: var(--ra-navy);
  font-weight: 600;
}

.process-grid {
  display: grid;
  gap: 1rem;
}

.process-step {
  position: relative;
  padding: 1.6rem 1.65rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ra-text);
  border: 1px solid var(--ra-border);
  box-shadow: var(--shadow-soft);
}

.process-step h3 {
  color: var(--ra-navy);
  font-size: 1.05rem;
  line-height: 1.4;
  margin: 0;
}

.process-step::before {
  content: "";
  position: absolute;
  left: 1.6rem;
  top: 0;
  bottom: -1rem;
  width: 2px;
  background: linear-gradient(180deg, var(--ra-primary), transparent);
}

.process-step:last-child::before {
  display: none;
}

.process-number {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: var(--ra-primary-soft);
  color: var(--ra-primary);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag-list span {
  padding: 0.82rem 1rem;
  border-radius: 999px;
  background: var(--ra-white);
  border: 1px solid var(--ra-border);
  color: var(--ra-navy);
  font-weight: 700;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.tag-list span:hover {
  transform: translateY(-2px);
  border-color: var(--ra-primary);
  box-shadow: var(--shadow-card);
}

.fit-note {
  margin-top: 1.3rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(23, 53, 85, 0.12);
  background: linear-gradient(180deg, rgba(232, 238, 241, 0.75), rgba(255, 255, 255, 0.94));
  color: var(--ra-text-soft);
}
.fit-note strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ra-navy);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
}
.fit-note p {
  margin: 0;
}

.system-grid {
  display: grid;
  gap: 1rem;
}

.system-item {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ra-text);
  border: 1px solid var(--ra-border);
  box-shadow: var(--shadow-card);
}

.system-item p {
  font-weight: 700;
  color: var(--ra-navy);
  margin: 0;
}

.system-number {
  display: grid;
  place-items: center;
  flex: 0 0 3.15rem;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 999px;
  background: var(--ra-blue-soft);
  color: var(--ra-blue);
  font-family: var(--font-heading);
  font-weight: 700;
}

.audit-grid {
  align-items: start;
}

.audit-copy {
  display: grid;
  align-content: start;
}

.audit-trust {
  margin-top: 2rem;
  color: var(--ra-blue);
  font-weight: 600;
}

.form-shell {
  position: relative;
  padding: 1.7rem;
  border-color: var(--ra-border);
  background: var(--ra-white);
  box-shadow: 0 10px 30px rgba(7, 26, 47, 0.07);
}
.form-shell::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: linear-gradient(90deg, var(--ra-primary), var(--ra-primary-dark));
}

.audit-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.46rem;
}

.form-row label {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--ra-navy);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.98rem 1rem;
  border: 1px solid var(--ra-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ra-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--ra-primary);
  box-shadow: 0 0 0 4px var(--ra-primary-soft);
}

.form-note {
  color: var(--ra-text-soft);
  font-size: 0.92rem;
}

.resource-card {
  display: grid;
  gap: 1rem;
  padding: 1.45rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ra-text);
  border: 1px solid var(--ra-border);
  box-shadow: var(--shadow-soft);
}

.resource-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: var(--ra-blue-soft);
  color: var(--ra-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faq-wrap {
  max-width: 940px;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ra-text);
  border: 1px solid var(--ra-border);
  box-shadow: var(--shadow-soft);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.2rem 1.3rem;
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 700;
  color: var(--ra-text);
}

.faq-icon {
  display: grid;
  place-items: center;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--ra-blue-soft);
  color: var(--ra-navy);
  font-size: 1.1rem;
  font-weight: 500;
  transition: transform var(--transition), background-color var(--transition), color var(--transition);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-slow);
}

.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
  color: var(--ra-text-soft);
}

.faq-answer-inner p {
  padding: 0 1.3rem 1.25rem;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-icon {
  background: var(--ra-primary);
  color: var(--ra-white);
  transform: rotate(45deg);
}

.cta-section {
  padding-bottom: 5.2rem;
}

.cta-panel {
  position: relative;
  align-items: center;
  gap: 1.5rem;
  padding: 3.5rem 2.45rem;
  border-radius: var(--radius-xl);
  background: var(--ra-navy-dark);
  color: var(--ra-white);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(5, 21, 38, 0.15);
  transition: transform var(--transition), box-shadow var(--transition);
}

.cta-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 72px rgba(7, 26, 47, 0.2);
}

.cta-panel::after {
  content: "";
  position: absolute;
  right: -4rem;
  bottom: -4rem;
  width: 14rem;
  height: 14rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 79, 67, 0.08), transparent 60%);
  pointer-events: none;
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-panel .eyebrow,
.cta-panel .section-lead {
  color: rgba(255, 255, 255, 0.8);
}

.site-footer {
  padding: 3.2rem 0;
  color: rgba(255, 255, 255, 0.6);
  background: linear-gradient(180deg, #081829 0%, #071A2F 100%);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand {
  display: grid;
  gap: 0.8rem;
}

.brand-logo-footer {
  height: 2.4rem;
  max-width: 15rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.82);
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.56);
}

.site-footer h3 {
  margin: 0 0 0.9rem;
  color: var(--ra-white);
  font-family: var(--font-heading);
}

.footer-links {
  display: grid;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ra-primary);
}

.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--transition-slow),
    transform var(--transition-slow);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 720px) {
  .section {
    padding: 5.9rem 0;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

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

  .card-grid-4,
  .system-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .problem-grid,
  .audit-grid,
  .split-section,
  .cta-panel,
  .profile-grid,
  .solomo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.4rem;
  }

  .footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr;
  }

  .method-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 960px) {
  .site-header {
    background: rgba(243, 247, 249, 0.8);
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-cta {
    margin-top: 0;
    margin-left: 0.5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.32fr) minmax(400px, 0.9fr);
    align-items: center;
    gap: 3rem;
  }

  .hero {
    padding: 6.2rem 0 5.3rem;
  }

  .hero-visual {
    padding: 1.85rem;
  }

  .flow-track {
    display: flex;
    align-items: stretch;
    gap: 0.9rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .flow-step {
    flex: 0 0 14rem;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 0.8rem;
  }

  .flow-copy strong {
    margin-bottom: 0.25rem;
  }

  .flow-connector {
    flex: 0 0 1.2rem;
    height: auto;
  }

  .flow-connector::before {
    left: 50%;
    top: 50%;
    width: 100%;
    height: 2px;
    transform: translate(-50%, -50%);
    background: linear-gradient(90deg, var(--ra-border), var(--ra-primary));
  }

  .profile-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  }

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

  .process-step::before {
    left: auto;
    right: -0.55rem;
    top: 50%;
    bottom: auto;
    width: 1.1rem;
    height: 2px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, rgba(255, 79, 67, 0.34), rgba(7, 26, 47, 0));
  }

  .cta-panel {
    padding: 2.35rem 2.45rem;
  }
}

@media (max-width: 719px) {
  h1 {
    max-width: none;
    font-size: clamp(2.35rem, 10.8vw, 3.45rem);
    line-height: 1.01;
  }

  .brand-copy {
    display: none;
  }

  .hero-proof li,
  .button {
    width: 100%;
  }

  .hero-authority {
    width: 100%;
    border-radius: var(--radius-md);
  }

  .process-step::before {
    left: 1.5rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

.site-header .brand-copy {
  display: none;
}

.site-header .button,
.site-header .nav-cta .button {
  min-height: 2.45rem;
  padding: 0.54rem 0.85rem;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(255, 79, 67, 0.12);
}


/* Ecosystem */
.section-ecosystem {
  background: linear-gradient(180deg, rgba(7, 26, 47, 0.01), rgba(255, 255, 255, 0.94));
}

.ecosystem-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 900px) {
  .ecosystem-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
  }
}

.ecosystem-secondary-grid {
  display: grid;
  gap: 1.5rem;
}

.ecosystem-card {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--ra-surface);
  border: 1px solid var(--ra-border);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform var(--transition), box-shadow var(--transition);
}

.ecosystem-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.ecosystem-main {
  padding: 2.8rem 2.4rem;
  background: var(--ra-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--ra-navy);
  box-shadow: 0 10px 30px rgba(7, 26, 47, 0.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform var(--transition), box-shadow var(--transition);
}

.ecosystem-main h3 {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.ecosystem-main p {
  color: var(--ra-text-soft);
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
  max-width: 32ch;
}

.ecosystem-secondary {
  padding: 1.8rem 2rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ra-border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform var(--transition), border-color var(--transition);
}

.ecosystem-secondary:hover {
  border-color: var(--ra-navy-soft);
}

.ecosystem-secondary h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.ecosystem-secondary p {
  color: var(--ra-text-soft);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  max-width: 38ch;
}

.eco-head {
  margin-bottom: 1.2rem;
}

.eco-tag {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--ra-primary-soft);
  color: var(--ra-primary);
  font-size: 0.8rem;
  font-weight: 700;
}

.eco-tag-secondary {
  display: inline-flex;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--ra-bg-soft);
  color: var(--ra-navy);
  font-size: 0.75rem;
  font-weight: 600;
}

.eco-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ra-text-soft);
  text-decoration: underline;
  margin-top: auto;
  transition: color var(--transition);
}

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

.ecosystem-footer {
  margin-top: 1rem;
  padding: 1.4rem;
  border-radius: var(--radius-md);
  background: var(--ra-navy);
  color: var(--ra-white);
  text-align: center;
  font-weight: 500;
  font-size: 0.96rem;
}

.ecosystem-footer p {
  margin: 0;
}

.button-small {
  min-height: 2.2rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  margin-top: auto;
}


.evaluation-checklist h4 {
  margin-bottom: 1rem;
  color: var(--ra-navy);
  font-size: 1.15rem;
  font-family: var(--font-heading);
}

.card-grid-3 .info-card {
  height: 100%;
}

.site-nav a.nav-cta,
.site-nav a.nav-cta:visited {
  color: var(--ra-white);
}

.site-nav a.nav-cta:hover,
.site-nav a.nav-cta:focus-visible {
  color: var(--ra-white);
  background: linear-gradient(135deg, var(--ra-primary-dark), var(--ra-primary));
}

#inicio,
#metodo,
#auditoria,
#ecosistema,
#recursos,
#contacto {
  scroll-margin-top: 5rem;
}

.evaluation-note {
  margin-top: 1rem;
  color: var(--ra-text-soft);
  font-size: 0.94rem;
  line-height: 1.6;
}


/* =========================================================================
   LEGAL PAGES (Privacidad, Términos, etc.)
   ========================================================================= */

.legal-hero {
  padding: 5.4rem 0 3.6rem;
  background:
    radial-gradient(circle at top left, rgba(255, 79, 67, 0.18), transparent 30%),
    linear-gradient(135deg, var(--ra-navy), var(--ra-navy-dark));
  color: var(--ra-white);
}

.legal-hero-inner {
  max-width: 880px;
}

.legal-hero h1 {
  max-width: none;
  color: var(--ra-white);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
}

.legal-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.legal-hero .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.legal-date {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 600;
}

.legal-content {
  padding: 4rem 0 5rem;
  background: var(--ra-bg);
}

.legal-content-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 2.4rem;
  border-radius: var(--radius-xl);
  background: var(--ra-white);
  border: 1px solid var(--ra-border);
  box-shadow: var(--shadow-soft);
}

.legal-content h2 {
  margin-top: 2.2rem;
  margin-bottom: 0.75rem;
  color: var(--ra-navy);
  font-size: 1.35rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--ra-text-soft);
  line-height: 1.75;
}

.legal-content ul {
  padding-left: 1.25rem;
}

.form-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(232, 238, 241, 0.55);
  border: 1px solid var(--ra-border);
}

.form-consent input {
  margin-top: 0.25rem;
  accent-color: var(--ra-primary);
}

.form-consent label {
  color: var(--ra-text-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}

.form-consent a {
  color: var(--ra-primary-dark);
  font-weight: 700;
  text-decoration: underline;
}



html[data-theme='dark'] {
  /* Fondo base y secciones */
  --ra-bg-base: #0B0F19;
  --ra-bg: #111822;
  --ra-bg-alt: #161F2E;
  --ra-bg-soft: #1A2436;

  /* Superficies de tarjetas */
  --ra-surface: #202D40;
  --ra-surface-glass: rgba(36, 49, 69, 0.75);
  --ra-surface-elevated: #28374E;
  
  /* Textos */
  --ra-text: #F8FAFC;
  --ra-text-soft: #CBD5E1;
  --ra-text-muted: #94A3B8;
  
  /* Bordes */
  --ra-border: rgba(255, 255, 255, 0.08);
  --ra-border-strong: rgba(255, 255, 255, 0.16);
  
  /* Sombras oscuras */
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 10px 24px rgba(0, 0, 0, 0.5);
  --shadow-strong: 0 16px 32px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   2. GLOBAL & LAYOUT
   ========================================================================== */
html[data-theme='dark'] body {
  background: var(--ra-bg-base);
  color: var(--ra-text-soft);
}

html[data-theme='dark'] .site-header {
  background: rgba(11, 15, 25, 0.92);
  border-bottom-color: var(--ra-border);
  backdrop-filter: blur(12px);
}

html[data-theme='dark'] .site-nav,
html[data-theme='dark'] .nav-toggle {
  background: var(--ra-bg-soft);
  border-color: var(--ra-border);
}

html[data-theme='dark'] .nav-toggle span {
  background: var(--ra-text);
}

html[data-theme='dark'] .site-footer {
  background: var(--ra-bg-base);
  border-top: 1px solid var(--ra-border);
}

/* ==========================================================================
   3. JERARQUÍA DE SECCIONES
   ========================================================================== */
html[data-theme='dark'] .section-muted,
html[data-theme='dark'] .section-process,
html[data-theme='dark'] .section-profile,
html[data-theme='dark'] .legal-content {
  background: var(--ra-bg);
}

html[data-theme='dark'] .section-alt,
html[data-theme='dark'] .section-audit {
  background: var(--ra-bg-alt);
}

html[data-theme='dark'] .section-ecosystem {
  background: var(--ra-bg-soft);
}

/* ==========================================================================
   4. SUPERFICIES Y TARJETAS (ELEVACIÓN)
   ========================================================================== */
html[data-theme='dark'] .hero-visual,
html[data-theme='dark'] .problem-panel,
html[data-theme='dark'] .profile-card,
html[data-theme='dark'] .info-card,
html[data-theme='dark'] .method-cta,
html[data-theme='dark'] .process-step,
html[data-theme='dark'] .audience-box,
html[data-theme='dark'] .system-item,
html[data-theme='dark'] .form-shell,
html[data-theme='dark'] .resource-card,
html[data-theme='dark'] .faq-item,
html[data-theme='dark'] .ecosystem-card,
html[data-theme='dark'] .legal-content-inner {
  background: var(--ra-surface);
  border: 1px solid var(--ra-border);
  box-shadow: var(--shadow-card);
}

html[data-theme='dark'] .hero-profile-card,
html[data-theme='dark'] .flow-step,
html[data-theme='dark'] .faq-answer-inner,
html[data-theme='dark'] .fit-note {
  background: var(--ra-surface-elevated);
  border-color: var(--ra-border-strong);
  box-shadow: var(--shadow-soft);
}

html[data-theme='dark'] .flow-step-accent {
  background: linear-gradient(135deg, var(--ra-navy), var(--ra-blue));
}

html[data-theme='dark'] .hero-profile-points li,
html[data-theme='dark'] .tag-list span {
  background: var(--ra-surface-elevated);
  color: var(--ra-text-soft);
  border-color: var(--ra-border);
}

html[data-theme='dark'] .faq-item {
  border-color: var(--ra-border);
}

/* ==========================================================================
   5. COMPONENTES: BOTONES Y FORMULARIOS
   ========================================================================== */
html[data-theme='dark'] .button-secondary {
  color: var(--ra-text);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--ra-border-strong);
}

html[data-theme='dark'] .button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--ra-primary);
}

html[data-theme='dark'] .button-ghost {
  color: var(--ra-text);
}

html[data-theme='dark'] .form-row input,
html[data-theme='dark'] .form-row textarea {
  background: var(--ra-bg-base);
  color: var(--ra-text);
  border-color: var(--ra-border);
}

html[data-theme='dark'] .form-row input:focus,
html[data-theme='dark'] .form-row textarea:focus {
  background: var(--ra-bg);
  border-color: var(--ra-primary);
}

html[data-theme='dark'] .form-row input::placeholder,
html[data-theme='dark'] .form-row textarea::placeholder {
  color: var(--ra-text-muted);
}

html[data-theme='dark'] .form-consent {
  background: var(--ra-surface-elevated);
  border-color: var(--ra-border);
}

/* ==========================================================================
   6. CONTRASTE DE TEXTOS Y JERARQUÍA TIPOGRÁFICA
   ========================================================================== */
/* Texto Primario (Títulos y énfasis) */
html[data-theme='dark'] h1,
html[data-theme='dark'] h2,
html[data-theme='dark'] h3,
html[data-theme='dark'] strong,
html[data-theme='dark'] .brand-copy strong,
html[data-theme='dark'] .faq-question span,
html[data-theme='dark'] .flow-copy strong,
html[data-theme='dark'] .fit-note strong {
  color: var(--ra-text);
}

/* Texto Secundario (Párrafos, leads, listas) */
html[data-theme='dark'] p,
html[data-theme='dark'] .hero-lead,
html[data-theme='dark'] .section-lead,
html[data-theme='dark'] .hero-authority,
html[data-theme='dark'] .check-list li,
html[data-theme='dark'] .profile-list li,
html[data-theme='dark'] .deliverable-list li,
html[data-theme='dark'] .form-row label,
html[data-theme='dark'] .footer-brand p,
html[data-theme='dark'] .fit-note p {
  color: var(--ra-text-soft);
}

/* Texto Terciario / Microcopia (Etiquetas, notas, placeholders) */
html[data-theme='dark'] .eyebrow,
html[data-theme='dark'] .flow-label,
html[data-theme='dark'] .brand-copy small,
html[data-theme='dark'] .hero-profile-meta,
html[data-theme='dark'] .form-note,
html[data-theme='dark'] .form-consent label,
html[data-theme='dark'] .footer-brand small,
html[data-theme='dark'] .card-step,
html[data-theme='dark'] .system-number,
html[data-theme='dark'] .process-number,
html[data-theme='dark'] .resource-tag,
html[data-theme='dark'] .eco-tag,
html[data-theme='dark'] .eco-tag-secondary,
html[data-theme='dark'] .hero-profile-tag {
  color: var(--ra-text-muted);
}

/* Enlaces del Footer */
html[data-theme='dark'] .footer-links a,
html[data-theme='dark'] .footer-links span {
  color: var(--ra-text-soft);
}
html[data-theme='dark'] .footer-links a:hover {
  color: var(--ra-text);
}

/* ==========================================================================
   7. FLOATING CONTROLS & TOGGLE
   ========================================================================== */
.floating-controls {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 99;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), opacity var(--transition), visibility var(--transition), box-shadow var(--transition);
}

.floating-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.floating-wa {
  background: #25D366;
  color: #fff;
}

.floating-top {
  background: var(--ra-navy);
  color: var(--ra-white);
  opacity: 0;
  visibility: hidden;
}

.floating-top.is-visible {
  opacity: 1;
  visibility: visible;
}

html[data-theme='dark'] .floating-top {
  background: var(--ra-blue);
}

#theme-toggle {
  font-size: 1.2rem;
  padding: 0.5rem;
  width: 2.8rem;
  border-radius: 50%;
  min-height: auto;
}

@media (min-width: 960px) {
  #theme-toggle {
    margin-left: 1rem;
  }
}
@media (min-width: 960px) {
  .problem-grid {
    align-items: center;
  }
}
