:root {
  color-scheme: light;
  --ink: #434343;
  --muted: #5f6775;
  --line: #e5e7eb;
  --paper: #ffffff;
  --soft: #f5f5fd;
  --light: #ebeefc;
  --navy: #18407c;
  --deep: #0b0314;
  --blue: #18407c;
  --accent: #e74a3e;
  --accent-hover: #fb5770;
  --rose: #d71362;
  --gold: #e2b15a;
  --radius: 8px;
  --shadow: 0 22px 60px rgba(24, 64, 124, 0.14);
  --shadow-soft: 0 12px 32px rgba(17, 24, 39, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(229, 231, 235, 0.42) 1px, transparent 1px),
    linear-gradient(180deg, rgba(229, 231, 235, 0.42) 1px, transparent 1px),
    var(--paper);
  background-size: 46px 46px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  border-bottom: 1px solid rgba(24, 64, 124, 0.12);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(24, 64, 124, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  font-weight: 800;
  color: var(--deep);
  min-width: 220px;
  position: relative;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(24, 64, 124, 0.16);
}

.brand span {
  display: block;
  font-size: 1.18rem;
  line-height: 1;
}

.brand::after {
  content: "Planificación financiera";
  position: absolute;
  left: 61px;
  top: 31px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a {
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 12px;
  transition: background 160ms ease, color 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--soft);
  color: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(135deg, #0b0314 0%, #18407c 72%, #d71362 135%);
  background-size: 54px 54px, 54px 54px, auto;
  border-bottom: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--accent), var(--rose), var(--navy));
  opacity: 0.95;
}

.hero-inner,
.section,
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 24px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 58px;
  align-items: center;
  min-height: 420px;
}

.home-hero .hero-inner {
  min-height: 680px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 14px;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
}

.hero .eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0;
  color: var(--deep);
}

h1 {
  font-size: 4.45rem;
  max-width: 820px;
  letter-spacing: 0;
}

h2 {
  font-size: 2.65rem;
  letter-spacing: 0;
}

h3 {
  font-size: 1.18rem;
  letter-spacing: 0;
}

p {
  margin: 0;
}

.lead {
  color: var(--muted);
  font-size: 1.16rem;
  max-width: 740px;
  margin-top: 22px;
}

.hero h1,
.hero h2,
.hero h3 {
  color: #fff;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.24rem;
}

.hero .card h3 {
  color: var(--deep);
}

.hero .card p {
  color: var(--muted);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  max-width: 780px;
}

.hero-point {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: #fff;
  font-weight: 750;
  font-size: 0.94rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 6px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(231, 74, 62, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(251, 87, 112, 0.28);
}

.button.secondary {
  background: transparent;
  color: var(--accent);
  box-shadow: none;
}

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

.button.secondary:hover {
  background: rgba(231, 74, 62, 0.08);
}

.portrait-panel {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
  isolation: isolate;
}

.portrait-panel::before {
  content: "";
  position: absolute;
  inset: 28px -18px -18px 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  z-index: -1;
}

.portrait-panel img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  filter: saturate(0.92) contrast(1.04);
}

.advisor-card {
  margin: -38px 18px 0;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
}

.advisor-card strong {
  display: block;
  color: var(--navy);
  font-size: 1.2rem;
}

.advisor-card span {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-size: 0.95rem;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--deep);
  border-top: 0;
  border-bottom: 0;
}

.trust-item {
  background: transparent;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding: 26px 24px;
  text-align: center;
  color: #fff;
  font-weight: 800;
}

.trust-item:last-child {
  border-right: 0;
}

.section-header {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-header p {
  color: var(--muted);
  margin-top: 14px;
  font-size: 1.06rem;
}

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

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
  align-items: start;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.card:hover,
.fit-card:hover {
  border-color: rgba(231, 74, 62, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card p,
.copy p,
.copy li {
  color: var(--muted);
}

.card p {
  margin-top: 12px;
}

.card a {
  display: inline-block;
  color: var(--accent);
  font-weight: 750;
  text-decoration: none;
  margin-top: 18px;
}

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

.fit-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  min-height: 180px;
  box-shadow: var(--shadow-soft);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.fit-card:nth-child(1),
.fit-card:nth-child(4) {
  background: linear-gradient(180deg, #ffffff 0%, var(--soft) 100%);
}

.fit-card:nth-child(2),
.fit-card:nth-child(5) {
  border-top: 4px solid var(--navy);
}

.fit-card:nth-child(3),
.fit-card:nth-child(6) {
  border-top: 4px solid var(--accent);
}

.fit-card h3 {
  margin-top: 10px;
}

.fit-card p {
  color: var(--muted);
  margin-top: 12px;
}

.method {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.method-step {
  padding: 26px 22px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(245, 245, 253, 0.7), rgba(255, 255, 255, 0));
}

.method-step:last-child {
  border-right: 0;
}

.method-step p {
  color: var(--muted);
  margin-top: 12px;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.proof-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.proof-item p {
  color: var(--muted);
  margin-top: 8px;
}

.faq {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
}

.faq summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 800;
}

.faq p {
  color: var(--muted);
  margin-top: 12px;
}

.number {
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 12px;
}

.band {
  background:
    linear-gradient(135deg, rgba(235, 238, 252, 0.8), rgba(245, 245, 253, 0.96)),
    var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.copy {
  max-width: 820px;
}

.copy h2,
.copy h3 {
  margin-top: 32px;
}

.copy h2:first-child,
.copy h3:first-child {
  margin-top: 0;
}

.copy p,
.copy ul,
.copy ol {
  margin-top: 16px;
}

.copy li + li {
  margin-top: 10px;
}

.note {
  border-left: 4px solid var(--accent);
  background: #fff3f1;
  padding: 18px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--deep);
}

.price-card {
  position: relative;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 30px;
  color: var(--ink);
  overflow: hidden;
}

.price-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--accent), var(--rose), var(--navy));
}

.price-card .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  color: var(--navy);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
}

.price-card .eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.price-card h3,
.price-card p {
  color: var(--deep);
}

.price-card h3 {
  margin-top: 18px;
  font-size: 1.35rem;
}

.price-card p {
  color: var(--muted);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0 8px;
}

.price strong {
  font-size: 3.6rem;
  line-height: 1;
  color: var(--deep);
}

.price span {
  color: var(--muted);
  font-weight: 700;
}

.price-card ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  border-top: 1px solid var(--line);
  padding: 10px 0;
  color: var(--muted);
}

.price-card li::marker {
  color: var(--accent);
}

.price-card .button {
  width: 100%;
  min-height: 50px;
  margin-top: 4px;
}

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

.metric-pill {
  min-height: 110px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.metric-pill strong {
  display: block;
  color: var(--deep);
  line-height: 1.2;
}

.metric-pill span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 8px;
}

.split-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.check-list,
.plain-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li + li,
.plain-list li + li {
  margin-top: 12px;
}

.check-list li::before,
.plain-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
}

.check-list li::before {
  content: "+";
}

.plain-list li::before {
  content: "-";
}

.cta-band {
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, #0b0314 0%, #18407c 78%, #d71362 128%);
  color: #fff;
  padding: 42px;
  box-shadow: var(--shadow);
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
}

.legal-list {
  margin-top: 22px;
  padding-left: 20px;
  color: var(--muted);
}

.legal-list li + li {
  margin-top: 10px;
}

.form-frame {
  width: 100%;
  min-height: 1280px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.site-footer {
  background:
    linear-gradient(135deg, #0b0314 0%, #18407c 90%);
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding-top: 42px;
  padding-bottom: 42px;
}

.footer-inner p,
.footer-inner a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner a {
  display: block;
  text-decoration: none;
  margin-top: 8px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

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

.small {
  font-size: 0.92rem;
  margin-top: 14px;
}

@media (max-width: 900px) {
  .hero-inner,
  .two-col,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .grid,
  .trust-row,
  .fit-grid,
  .method,
  .proof-grid,
  .metric-grid,
  .split-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .method-step:nth-child(2) {
    border-right: 0;
  }

  .method-step:nth-child(1),
  .method-step:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .hero-inner,
  .section,
  .footer-inner {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .home-hero .hero-inner {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .brand {
    min-width: 0;
  }

  .brand::after {
    display: none;
  }

  .grid,
  .trust-row,
  .fit-grid,
  .method,
  .proof-grid,
  .metric-grid,
  .split-list,
  .hero-points {
    grid-template-columns: 1fr;
  }

  .method-step,
  .method-step:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .method-step:last-child {
    border-bottom: 0;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-inner,
  .home-hero .hero-inner {
    min-height: auto;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .cta-band {
    padding: 28px 22px;
  }

  .price strong {
    font-size: 3rem;
  }
}
