/* ==========================================================================
   Check-Mig Colombia — landing styles
   Palette (Colombia): main blue #003893 · secondary red #CE1126 · accent yellow #FCD116
   ========================================================================== */

:root {
  --main-color: #003893;
  --secondary-color: #CE1126;
  --accent-color: #FCD116;
  --light-bg-color: #e2e8f4;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  line-height: 1.5;
  background: #fff;
}

h1, h2, h3, h4 { margin: 0; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
ul, ol { line-height: 26px; }

/* Layout helpers ---------------------------------------------------------- */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 576px)  { .container { max-width: 540px; } }
@media (min-width: 768px)  { .container { max-width: 720px; } }
@media (min-width: 992px)  { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

.container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.row { display: flex; flex-wrap: wrap; }
.center { display: flex; justify-content: center; }
.col-12, .col-md-12 { flex: 0 0 100%; max-width: 100%; }

/* Buttons ----------------------------------------------------------------- */
a.btn {
  background-color: var(--main-color);
  padding: 10px 25px;
  color: #fff;
  display: inline-block;
  border-radius: 6px;
  font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
a.btn svg { display: inline-block; vertical-align: middle; }
a.btn.main { background-color: var(--secondary-color); }
a.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* Header ------------------------------------------------------------------ */
#header {
  height: 80px;
  background: #fff;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  box-shadow: 0 0 10px #00000026;
  z-index: 20;
  position: sticky;
  top: 0;
}
#header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#header .logo a { display: flex; align-items: center; gap: 12px; line-height: 1; }
#header .logo a > div:last-child { display: flex; flex-direction: column; justify-content: center; gap: 3px; }
#header .logo .img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-size: cover;
  background-position: 50%;
  border: 1px solid #ddd;
  flex-shrink: 0;
}
#header .logo .header-title { font-weight: 700; font-size: 18px; color: var(--main-color); margin: 0; line-height: 1.1; }
#header .logo .description { font-size: 12px; color: #666; margin: 0; line-height: 1.1; }

#header .right { display: flex; align-items: center; gap: 15px; }

#languages { display: flex; align-items: center; gap: 10px; }
#languages .img {
  width: 30px; height: 30px;
  background-size: cover; background-position: 50%;
  border-radius: 50%;
}
#languages .language {
  display: inline-block;
  border-radius: 50%;
  opacity: .55;
  transition: opacity .15s, outline-color .15s;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  line-height: 0;
  outline: 2px solid transparent;
}
#languages .language.active, #languages .language:hover { opacity: 1; outline-color: var(--main-color); }

#contact { display: none; }
@media (min-width: 768px) { #contact { display: inline-block; } }
#contact a { color: var(--main-color); font-weight: 500; }

#apply a {
  display: inline-block;
  border: 1px solid var(--main-color);
  background: var(--main-color);
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  white-space: nowrap;
  font-weight: 600;
  transition: filter .15s;
}
@media (min-width: 600px) { #apply a { padding: 8px 28px; } }
#apply a:hover { filter: brightness(1.1); }
#apply a svg { display: inline; vertical-align: middle; }

@media (max-width: 520px) {
  #header .logo .description { display: none; }
  #header .logo .header-title { font-size: 15px; }
}

/* Hero / Jumbo ------------------------------------------------------------ */
#jumbo {
  min-height: 500px;
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
}
@media (max-width: 900px) { #jumbo { flex-wrap: wrap; } }

#jumbo #jumbo-left, #jumbo #jumbo-right { flex: 50% 0 0; display: flex; }
@media (max-width: 900px) { #jumbo #jumbo-left, #jumbo #jumbo-right { flex: 100% 0 0; } }

#jumbo #jumbo-left {
  background-size: cover;
  background-position: 50% 50%;
  border-bottom-right-radius: 40px;
  position: relative;
  color: #fff;
  overflow: hidden;
  justify-content: flex-end;
}
@media (max-width: 900px) { #jumbo #jumbo-left { border-bottom-right-radius: 0; text-align: center; justify-content: center; } }

#jumbo .overlay {
  background: #041a3ecc;
  height: 100%; width: 100%;
  position: absolute; inset: 0;
}

#jumbo #jumbo-left-content {
  width: 100%;
  max-width: 640px;
  padding: 120px 10px 80px;
  position: relative;
  text-align: left;
  z-index: 1;
}
@media (max-width: 900px) { #jumbo #jumbo-left-content { padding: 60px 10px 40px; } }

#jumbo #jumbo-left h1 {
  font-size: 34px;
  font-weight: 700;
  line-height: 40px;
  max-width: 450px;
  margin-bottom: 40px;
  color: #fff;
}
@media (max-width: 900px) { #jumbo #jumbo-left h1 { text-align: center; max-width: 100%; } }

#jumbo #jumbo-left p {
  margin: auto auto 40px;
  font-size: 22px;
  font-weight: 400;
  line-height: 34px;
  padding-right: 20px;
}
@media (max-width: 900px) { #jumbo #jumbo-left p { text-align: center; font-size: 16px; padding-right: 0; } }
@media (max-width: 900px) { #jumbo #jumbo-left-content { text-align: center; } }

#jumbo #path { position: absolute; right: 130px; top: 100px; width: 90px; }
@media (max-width: 1200px) { #jumbo #path { display: none; } }

/* CTA button that only shows on very small screens inside hero-left */
#jumbo .apply { text-align: center; display: none; }
@media (max-width: 399px) { #jumbo .apply { display: block; } }
#jumbo .apply a {
  margin: 0 auto 30px;
  display: inline-block;
  border: 1px solid #fff;
  padding: 8px 24px;
  border-radius: 6px;
}

/* Hero right — the 3 steps */
#jumbo #jumbo-right {
  align-items: center;
  justify-content: flex-start;
  background: #f7f9fc;
}
#jumbo #jumbo-right-content { width: 100%; max-width: 640px; text-align: center; padding: 40px 10px; margin: auto; }
#jumbo #jumbo-right h2 {
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  line-height: 34px;
  margin-bottom: 40px;
  color: var(--main-color);
  padding: 0 10px;
}
@media (max-width: 500px) { #jumbo #jumbo-right h2 { font-size: 20px; line-height: 28px; } }

#jumbo-steps {
  width: 100%;
  max-width: 600px;
  margin: auto;
  display: flex;
  justify-content: space-evenly;
  padding: 5px;
  gap: 5px;
}
@media (max-width: 900px) { #jumbo-steps { display: block; } }

#jumbo .step {
  white-space: normal;
  text-align: center;
  display: inline-block;
  vertical-align: top;
  max-width: 200px;
  margin: 0 auto 15px;
}
#jumbo .step .title {
  font-size: 20px;
  font-weight: 500;
  line-height: 39px;
  color: var(--main-color);
  margin: 0;
}
#jumbo .step .line {
  height: 3px;
  width: 100%;
  max-width: 100px;
  margin: 3px auto 20px;
  background: var(--accent-color);
  display: inline-block;
}
#jumbo .step .content {
  padding: 15px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #c4c4c4;
}
#jumbo .step .content svg { display: inline-block; height: 35px; }
#jumbo .step .content h3 { font-size: 16px; line-height: 24px; text-align: center; margin-top: 15px; font-weight: 600; }

#jumbo #jumbo-right a.btn {
  margin-top: 40px;
  box-shadow: 0 2px 10px #00000059;
  font-size: 20px;
}

/* Home content ------------------------------------------------------------ */
.home-content { padding: 20px 0; }
.home-content .home-section { margin: 20px 0 30px; }
.home-content .home-section .title h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 30px 0;
  text-align: center;
  color: var(--main-color);
}
.home-content .home-section.static { max-width: 860px; margin-left: auto; margin-right: auto; }
.home-content .content { font-weight: 400; font-size: 16px; line-height: 26px; text-align: center; }
.home-content .content h2 { font-size: 1.5rem; margin: 40px 0 20px; color: var(--main-color); text-align: center; }
.home-content .content h3 { font-size: 1.25rem; margin: 34px 0 15px; color: var(--secondary-color); text-align: center; }
.home-content .content ul, .home-content .content ol {
  padding-left: 0;
  list-style-position: inside;
  text-align: left;
  display: inline-block;
  max-width: 640px;
}
.home-content .content li { margin-bottom: 8px; }

/* FAQ --------------------------------------------------------------------- */
.faq h2 { font-size: 1.75rem; color: var(--main-color); margin: 20px 0; }
.faq-wrap { border-radius: 16px; overflow: hidden; }
.faq-item .faq-title {
  cursor: pointer;
  background: var(--main-color);
  color: #fff;
  position: relative;
  margin-top: 2px;
}
.faq-item .faq-title h3 { padding: 12px 40px 12px 12px; font-weight: 700; font-size: 16px; line-height: 24px; color: #fff; margin: 0; }
.faq-item .faq-title:after {
  content: "";
  display: inline-block;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 8px 8px 8px;
  border-color: transparent transparent #fff transparent;
  position: absolute;
  right: 15px; top: 18px;
  transition: transform .2s;
}
.faq-item .faq-content {
  max-height: 0;
  overflow: hidden;
  background: #eee;
  font-size: 14px;
  line-height: 24px;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 20px;
}
.faq-item.active .faq-content { max-height: 1000px; padding: 20px; }
.faq-item.active .faq-title:after { transform: rotate(180deg); }

/* Footer ------------------------------------------------------------------ */
#footer { background-color: var(--main-color); color: #fff; margin-top: 40px; }
#footer h3 { font-size: 16px; font-weight: 600; line-height: 24px; text-align: left; margin-bottom: 20px; text-transform: uppercase; }
#footer ul { margin: 0 0 30px; padding: 0; list-style: none; font-size: 14px; }
#footer ul a { text-decoration: underline; text-transform: capitalize; line-height: 38px; }
#footer .footer-container { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 40px; padding-bottom: 40px; }
#footer #first { display: flex; flex-direction: column; gap: 30px; flex: 0 0 100%; padding-bottom: 20px; }
@media (min-width: 900px) { #footer #first { flex: 3.5; } }
#footer #first .v-logo { display: flex; align-items: center; gap: 12px; }
#footer #first .v-logo .img { width: 60px; height: 60px; border-radius: 50%; background-size: cover; background-position: 50%; }
#footer #first .v-logo .header-title { font-weight: 700; font-size: 18px; }
#footer #first .v-logo .description { font-size: 12px; opacity: .85; }
#footer #second, #footer #third { flex: 1; min-width: 200px; }
#footer .ssl { display: flex; align-items: center; gap: 20px; }
#footer .ssl > div:last-child { line-height: 20px; font-size: 14px; font-weight: 700; padding-right: 20px; }
#footer .payment-services { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 5px; max-width: 380px; }
#footer .payment-services .payment-service {
  background: #fff;
  border-radius: 6px;
  aspect-ratio: 1.6;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--main-color);
}
#footer #third p { margin-top: 8px; display: inline-block; }
#footer a[rel="nofollow"] { text-decoration: underline; }
#legal { display: block; text-align: center; width: 100%; padding: 30px; }
#legal small { color: #cdd7ee; line-height: 1.6; }
#legal p { display: inline-block; border-top: 1px solid #ffffff40; padding: 30px 0 0; min-width: 250px; }

/* Application page (iframe) ----------------------------------------------- */
.form-hero { background: var(--main-color); color: #fff; padding: 40px 0; text-align: center; }
.form-hero h1 { font-size: 28px; margin-bottom: 10px; }
.form-hero p { font-size: 16px; opacity: .9; margin: 0; }
.form-embed { max-width: 1000px; margin: 30px auto; padding: 0 15px; }
.form-embed iframe { width: 100%; min-height: 900px; border: 1px solid #ddd; border-radius: 8px; }
