/* ==========================================================================
   Rovia — Design system
   ========================================================================== */

:root {
  /* Brand palette (extraída del logo) */
  --navy-900: #071b3d;
  --navy-800: #0b2a57;
  --navy-700: #143767;
  --navy-600: #234a82;
  --green-700: #4a701c;
  --green-600: #578722;
  --green-500: #6fa82c;
  --green-100: #e9f3dd;
  --gold-500: #f5b400;
  --gold-100: #fdf0cc;

  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --bg-alt-2: #eef2f8;
  --text: #10203d;
  --text-muted: #49577a;
  --text-on-navy: #eef3fb;
  --text-on-navy-muted: #aebedd;
  --border: #e3e8f0;
  --border-navy: #24406e;
  --white: #ffffff;

  --font-heading: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(7, 27, 61, 0.06), 0 1px 1px rgba(7, 27, 61, 0.04);
  --shadow-md: 0 12px 32px -12px rgba(7, 27, 61, 0.22);
  --shadow-lg: 0 24px 60px -20px rgba(7, 27, 61, 0.35);

  --nav-height: 76px;
}

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

html {
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--nav-height) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

svg {
  display: block;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.15;
}

button {
  font: inherit;
  cursor: pointer;
}

table {
  border-collapse: collapse;
}

/* ----- Focus & accessibility ----- */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  background: var(--navy-900);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ----- Layout helpers ----- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding: clamp(3.5rem, 6vw, 6.5rem) 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section--navy {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: var(--text-on-navy);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--white);
}

.section-head {
  max-width: 680px;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-700, var(--green-600));
  margin-bottom: 0.85rem;
}

.section--navy .eyebrow {
  color: var(--gold-500);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
}

h2 + p,
.section-head p {
  margin-top: 0.9rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section--navy .section-head p {
  color: var(--text-on-navy-muted);
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.brand img {
  height: 34px;
  width: auto;
}

.brand-partner-divider {
  width: 1px;
  height: 22px;
  background: var(--border);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.nav-partner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-partner-logo {
  height: 26px;
  width: auto;
  opacity: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: clamp(1rem, 2vw, 2rem);
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-800);
  padding: 0.4rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--green-700, var(--green-600));
  border-color: var(--green-500);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  color: var(--navy-900);
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

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

.btn--primary {
  background: var(--green-500);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--green-600);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  border-color: var(--navy-800);
  color: var(--navy-800);
}

.btn--ghost:hover {
  background: var(--navy-800);
  color: var(--white);
}

.btn--on-navy {
  background: var(--white);
  color: var(--navy-900);
}

.btn--on-navy:hover {
  background: var(--gold-500);
  color: var(--navy-900);
}

.btn--ghost-on-navy {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn--ghost-on-navy:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

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

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: linear-gradient(155deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: var(--text-on-navy);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: 0;
}

.hero-decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-decor::before,
.hero-decor::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.hero-decor::before {
  width: 420px;
  height: 420px;
  right: -140px;
  top: -160px;
  background: radial-gradient(circle, rgba(111, 168, 44, 0.28), transparent 70%);
}

.hero-decor::after {
  width: 360px;
  height: 360px;
  left: -120px;
  bottom: -140px;
  background: radial-gradient(circle, rgba(245, 180, 0, 0.18), transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2rem;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
  color: var(--gold-500);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.08;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-500);
}

.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-on-navy-muted);
  max-width: 620px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  padding-top: 0.5rem;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-on-navy);
}

.hero-trust svg {
  width: 18px;
  height: 18px;
  color: var(--green-500);
  flex-shrink: 0;
}

/* ----- Problem stats band ----- */
.stats-band {
  position: relative;
  z-index: 1;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  background: rgba(7, 20, 46, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  padding: 2rem 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item:first-child {
  border-left: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  color: var(--gold-500);
  font-weight: 600;
  line-height: 1;
}

.stat-item p {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-on-navy-muted);
}

.stat-item cite {
  display: block;
  margin-top: 0.4rem;
  font-style: normal;
  font-size: 0.76rem;
  color: rgba(174, 190, 221, 0.7);
}

/* ==========================================================================
   Qué hacemos
   ========================================================================== */

.benefit-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}

.benefit-card--empresa {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--text-on-navy);
}

.benefit-card--empresa h3 {
  color: var(--white);
}

.benefit-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.benefit-card-head .icon-badge {
  flex-shrink: 0;
}

.benefit-list li {
  display: flex;
  gap: 0.85rem;
  padding-block: 0.7rem;
  border-top: 1px solid var(--border);
}

.benefit-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.benefit-card--empresa .benefit-list li {
  border-color: rgba(255, 255, 255, 0.12);
}

.benefit-list svg {
  width: 20px;
  height: 20px;
  color: var(--green-500);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.benefit-card--empresa .benefit-list svg {
  color: var(--gold-500);
}

.benefit-list strong {
  display: block;
  font-size: 0.98rem;
  color: inherit;
  margin-bottom: 0.15rem;
}

.benefit-list span {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.benefit-card--empresa .benefit-list span {
  color: var(--text-on-navy-muted);
}

.mission-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  background: var(--green-100);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.mission-strip svg {
  margin-top: 0.2rem;
}

.mission-strip svg {
  width: 40px;
  height: 40px;
  color: var(--green-600);
}

.mission-strip p {
  font-size: 1.05rem;
  color: var(--navy-900);
}

.mission-strip strong {
  color: var(--green-700, var(--green-600));
}

/* ----- Comparison table ----- */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  min-width: 720px;
  background: var(--white);
}

.compare-table caption {
  text-align: left;
  padding: 0.85rem 1.5rem 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
}

.compare-table th,
.compare-table td {
  padding: 1rem 1.25rem;
  text-align: center;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
}

.compare-table thead th {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--navy-900);
  background: var(--bg-alt);
}

.compare-table th[scope="row"] {
  text-align: left;
  font-weight: 600;
  color: var(--navy-900);
}

.compare-table td:first-of-type,
.compare-table .col-rovia {
  font-weight: 700;
}

.compare-table .col-rovia {
  background: var(--green-100);
  color: var(--green-700, var(--green-600));
}

.compare-table tbody tr:last-child td,
.compare-table tbody tr:last-child th {
  border-bottom: none;
}

.mark-yes {
  color: var(--green-700, var(--green-600));
  font-weight: 700;
}

.mark-no {
  color: #c23b3b;
}

.mark-partial {
  color: #b9860a;
}

.compare-foot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #c23b3b;
  background: var(--white);
}

.compare-foot-icon {
  width: 18px;
  height: 18px;
  color: #c23b3b;
  flex-shrink: 0;
}

/* ----- Legal compliance ----- */
.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-top: clamp(3rem, 5vw, 4.5rem);
}

.legal-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.25rem);
}

.legal-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.legal-card-head svg {
  width: 26px;
  height: 26px;
  color: var(--gold-500);
  flex-shrink: 0;
}

.legal-card h3 {
  font-size: 1.2rem;
}

.legal-card p {
  color: var(--text-on-navy-muted);
  font-size: 0.95rem;
  margin-top: 0.75rem;
}

.legal-card .legal-lede {
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 0;
}

.legal-card .legal-evidence {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.88rem;
}

.legal-card .legal-evidence b {
  color: var(--white);
}

/* ==========================================================================
   Programa
   ========================================================================== */

.program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.program-meta .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-800);
}

.program-meta svg {
  width: 16px;
  height: 16px;
  color: var(--green-600);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.module-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.module-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.module-number {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-700, var(--green-600));
  letter-spacing: 0.06em;
}

.module-card h3 {
  font-size: 1.2rem;
  margin: 0.6rem 0 0.9rem;
}

.module-card ul {
  display: grid;
  gap: 0.55rem;
}

.module-card ul li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.module-card ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--gold-500);
  flex-shrink: 0;
}

/* ----- KPI / dashboard ----- */
.kpi-block {
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  color: var(--text-on-navy);
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

.kpi-block-head {
  max-width: 640px;
}

.kpi-block-head h3 {
  color: var(--white);
  font-size: 1.5rem;
}

.kpi-block-head p {
  margin-top: 0.6rem;
  color: var(--text-on-navy-muted);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.kpi-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.15rem;
}

.kpi-item span.kpi-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-900);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.kpi-item h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.kpi-item p {
  font-size: 0.82rem;
  color: var(--text-on-navy-muted);
}

/* ----- Dashboard mock ----- */
.dashboard-mock {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2rem);
}

.dashboard-mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.dashboard-mock-head h4 {
  color: var(--white);
  font-size: 1.05rem;
}

.dashboard-tag {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: var(--gold-500);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.dash-row {
  display: grid;
  grid-template-columns: 220px 1fr 70px;
  align-items: center;
  gap: 1rem;
  padding-block: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dash-row:first-of-type {
  border-top: none;
}

.dash-row-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-on-navy);
}

.dash-bars {
  display: grid;
  gap: 0.35rem;
}

.dash-bar-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  position: relative;
}

.dash-bar-fill {
  height: 100%;
  border-radius: 999px;
}

.dash-bar-fill.before {
  background: rgba(174, 190, 221, 0.55);
}

.dash-bar-fill.after {
  background: var(--green-500);
}

.dash-legend {
  display: flex;
  gap: 0.9rem;
  font-size: 0.72rem;
  color: var(--text-on-navy-muted);
}

.dash-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.dash-legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.dash-legend .before-dot {
  background: rgba(174, 190, 221, 0.55);
}

.dash-legend .after-dot {
  background: var(--green-500);
}

.dash-row-trend {
  text-align: right;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-500);
}

.dashboard-mock-foot {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: var(--text-on-navy-muted);
  font-style: italic;
}

/* ==========================================================================
   Precios
   ========================================================================== */

.pricing-wrap {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-md);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: clamp(2rem, 4vw, 2.75rem);
  background: var(--gold-500);
  color: var(--navy-900);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  color: var(--navy-900);
  font-weight: 600;
}

.price-unit {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 600;
}

.price-breakdown {
  margin-top: 0.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.price-net {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--green-100);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
}

.price-net svg {
  width: 26px;
  height: 26px;
  color: var(--green-600);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.price-net strong {
  display: block;
  color: var(--green-700, var(--green-600));
  font-size: 1rem;
}

.price-net span {
  font-size: 0.88rem;
  color: var(--navy-900);
}

.price-features {
  margin-top: 1.75rem;
  display: grid;
  gap: 1.1rem;
}

.price-feature {
  display: flex;
  gap: 0.85rem;
}

.price-feature .icon-badge {
  flex-shrink: 0;
}

.price-feature strong {
  display: block;
  font-size: 0.98rem;
  color: var(--navy-900);
  margin-bottom: 0.15rem;
}

.price-feature span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.price-cta {
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
}

.price-cta p {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.price-cta-dropdown,
.hero-cta-dropdown {
  position: relative;
}

.price-cta-menu,
.hero-cta-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  min-width: 320px;
  z-index: 20;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
}

.price-cta-menu {
  right: 0;
}

.price-cta-menu.is-open,
.hero-cta-menu.is-open {
  display: grid;
  gap: 0.25rem;
}

.price-cta-option {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-900);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.price-cta-option:hover {
  background: var(--bg-alt-2);
}

.price-cta-option svg {
  width: 19px;
  height: 19px;
  color: var(--green-600);
  flex-shrink: 0;
}

.price-cta-email-box {
  display: none;
  margin: 0.25rem 0.85rem 0.5rem;
  padding: 0.9rem 1rem;
  background: var(--green-100);
  border: 1px solid rgba(87, 135, 34, 0.18);
  border-radius: var(--radius-md);
}

.price-email-block {
  display: grid;
  gap: 0.3rem;
}

.price-email-block + .price-email-block {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(87, 135, 34, 0.2);
}

.price-email-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-700, var(--green-600));
}

.price-email-line {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-900);
  text-align: left;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease;
}

.price-email-line:hover {
  color: var(--green-700, var(--green-600));
}

.price-email-line.is-copied {
  color: var(--green-700, var(--green-600));
}

.price-email-line svg {
  width: 16px;
  height: 16px;
  color: var(--green-600);
  flex-shrink: 0;
}

.hero-contact-box {
  display: none;
  margin: 0.35rem 0.5rem 0.5rem;
  padding: 0.5rem;
  background: linear-gradient(160deg, var(--green-100) 0%, rgba(111, 168, 44, 0.05) 100%);
  border: 1px solid rgba(87, 135, 34, 0.16);
  border-radius: var(--radius-md);
}

.hero-contact-box.is-open {
  display: grid;
  gap: 0.15rem;
  animation: hero-contact-reveal 0.28s ease;
}

@keyframes hero-contact-reveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.75rem 0.7rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.hero-contact-card:hover {
  background: rgba(255, 255, 255, 0.55);
}

.hero-contact-card + .hero-contact-card {
  margin-top: 0.1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(87, 135, 34, 0.16);
}

.hero-contact-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-contact-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  flex-shrink: 0;
}

.hero-contact-heading {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.25;
}

.hero-contact-label {
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-700, var(--green-600));
}

.hero-contact-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy-900);
}

.hero-contact-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--navy-800);
  text-align: left;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease;
}

.hero-contact-line:hover {
  color: var(--green-700, var(--green-600));
}

.hero-contact-line.is-copied {
  color: var(--green-700, var(--green-600));
}

.hero-contact-line svg {
  width: 15px;
  height: 15px;
  color: var(--green-600);
  flex-shrink: 0;
}

.price-cta-email-box.is-open {
  display: block;
}

.pricing-side {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.side-card {
  background: var(--navy-900);
  color: var(--text-on-navy);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.side-card h3 {
  color: var(--white);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.side-card h3 svg {
  width: 17px;
  height: 17px;
  color: var(--gold-500);
}

.side-card p {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-on-navy-muted);
}

.side-card--light {
  background: var(--bg-alt);
  color: var(--text);
  border: 1px solid var(--border);
}

.side-card--light h3 {
  color: var(--navy-900);
}

.side-card--light svg {
  color: var(--green-600);
}

.side-card--light p {
  color: var(--text-muted);
}

/* ==========================================================================
   Quiénes somos
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.about-copy p {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 1.1rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.value-card svg {
  width: 24px;
  height: 24px;
  color: var(--green-600);
  margin-bottom: 0.85rem;
}

.value-card h4 {
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}

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

/* ----- Team ----- */
.team-intro {
  margin-top: clamp(3rem, 5vw, 4.5rem);
  margin-bottom: 1.75rem;
  text-align: center;
}

.team-intro h3 {
  font-size: 1.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.team-card {
  position: relative;
  z-index: 0;
  overflow: hidden;
  background: var(--navy-900);
  border: 1px solid rgba(245, 180, 0, 0);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.team-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -20%;
  background: radial-gradient(circle at 50% 26%, rgba(245, 180, 0, 0.28), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.team-card:hover {
  background: var(--navy-800);
  border-color: rgba(245, 180, 0, 0.35);
  box-shadow: var(--shadow-lg), 0 0 34px rgba(245, 180, 0, 0.12);
}

.team-card:hover::before {
  opacity: 1;
}

.team-avatar {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-700);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  border: 3px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.team-card img.team-avatar {
  object-fit: cover;
}

.team-card h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.team-role {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-on-navy-muted);
  margin-bottom: 0.9rem;
}

.team-profession {
  font-size: 0.95rem;
  color: var(--text-on-navy);
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: background 0.15s ease, transform 0.15s ease;
}

.team-linkedin:hover {
  background: var(--green-500);
  transform: translateY(-2px);
}

.team-linkedin svg {
  width: 19px;
  height: 19px;
}

/* ==========================================================================
   Icon badges
   ========================================================================== */

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-alt-2);
  color: var(--navy-800);
}

.icon-badge svg {
  width: 22px;
  height: 22px;
}

.icon-badge--green {
  background: var(--green-100);
  color: var(--green-600);
}

.icon-badge--gold {
  background: var(--gold-100);
  color: #a97300;
}

.icon-badge--navy {
  background: var(--navy-800);
  color: var(--white);
}

.icon-badge--on-navy {
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold-500);
}

/* ==========================================================================
   Contacto
   ========================================================================== */

.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 536px) 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

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

.contact-role-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.4rem;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.contact-role-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

.contact-role-card + .contact-role-card {
  margin-top: 0;
}

.contact-role-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.contact-role-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy-700);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.16);
  letter-spacing: 0.02em;
}

.contact-role-heading {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  line-height: 1.3;
}

.contact-role-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-500);
}

.contact-role-name {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--white);
}

.contact-role-line {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-on-navy-muted);
  background: none;
  border-left: none;
  border-right: none;
  border-bottom: none;
  text-align: left;
  transition: color 0.15s ease;
}

.contact-role-line--first {
  padding-top: 0.15rem;
  border-top: none;
}

.contact-role-line:hover {
  color: var(--white);
}

.contact-role-line--copy {
  cursor: pointer;
}

.contact-role-card .contact-role-line--copy.is-copied {
  color: var(--green-500, var(--gold-500));
}

.contact-role-line svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--gold-500);
}

.contact-trust-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-trust {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.contact-trust-partner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-left: 0.25rem;
}

.contact-trust-partner-label {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-on-navy-muted);
}

.contact-trust-partner-logos {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-trust-logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  filter: brightness(0.86);
  transition: filter 0.25s ease, box-shadow 0.25s ease;
}

.contact-trust-logo-chip:hover {
  filter: brightness(1.05);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), inset 0 0 34px rgba(255, 255, 255, 0.9);
}

.contact-trust-logo-chip img {
  display: block;
  height: 32px;
  width: auto;
}

.contact-trust-list {
  display: grid;
  gap: 1.25rem;
}

.contact-trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.contact-trust-list .icon-badge {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.contact-trust-list .icon-badge svg {
  width: 18px;
  height: 18px;
}

.contact-trust-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-trust-text strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.contact-trust-text span {
  font-size: 0.85rem;
  color: var(--text-on-navy-muted);
  line-height: 1.45;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--navy-900);
  color: var(--text-on-navy-muted);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-brand img {
  height: 26px;
  width: auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-nav a {
  font-size: 0.86rem;
  color: var(--text-on-navy-muted);
}

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

.footer-meta {
  font-size: 0.8rem;
  width: 100%;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ==========================================================================
   Reveal-on-scroll (progressive enhancement)
   ========================================================================== */

[data-reveal] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }

  /* Staggered cascade for card grids */
  .module-grid .module-card:nth-child(1) { transition-delay: 0s; }
  .module-grid .module-card:nth-child(2) { transition-delay: 0.08s; }
  .module-grid .module-card:nth-child(3) { transition-delay: 0.16s; }
  .module-grid .module-card:nth-child(4) { transition-delay: 0.24s; }
  .module-grid .module-card:nth-child(5) { transition-delay: 0.32s; }
  .module-grid .module-card:nth-child(6) { transition-delay: 0.4s; }

  .values-grid .value-card:nth-child(1) { transition-delay: 0s; }
  .values-grid .value-card:nth-child(2) { transition-delay: 0.08s; }
  .values-grid .value-card:nth-child(3) { transition-delay: 0.16s; }
  .values-grid .value-card:nth-child(4) { transition-delay: 0.24s; }

  .team-grid .team-card:nth-child(1) { transition-delay: 0s; }
  .team-grid .team-card:nth-child(2) { transition-delay: 0.1s; }
  .team-grid .team-card:nth-child(3) { transition-delay: 0.2s; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .benefit-columns,
  .legal-grid,
  .about-grid,
  .contact-wrap,
  .team-grid {
    grid-template-columns: 1fr;
  }

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

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

  .pricing-wrap {
    grid-template-columns: 1fr;
  }

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

  .stat-item:nth-child(2n+1) {
    border-left: none;
  }

  .stat-item:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
}

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

  .nav-toggle {
    display: inline-flex;
  }

  .site-header.is-open .nav-links {
    display: flex;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex: none;
    padding: 1.25rem 1.5rem 1.75rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }

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

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

  .dash-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .dash-row-trend {
    text-align: left;
  }

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

  .stat-item {
    border-left: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  }

  .stat-item:last-child {
    border-bottom: none !important;
  }

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

@media (max-width: 560px) {
  .kpi-grid {
    grid-template-columns: 1fr;
  }
}
