:root {
  --navy: #0b1f3a;
  --blue: #1e5b9a;
  --beige: #f7f3ea;
  --white: #ffffff;
  --gold: #d9a441;
  --ink: #182235;
  --muted: #5f6b7a;
  --line: #e5eaf0;
  --soft-blue: #eef5fb;
  --shadow: 0 18px 45px rgba(11, 31, 58, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

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

.skip-link:focus {
  z-index: 100;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--navy);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(229, 234, 240, 0.8);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.08);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  transition: transform 0.22s ease;
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(11, 31, 58, 0.12);
  box-shadow: 0 8px 18px rgba(11, 31, 58, 0.08);
  overflow: hidden;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.brand:hover .brand-mark {
  transform: rotate(-4deg) scale(1.04);
  box-shadow: 0 12px 26px rgba(11, 31, 58, 0.14);
}

.brand-mark img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--navy);
  font-size: 1.02rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: -2px;
}

.site-nav {
  display: none;
  position: absolute;
  left: 16px;
  right: 16px;
  top: 76px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: grid;
}

.site-nav a {
  padding: 11px 12px;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.94rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover {
  color: var(--blue);
}

.nav-cta {
  color: var(--white) !important;
  background: var(--blue);
  border-radius: var(--radius);
  text-align: center;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle-line,
.nav-toggle-line::before,
.nav-toggle-line::after {
  width: 20px;
  height: 2px;
  display: block;
  background: var(--navy);
  content: "";
}

.nav-toggle-line::before {
  transform: translateY(-7px);
}

.nav-toggle-line::after {
  transform: translateY(5px);
}

.section {
  padding: 76px 0;
}

.hero {
  --hero-shift: 0px;
  --hero-bg-y: 34%;
  padding: 34px 0 46px;
  background:
    linear-gradient(115deg, rgba(11, 31, 58, 0.96), rgba(30, 91, 154, 0.88)),
    url("/assets/img/Fernando%20Collier.jpg") center calc(var(--hero-bg-y) + var(--hero-shift)) / cover;
  color: var(--white);
  overflow: hidden;
}

.landing-hero {
  min-height: auto;
}

.colombia-hero {
  padding-bottom: 56px;
}

.colombia-hero-grid {
  display: grid;
  gap: 24px;
}

.colombia-hero-content {
  max-width: 720px;
}

.colombia-hero-panel {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.colombia-panel-photo {
  width: 100%;
  height: clamp(190px, 26vw, 275px);
  object-fit: cover;
  object-position: center 22%;
  margin-bottom: 20px;
  border-radius: var(--radius);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.colombia-hero-panel h2 {
  color: var(--white);
  font-size: 1.25rem;
}

.colombia-hero-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.colombia-broker-card {
  display: none;
}

.colombia-snapshot {
  padding: 28px 0;
  background: var(--navy);
  color: var(--white);
}

.snapshot-grid {
  display: grid;
  gap: 14px;
}

.snapshot-grid article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.snapshot-grid span {
  color: var(--gold);
  font-weight: 800;
}

.snapshot-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.colombia-context {
  background: linear-gradient(180deg, var(--white), #fbfcfe);
}

.colombia-editorial {
  display: grid;
  gap: 24px;
}

.colombia-editorial p {
  color: var(--muted);
  font-size: 1.06rem;
}

.colombia-process-section {
  background: #f2f7fc;
}

.colombia-reassurance {
  background: var(--white);
}

.hero-grid,
.contact-grid,
.human-grid,
.two-column {
  display: grid;
  gap: 34px;
}

.hero-content {
  max-width: 720px;
  animation: heroContentIn 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(2.25rem, 5.2vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(1.8rem, 4.8vw, 3.05rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.25;
}

.hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.03rem;
}

.hero-title-accent {
  margin-bottom: 16px;
  color: var(--gold) !important;
  font-size: clamp(1.42rem, 3vw, 2.05rem) !important;
  font-weight: 800;
  line-height: 1.08;
}

.hero-subtitle {
  color: var(--white) !important;
  font-weight: 700;
  font-size: clamp(1.08rem, 2.3vw, 1.22rem) !important;
}

.hero-human {
  max-width: 640px;
  padding-left: 16px;
  border-left: 4px solid var(--gold);
  color: var(--white) !important;
  font-weight: 700;
}

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

.hero-proof {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.95rem !important;
  font-weight: 800;
}

.hero-urgency {
  margin: 18px 0 0;
  padding: 12px 14px;
  display: inline-flex;
  border: 1px solid rgba(217, 164, 65, 0.48);
  border-radius: var(--radius);
  background: rgba(217, 164, 65, 0.14);
  color: var(--white) !important;
  font-size: 0.98rem !important;
  font-weight: 800;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

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

.button-primary {
  background: #e2ad3d;
  color: var(--navy);
  box-shadow: 0 12px 28px rgba(217, 164, 65, 0.34);
}

.button-primary:hover {
  background: #edbd52;
  box-shadow: 0 18px 38px rgba(217, 164, 65, 0.42);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--white);
}

.hero-card {
  --portrait-shift: 0px;
  overflow: hidden;
  align-self: start;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translateY(var(--portrait-shift));
  animation: heroCardIn 820ms 120ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-card:hover {
  box-shadow: 0 24px 62px rgba(11, 31, 58, 0.22);
}

.broker-photo {
  width: 100%;
  aspect-ratio: 0.92 / 1;
  object-fit: cover;
}

.broker-card-copy {
  padding: 18px;
}

.broker-card-copy strong,
.broker-card-copy span {
  display: block;
}

.broker-card-copy span {
  color: var(--muted);
  margin-bottom: 14px;
}

.broker-card-copy img {
  width: 190px;
}

.section-light {
  background: var(--beige);
}

.intro-strip {
  padding: 30px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.intro-strip-grid {
  display: grid;
  gap: 16px;
}

.intro-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.intro-strip strong {
  color: var(--navy);
}

.micro-cta {
  padding: 30px 0;
  background: #fbfcfe;
  color: var(--navy);
  border-block: 1px solid var(--line);
}

.micro-cta-light {
  background: var(--beige);
}

.micro-cta-inner {
  display: grid;
  gap: 14px;
  align-items: center;
}

.micro-cta p {
  margin: 0;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 800;
}

.text-link {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(30, 91, 154, 0.35);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.text-link:hover {
  color: var(--navy);
  text-decoration-color: var(--gold);
}

.hero-text-link {
  color: var(--gold);
  text-decoration-color: rgba(217, 164, 65, 0.58);
}

.hero-text-link:hover {
  color: var(--white);
  text-decoration-color: var(--white);
}

.narrow {
  max-width: 780px;
}

.narrow p,
.human-grid p,
.credibility-card p,
.contact-grid p,
.final-cta p {
  color: var(--muted);
  font-size: 1.05rem;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 18px 18px 18px 52px;
  background: var(--white);
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.06);
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.check-list li:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 91, 154, 0.22);
  box-shadow: 0 16px 34px rgba(11, 31, 58, 0.1);
}

.check-list li::before {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  content: "✓";
  font-size: 0.78rem;
  font-weight: 800;
}

.process-section {
  background: var(--soft-blue);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

.guidance-section {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.guidance-grid {
  display: grid;
  gap: 16px;
}

.guidance-card {
  min-height: 160px;
  padding: 24px;
  border: 1px solid rgba(30, 91, 154, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white), #fbfdff);
  box-shadow: 0 12px 26px rgba(11, 31, 58, 0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.guidance-card:hover {
  transform: translateY(-5px);
  border-color: rgba(217, 164, 65, 0.45);
  box-shadow: 0 20px 42px rgba(11, 31, 58, 0.12);
}

.guidance-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 800;
}

.process-grid {
  display: grid;
  gap: 18px;
}

.step-card {
  min-height: 235px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(11, 31, 58, 0.12);
}

.step-card span {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-weight: 800;
}

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

.human-section {
  background: var(--white);
}

.human-grid img {
  --image-shift: 0px;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translateY(var(--image-shift));
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.human-grid img:hover {
  box-shadow: 0 24px 58px rgba(11, 31, 58, 0.16);
}

.credibility-section {
  background: linear-gradient(135deg, #0b1f3a, #12365f);
}

.credibility-card {
  display: grid;
  gap: 26px;
  align-items: center;
  padding: 26px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.14);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credibility-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.18);
}

.credibility-card h2 {
  color: var(--navy);
  margin-bottom: 14px;
}

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

.credibility-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.credibility-tags span {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: var(--soft-blue);
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 800;
}

.credibility-card img {
  width: 245px;
  justify-self: center;
}

.contact-section {
  background: var(--beige);
}

.testimonials-section {
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  gap: 18px;
}

.testimonial-card {
  padding: 24px;
  border: 1px solid rgba(217, 164, 65, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fffdf8, var(--white));
  box-shadow: 0 14px 32px rgba(11, 31, 58, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(11, 31, 58, 0.12);
}

.testimonial-card p {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 700;
}

.stars {
  color: #c88f1c;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.contact-note {
  display: grid;
  gap: 4px;
  margin-top: 26px;
  padding-left: 18px;
  border-left: 4px solid var(--gold);
}

.contact-note strong {
  color: var(--navy);
}

.contact-note span {
  color: var(--muted);
}

.lead-form {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid rgba(30, 91, 154, 0.22);
  box-shadow: 0 22px 54px rgba(11, 31, 58, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.lead-form:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 91, 154, 0.34);
  box-shadow: 0 28px 68px rgba(11, 31, 58, 0.21);
}

.lead-form label {
  color: var(--navy);
  font-weight: 800;
  font-size: 0.92rem;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cfd8e3;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 3px solid rgba(217, 164, 65, 0.28);
  border-color: var(--gold);
}

.lead-form textarea {
  resize: vertical;
}

.honeypot {
  display: none;
}

.form-alert {
  padding: 12px 14px;
  border-radius: var(--radius);
  font-weight: 700;
}

.form-alert-success {
  background: #edf8f1;
  color: #176b38;
}

.form-alert-error {
  background: #fff0f0;
  color: #9d1c1c;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.05);
  transition: box-shadow 0.24s ease, border-color 0.24s ease;
}

.faq-item:hover {
  border-color: rgba(30, 91, 154, 0.18);
  box-shadow: 0 16px 34px rgba(11, 31, 58, 0.08);
}

.faq-question {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 0;
  background: var(--white);
  color: var(--navy);
  text-align: left;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.faq-question:hover {
  background: #fbfdff;
}

.faq-question::after {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--soft-blue);
  color: var(--blue);
  content: "+";
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.faq-question[aria-expanded="true"]::after {
  content: "-";
  transform: rotate(180deg);
  background: var(--blue);
  color: var(--white);
}

.faq-answer {
  padding: 0 20px 20px;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
}

.final-cta {
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.12) 42%, transparent 70%);
  content: "";
  transform: translateX(-100%);
  animation: softSheen 7s ease-in-out infinite;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
}

.final-cta h2,
.final-cta p {
  color: var(--white);
}

.final-cta-inner {
  max-width: 760px;
}

.seo-support {
  padding: 34px 0;
  background: #fbfcfe;
  border-top: 1px solid var(--line);
}

.seo-support .container {
  max-width: 880px;
}

.seo-support h2 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.seo-support p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.landing-narrow {
  max-width: 840px;
}

.landing-narrow p {
  color: var(--muted);
  font-size: 1.06rem;
}

.landing-process {
  margin-top: 8px;
}

.content-list {
  display: grid;
  gap: 16px;
}

.content-list article,
.info-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.06);
}

.content-list h3,
.info-card h3 {
  margin-bottom: 8px;
}

.content-list p,
.info-card li {
  color: var(--muted);
}

.content-list p {
  margin-bottom: 0;
}

.comparison-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.06);
}

.comparison-table > div {
  display: grid;
  grid-template-columns: 1fr;
}

.comparison-table > div:first-child {
  background: var(--navy);
  color: var(--white);
}

.comparison-table strong,
.comparison-table span {
  padding: 16px;
}

.comparison-table span {
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.before-after-grid {
  display: grid;
  gap: 18px;
}

.info-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.landing-cta {
  padding-block: 78px;
}

.internal-links {
  padding: 24px 0 44px;
  background: #fbfcfe;
  border-top: 1px solid var(--line);
}

.internal-links-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  color: var(--muted);
  font-size: 0.96rem;
}

.internal-links-inner a:not(.text-link) {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(30, 91, 154, 0.3);
  text-underline-offset: 4px;
}

.blog-hero,
.article-hero,
.admin-section {
  background: var(--beige);
}

.blog-hero h1,
.article-hero h1,
.admin-section h1 {
  color: var(--navy);
}

.blog-hero p,
.article-excerpt,
.admin-section p {
  color: var(--muted);
}

.blog-grid {
  display: grid;
  gap: 22px;
}

.blog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 32px rgba(11, 31, 58, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(11, 31, 58, 0.12);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card-body {
  padding: 22px;
}

.blog-meta {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
}

.blog-card h2 {
  margin-bottom: 10px;
  font-size: 1.28rem;
}

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

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
}

.empty-state {
  max-width: 720px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.article-featured-image {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: -44px;
  position: relative;
  z-index: 2;
}

.article-content {
  color: var(--ink);
  font-size: 1.08rem;
}

.article-content p,
.article-content ul,
.article-content ol {
  margin-bottom: 1.2rem;
}

.article-content h2,
.article-content h3 {
  margin-top: 2rem;
}

.article-content img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 1.8rem 0;
}

.article-content figure {
  margin: 2rem 0;
}

.article-content figure img {
  margin-bottom: .7rem;
}

.article-content figcaption {
  color: var(--muted);
  font-size: .92rem;
  text-align: center;
}

.article-cta {
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white);
  text-align: center;
}

.article-cta h2,
.article-cta p {
  color: var(--white);
}

.related-posts {
  background: var(--beige);
}

.admin-narrow {
  max-width: 560px;
}

.admin-editor {
  max-width: 920px;
}

.admin-topbar,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.admin-stats {
  display: grid;
  gap: 16px;
  margin: 28px 0;
}

.admin-stats article,
.admin-card,
.admin-form,
.admin-table-wrap {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.07);
}

.admin-stats strong {
  display: block;
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
}

.admin-stats span {
  color: var(--muted);
  font-weight: 800;
}

.admin-module-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.admin-module-card {
  display: grid !important;
  gap: 8px;
  min-height: 150px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(11, 31, 58, 0.08);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  align-content: center;
}

.admin-module-card:hover,
.admin-module-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(30, 91, 154, 0.34);
  box-shadow: 0 20px 42px rgba(11, 31, 58, 0.13);
}

.admin-module-card span {
  color: var(--navy);
  font-size: clamp(1.55rem, 2vw, 2.1rem);
  font-weight: 800;
  line-height: 1.05;
}

.admin-module-card small,
.admin-module-card em {
  color: var(--muted);
  font-size: .98rem;
  font-style: normal;
  line-height: 1.45;
}

.admin-form {
  display: grid;
  gap: 12px;
}

.admin-help {
  margin: -4px 0 4px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}

.admin-help code {
  display: block;
  margin-top: 8px;
  padding: 12px;
  overflow-x: auto;
  border-radius: 8px;
  background: var(--beige);
  color: var(--navy);
  font-size: .86rem;
}

.admin-form label,
.admin-form legend {
  color: var(--navy);
  font-weight: 800;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfd8e3;
  border-radius: var(--radius);
  background: var(--white);
}

.admin-image-preview {
  width: min(100%, 360px);
  max-height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-upload-form {
  margin: 24px 0;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.media-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.07);
}

.media-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--beige);
}

.media-card div {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.media-card strong,
.media-card code,
.media-card small {
  overflow-wrap: anywhere;
}

.media-card code {
  padding: 8px;
  border-radius: 8px;
  background: var(--beige);
  color: var(--navy);
  font-size: .82rem;
}

.media-card form {
  margin-top: 4px;
}

.media-card button.text-link {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.code-preview {
  overflow: auto;
  white-space: pre-wrap;
  padding: 14px;
  border-radius: var(--radius);
  background: #081626;
  color: #dbeafe;
  font-size: .92rem;
}

.email-test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.email-test-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.06);
}

.email-test-item span {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
}

.email-test-item .ok {
  background: #edf8f1;
  color: #176b38;
}

.email-test-item .missing {
  background: #fff0f0;
  color: #9d1c1c;
}

.calculator-hero {
  padding: 18px 0;
  background:
    linear-gradient(100deg, rgba(11, 31, 58, 0.96) 0%, rgba(30, 91, 154, 0.9) 64%, rgba(217, 164, 65, 0.7) 100%),
    url("../img/calculator-bg.svg") right -120px center / min(36vw, 430px) auto no-repeat;
  color: var(--white);
}

body:has(.calculator-hero) .section {
  padding-top: 50px;
  padding-bottom: 50px;
}

.calculator-hero .landing-narrow {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 2px;
  align-items: center;
  max-width: 1120px;
}

.calculator-hero h1 {
  grid-column: 2;
  margin: 0;
  color: var(--white);
  font-size: clamp(1.45rem, 2.8vw, 2.35rem);
  line-height: 1;
  letter-spacing: 0;
}

.calculator-hero p {
  grid-column: 2;
  max-width: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: .96rem;
}

.calculator-hero .eyebrow {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold);
  font-size: .72rem;
  letter-spacing: .08em;
}

.calculator-section {
  padding-top: 14px;
  padding-bottom: 24px;
  background: linear-gradient(180deg, rgba(247, 243, 234, 0.98), rgba(255, 255, 255, 0.98));
}

.calculator-layout {
  display: grid;
  gap: 18px;
}

.calculator-card,
.calculator-results-card,
.insight-card,
.calculator-faq article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(11, 31, 58, 0.08);
}

.calculator-card {
  display: grid;
  gap: 12px;
  padding: clamp(16px, 2.5vw, 22px);
}

.calculator-results-card {
  display: grid;
  gap: 12px;
  padding: clamp(16px, 2.5vw, 22px);
}

.calculator-field {
  display: grid;
  gap: 6px;
}

.calculator-field label {
  color: var(--navy);
  font-size: .92rem;
  font-weight: 800;
}

.calculator-field input,
.calculator-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cfd8e3;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font: inherit;
}

.two-inputs {
  grid-template-columns: 1fr;
}

.calculator-warning {
  padding: 10px 12px;
  border-radius: var(--radius);
  background: #fff4dc;
  color: #765000;
  font-weight: 800;
}

.calculator-results {
  display: grid;
  gap: 0;
  padding-top: 0;
}

.calculator-results div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.calculator-results span {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}

.calculator-results strong {
  color: var(--navy);
  font-size: .96rem;
  text-align: right;
}

.calculator-results .featured-result {
  order: -1;
  margin: 0 0 8px;
  padding: 12px;
  border: 0;
  border-radius: var(--radius);
  background: var(--navy);
}

.calculator-results .featured-result span,
.calculator-results .featured-result strong {
  color: var(--white);
}

.calculator-results .featured-result strong {
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  line-height: 1;
}

.calculator-note {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
}

.calculator-insights {
  display: grid;
  align-content: start;
}

.calculator-insights > div {
  display: grid;
  gap: 10px;
}

.insight-card {
  padding: 14px;
}

.insight-card h3 {
  margin-bottom: 6px;
  font-size: .98rem;
}

.insight-card p {
  margin: 0;
  font-size: .9rem;
  color: var(--muted);
}

.insight-card strong {
  display: block;
  margin-top: 12px;
  color: var(--blue);
}

.calculator-faq {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.calculator-faq article {
  padding: 18px;
}

.calculator-faq h3 {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.category-fieldset {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.category-fieldset label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 700;
}

.category-fieldset input {
  width: auto;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.admin-table th,
.admin-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table small {
  display: block;
  color: var(--muted);
}

.leads-table td {
  max-width: 320px;
}

.leads-table td:nth-child(4) {
  white-space: normal;
}

.status-pill {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.status-published {
  background: #edf8f1;
  color: #176b38;
}

.status-draft {
  background: #fff4dc;
  color: #7a5200;
}

.status-admin {
  background: #edf3fb;
  color: var(--blue);
}

.danger-link {
  color: #a31919;
}

.site-footer {
  padding: 46px 0 92px;
  background: #07162a;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h2 {
  color: var(--white);
  font-size: 1rem;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-brand .brand-mark {
  background: var(--white);
}

.footer-brand strong {
  color: var(--white);
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.64);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: var(--gold);
  font-weight: 800;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.footer-bottom a.footer-admin-link {
  opacity: .55;
  font-size: .88rem;
  font-weight: 700;
}

.footer-bottom a.footer-admin-link:hover,
.footer-bottom a.footer-admin-link:focus-visible {
  opacity: 1;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 680ms ease, transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroCardIn {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(var(--portrait-shift)) scale(1);
  }
}

@keyframes softSheen {
  0%, 58% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@media (min-width: 760px) {
  .section {
    padding: 92px 0;
  }

  .hero {
    min-height: 560px;
    display: grid;
    align-items: center;
  }

  .landing-hero {
    min-height: 520px;
  }

  .colombia-hero {
    min-height: 540px;
  }

  .colombia-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.55fr);
    align-items: center;
    gap: 42px;
  }

  .colombia-broker-card {
    display: none;
  }

  .snapshot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .colombia-editorial {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
  }

  .comparison-table > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .comparison-table strong + strong,
  .comparison-table span + span {
    border-left: 1px solid var(--line);
  }

  .comparison-table > div:first-child strong + strong {
    border-left-color: rgba(255, 255, 255, 0.18);
  }

  .before-after-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .calculator-layout {
    grid-template-columns: minmax(240px, .8fr) minmax(300px, .95fr) minmax(280px, .8fr);
    align-items: start;
  }

  .calculator-card,
  .calculator-results-card,
  .calculator-insights {
    min-height: min(520px, calc(100vh - 230px));
  }

  .calculator-card {
    grid-column: span 2;
    grid-template-columns: minmax(240px, .78fr) minmax(310px, 1fr);
    align-content: start;
  }

  .calculator-card .calculator-field,
  .calculator-card .two-inputs {
    grid-column: 1;
  }

  .calculator-card .calculator-warning,
  .calculator-card .calculator-results,
  .calculator-card .calculator-note {
    grid-column: 2;
  }

  .calculator-card .calculator-results {
    grid-row: 1 / span 5;
  }

  .calculator-card .calculator-warning {
    grid-row: 6;
  }

  .calculator-card .calculator-note {
    grid-row: 7;
  }

  .calculator-insights > div {
    max-height: min(520px, calc(100vh - 230px));
    overflow: auto;
    padding-right: 4px;
  }

  .two-inputs {
    grid-template-columns: 1fr 1fr;
  }

  .calculator-faq {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.72fr);
    align-items: start;
    gap: 42px;
  }

  .hero-content {
    padding-top: 24px;
    max-width: 640px;
  }

  .intro-strip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .two-column,
  .contact-grid,
  .human-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
  }

  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .guidance-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .micro-cta-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

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

  .credibility-card {
    grid-template-columns: minmax(0, 1fr) 280px;
    padding: 34px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .site-nav a {
    padding: 10px 11px;
  }

  .nav-cta {
    padding-inline: 16px !important;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .section {
    padding: 42px 0;
  }

  .hero {
    padding: 26px 0 34px;
  }

  .hero-grid {
    gap: 22px;
  }

  .hero-card {
    order: -1;
    width: min(100%, 255px);
    justify-self: center;
  }

  .broker-card-copy {
    padding: 14px;
  }

  body {
    font-size: 1.02rem;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 2.55rem);
    line-height: 1.04;
  }

  .hero-title-accent {
    font-size: clamp(1.25rem, 6vw, 1.65rem) !important;
  }

  .hero-subtitle {
    font-size: 1.05rem !important;
  }

  .intro-strip {
    padding: 22px 0;
  }

  h2 {
    font-size: clamp(1.55rem, 8vw, 2.15rem);
  }

  .brand small {
    display: none;
  }

  .hero-actions .button,
  .lead-form .button,
  .final-cta .button {
    width: 100%;
  }

  .lead-form {
    padding: 16px;
  }

  .calculator-hero {
    padding: 14px 0;
    background:
      linear-gradient(100deg, rgba(11, 31, 58, 0.97), rgba(30, 91, 154, 0.9)),
      url("../img/calculator-bg.svg") right -80px top / 220px auto no-repeat;
  }

  .calculator-hero .landing-narrow {
    grid-template-columns: 1fr;
    row-gap: 4px;
  }

  .calculator-hero h1 {
    display: block;
    grid-column: 1;
    margin: 0;
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }

  .calculator-hero p {
    display: block;
    grid-column: 1;
    font-size: .9rem;
  }

  .calculator-hero .eyebrow {
    display: inline-flex;
    grid-row: auto;
    grid-column: 1;
    justify-self: start;
    min-height: 0;
    padding: 5px 9px;
    margin: 0;
    font-size: .64rem;
  }

  .calculator-section {
    padding-top: 10px;
  }

  .calculator-card,
  .calculator-results-card {
    padding: 14px;
  }

  .calculator-field input,
  .calculator-field select {
    min-height: 44px;
  }

  .calculator-results div {
    padding: 7px 0;
  }

  .calculator-results .featured-result {
    padding: 12px;
  }

  .check-list li,
  .step-card,
  .guidance-card,
  .testimonial-card {
    padding-block: 16px;
  }

  .micro-cta {
    padding: 22px 0;
  }

  .micro-cta p {
    font-size: 1.08rem;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .hero-urgency {
    display: flex;
    font-size: 0.95rem !important;
  }

  .faq-question {
    min-height: 58px;
    padding: 16px;
  }

  .faq-answer {
    padding: 0 16px 16px;
  }
}

@media (max-width: 759px) {
  .calculator-layout {
    gap: 14px;
  }

  .calculator-insights > div {
    grid-template-columns: 1fr;
  }

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

  .admin-module-card {
    min-height: 132px;
    padding: 22px;
  }
}

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero,
  .hero-card,
  .human-grid img {
    transform: none !important;
  }
}
