
:root {
  --bg: #020211;
  --bg-alt: #050516;
  --card-bg: #050510;
  --accent: #facc15;
  --accent-soft: rgba(250, 204, 21, 0.16);
  --accent-strong: #eab308;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.4);
  --radius-lg: 18px;
  --radius-full: 999px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);
}

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
  color: var(--text-main);
  line-height: 1.6;
}

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

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.65));
  border-bottom: 1px solid rgba(250, 204, 21, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.4rem;
}

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

.logo-img {
  height: 46px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: #facc15;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.nav {
  display: flex;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.nav a {
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #facc15, #f97316);
  border-radius: 999px;
  transition: width 0.2s ease;
}

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

.nav a:hover::after {
  width: 100%;
}

/* HERO */

.hero {
  padding: 3.2rem 0 2.6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.6rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: #facc15;
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.highlight {
  color: #facc15;
}

.hero-text {
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 34rem;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 1.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-bullets li {
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.3rem;
}

.hero-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #fbbf24;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: radial-gradient(circle at top, #111827 0, #020617 65%);
  border-radius: 24px;
  padding: 1.2rem;
  border: 1px solid rgba(249, 250, 251, 0.1);
  box-shadow: var(--shadow-soft);
}

.hero-note {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  color: var(--text-main);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #facc15, #f97316);
  color: #111827;
  box-shadow: 0 18px 38px rgba(250, 204, 21, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 48px rgba(250, 204, 21, 0.6);
}

.block {
  width: 100%;
}

/* SECTIONS GENERALES */

.section {
  padding: 3rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, #020617 0, #000 80%);
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.55rem;
  margin: 0 0 0.4rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

/* SIMULADOR */

.sim-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: flex-start;
}

.sim-form {
  background: radial-gradient(circle at top left, #020617 0, #02010a 60%);
  border-radius: 20px;
  padding: 1.3rem 1.3rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-soft);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
}

.field label {
  font-size: 0.85rem;
}

.field input {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.55rem 0.75rem;
  background: rgba(15, 23, 42, 0.96);
  color: var(--text-main);
  font-size: 0.88rem;
  outline: none;
}

.field input:focus {
  border-color: #facc15;
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.55);
}

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

.disclaimer {
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.sim-result {
  background: radial-gradient(circle at top right, #111827 0, #020617 75%);
  border-radius: 20px;
  padding: 1.3rem 1.3rem 1.6rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-soft);
}

.sim-result h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.result-card {
  background: radial-gradient(circle at top, #020617 0, #02010a 90%);
  border-radius: 16px;
  padding: 0.75rem 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.result-card .label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.result-card .value {
  display: block;
  font-size: 1.25rem;
  margin-top: 0.2rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
  color: #facc15;
}

.result-card .sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.notes h4 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.notes ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ESCENARIOS */

.escenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.esc-card {
  background: radial-gradient(circle at top, #020617 0, #02010a 80%);
  border-radius: var(--radius-lg);
  padding: 1rem 1rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
}

.esc-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.esc-card ul {
  padding-left: 1.1rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

.faq-item h3 {
  margin: 0 0 0.3rem;
  font-size: 0.96rem;
}

.faq-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* FOOTER */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.2rem 0 1.6rem;
  background: radial-gradient(circle at top, #020617 0, #000 100%);
}

.footer-inner {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* RESPONSIVE */

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

  .hero-grid,
  .sim-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.5rem;
  }

  .result-grid,
  .escenarios-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 2rem;
  }
}
