:root {
  --tm-navy: #001d35;
  --tm-navy-2: #062a48;
  --tm-red: #e31e24;
  --tm-red-dark: #c7151b;
  --tm-green: #20bd5a;
  --tm-text: #071d33;
  --tm-muted: #687484;
  --tm-line: #e1e5ea;
  --tm-soft: #f7f8fa;
  --tm-white: #fff;
  --tm-shadow: 0 12px 32px rgba(0, 29, 53, .11);
}

html {
  scroll-behavior: smooth;
  background: var(--tm-navy);
}

body {
  color: var(--tm-text);
  background: var(--tm-soft);
}

.page-header {
  position: relative;
  z-index: 50;
  min-height: 0;
  background: var(--tm-navy);
}

.page-header .rd-navbar-wrap.rd-navbar-absolute {
  position: relative;
}

.rd-navbar-creative.rd-navbar-static {
  background: var(--tm-navy);
}

.rd-navbar-creative.rd-navbar-static.rd-navbar--is-stuck,
.rd-navbar-creative.rd-navbar-static.rd-navbar--is-clone {
  background: var(--tm-navy);
  box-shadow: 0 5px 18px rgba(0, 12, 25, .24);
}

.rd-navbar-creative.rd-navbar-static .rd-navbar-main {
  width: calc(100% - 80px);
  max-width: 1640px;
  min-height: 72px;
  padding: 10px 0;
}

.rd-navbar-creative.rd-navbar-static .rd-nav-item + .rd-nav-item {
  margin-left: 22px;
}

.rd-navbar-static .rd-nav-link {
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  font-weight: 700;
}

.rd-navbar-static .rd-nav-item.active .rd-nav-link,
.rd-navbar-static .rd-nav-link:hover {
  color: #fff;
}

.rd-navbar-static .rd-nav-item.active .rd-nav-link::before {
  background: var(--tm-red);
}

.tm-navbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tm-navbar-actions a {
  display: inline-flex;
  min-height: 36px;
  padding: 8px 14px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.tm-navbar-request {
  background: var(--tm-red);
}

.tm-navbar-whatsapp {
  gap: 6px;
  background: var(--tm-green);
  color: #fff;
}

.tm-navbar-whatsapp svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.tm-navbar-actions .tm-navbar-request:hover {
  color: #fff;
  filter: brightness(.92);
}

.tm-navbar-actions .tm-navbar-whatsapp:hover {
  background: #149d46;
  color: #fff;
}

.rd-navbar-creative.rd-navbar-static .rd-navbar-main-element {
  flex: 1;
  min-width: 0;
  margin-left: 38px;
}

.rd-navbar-creative.rd-navbar-static .rd-navbar-nav-wrap {
  display: grid;
  width: 100%;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 20px;
}

.rd-navbar-creative.rd-navbar-static .rd-navbar-nav {
  justify-self: center;
}

.rd-navbar-fixed .tm-navbar-actions {
  margin: 18px 20px 22px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  flex-wrap: wrap;
}

.rd-navbar-fixed .tm-navbar-actions a {
  flex: 1 1 auto;
}

.rd-navbar-brand img {
  width: 174px;
  height: auto;
  object-fit: contain;
}

.rd-navbar-brand img.brand-horizontal {
  display: block;
  width: auto;
  height: 38px;
  object-fit: contain;
  vertical-align: middle;
}

.tm-home {
  overflow: visible;
  background: var(--tm-soft);
}

.tm-home > section > .container,
.tm-home > .container {
  width: calc(100% - 80px);
  max-width: 1640px;
}

.tm-hero {
  position: relative;
  min-height: 455px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0, 24, 44, .88) 0%, rgba(0, 24, 44, .72) 34%, rgba(0, 24, 44, .28) 60%, transparent 82%),
    url("../images/hero-transmillas-v4.png") right 52% / 150% auto no-repeat;
}

.tm-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 145px;
  background: linear-gradient(0deg, rgba(0, 24, 44, .66), transparent);
  pointer-events: none;
}

.tm-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 455px;
  padding-top: 48px;
  padding-bottom: 72px;
  flex-direction: column;
  justify-content: space-between;
}

.tm-hero-copy {
  max-width: 760px;
}

.tm-kicker,
.tm-section-heading > span {
  display: inline-block;
  color: var(--tm-red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tm-hero h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(42px, 4vw, 60px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.045em;
  text-shadow: 0 2px 14px rgba(0, 20, 38, .7);
}

.tm-hero h1 strong {
  color: var(--tm-red);
  font-weight: inherit;
}

.tm-hero-copy > p {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 18px;
  line-height: 1.55;
  text-shadow: 0 1px 9px rgba(0, 20, 38, .72);
}

.tm-mobile-hero-actions {
  display: none;
}

.tm-hero-tracker {
  position: absolute;
  top: 42px;
  right: 0;
  width: 360px;
  padding: 23px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 15px;
  background: rgba(255, 255, 255, .96);
  color: var(--tm-text);
  box-shadow: 0 18px 42px rgba(0, 24, 44, .3);
  backdrop-filter: blur(10px);
}

.tm-hero-tracker-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #fdebec;
  color: var(--tm-red);
  font-size: 21px;
  font-weight: 800;
}

.tm-hero-tracker-heading > span {
  color: var(--tm-red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tm-hero-tracker-heading h2 {
  margin: 3px 50px 3px 0;
  color: var(--tm-navy);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.tm-hero-tracker-heading p {
  margin: 0 0 15px;
  color: var(--tm-muted);
  font-size: 12px;
}

.tm-hero-tracker form {
  display: grid;
  gap: 10px;
}

.tm-hero-tracker label {
  display: grid;
  gap: 4px;
  margin: 0;
  color: var(--tm-text);
  font-size: 10px;
  font-weight: 800;
}

.tm-hero-tracker input {
  width: 100%;
  height: 42px;
  padding: 9px 11px;
  border: 1px solid #d7e0e9;
  border-radius: 7px;
  background: #fff;
  color: var(--tm-text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  outline: none;
}

.tm-hero-tracker input:focus {
  border-color: var(--tm-red);
  box-shadow: 0 0 0 3px rgba(227, 30, 36, .1);
}

.tm-hero-tracker .tm-btn {
  width: 100%;
  min-height: 43px;
  margin-top: 2px;
  padding: 11px 15px;
}

.tm-hero-tracker-feedback {
  min-height: 18px;
  margin-top: 9px;
  color: var(--tm-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.tm-hero-tracker-feedback.is-success {
  padding: 9px;
  border-radius: 7px;
  background: #edf8f1;
  color: #087735;
}

.tm-hero-tracker-feedback.is-error {
  color: #b3131a;
}

body.tm-modal-open { overflow: hidden; }

body.tm-whatsapp-welcome-open { overflow: hidden; }

.tm-whatsapp-welcome[hidden] { display: none; }

.tm-whatsapp-welcome {
  position: fixed;
  z-index: 10040;
  inset: 0;
  display: grid;
  padding: 20px;
  place-items: center;
}

.tm-whatsapp-welcome-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 38, .44);
  backdrop-filter: blur(1px);
}

.tm-whatsapp-welcome-dialog {
  position: relative;
  width: min(100%, 460px);
  padding: 42px 40px 32px;
  overflow: hidden;
  border: 1px solid #e3e9ee;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 25px 68px rgba(0, 18, 34, .28);
  color: var(--tm-navy);
  text-align: center;
  animation: tm-modal-enter .22s ease-out;
}

.tm-whatsapp-welcome-dialog::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--tm-navy) 0 76%, var(--tm-green) 76%);
  content: "";
}

.tm-whatsapp-welcome-close {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--tm-navy);
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.tm-whatsapp-welcome-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 19px;
  place-items: center;
  border: 0;
  border-radius: 18px;
  background: var(--tm-green);
  box-shadow: 0 10px 24px rgba(32, 189, 90, .2);
  color: #fff;
}

.tm-whatsapp-welcome-icon svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.tm-whatsapp-welcome-dialog h2 {
  margin: 0 0 20px;
  color: var(--tm-navy);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.02em;
}

.tm-whatsapp-welcome-action {
  display: inline-flex;
  width: 100%;
  min-height: 49px;
  padding: 11px 18px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 9px;
  background: #20bd5a;
  box-shadow: 0 9px 20px rgba(32, 189, 90, .18);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.tm-whatsapp-welcome-action:hover {
  background: #149d46;
  color: #fff;
}

.tm-whatsapp-welcome-action svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  fill: currentColor;
}

.tm-whatsapp-welcome-later {
  margin-top: 12px;
  padding: 5px 12px;
  border: 0;
  background: transparent;
  color: var(--tm-muted);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.tm-tracking-modal[hidden] { display: none; }

.tm-tracking-modal {
  position: fixed;
  z-index: 10050;
  inset: 0;
  display: grid;
  padding: 20px;
  place-items: center;
}

.tm-tracking-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 38, .76);
  backdrop-filter: blur(4px);
}

.tm-tracking-modal-dialog {
  position: relative;
  width: min(100%, 480px);
  max-height: calc(100vh - 40px);
  padding: 38px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 18, 34, .35);
  color: var(--tm-navy);
  text-align: center;
  animation: tm-modal-enter .22s ease-out;
}

.tm-tracking-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f1f4f7;
  color: var(--tm-navy);
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.tm-tracking-modal-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 17px;
  place-items: center;
  border-radius: 50%;
  background: var(--tm-red);
  box-shadow: 0 9px 22px rgba(227, 30, 36, .25);
  color: #fff;
  font-size: 26px;
  font-weight: 800;
}

.tm-tracking-modal-kicker {
  color: var(--tm-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.tm-tracking-modal-dialog h2 {
  margin: 7px 0 22px;
  color: var(--tm-navy);
  font-size: 29px;
  font-weight: 800;
}

.tm-tracking-modal-guide {
  display: flex;
  margin-bottom: 13px;
  padding: 14px 16px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--tm-line);
  border-radius: 11px;
  background: var(--tm-soft);
  text-align: left;
}

.tm-tracking-modal-guide span {
  color: var(--tm-muted);
  font-size: 12px;
}

.tm-tracking-modal-guide strong {
  color: var(--tm-navy);
  font-size: 15px;
}

.tm-tracking-modal-status {
  padding: 13px 16px;
  border-radius: 11px;
  background: #e9f8ef;
  color: #08783a;
  font-size: 17px;
  font-weight: 800;
}

.tm-tracking-modal-dialog > p {
  margin: 16px 0 24px;
  color: var(--tm-muted);
  font-size: 14px;
  line-height: 1.65;
}

.tm-tracking-delivery-photo[hidden],
.tm-tracking-guide-link[hidden] {
  display: none;
}

.tm-tracking-delivery-photo {
  margin: -7px 0 18px;
  padding: 12px;
  border: 1px solid var(--tm-line);
  border-radius: 12px;
  background: var(--tm-soft);
  text-align: left;
}

.tm-tracking-delivery-photo > span {
  display: block;
  margin-bottom: 8px;
  color: var(--tm-navy);
  font-size: 12px;
  font-weight: 800;
}

.tm-tracking-delivery-photo a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #e6ebef;
}

.tm-tracking-delivery-photo img {
  display: block;
  width: 100%;
  max-height: 210px;
  object-fit: contain;
}

.tm-tracking-guide-link {
  display: inline-flex;
  min-height: 44px;
  margin: -3px 0 16px;
  padding: 10px 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tm-navy);
  border-radius: 9px;
  color: var(--tm-navy);
  font-size: 14px;
  font-weight: 800;
}

.tm-tracking-guide-link::before {
  margin-right: 8px;
  content: "▤";
}

.tm-tracking-guide-link:hover {
  background: var(--tm-navy);
  color: #fff;
}

.tm-tracking-modal-dialog > .tm-btn { width: 100%; }

@keyframes tm-modal-enter {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.tm-btn {
  display: inline-flex;
  min-height: 50px;
  padding: 13px 20px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.tm-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.tm-btn-primary {
  border-color: var(--tm-red);
  background: var(--tm-red);
  color: #fff;
  box-shadow: 0 10px 22px rgba(226, 29, 37, .28);
}

.tm-btn-primary:hover {
  background: var(--tm-red-dark);
  color: #fff;
  box-shadow: 0 14px 28px rgba(226, 29, 37, .38);
}

.tm-btn-outline {
  border-color: rgba(255, 255, 255, .66);
  background: rgba(0, 29, 53, .42);
  color: #fff;
  backdrop-filter: blur(8px);
}

.tm-btn-outline:hover {
  border-color: #fff;
  background: #fff;
  color: var(--tm-navy);
}

.tm-hero-trust {
  display: grid;
  max-width: 900px;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.tm-hero-trust > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tm-hero-trust b {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--tm-red);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.tm-hero-trust span {
  color: rgba(255, 255, 255, .75);
  font-size: 11px;
  line-height: 1.3;
}

.tm-hero-trust strong {
  display: block;
  color: #fff;
  font-size: 13px;
}

.tm-quick-actions {
  position: relative;
  z-index: 4;
  display: grid;
  margin-top: -42px;
  padding: 0;
  overflow: hidden;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--tm-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--tm-shadow);
}

.tm-quick-actions a {
  display: flex;
  min-height: 104px;
  padding: 21px 18px;
  align-items: center;
  gap: 13px;
  border-right: 1px solid var(--tm-line);
  color: var(--tm-text);
  text-decoration: none;
  transition: background .2s ease;
}

.tm-quick-actions a:last-child {
  border-right: 0;
}

.tm-quick-actions a:hover {
  background: #f6f9fc;
}

.tm-quick-actions > a > b {
  display: grid;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: var(--tm-navy);
  box-shadow: 0 6px 14px rgba(0, 29, 53, .16);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.tm-quick-actions > a > b svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tm-quick-actions a:nth-child(even) > b {
  background: var(--tm-red);
  box-shadow: 0 6px 14px rgba(227, 30, 36, .16);
  color: #fff;
}

.tm-quick-actions span {
  color: var(--tm-muted);
  font-size: 12px;
  line-height: 1.35;
}

.tm-quick-actions strong {
  display: block;
  margin-bottom: 4px;
  color: var(--tm-text);
  font-size: 14px;
}

.tm-request-section {
  padding: 72px 0 84px;
  background: var(--tm-soft);
}

.tm-request-compact-layout {
  display: grid;
  overflow: hidden;
  grid-template-columns: 245px minmax(0, 1fr) 255px;
  border: 1px solid var(--tm-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--tm-shadow);
}

.tm-request-channel {
  padding: 28px 23px;
}

.tm-request-channel {
  border-right: 1px solid var(--tm-line);
}

.tm-request-benefits {
  padding: 28px 22px;
  border-left: 1px solid var(--tm-line);
  background: #fff;
}

.tm-request-benefits h3 {
  position: relative;
  margin: 0 0 22px;
  color: var(--tm-navy);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.tm-request-benefits h3::after {
  position: absolute;
  bottom: -9px;
  left: 0;
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: var(--tm-red);
  content: "";
}

.tm-request-benefits ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 13px;
  list-style: none;
}

.tm-request-benefits li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  color: var(--tm-muted);
  font-size: 10px;
  line-height: 1.45;
}

.tm-request-benefits li span {
  color: var(--tm-red);
  font-weight: 900;
}

.tm-request-location-strip {
  display: grid;
  padding: 11px 17px 13px;
  grid-column: 1 / -1;
  gap: 8px;
  border-top: 1px solid var(--tm-line);
  background: #fff;
}

.tm-request-location-strip > strong {
  color: var(--tm-navy);
  font-size: 11px;
}

.tm-request-location-strip > div {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 8px;
}

.tm-request-location-strip a {
  display: flex;
  min-width: 0;
  padding: 7px 8px;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--tm-line);
  border-radius: 7px;
  color: var(--tm-navy);
  text-decoration: none;
}

.tm-request-location-strip a:hover {
  border-color: rgba(227, 30, 36, .35);
  background: #fff8f8;
}

.tm-request-location-strip b {
  position: relative;
  display: block;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50% 50% 50% 0;
  background: var(--tm-navy);
  transform: rotate(-45deg);
}

.tm-request-location-strip b::after {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.tm-request-location-strip span,
.tm-request-location-strip small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tm-request-location-strip span {
  min-width: 0;
  font-size: 9px;
  font-weight: 800;
}

.tm-request-location-strip small {
  margin-top: 1px;
  color: var(--tm-red);
  font-size: 7px;
  font-weight: 600;
}

.tm-request-channel > span {
  color: var(--tm-red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.tm-request-channel h2 {
  margin: 6px 0 11px;
  color: var(--tm-navy);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
}

.tm-request-channel > p {
  margin: 0 0 20px;
  color: var(--tm-muted);
  font-size: 11px;
  line-height: 1.55;
}

.tm-request-whatsapp-card {
  display: grid;
  padding: 16px;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  border: 1px solid #dbe5df;
  border-radius: 11px;
  background: #fbfefc;
}

.tm-request-whatsapp-card > svg {
  width: 42px;
  height: 42px;
  padding: 7px;
  border-radius: 50%;
  background: var(--tm-green);
  fill: #fff;
}

.tm-request-whatsapp-card strong,
.tm-request-whatsapp-card small {
  display: block;
}

.tm-request-whatsapp-card strong {
  color: var(--tm-navy);
  font-size: 11px;
  line-height: 1.3;
}

.tm-request-whatsapp-card small {
  margin-top: 3px;
  color: var(--tm-muted);
  font-size: 9px;
  line-height: 1.4;
}

.tm-request-whatsapp-card a {
  display: flex;
  min-height: 38px;
  padding: 8px 10px;
  align-items: center;
  justify-content: center;
  grid-column: 1 / -1;
  border-radius: 7px;
  background: var(--tm-green);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.tm-request-whatsapp-card a:hover {
  background: #149d46;
  color: #fff;
}

.tm-system-form {
  overflow: hidden;
  border: 1px solid var(--tm-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--tm-shadow);
}

.tm-system-form iframe {
  display: block;
  width: 100%;
  height: 1120px;
  border: 0;
  background: #fff;
}

.tm-system-form-footer {
  display: flex;
  min-height: 58px;
  padding: 13px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--tm-line);
  background: #fff;
  color: var(--tm-muted);
  font-size: 12px;
}

.tm-system-form-footer b {
  margin-right: 6px;
  color: var(--tm-red);
}

.tm-system-form-footer a {
  color: var(--tm-navy);
  font-weight: 800;
}

.tm-system-form-footer a:hover {
  color: var(--tm-red);
}

.tm-section-heading {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.tm-section-heading h2 {
  margin: 7px 0 8px;
  color: var(--tm-navy);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -.025em;
}

.tm-section-heading p {
  margin: 0;
  color: var(--tm-muted);
}

.tm-request-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
  border: 1px solid var(--tm-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--tm-shadow);
}

.tm-request-form {
  padding: 34px;
}

.tm-web-service-form {
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.tm-form-intro {
  margin-bottom: 22px;
}

.tm-form-intro > span {
  color: var(--tm-red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.tm-form-intro h2 {
  margin: 4px 0 4px;
  color: var(--tm-navy);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.tm-form-intro p {
  margin: 0;
  color: var(--tm-muted);
  font-size: 11px;
}

.tm-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.tm-form-section {
  margin: 0;
  padding: 0 0 28px;
  border: 0;
}

.tm-form-section + .tm-form-section {
  padding-top: 28px;
  border-top: 1px solid var(--tm-line);
}

.tm-form-section legend {
  display: flex;
  width: 100%;
  margin: 0 0 22px;
  padding: 0;
  align-items: center;
  gap: 10px;
  color: var(--tm-navy);
  font-size: 18px;
  font-weight: 800;
}

.tm-form-section legend span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--tm-red);
  color: #fff;
  font-size: 13px;
}

.tm-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tm-request-form label {
  display: flex;
  margin: 0;
  flex-direction: column;
  gap: 7px;
  color: var(--tm-text);
  font-size: 12px;
  font-weight: 800;
}

.tm-request-form input,
.tm-request-form select,
.tm-request-form textarea {
  width: 100%;
  min-height: 47px;
  padding: 11px 13px;
  border: 1px solid #d7e0e9;
  border-radius: 7px;
  background: #fff;
  color: var(--tm-text);
  font-family: inherit;
  font-size: 14px;
  outline: 0;
  transition: border .2s ease, box-shadow .2s ease;
}

.tm-request-form textarea {
  resize: vertical;
}

.tm-file-field input {
  padding: 8px;
  background: var(--tm-soft);
}

.tm-file-field small {
  color: var(--tm-muted);
  font-weight: 400;
}

.tm-credit-field {
  padding: 16px;
  border: 1px solid #c9e7d4;
  border-radius: 9px;
  background: #f1fbf5;
}

.tm-request-form input:focus,
.tm-request-form select:focus,
.tm-request-form textarea:focus {
  border-color: var(--tm-red);
  box-shadow: 0 0 0 3px rgba(226, 29, 37, .1);
}

.tm-request-form input.is-searching {
  padding-right: 38px;
  background-image: linear-gradient(90deg, transparent, rgba(227, 30, 36, .08), transparent);
  background-size: 200% 100%;
  animation: tmFieldSearch 1.1s linear infinite;
}

.tm-web-service-form.is-progressive [data-progressive-detail].is-progressive-hidden,
.tm-web-service-form.is-progressive [data-progressive-final].is-progressive-hidden {
  display: none !important;
}

.tm-web-service-form.is-progressive {
  display: grid;
  align-content: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 0;
}

.tm-web-service-form.is-progressive [data-client-role] {
  min-width: 0;
  padding: 0;
  border-top: 0;
}

.tm-web-service-form.is-progressive [data-client-role="sender"] {
  padding-right: 28px;
}

.tm-web-service-form.is-progressive [data-client-role="receiver"] {
  padding-left: 28px;
  border-left: 1px solid var(--tm-line);
}

.tm-web-service-form.is-progressive [data-client-role] .tm-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tm-web-service-form.is-progressive [data-progressive-final] {
  grid-column: 1 / -1;
}

.tm-web-service-form.is-progressive .tm-form-actions {
  margin-top: 18px;
  grid-column: 1 / -1;
}

.tm-client-check-status {
  min-height: 18px;
  margin: 8px 0 0;
  color: var(--tm-muted);
  font-size: 11px;
  line-height: 1.35;
}

.tm-client-check-status.is-checking {
  color: #9a6a00;
}

.tm-client-check-status.is-found {
  color: #087735;
}

.tm-client-check-status.is-new {
  color: var(--tm-red-dark);
}

.tm-submit:disabled {
  background: var(--tm-red);
  box-shadow: none;
  cursor: not-allowed;
  opacity: .58;
}

.tm-form-section.is-client-found {
  border-color: rgba(32, 189, 90, .38);
  background: rgba(32, 189, 90, .025);
}

.tm-form-section.is-client-new {
  border-color: rgba(227, 30, 36, .24);
}

@media (max-width: 767px) {
  .tm-web-service-form.is-progressive {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }

  .tm-web-service-form.is-progressive [data-client-role] .tm-form-grid {
    grid-template-columns: 1fr;
  }

  .tm-web-service-form.is-progressive [data-client-role] label,
  .tm-web-service-form.is-progressive [data-client-role] input,
  .tm-web-service-form.is-progressive [data-client-role] select {
    width: 100%;
    min-width: 0;
  }

  .tm-web-service-form.is-progressive [data-progressive-final] {
    grid-column: auto;
  }

  .tm-web-service-form.is-progressive .tm-form-actions {
    margin-top: 0;
    grid-column: auto;
  }

  .tm-web-service-form.is-progressive [data-client-role="sender"],
  .tm-web-service-form.is-progressive [data-client-role="receiver"] {
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }
}

.tm-field-wide {
  grid-column: 1 / -1;
}

.tm-submit {
  width: min(100%, 430px);
  margin: 24px auto 0;
}

.tm-request-form > small {
  display: block;
  margin-top: 10px;
  color: #7a8998;
  text-align: center;
}

.tm-form-actions {
  padding-top: 4px;
  text-align: center;
}

.tm-form-actions .tm-submit {
  display: flex;
}

.tm-form-actions > small {
  display: block;
  margin-top: 10px;
  color: var(--tm-muted);
}

#tm-form-status {
  min-height: 22px;
  margin: 0 auto;
  font-size: 13px;
  font-weight: 700;
}

#tm-form-status.is-loading {
  color: var(--tm-navy);
}

#tm-form-status.is-error {
  color: #b3131a;
}

#tm-form-status.is-success {
  max-width: 680px;
  padding: 12px 16px;
  border-radius: 8px;
  background: #eaf8ef;
  color: #087735;
}

#tm-form-status.is-found {
  color: #087735;
}

.tm-submit:disabled {
  cursor: wait;
  opacity: .68;
}

@keyframes tmFieldSearch {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

.tm-request-aside {
  padding: 34px 28px;
  border-left: 1px solid var(--tm-line);
  background: #f7f8fa;
}

.tm-aside-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fdebec;
  color: var(--tm-red-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tm-request-aside h3 {
  margin: 13px 0 24px;
  color: var(--tm-navy);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
}

.tm-request-aside ul {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tm-request-aside li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.tm-request-aside li > b {
  display: grid;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid var(--tm-red);
  border-radius: 50%;
  color: var(--tm-red);
  font-size: 10px;
}

.tm-request-aside li span {
  color: var(--tm-muted);
  font-size: 12px;
  line-height: 1.45;
}

.tm-request-aside li strong {
  display: block;
  margin-bottom: 2px;
  color: var(--tm-text);
  font-size: 13px;
}

.tm-request-aside > a {
  display: block;
  margin-top: 26px;
  padding: 14px;
  border-radius: 8px;
  background: var(--tm-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.tm-request-aside > a i {
  margin-right: 6px;
  color: #35dc72;
}

/* Unificación visual de las secciones existentes */
#sedes,
#servicios,
#contacto,
#factura,
#pagos {
  scroll-margin-top: 90px;
}

#sedes,
#servicios,
#contacto,
#factura,
#pagos,
.footer-2 {
  position: relative;
}

.footer-2 {
  background: var(--tm-navy) !important;
}

#sedes .contenido-card p:nth-of-type(n+2) {
  display: none;
}

@media (max-width: 1199px) {
  .tm-hero-tracker {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    width: min(100%, 430px);
    margin-top: 26px;
  }

  .tm-quick-actions {
    width: calc(100% - 30px);
    grid-template-columns: repeat(2, 1fr);
  }

  .tm-quick-actions a:nth-child(even) {
    border-right: 0;
  }

  .tm-quick-actions a:nth-child(n+3) {
    border-top: 1px solid var(--tm-line);
  }
}

@media (max-width: 991px) {
  .rd-navbar-fixed .tm-navbar-actions {
    display: none;
  }

  .tm-mobile-hero-actions {
    display: flex;
    margin-top: 22px;
    align-items: center;
    gap: 10px;
  }

  .tm-mobile-hero-actions .tm-btn {
    min-height: 46px;
    padding: 11px 18px;
  }

  .tm-mobile-whatsapp {
    display: inline-flex;
    background: var(--tm-green);
    color: #fff;
    font-weight: 800;
  }

  .tm-mobile-whatsapp:hover {
    background: #149d46;
    color: #fff;
  }

  .tm-mobile-whatsapp svg {
    width: 24px;
    height: 24px;
    margin-right: 7px;
    fill: currentColor;
  }

  .tm-hero,
  .tm-hero-inner {
    min-height: auto;
  }

  .tm-hero {
    background:
      linear-gradient(90deg, rgba(0, 24, 44, .84), rgba(0, 24, 44, .42)),
      url("../images/hero-transmillas-v4.png") 68% center / cover no-repeat;
  }

  .tm-hero-trust {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 26px;
  }

  .tm-request-layout {
    grid-template-columns: 1fr;
  }

  .tm-request-aside {
    border-top: 1px solid var(--tm-line);
    border-left: 0;
  }

  .tm-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .tm-hero,
  .tm-hero-inner {
    min-height: auto;
  }

  .tm-hero-inner {
    padding-top: 55px;
    padding-bottom: 84px;
  }

  .tm-hero-trust {
    gap: 15px;
  }

  .tm-quick-actions {
    grid-template-columns: 1fr;
    margin-top: -36px;
  }

  .tm-quick-actions a,
  .tm-quick-actions a:nth-child(3) {
    min-height: 80px;
    border-top: 1px solid var(--tm-line);
    border-right: 0;
  }

  .tm-quick-actions a:first-child {
    border-top: 0;
  }

  .tm-request-section {
    padding: 55px 0 65px;
  }

  .tm-system-form {
    overflow: visible;
    border-radius: 12px;
  }

  .tm-system-form iframe {
    height: 1700px;
  }

  .tm-system-form-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .tm-request-form {
    padding: 25px 18px;
  }

  .tm-form-grid {
    grid-template-columns: 1fr;
  }

  .tm-field-wide {
    grid-column: auto;
  }
}

/* Composición compacta para escritorio */
@media (min-width: 1200px) {
  .rd-navbar-creative.rd-navbar-static .rd-navbar-main {
    width: calc(100% - 36px);
    max-width: 1720px;
    min-height: 50px;
    padding: 3px 0;
  }

  .rd-navbar-brand img.brand-horizontal {
    height: 36px;
  }

  .rd-navbar-creative.rd-navbar-static .rd-nav-item + .rd-nav-item {
    margin-left: clamp(18px, 1.35vw, 28px);
  }

  .rd-navbar-static .rd-nav-link {
    font-size: 12px;
  }

  .tm-navbar-actions a {
    min-height: 34px;
    padding: 7px 12px;
    font-size: 11px;
  }

  .tm-home > section > .container,
  .tm-home > .container {
    width: calc(100% - 36px);
    max-width: 1720px;
  }

  .tm-hero,
  .tm-hero-inner {
    min-height: 365px;
  }

  .tm-hero-inner {
    padding-top: 29px;
    padding-bottom: 51px;
  }

  .tm-hero::after {
    height: 105px;
  }

  .tm-kicker,
  .tm-section-heading > span {
    font-size: 10px;
  }

  .tm-hero h1 {
    margin: 0 0 11px;
    font-size: clamp(39px, 3.2vw, 49px);
    line-height: .96;
  }

  .tm-hero-copy > p {
    max-width: 520px;
    font-size: 14px;
    line-height: 1.45;
  }

  .tm-hero-tracker {
    top: 25px;
    width: 330px;
    padding: 17px 18px 14px;
    border-radius: 13px;
  }

  .tm-hero-tracker-icon {
    top: 15px;
    right: 16px;
    width: 33px;
    height: 33px;
    font-size: 18px;
  }

  .tm-hero-tracker-heading h2 {
    margin-top: 1px;
    font-size: 20px;
  }

  .tm-hero-tracker-heading p {
    margin-bottom: 9px;
    font-size: 10px;
  }

  .tm-hero-tracker form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .tm-hero-tracker form .tm-honeypot {
    position: absolute !important;
  }

  .tm-hero-tracker label {
    font-size: 9px;
  }

  .tm-hero-tracker input {
    height: 36px;
    padding: 7px 9px;
    font-size: 11px;
  }

  .tm-hero-tracker .tm-btn {
    min-height: 37px;
    margin: 0;
    grid-column: 1 / -1;
    padding: 9px 12px;
    font-size: 11px;
  }

  .tm-hero-tracker-feedback {
    min-height: 13px;
    margin-top: 5px;
    font-size: 9px;
  }

  .tm-hero-trust {
    max-width: 780px;
    gap: 15px;
  }

  .tm-hero-trust > div {
    gap: 8px;
  }

  .tm-hero-trust b {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 14px;
  }

  .tm-hero-trust strong {
    font-size: 11px;
  }

  .tm-hero-trust span {
    font-size: 9px;
  }

  .tm-quick-actions {
    width: calc(100% - 36px);
    max-width: 1660px;
    margin-top: -34px;
    border-radius: 12px;
  }

  .tm-quick-actions a {
    min-height: 76px;
    padding: 13px 16px;
    gap: 10px;
  }

  .tm-quick-actions > a > b {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    font-size: 20px;
  }

  .tm-quick-actions > a > b svg {
    width: 26px;
    height: 26px;
  }

  .tm-quick-actions strong {
    margin-bottom: 2px;
    font-size: 12px;
  }

  .tm-quick-actions span {
    font-size: 10px;
  }

  .tm-request-section {
    padding: 34px 0 46px;
  }

  .tm-request-compact-layout {
    grid-template-columns: 225px minmax(0, 1fr) 235px;
    border-radius: 12px;
  }

  .tm-request-channel {
    padding: 19px 16px;
  }

  .tm-request-channel h2 {
    margin: 4px 0 8px;
    font-size: 16px;
  }

  .tm-request-channel > p {
    margin-bottom: 13px;
    font-size: 9px;
  }

  .tm-request-benefits {
    padding: 19px 16px;
  }

  .tm-request-benefits h3 {
    margin-bottom: 18px;
    font-size: 14px;
  }

  .tm-request-benefits ul {
    gap: 9px;
  }

  .tm-request-benefits li {
    grid-template-columns: 15px minmax(0, 1fr);
    font-size: 8px;
  }

  .tm-request-whatsapp-card {
    padding: 12px;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 8px;
  }

  .tm-request-whatsapp-card > svg {
    width: 36px;
    height: 36px;
  }

  .tm-section-heading {
    max-width: 680px;
    margin-bottom: 17px;
  }

  .tm-section-heading h2 {
    margin: 4px 0 4px;
    font-size: 28px;
  }

  .tm-section-heading p {
    font-size: 12px;
    line-height: 1.45;
  }

  .tm-request-form {
    padding: 21px 23px;
    border-radius: 13px;
  }

  .tm-form-intro {
    margin-bottom: 13px;
  }

  .tm-form-intro h2 {
    font-size: 17px;
  }

  .tm-form-intro p {
    font-size: 9px;
  }

  .tm-form-section {
    padding-bottom: 17px;
  }

  .tm-form-section + .tm-form-section {
    padding-top: 17px;
  }

  .tm-form-section legend {
    margin-bottom: 12px;
    gap: 7px;
    font-size: 15px;
  }

  .tm-form-section legend span {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }

  .tm-form-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: 11px;
    row-gap: 9px;
  }

  .tm-field-wide {
    grid-column: span 2;
  }

  .tm-request-form label {
    gap: 4px;
    font-size: 10px;
  }

  .tm-request-form input,
  .tm-request-form select,
  .tm-request-form textarea {
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 11px;
  }

  .tm-request-form textarea {
    height: 48px;
    min-height: 48px;
  }

  .tm-file-field input {
    padding: 5px 7px;
  }

  .tm-file-field small {
    font-size: 9px;
  }

  .tm-credit-field {
    padding: 10px;
  }

  .tm-form-actions {
    display: grid;
    grid-template-columns: 1fr minmax(300px, 430px) 1fr;
    align-items: center;
    gap: 13px;
  }

  #tm-form-status {
    min-height: 0;
    font-size: 11px;
    text-align: left;
  }

  .tm-form-actions .tm-submit {
    min-height: 40px;
    margin: 0;
    padding: 9px 15px;
    font-size: 12px;
  }

  .tm-form-actions > small {
    margin: 0;
    font-size: 9px;
    text-align: left;
  }

  #sedes,
  #servicios,
  .tm-recognition-section,
  .tm-certificates-section,
  #terminos_condiciones,
  #factura,
  #pagos {
    padding: 46px 0;
  }

  #sedes > .container,
  #servicios > .container,
  .tm-recognition-section > .container,
  .tm-certificates-section > .container,
  #factura > .container,
  #pagos > .container,
  .footer-2 > .container {
    width: calc(100% - 36px);
    max-width: 1720px;
  }

  #sedes h2,
  #servicios h2,
  .tm-recognition-section h2,
  .tm-certificates-section h2,
  #terminos_condiciones h2,
  #factura h2,
  #pagos h2 {
    font-size: 30px;
  }

  #sedes > .container > p {
    max-width: 820px !important;
    margin-top: 7px !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  #sedes .container-card {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
  }

  #sedes .card figure {
    height: 116px;
  }

  #sedes .contenido-card {
    padding: 13px 14px 14px;
  }

  #sedes .contenido-card .title {
    margin-bottom: 4px;
    font-size: 15px;
  }

  #sedes .contenido-card p {
    min-height: 33px;
    margin-bottom: 9px;
    font-size: 10px;
  }

  #sedes .contenido-card > a {
    height: 32px;
    min-width: 32px;
    padding: 0 8px;
  }

  #sedes .contenido-card > a::after {
    font-size: 9px;
  }

  #sedes .contenido-card > a[title="Whatsapp"] {
    width: 32px;
    min-width: 32px;
  }

  #servicios .blurb-image {
    min-height: 165px;
    padding: 22px 20px 18px;
  }

  .footer-2 {
    padding: 38px 0 16px !important;
  }

  .footer-2 .row-40 > div {
    min-height: 145px;
  }

  .footer-2 .rights {
    margin-top: 18px;
    padding-top: 14px;
  }
}

@media (max-width: 1199px) {
  .tm-request-compact-layout {
    grid-template-columns: 1fr;
  }

  .tm-request-channel {
    border-right: 0;
    border-left: 0;
  }

  .tm-request-channel {
    border-bottom: 1px solid var(--tm-line);
  }

  .tm-request-benefits {
    border-top: 1px solid var(--tm-line);
    border-left: 0;
  }

  .tm-request-location-strip {
    grid-column: auto;
  }

  .tm-request-location-strip > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tm-request-whatsapp-card {
    max-width: 430px;
  }
}

@media (max-width: 480px) {
  .tm-mobile-hero-actions {
    width: 100%;
  }

  .tm-mobile-hero-actions .tm-btn {
    flex: 1 1 0;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 12px;
  }

  .tm-whatsapp-welcome {
    padding: 14px;
  }

  .tm-whatsapp-welcome-dialog {
    padding: 38px 24px 26px;
    border-radius: 15px;
  }

  .tm-whatsapp-welcome-dialog h2 {
    font-size: 25px;
  }

  .tm-tracking-modal {
    padding: 14px;
  }

  .tm-tracking-modal-dialog {
    padding: 34px 20px 24px;
    border-radius: 16px;
  }

  .tm-tracking-modal-dialog h2 {
    font-size: 25px;
  }

  .tm-tracking-modal-guide {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .tm-hero h1 {
    font-size: 42px;
  }

  .tm-hero-copy > p {
    font-size: 16px;
  }

  .tm-hero-trust {
    grid-template-columns: 1fr;
  }

  .tm-hero-trust > div:nth-child(n+4) {
    display: none;
  }
}

/* Secciones institucionales: continuidad visual después del formulario */
#sedes,
#servicios,
.tm-recognition-section,
.tm-certificates-section,
#terminos_condiciones,
#factura,
#pagos {
  padding: 76px 0;
  color: var(--tm-navy);
}

#sedes,
.tm-recognition-section,
#terminos_condiciones,
#pagos {
  background: var(--tm-soft);
}

#servicios,
.tm-certificates-section,
#factura {
  background: #fff !important;
}

#sedes > .container,
#servicios > .container,
.tm-recognition-section > .container,
.tm-certificates-section > .container,
#terminos_condiciones > .container,
#factura > .container,
#pagos > .container,
.footer-2 > .container {
  width: min(100% - 48px, 1400px);
  max-width: 1400px;
}

#sedes h2,
#servicios h2,
.tm-recognition-section h2,
.tm-certificates-section h2,
#terminos_condiciones h2,
#factura h2,
#pagos h2 {
  margin: 0 0 14px;
  color: var(--tm-navy);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -.025em;
  text-align: center;
}

#sedes h2::after,
#servicios h2::after,
.tm-recognition-section h2::after,
.tm-certificates-section h2::after,
#terminos_condiciones h2::after,
#factura h2::after,
#pagos h2::after {
  display: block;
  width: 46px;
  height: 4px;
  margin: 15px auto 0;
  border-radius: 8px;
  background: var(--tm-red);
  content: "";
}

#sedes .block-lg,
#servicios .block-lg,
#pagos .block-lg {
  margin-bottom: 34px;
}

#sedes .block-lg p,
#servicios .block-lg p,
#pagos .block-lg p {
  margin: 0 auto;
  color: var(--tm-muted);
  font-size: 16px;
}

/* Sedes */
#sedes .container-card {
  display: grid;
  width: 100%;
  max-width: none;
  margin: 0 0 20px;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

#sedes .container-card.reducido:empty {
  display: none;
}

#sedes .card {
  display: flex;
  width: auto;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--tm-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 29, 53, .07);
  transition: transform .2s ease, box-shadow .2s ease;
}

#sedes .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0, 29, 53, .12);
}

#sedes .card figure {
  width: 100%;
  height: 165px;
  margin: 0;
  overflow: hidden;
  background: #e9eef3;
}

#sedes .card figure > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#sedes .contenido-card {
  padding: 19px 20px 20px;
  text-align: left;
}

#sedes .contenido-card .title {
  margin-bottom: 7px;
  color: var(--tm-navy);
  font-size: 18px;
  font-weight: 800;
}

#sedes .contenido-card p {
  min-height: 42px;
  margin: 0 0 15px;
  color: var(--tm-muted);
  font-size: 13px;
  line-height: 1.55;
}

#sedes .contenido-card > a {
  display: inline-flex;
  min-width: 38px;
  height: 38px;
  margin: 0 6px 0 0;
  padding: 0 11px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #eef3f7;
  color: var(--tm-navy);
  font-size: 0;
}

#sedes .contenido-card > a::before {
  width: 17px;
  height: 17px;
  margin-right: 7px;
  flex: 0 0 17px;
  background-color: currentColor;
  content: "";
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

#sedes .contenido-card > a[title="Llamar"] {
  background: #eef3f7;
  color: var(--tm-navy);
}

#sedes .contenido-card > a[title="Llamar"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.46 15.46 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.61 21 3 13.39 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1.02l-2.2 2.2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.46 15.46 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.61 21 3 13.39 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1.02l-2.2 2.2Z'/%3E%3C/svg%3E");
}

#sedes .contenido-card > a[title="Llamar"]::after {
  content: attr(data-contact);
}

#sedes .contenido-card > a[title="Ver en el mapa"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E");
}

#sedes .contenido-card > a[title="Ver en el mapa"]::after {
  content: "Ubicación";
}

#sedes .contenido-card > a[title="Whatsapp"] {
  width: 38px;
  min-width: 38px;
  padding: 0;
  background: #e8f8ee;
  color: #138a42;
}

#sedes .contenido-card > a[title="Whatsapp"]::before {
  width: 19px;
  height: 19px;
  margin-right: 0;
  flex-basis: 19px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2a9.84 9.84 0 0 0-8.43 14.91L2.05 22l5.21-1.5A9.96 9.96 0 1 0 12.04 2Zm0 17.98a8.1 8.1 0 0 1-4.13-1.13l-.3-.18-3.09.89.92-3.01-.2-.31a8.07 8.07 0 1 1 6.8 3.74Zm4.44-6.06c-.24-.12-1.44-.71-1.66-.79-.22-.08-.38-.12-.54.12-.16.24-.62.79-.76.95-.14.16-.28.18-.52.06-.24-.12-1.03-.38-1.96-1.21a7.36 7.36 0 0 1-1.35-1.68c-.14-.24-.01-.37.11-.49.11-.11.24-.28.36-.42.12-.14.16-.24.24-.4.08-.16.04-.3-.02-.42-.06-.12-.54-1.3-.74-1.78-.2-.47-.4-.4-.54-.41h-.46c-.16 0-.42.06-.64.3-.22.24-.84.82-.84 2s.86 2.32.98 2.48c.12.16 1.69 2.58 4.1 3.62.57.25 1.02.39 1.37.5.58.18 1.1.16 1.51.1.46-.07 1.44-.59 1.64-1.16.2-.57.2-1.06.14-1.16-.06-.1-.22-.16-.46-.28Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2a9.84 9.84 0 0 0-8.43 14.91L2.05 22l5.21-1.5A9.96 9.96 0 1 0 12.04 2Zm0 17.98a8.1 8.1 0 0 1-4.13-1.13l-.3-.18-3.09.89.92-3.01-.2-.31a8.07 8.07 0 1 1 6.8 3.74Zm4.44-6.06c-.24-.12-1.44-.71-1.66-.79-.22-.08-.38-.12-.54.12-.16.24-.62.79-.76.95-.14.16-.28.18-.52.06-.24-.12-1.03-.38-1.96-1.21a7.36 7.36 0 0 1-1.35-1.68c-.14-.24-.01-.37.11-.49.11-.11.24-.28.36-.42.12-.14.16-.24.24-.4.08-.16.04-.3-.02-.42-.06-.12-.54-1.3-.74-1.78-.2-.47-.4-.4-.54-.41h-.46c-.16 0-.42.06-.64.3-.22.24-.84.82-.84 2s.86 2.32.98 2.48c.12.16 1.69 2.58 4.1 3.62.57.25 1.02.39 1.37.5.58.18 1.1.16 1.51.1.46-.07 1.44-.59 1.64-1.16.2-.57.2-1.06.14-1.16-.06-.1-.22-.16-.46-.28Z'/%3E%3C/svg%3E");
}

#sedes .contenido-card > a[title="Whatsapp"]::after {
  content: none;
}

#sedes .contenido-card > a::after {
  font-size: 12px;
  font-weight: 700;
}

#sedes .contenido-card > a[href="#"] {
  opacity: .62;
  pointer-events: none;
  cursor: default;
}

#sedes .contenido-card > a[href="#"]::after {
  content: "Sede virtual";
}

#sedes .contenido-card > a i {
  display: none;
}

/* Servicios */
#servicios .row {
  row-gap: 20px;
}

#servicios .blurb-image {
  position: relative;
  min-height: 205px;
  padding: 29px 26px 25px;
  overflow: hidden;
  border: 1px solid var(--tm-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 29, 53, .06);
  text-align: left;
}

#servicios .blurb-image::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--tm-red);
  content: "";
}

#servicios .blurb-image .icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 50%;
  background: #fff0f1;
  color: var(--tm-red);
}

#servicios .blurb-image .tm-service-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#servicios .blurb-image .title {
  margin-bottom: 8px;
  color: var(--tm-navy);
  font-size: 18px;
  font-weight: 800;
}

#servicios .blurb-image p {
  margin: 0;
  color: var(--tm-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Reconocimientos y certificados */
.tm-recognition-section .galeria {
  display: grid;
  margin-top: 35px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tm-recognition-section .galeria img {
  width: 100%;
  height: 190px;
  padding: 24px;
  object-fit: contain;
  border: 1px solid var(--tm-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 29, 53, .06);
}

.tm-certificates-section .owl-carousel {
  margin-top: 35px;
}

.tm-certificates-section .quote-boxed-sm {
  height: 180px;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--tm-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(0, 29, 53, .06);
}

.tm-certificates-section .quote-author,
.tm-certificates-section .author-media {
  width: 100%;
  height: 100%;
  margin: 0;
}

.tm-certificates-section .author-media img {
  width: 100% !important;
  height: 100%;
  object-fit: contain;
}

/* Documentos */
#terminos_condiciones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

#terminos_condiciones > .container {
  width: auto;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--tm-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 29, 53, .07);
}

#terminos_condiciones h2 {
  min-height: 76px;
  font-size: 25px;
}

#terminos_condiciones .cotiza-container {
  width: 100%;
  max-width: none;
  margin: 0;
}

#terminos_condiciones iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 1px solid var(--tm-line);
  border-radius: 12px;
  background: #f1f4f7;
}

/* Factura */
#factura form {
  width: min(100%, 900px);
  margin: 34px auto 0;
  padding: 30px;
  border: 1px solid var(--tm-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(0, 29, 53, .08);
  text-align: left;
}

#factura #campos-dinamicos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

#factura .form-group:last-child {
  grid-column: 1 / -1;
}

#factura label {
  margin-bottom: 8px;
  color: var(--tm-navy);
  font-size: 13px;
  font-weight: 800;
}

#factura .form-control {
  height: 50px;
  padding: 12px 14px;
  border: 1px solid #d7dee5;
  border-radius: 9px;
  background: #fff;
  color: var(--tm-navy);
}

#factura input[type="file"] {
  padding: 10px;
}

#factura .btn-primary {
  width: 100%;
  min-height: 50px;
  margin-top: 10px;
  border: 0;
  border-radius: 9px;
  background: var(--tm-red);
  font-weight: 800;
}

/* Medios de pago */
#pagos .row {
  justify-content: center;
  gap: 20px;
}

#pagos .row > div {
  max-width: 410px;
  flex: 1 1 320px;
}

#pagos .blurb-image {
  height: 100%;
  padding: 28px;
  border: 1px solid var(--tm-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 29, 53, .07);
  cursor: pointer;
}

#pagos .blurb-image img {
  width: 100%;
  height: 110px;
  margin-bottom: 18px;
  object-fit: contain;
}

#pagos .blurb-image p {
  margin: 4px 0;
  color: var(--tm-muted);
  font-size: 14px;
}

/* Footer institucional */
.footer-2 {
  padding: 58px 0 22px !important;
  color: rgba(255, 255, 255, .72);
}

.footer-2 .row-40 {
  align-items: flex-start;
}

.footer-2 .row-40 > div {
  min-height: 190px;
  padding-right: 28px;
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.footer-2 .row-40 > div:last-child {
  border-right: 0;
}

.footer-2 img {
  object-fit: contain;
}

.footer-2 p,
.footer-2 a,
.footer-2 .unit-body {
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  line-height: 1.65;
}

.footer-2 a:hover {
  color: #fff;
}

.footer-2 .title {
  display: block;
  margin: 0 0 18px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.footer-2 .social-items a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  margin-right: 7px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.footer-2 .rights {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  text-align: center;
}

@media (max-width: 1100px) {
  #sedes .container-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #terminos_condiciones {
    grid-template-columns: 1fr;
  }

  #terminos_condiciones > .container {
    width: min(100% - 48px, 900px);
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  #sedes,
  #servicios,
  .tm-recognition-section,
  .tm-certificates-section,
  #terminos_condiciones,
  #factura,
  #pagos {
    padding: 55px 0;
  }

  #sedes > .container,
  #servicios > .container,
  .tm-recognition-section > .container,
  .tm-certificates-section > .container,
  #factura > .container,
  #pagos > .container,
  .footer-2 > .container {
    width: min(100% - 30px, 1400px);
  }

  #sedes .container-card,
  .tm-recognition-section .galeria,
  #factura #campos-dinamicos {
    grid-template-columns: 1fr;
  }

  #factura .form-group:last-child {
    grid-column: auto;
  }

  #terminos_condiciones > .container {
    width: calc(100% - 30px);
    padding: 20px;
  }

  #terminos_condiciones h2 {
    min-height: 0;
    font-size: 23px;
  }

  #terminos_condiciones iframe {
    height: 390px;
  }

  #factura form {
    padding: 22px 18px;
  }

  .footer-2 .row-40 > div {
    min-height: 0;
    margin-bottom: 28px;
    padding-bottom: 25px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }
}
