/* === OPORTUNIDADES MOTOR — GLOBAL STYLES === */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;600;700&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');

:root {
  --c-bg: #ffffff;
  --c-surface: #ffffff;
  --c-surface-alt: #f4f5f7;
  --c-text: #1b2537;
  --c-text-secondary: #526075;
  --c-text-muted: #8293a7;
  --c-accent: #bf9b45;
  --c-accent-hover: #a8872e;
  --c-hero-bg: #1a1a1a;
  --c-hero-text: #f0f2f5;
  --c-hero-sub: #a0a0a0;
  --c-border: #dde2ea;
  --c-card-shadow: rgba(27, 37, 55, 0.06);
  --c-footer-bg: #141414;
  --c-footer-text: #888888;
  --c-footer-heading: #cccccc;
  --f-display: 'Sora', system-ui, sans-serif;
  --f-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --w-max: 1140px;
  --gap-section: 5rem;
}

/* Dark mode desactivado — el sitio es siempre claro */

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

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding: 0 24px;
}
.nav-inner {
  max-width: var(--w-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--c-text);
}
.nav-logo { width: 36px; height: 36px; }
.nav-logo svg { width: 100%; height: 100%; }
.nav-name {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nav-name span { font-weight: 300; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
}
.nav-links a {
  color: var(--c-text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--c-accent); }

/* === HERO === */
.hero {
  background: var(--c-hero-bg);
  padding: 5rem 24px 4.5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--c-bg), transparent);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--w-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-family: var(--f-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--c-hero-text);
  max-width: 620px;
  text-wrap: balance;
  letter-spacing: -0.02em;
}
.hero-sub {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: var(--c-hero-sub);
  max-width: 520px;
  line-height: 1.65;
}
.hero-cta {
  margin-top: 2.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--c-accent);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.hero-cta:hover { background: var(--c-accent-hover); transform: translateY(-1px); }
.hero-cta svg { width: 18px; height: 18px; }
.hero-deco {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 50%;
  pointer-events: none;
  overflow: hidden;
}
.hero-deco .ring {
  position: absolute;
  border: 1.5px solid rgba(191,155,69,0.12);
  border-radius: 50%;
}
.hero-deco .ring-1 { width: 420px; height: 420px; top: -60px; right: -80px; }
.hero-deco .ring-2 { width: 280px; height: 280px; top: 40px; right: 10px; }
.hero-deco .ring-3 { width: 160px; height: 160px; top: 100px; right: 70px; }

/* === BENEFITS BAR === */
.benefits {
  padding: 0 24px;
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}
.benefits-inner {
  max-width: var(--w-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px var(--c-card-shadow), 0 1px 3px var(--c-card-shadow);
}
.benefit {
  background: var(--c-surface);
  padding: 1.75rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.benefit-icon { width: 40px; height: 40px; color: var(--c-accent); }
.benefit-icon svg { width: 100%; height: 100%; }
.benefit h3 {
  font-family: var(--f-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--c-text);
}
.benefit p {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}

/* === SECTION COMMON === */
.section { padding: var(--gap-section) 24px; }
.section-inner { max-width: var(--w-max); margin: 0 auto; }
.section-label {
  font-family: var(--f-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -0.015em;
  text-wrap: balance;
  max-width: 560px;
}
.section-desc {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--c-text-secondary);
  max-width: 520px;
  line-height: 1.65;
}

/* === CATEGORIES === */
.categories-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.category-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.category-card:hover {
  border-color: var(--c-accent);
  box-shadow: 0 8px 24px var(--c-card-shadow);
}
.category-icon {
  width: 48px; height: 48px;
  background: var(--c-surface-alt);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--c-accent);
}
.category-icon svg { width: 24px; height: 24px; }
.category-card h3 {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-text);
}
.category-card p {
  font-size: 0.88rem;
  color: var(--c-text-secondary);
  line-height: 1.55;
}

/* === STATS === */
.stats {
  background: var(--c-hero-bg);
}
.stats .section-label { color: var(--c-accent); }
.stats .section-title { color: var(--c-hero-text); }
.stats .stat-label { color: var(--c-hero-sub); }
.stats-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat { text-align: center; }
.stat-number {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--c-accent);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.stat-label {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--c-text-secondary);
  line-height: 1.4;
}

/* === PROCESS === */
.process-steps {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.step { display: flex; flex-direction: column; gap: 0.75rem; }
.step-num {
  font-family: var(--f-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--c-border);
  line-height: 1;
}
.step h3 {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-text);
}
.step p {
  font-size: 0.88rem;
  color: var(--c-text-secondary);
  line-height: 1.55;
}

/* === CTA FINAL === */
.cta-section {
  background: var(--c-hero-bg);
  padding: 4rem 24px;
  text-align: center;
}
.cta-section .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-section .section-label { color: var(--c-accent); }
.cta-section .section-title { color: var(--c-hero-text); max-width: 480px; }
.cta-section .section-desc { color: var(--c-hero-sub); max-width: 440px; text-align: center; }
.cta-btn {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--c-accent);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2.25rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.cta-btn:hover { background: var(--c-accent-hover); transform: translateY(-1px); }

/* === FOOTER === */
.footer {
  background: var(--c-footer-bg);
  padding: 3rem 24px 2rem;
}
.footer-inner { max-width: var(--w-max); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-about .footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
}
.footer-about .footer-brand-name {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-footer-heading);
}
.footer-about .footer-brand-name span { font-weight: 300; }
.footer-about p {
  font-size: 0.82rem;
  color: var(--c-footer-text);
  line-height: 1.6;
  max-width: 280px;
}
.footer-col h4 {
  font-family: var(--f-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-footer-heading);
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col li {
  color: var(--c-footer-heading);
  font-size: 0.85rem;
}
.footer-col a {
  color: var(--c-footer-heading);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--c-accent); }
.footer-bottom {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--c-footer-text);
}
.footer-bottom a {
  color: var(--c-footer-text);
  text-decoration: none;
}
.footer-bottom a:hover { color: var(--c-accent); }
.footer-legal { display: flex; gap: 1.5rem; }

/* === LEGAL PAGES === */
.legal-header {
  background: var(--c-hero-bg);
  padding: 3rem 24px 2.5rem;
}
.legal-header-inner {
  max-width: var(--w-max);
  margin: 0 auto;
}
.legal-header h1 {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--c-hero-text);
  letter-spacing: -0.02em;
}
.legal-header p {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--c-hero-sub);
}
.legal-content {
  padding: 3rem 24px 4rem;
}
.legal-content-inner {
  max-width: 720px;
  margin: 0 auto;
}
.legal-content h2 {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c-text);
  margin-top: 2.25rem;
  margin-bottom: 0.6rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li {
  font-size: 0.9rem;
  color: var(--c-text-secondary);
  line-height: 1.7;
  margin-bottom: 0.6rem;
}
.legal-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.legal-content li { margin-bottom: 0.35rem; }
.legal-data-box {
  background: var(--c-surface-alt);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--c-text-secondary);
}
.legal-data-box strong { color: var(--c-text); }
.legal-data-box a,
.legal-content a {
  color: var(--c-text);
  text-decoration: none;
  transition: color 0.2s;
}
.legal-data-box a:hover,
.legal-content a:hover {
  color: var(--c-text);
  text-decoration: underline;
}
.legal-update {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-border);
  font-size: 0.82rem;
  color: var(--c-text-muted);
}
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.85rem;
}
.legal-content th {
  text-align: left;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  padding: 0.65rem 0.75rem;
  border-bottom: 2px solid var(--c-border);
}
.legal-content td {
  padding: 0.6rem 0.75rem;
  color: var(--c-text-secondary);
  border-bottom: 1px solid var(--c-border);
}

/* === RESPONSIVE === */
@media (max-width: 860px) {
  .benefits-inner { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .process-steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hero-deco { display: none; }
}
@media (max-width: 520px) {
  .benefits-inner { grid-template-columns: 1fr 1fr; }
  .categories-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 24px 3.5rem; }
  .section { padding: 3.5rem 24px; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .legal-content table { font-size: 0.78rem; }
  .legal-content th, .legal-content td { padding: 0.5rem; }
}
