:root {
  --ink: #071426;
  --muted: #5d6470;
  --paper: #fffdf7;
  --surface: #ffffff;
  --teal: #003893;
  --teal-deep: #071426;
  --teal-ink: #050b13;
  --teal-soft: #dce7f8;
  --colombia-gold: #fcd116;
  --colombia-blue: #003893;
  --colombia-red: #ce1126;
  --gold: var(--colombia-gold);
  --coral: var(--colombia-red);
  --line: rgba(7, 20, 38, 0.14);
  --shadow: 0 18px 48px rgba(7, 20, 38, 0.14);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(252, 209, 22, 0.12), transparent 360px),
    var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(20px, 5vw, 56px);
  color: #ffffff;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 0;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  background: #111111;
  object-fit: cover;
  object-position: center;
}

.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark {
  border-color: rgba(7, 63, 60, 0.22);
}

.nav {
  gap: 28px;
  font-size: 0.94rem;
  font-weight: 680;
}

.nav a {
  opacity: 0.88;
}

.nav a:hover {
  opacity: 1;
}

.nav a[aria-current="page"] {
  color: var(--colombia-gold);
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  flex: 0 0 44px;
  height: 44px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--teal-ink);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 11, 19, 0.88) 0%, rgba(7, 20, 38, 0.64) 42%, rgba(7, 20, 38, 0.18) 76%),
    linear-gradient(0deg, rgba(0, 56, 147, 0.16), rgba(252, 209, 22, 0.08));
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 5px;
  content: "";
  background: linear-gradient(
    90deg,
    var(--colombia-gold) 0 50%,
    var(--colombia-blue) 50% 75%,
    var(--colombia-red) 75% 100%
  );
  opacity: 0.82;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 82svh;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 96px 0 56px;
  color: #ffffff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 6.5vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
}

.mobile-break {
  display: none;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 760;
}

.button-primary {
  background: var(--gold);
  color: var(--teal-ink);
}

.button-primary:hover {
  background: #ffe15f;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

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

.section-inner {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.intro-band,
.product-section,
.company-section,
.contact-section {
  padding: clamp(56px, 8vw, 104px) 0;
}

.intro-band {
  background:
    linear-gradient(90deg, rgba(252, 209, 22, 0.13), transparent 46%),
    linear-gradient(135deg, rgba(0, 56, 147, 0.2), transparent 56%),
    var(--teal-deep);
  color: #ffffff;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(140px, 240px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.intro-grid h2,
.product-copy h2,
.company-grid h2,
.contact-layout h2 {
  margin: 0;
  font-size: clamp(2rem, 4.3vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.intro-grid p:not(.section-kicker),
.product-copy p,
.contact-actions p {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.product-section {
  background:
    linear-gradient(180deg, rgba(252, 209, 22, 0.08), transparent 280px),
    var(--paper);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: start;
}

.product-copy {
  position: sticky;
  top: 112px;
}

.product-copy .section-kicker,
.company-section .section-kicker,
.contact-section .section-kicker {
  color: var(--coral);
}

.product-copy p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 26px;
  color: var(--colombia-blue);
  font-weight: 780;
  border-bottom: 2px solid currentColor;
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  content: "";
  background: linear-gradient(
    180deg,
    var(--colombia-gold) 0 50%,
    var(--colombia-blue) 50% 75%,
    var(--colombia-red) 75% 100%
  );
}

.feature-index {
  color: var(--colombia-blue);
  font-weight: 840;
}

.feature-card h3,
.principles h3 {
  margin: 0;
  font-size: 1.18rem;
  letter-spacing: 0;
}

.feature-card p,
.principles p {
  margin: 8px 0 0;
  color: var(--muted);
}

.company-section {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(252, 209, 22, 0.16), transparent 36%),
    linear-gradient(315deg, rgba(206, 17, 38, 0.14), transparent 38%),
    linear-gradient(90deg, rgba(0, 56, 147, 0.2), transparent 54%),
    var(--teal-ink);
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.78fr) minmax(300px, 0.78fr);
  gap: clamp(36px, 7vw, 84px);
  align-items: center;
}

.brand-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
}

.brand-panel img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.principles {
  display: grid;
  gap: 26px;
}

.principles article {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.principles p {
  color: rgba(255, 255, 255, 0.7);
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(252, 209, 22, 0.16), transparent 44%),
    var(--surface);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.contact-actions {
  align-content: start;
}

.contact-actions p {
  color: var(--muted);
}

.contact-actions p a {
  color: var(--colombia-blue);
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  font-weight: 720;
  color: var(--teal-deep);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.subpage-main {
  min-height: 100svh;
  background: var(--paper);
}

.page-hero {
  padding: clamp(132px, 17vw, 184px) 0 clamp(64px, 9vw, 112px);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(252, 209, 22, 0.18), transparent 34%),
    linear-gradient(315deg, rgba(206, 17, 38, 0.16), transparent 36%),
    linear-gradient(90deg, rgba(0, 56, 147, 0.28), transparent 58%),
    var(--teal-ink);
}

.page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3rem, 6.5vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.page-hero a {
  color: var(--colombia-gold);
  font-weight: 780;
}

.legal-section,
.support-section {
  padding: clamp(56px, 8vw, 104px) 0;
}

.legal-docs {
  display: grid;
  gap: 24px;
}

.doc-card,
.support-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.doc-card {
  padding: clamp(24px, 5vw, 48px);
}

.doc-card h2,
.support-layout h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.02;
}

.doc-card p,
.support-layout p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.04rem;
}

.doc-card a,
.support-layout a {
  color: var(--colombia-blue);
  font-weight: 760;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: start;
}

.support-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
}

.support-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 760;
}

.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

.support-form input,
.support-form select {
  min-height: 46px;
  padding: 0 12px;
}

.support-form textarea {
  min-height: 160px;
  resize: vertical;
  padding: 12px;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
  outline: 3px solid rgba(252, 209, 22, 0.45);
  outline-offset: 1px;
  border-color: var(--colombia-blue);
}

.support-form .button {
  width: 100%;
  cursor: pointer;
}

.form-note {
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 840px) {
  .site-header {
    height: 66px;
    padding-inline: 20px;
  }

  .nav-toggle {
    display: block;
    position: fixed;
    top: 11px;
    right: 20px;
    z-index: 30;
  }

  .nav {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 10px 20px 22px;
    background: rgba(251, 251, 247, 0.97);
    color: var(--ink);
    box-shadow: 0 18px 34px rgba(13, 36, 32, 0.12);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .hero,
  .hero-content {
    min-height: 82svh;
  }

  .hero-image {
    object-position: 63% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 28, 27, 0.82) 0%, rgba(5, 28, 27, 0.54) 62%, rgba(5, 28, 27, 0.2) 100%),
      linear-gradient(0deg, rgba(5, 28, 27, 0.2), rgba(5, 28, 27, 0.04));
  }

  .hero h1 {
    max-width: 620px;
  }

  .intro-grid,
  .product-layout,
  .company-grid,
  .contact-layout,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .brand-panel {
    max-width: 420px;
  }

  .product-copy {
    position: static;
  }

  .feature-card {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 20px;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero-content {
    width: min(100% - 32px, var(--max));
    padding-bottom: 38px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 9.5vw, 2.85rem);
    line-height: 1;
    text-wrap: auto;
  }

  .mobile-break {
    display: inline;
  }

  .desktop-space {
    display: none;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section-inner {
    width: min(100% - 32px, var(--max));
  }

  .footer-inner {
    flex-direction: column;
  }

  .page-hero h1 {
    font-size: clamp(2.5rem, 11vw, 3.3rem);
  }
}
