
:root {
  --navy: #062843;
  --navy-2: #07345c;
  --blue: #1098d7;
  --blue-2: #37b4ed;
  --ink: #172330;
  --muted: #5d6b78;
  --light: #f4f8fb;
  --line: #dce8f0;
  --white: #ffffff;
  --whatsapp: #18a957;
  --radius: 22px;
  --shadow: 0 22px 55px rgba(6, 40, 67, .16);
  --shadow-soft: 0 12px 35px rgba(6, 40, 67, .10);
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }

.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.88);
  font-size: 14px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  align-items: center;
}
.topbar a { color: rgba(255,255,255,.92); }
.topbar-links { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(220,232,240,.9);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 245px; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand strong { display: block; font-size: 20px; color: var(--navy); line-height: 1.1; letter-spacing: -.3px; }
.brand span span { display: block; font-size: 12px; color: var(--muted); line-height: 1.2; margin-top: 2px; }

.menu { display: flex; align-items: center; gap: 22px; font-size: 15px; color: #263746; font-weight: 700; }
.menu a:hover, .menu a.active { color: var(--blue); }
.mobile-toggle {
  display: none;
  border: 0;
  background: var(--light);
  color: var(--navy);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 24px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .2s ease;
  line-height: 1.2;
  text-align: center;
}
.btn-primary {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(24,169,87,.24);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(24,169,87,.30); }
.btn-secondary {
  color: var(--navy);
  background: var(--white);
  border-color: rgba(6,40,67,.16);
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,.40);
  background: rgba(255,255,255,.06);
}
.btn-outline:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }

.hero, .page-hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(16,152,215,.22), transparent 34%),
    linear-gradient(135deg, var(--navy), var(--navy-2) 58%, #0a4f83);
  color: var(--white);
  overflow: hidden;
  position: relative;
  padding: 0;
}
.hero::after, .page-hero::after {
  content: "";
  position: absolute;
  inset: auto -120px -260px auto;
  width: 520px;
  height: 520px;
  background: rgba(55,180,237,.12);
  border-radius: 50%;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 52px;
  align-items: center;
  padding: 36px 0 58px;
  position: relative;
  z-index: 1;
}
.page-hero .container {
  padding: 36px 0 56px;
  position: relative;
  z-index: 1;
  max-width: var(--container);
}
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255,255,255,.76);
  margin-bottom: 24px;
}
.breadcrumb a { color: rgba(255,255,255,.95); text-decoration: underline; text-underline-offset: 3px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.92);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--blue-2);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(55,180,237,.15);
}
h1 {
  font-size: clamp(38px, 5.6vw, 66px);
  line-height: 1.04;
  letter-spacing: -1.9px;
  margin: 0 0 22px;
}
.page-hero h1 { max-width: 850px; }
.hero p, .page-hero p {
  color: rgba(255,255,255,.86);
  font-size: 19px;
  max-width: 760px;
  margin: 0 0 22px;
}
.hero-actions, .page-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 26px; }
.hero-note {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.82);
  font-size: 14px;
}
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.check {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(55,180,237,.18);
  color: var(--blue-2);
  font-weight: 900;
  flex: 0 0 auto;
}
.hero-card { position: relative; width: min(470px, 100%); margin-left: auto; }
.hero-photo {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
}
.hero-photo img { width: 100%; height: 620px; object-fit: cover; object-position: center top; }
.credential-card {
  position: absolute;
  left: -32px;
  bottom: 32px;
  width: 300px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.7);
}
.credential-card strong { display: block; color: var(--navy); font-size: 18px; line-height: 1.25; }
.credential-card span { color: var(--muted); font-size: 14px; display: block; margin-top: 4px; }

section { padding: 82px 0; }
.section-light { background: var(--light); }
.section-title { max-width: 790px; margin-bottom: 38px; }
.section-title.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  color: var(--blue);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.1px;
  margin-bottom: 8px;
}
h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  margin: 0 0 14px;
  color: var(--navy);
  letter-spacing: -.8px;
}
h3 { margin: 0 0 12px; color: var(--navy); font-size: 23px; line-height: 1.25; }
.section-title p, .card p, .about-text p, .faq-item p, .content-card p, .split p { color: var(--muted); margin: 0; }

.services-grid, .two-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.three-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card, .service-card, .content-card, .faq-item, .step, .trust-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.service-card { padding: 34px; position: relative; overflow: hidden; }
.service-card::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(16,152,215,.08);
}
.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  background: #e8f6fd;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 30px;
  margin-bottom: 20px;
}
.service-card ul, .check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
  display: grid;
  gap: 9px;
}
.service-card li, .check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #334556;
  font-size: 15px;
}
.service-card li::before, .check-list li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 900;
  margin-top: -1px;
}
.content-card { padding: 28px; }
.content-card h3 { font-size: 21px; }
.highlight-card {
  background: linear-gradient(135deg, #eaf6fc, #ffffff);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 34px;
}
.highlight-card p { color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.step { padding: 24px; min-height: 210px; }
.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 18px;
}
.step p, .trust-card p { color: var(--muted); margin: 0; font-size: 15px; }

.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.trust-card { padding: 24px; box-shadow: 0 10px 24px rgba(6,40,67,.06); }
.trust-card strong { color: var(--navy); font-size: 18px; display: block; margin-bottom: 6px; }

.about, .split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: center; }
.book-cover {
  width: min(320px, 100%);
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.book-cover img { width: 100%; height: auto; }
.about-img {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy);
}
.about-img img { height: 620px; width: 100%; object-fit: cover; object-position: center top; }
.signature { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 30px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eaf6fc;
  color: var(--navy);
  font-weight: 800;
  font-size: 14px;
}

.locations {
  background:
    linear-gradient(135deg, rgba(6,40,67,.95), rgba(7,52,92,.95)),
    radial-gradient(circle at 10% 15%, rgba(16,152,215,.35), transparent 32%);
  color: var(--white);
  border-radius: 34px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow);
}
.locations h2 { color: var(--white); }
.locations p { color: rgba(255,255,255,.82); margin: 0; }
.city-list { display: flex; flex-wrap: wrap; gap: 10px; }
.city-list span {
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.08);
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255,255,255,.92);
  font-weight: 700;
}

.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.faq-item { padding: 24px; box-shadow: none; }

.page-hero .article-meta { font-size: 15px; color: rgba(255,255,255,.72); }
.article-body { max-width: 820px; margin: 0 auto; color: #334556; }
.article-body h2 { font-size: 28px; margin: 36px 0 12px; }
.article-body h3 { font-size: 20px; margin: 26px 0 8px; }
.article-body p { color: #334556; margin: 0 0 16px; }
.article-body ul, .article-body ol { padding-left: 22px; margin: 0 0 18px; display: grid; gap: 8px; color: #334556; }
.article-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.article-body th { background: var(--light); color: var(--navy); }

.simulador {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 34px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: center;
}
.sim-field { margin-bottom: 22px; }
.sim-field label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.sim-field input[type="range"] { width: 100%; accent-color: var(--blue); }
.sim-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }
.sim-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}
.sim-check { display: flex; align-items: center; gap: 10px; }
.sim-check input { width: 18px; height: 18px; accent-color: var(--blue); }
.sim-check label { margin: 0; color: #334556; font-weight: 600; }
.sim-valor-display { color: var(--blue); }
.sim-result {
  background:
    radial-gradient(circle at 20% 20%, rgba(55,180,237,.18), transparent 32%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
  border-radius: 22px;
  padding: 32px;
  text-align: center;
}
.sim-result .sim-total { font-size: 46px; font-weight: 800; margin: 6px 0 18px; }
.sim-result small { color: rgba(255,255,255,.72); display: block; margin-top: 14px; font-size: 13px; line-height: 1.5; }

.cta {
  background:
    radial-gradient(circle at 20% 20%, rgba(55,180,237,.18), transparent 32%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
  border-radius: 34px;
  padding: 52px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow);
}
.cta h2 { color: var(--white); }
.cta p { color: rgba(255,255,255,.82); margin: 0; max-width: 760px; }

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
}
.contact-info { padding: 42px; }
.contact-list { display: grid; gap: 14px; margin: 26px 0 30px; }
.contact-line { display: flex; gap: 12px; align-items: flex-start; color: #334556; }
.contact-line strong { display: block; color: var(--navy); }
.contact-panel {
  background:
    radial-gradient(circle at 20% 20%, rgba(55,180,237,.18), transparent 32%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-panel h3 { color: var(--white); font-size: 30px; }
.contact-panel p { color: rgba(255,255,255,.82); margin: 0 0 24px; }

footer { background: #041d31; color: rgba(255,255,255,.82); padding: 34px 0; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 42px; height: 42px; background: var(--white); border-radius: 10px; padding: 4px; }
.footer-brand strong { color: var(--white); display: block; line-height: 1.1; }

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: 999px;
  padding: 14px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  box-shadow: 0 15px 35px rgba(24,169,87,.35);
}

@media (max-width: 980px) {
  .topbar .container { align-items: flex-start; flex-direction: column; gap: 5px; }
  .mobile-toggle { display: inline-flex; }
  .menu {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 86px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    padding: 12px;
  }
  .menu.open { display: flex; }
  .menu a { padding: 12px; border-radius: 12px; }
  .menu a:hover { background: var(--light); }
  .menu .btn { margin-top: 8px; }
  .hero .container, .about, .split, .locations, .contact-card, .cta, .simulador { grid-template-columns: 1fr; }
  .hero-card { margin: 0; }
  .hero-photo img, .about-img img { height: auto; max-height: 700px; }
  .credential-card { left: 18px; right: 18px; width: auto; }
  .services-grid, .faq, .two-grid { grid-template-columns: 1fr; }
  .steps, .trust-grid, .three-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--container)); }
  .topbar { display: none; }
  .nav { min-height: 70px; }
  .brand { min-width: 0; }
  .brand strong { font-size: 18px; }
  .brand span span {
    display: block;
    font-size: 11px;
    line-height: 1.15;
    max-width: 210px;
  }
  .brand img { width: 42px; height: 42px; }
  .menu { top: 76px; left: 14px; right: 14px; }
  .hero .container, .page-hero .container { padding: 18px 0 44px; gap: 28px; }
  .hero p, .page-hero p { font-size: 17px; }
  .hero-actions, .page-actions { flex-direction: column; }
  .btn { width: 100%; }
  section { padding: 58px 0; }
  .service-card, .locations, .contact-info, .contact-panel, .cta, .highlight-card { padding: 26px; }
  .simulador { grid-template-columns: 1fr; padding: 26px; gap: 26px; }
  .sim-result .sim-total { font-size: 38px; }
  .steps, .trust-grid, .three-grid { grid-template-columns: 1fr; }
  .floating-whatsapp { right: 14px; bottom: 14px; padding: 14px 15px; }
  .floating-whatsapp .fw-label { display: none; }
}
