.th-footer {
  --footer-bg: #0b1730;
  --footer-bg-soft: #102342;
  --footer-border: rgba(255, 255, 255, .11);
  --footer-text: #b9c5d8;
  --footer-heading: #ffffff;
  --footer-accent: #25c7b7;
  --footer-blue: #2f70ed;
  color: var(--footer-text);
  background: var(--footer-bg);
}

.th-footer * { box-sizing: border-box; }
.th-footer a { text-decoration: none; }

.th-footer .th-footer-cta {
  position: relative;
  overflow: hidden;
  padding: 34px 0;
  background: linear-gradient(105deg, #0b5ed7 0%, #174ca8 58%, #12377b 100%);
}

.th-footer .th-footer-cta::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -90px;
  top: -210px;
  border: 64px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
}

.th-footer .th-footer-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.th-footer .th-footer-cta__copy { max-width: 720px; }
.th-footer .th-footer-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #d9e8ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.th-footer .th-footer-cta h2 {
  margin: 0 0 7px;
  color: #fff !important;
  font-size: clamp(22px, 2.1vw, 31px);
  line-height: 1.22;
  letter-spacing: -.02em;
}

.th-footer .th-footer-cta p {
  margin: 0;
  color: rgba(255, 255, 255, .8) !important;
  font-size: 14px;
  line-height: 1.6;
}

.th-footer .th-footer-cta__actions { display: flex; flex: 0 0 auto; gap: 10px; }
.th-footer .th-footer-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 9px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.th-footer .th-footer-btn:hover { transform: translateY(-2px); }
.th-footer .th-footer-btn--primary { border-color: #fff; background: #fff; color: #0b5ed7 !important; }
.th-footer .th-footer-btn--primary:hover { background: #edf4ff; }
.th-footer .th-footer-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .11); }

.th-footer .footer-primary {
  padding: 55px 0 30px;
  background:
    radial-gradient(circle at 80% 10%, rgba(47, 112, 237, .13), transparent 34%),
    var(--footer-bg) !important;
}

.th-footer .th-footer-brandbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding-bottom: 34px;
  margin-bottom: 38px;
  border-bottom: 1px solid var(--footer-border);
}

.th-footer .th-footer-brand { max-width: 560px; }
.th-footer .th-footer-brand__name {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: #fff !important;
  font-family: "Quicksand", "Segoe UI", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.th-footer .th-footer-brand__mark {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 11px;
  background: linear-gradient(135deg, var(--footer-blue), #1da799);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
  font-size: 17px;
}

.th-footer .th-footer-brand p {
  max-width: 550px;
  margin: 0;
  color: var(--footer-text) !important;
  font-size: 14px;
  line-height: 1.65;
}

.th-footer .th-footer-assurances {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.th-footer .th-footer-assurances li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #dce5f3;
  font-size: 13px;
  font-weight: 600;
}

.th-footer .th-footer-assurances i { color: var(--footer-accent); }
.th-footer .th-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(135px, 1fr)) minmax(280px, 1.45fr);
  gap: 30px;
  align-items: start;
}

.th-footer .th-footer-links h3,
.th-footer .th-footer-contact h3 {
  color: var(--footer-heading) !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.th-footer .th-footer-links h3 {
  position: relative;
  padding-bottom: 12px;
  margin: 0 0 17px;
}

.th-footer .th-footer-links h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--footer-accent);
}

.th-footer .th-footer-links ul { padding: 0; margin: 0; list-style: none; }
.th-footer .th-footer-links li + li { margin-top: 10px; }
.th-footer .th-footer-links a {
  display: inline-flex;
  position: relative;
  color: var(--footer-text) !important;
  font-size: 13px;
  line-height: 1.45;
  transition: color .2s ease, transform .2s ease;
}

.th-footer .th-footer-links a::before {
  content: "›";
  position: absolute;
  left: -12px;
  opacity: 0;
  color: var(--footer-accent);
  font-weight: 700;
  transition: opacity .2s ease;
}

.th-footer .th-footer-links a:hover,
.th-footer .th-footer-links a:focus { color: #fff !important; transform: translateX(5px); }
.th-footer .th-footer-links a:hover::before,
.th-footer .th-footer-links a:focus::before { opacity: 1; }

.th-footer .th-footer-contact {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .035));
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
}

.th-footer .th-footer-contact::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -45px;
  width: 125px;
  height: 125px;
  border: 24px solid rgba(37, 199, 183, .08);
  border-radius: 50%;
}

.th-footer .th-footer-contact > * { position: relative; z-index: 1; }
.th-footer .th-footer-contact__label {
  display: block;
  margin-bottom: 9px;
  color: var(--footer-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.th-footer .th-footer-contact h3 { margin: 0 0 9px; font-size: 18px; }
.th-footer .th-footer-contact p {
  margin: 0 0 18px;
  color: var(--footer-text) !important;
  font-size: 13px;
  line-height: 1.55;
}

.th-footer .th-footer-contact__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: #fff !important;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: .015em;
}

.th-footer .th-footer-contact__phone i { color: var(--footer-accent); font-size: 16px; }
.th-footer .th-footer-contact__whatsapp {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 13px;
  border-radius: 9px;
  background: #1fb861;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(31, 184, 97, .2);
  transition: background .2s ease, transform .2s ease;
}

.th-footer .th-footer-contact__whatsapp:hover { background: #169951; transform: translateY(-2px); }
.th-footer .th-footer-contact__form {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 17px;
  color: #dfe9f7 !important;
  font-size: 12px;
  font-weight: 700;
}

.th-footer .th-footer-contact__form:hover { color: var(--footer-accent) !important; }
.th-footer .th-footer-contact__location {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding-top: 14px;
  border-top: 1px solid var(--footer-border);
  color: #8fa0b9;
  font-size: 12px;
  line-height: 1.45;
}

.th-footer .th-footer-popular {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 28px;
  margin-top: 38px;
  border-top: 1px solid var(--footer-border);
}

.th-footer .th-footer-popular span {
  margin-right: 5px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.th-footer .th-footer-popular a {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 100px;
  background: rgba(255, 255, 255, .035);
  color: #9fb0c8 !important;
  font-size: 11px;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.th-footer .th-footer-popular a:hover {
  border-color: rgba(37, 199, 183, .45);
  background: rgba(37, 199, 183, .08);
  color: #fff !important;
}

.th-footer .footer-secondary {
  padding: 20px 0 !important;
  border-top: 1px solid var(--footer-border);
  background: #081226 !important;
}

.th-footer .footer-secondary::after { display: none !important; }
.th-footer .th-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #7f90aa;
  font-size: 11px;
}

.th-footer .th-footer-bottom nav { display: flex; flex-wrap: wrap; gap: 9px 18px; }
.th-footer .th-footer-bottom a { color: #9dabc0 !important; }
.th-footer .th-footer-bottom a:hover { color: #fff !important; }

@media (max-width: 1199px) {
  .th-footer .th-footer-grid { grid-template-columns: repeat(4, 1fr); }
  .th-footer .th-footer-contact { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr; column-gap: 28px; align-items: center; }
  .th-footer .th-footer-contact__label,
  .th-footer .th-footer-contact h3,
  .th-footer .th-footer-contact p { grid-column: 1; }
  .th-footer .th-footer-contact__phone,
  .th-footer .th-footer-contact__whatsapp,
  .th-footer .th-footer-contact__form,
  .th-footer .th-footer-contact__location { grid-column: 2; }
  .th-footer .th-footer-contact__phone { grid-row: 1 / 3; align-self: end; }
  .th-footer .th-footer-contact__whatsapp { grid-row: 3; }
}

@media (max-width: 991px) {
  .th-footer .th-footer-cta__inner,
  .th-footer .th-footer-brandbar { align-items: flex-start; flex-direction: column; }
  .th-footer .th-footer-assurances { justify-content: flex-start; }
  .th-footer .th-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 26px; }
  .th-footer .th-footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .th-footer .th-footer-cta { padding: 28px 0; }
  .th-footer .th-footer-cta__inner { gap: 22px; }
  .th-footer .th-footer-cta__actions { width: 100%; flex-direction: column; }
  .th-footer .th-footer-btn { width: 100%; }
  .th-footer .footer-primary { padding: 40px 0 25px; }
  .th-footer .th-footer-brandbar { gap: 22px; padding-bottom: 27px; margin-bottom: 30px; }
  .th-footer .th-footer-assurances { display: grid; gap: 8px; }
  .th-footer .th-footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .th-footer .th-footer-links { padding-bottom: 2px; }
  .th-footer .th-footer-links li + li { margin-top: 9px; }
  .th-footer .th-footer-links a { font-size: 13.5px; }
  .th-footer .th-footer-contact { display: block; grid-column: auto; padding: 23px; }
  .th-footer .th-footer-contact__phone { font-size: 20px; }
  .th-footer .th-footer-popular { margin-top: 30px; }
  .th-footer .th-footer-bottom { align-items: flex-start; flex-direction: column; }
}
