/* LATAM ads landing — regional overrides */

body.landing-latam .flag-rail-green,
body.landing-latam .flag-rail-red {
  background: var(--mx-green, #006847);
}

body.landing-latam .flag-bar {
  background: linear-gradient(
    90deg,
    var(--mx-green, #006847) 0%,
    var(--mx-green, #006847) 33.33%,
    #fff 33.33% 66.66%,
    var(--mx-red, #ce1126) 66.66%
  );
}

.latam-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1rem;
  margin-top: 1.75rem;
  padding: 1rem 1.15rem;
  background: var(--mx-green-light, #e8f5ef);
  border: 1px solid rgba(0, 104, 71, 0.15);
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--mx-green-dark, #004d34);
}

.latam-countries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.latam-country-card {
  background: #fff;
  border: 1.5px solid #c5ccd6;
  border-radius: 14px;
  padding: 1.15rem 1.2rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.latam-country-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.latam-country-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted, #5c6578);
  line-height: 1.45;
}

.latam-country-card strong {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.82rem;
  color: var(--ink, #0f172a);
}

.route-ports {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.route-port-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: #fff;
  font-size: 0.88rem;
}

.route-port-item span:first-child {
  font-size: 1.35rem;
  line-height: 1;
}

.route-port-item strong {
  display: block;
  margin-bottom: 0.15rem;
}

.route-port-item small {
  opacity: 0.88;
  line-height: 1.35;
}

@media (min-width: 640px) {
  .latam-countries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .latam-countries-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .route-ports {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .latam-countries-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Thank you page */
.thank-you-page {
  --mx-green: #006847;
  --mx-green-dark: #004d34;
  --mx-green-light: #e8f5ef;
  --mx-red: #ce1126;
  --ink: #0f172a;
  --muted: #5c6578;
  --line: #e4e8ef;
  background: #f3f5f8;
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
}
.thank-you-main {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem;
}
.thank-you-card {
  width: min(560px, 100%);
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--mx-red);
}
.thank-you-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--mx-green-light);
  color: var(--mx-green-dark);
  font-size: 2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thank-you-card .eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mx-green);
}
.thank-you-card h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 800;
}
.thank-you-lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}
.thank-you-steps {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  text-align: left;
}
.thank-you-steps li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line);
}
.thank-you-steps li:last-child { border-bottom: none; }
.thank-you-steps li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--mx-green);
  font-weight: 800;
}
.thank-you-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}
.thank-you-note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}
.thank-you-page .footer {
  background: var(--ink, #0f172a);
  color: rgba(255, 255, 255, 0.75);
  padding: 2rem 1rem;
}
.thank-you-page .footer-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}
.thank-you-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.thank-you-page .btn-wa {
  background: #25d366;
  color: #fff;
}
.thank-you-page .btn-outline {
  background: #fff;
  color: var(--mx-green-dark);
  border: 2px solid var(--line);
}
@media (min-width: 640px) {
  .thank-you-actions {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
  .thank-you-actions .btn { min-width: 220px; }
}
