:root {
  --header-navy: #10356f;
  --header-blue: #2e55c7;
  --header-cyan: #20bfe5;
  --header-light: #f5f8fc;
  --header-border: #dce6f2;
  --header-whatsapp: #15c96f;
}

.tlps-header {
  position: sticky !important;
  top: 0;
  z-index: 1000;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  background: #fff;
  box-shadow: none !important;
  font-family: "Roboto", Arial, sans-serif;
  transition: box-shadow .22s ease;
}

.tlps-header::after {
  display: block;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--header-cyan) 0 28%, var(--header-blue) 28% 100%);
  content: "";
}

.tlps-header.is-sticky { position: fixed !important; top: 0 !important; right: 0; left: 0; box-shadow: 0 8px 24px rgba(16, 47, 99, .1) !important; }
.tlps-header-spacer { display: block; height: 0; }
.tlps-header + .color_border { display: none !important; }
.tlps-header > .mtwTable { display: none !important; }

.tlps-header__top {
  height: 34px;
  overflow: hidden;
  background: var(--header-light);
  border-bottom: 1px solid #e4ebf4;
  transition: height .22s ease, opacity .18s ease;
}

.tlps-header.is-sticky .tlps-header__top { height: 0; border-bottom: 0; opacity: 0; }

.tlps-header__top-inner,
.tlps-header__main {
  width: min(calc(100% - 48px), 1440px);
  margin-inline: auto;
}

.tlps-header__top-inner {
  display: flex;
  height: 34px;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  color: #49627f;
  font-size: 13px;
}

.tlps-header__hours { display: inline-flex; margin-right: auto; align-items: center; gap: 7px; white-space: nowrap; }
.tlps-header__hours i { color: var(--header-blue); font-size: 14px; }
.tlps-header__top .salCell { display: block !important; padding: 0 !important; background: transparent !important; }
.tlps-header__top .salCell > div,
.tlps-header__top .salCell > div > div { display: block !important; max-height: none !important; }
.tlps-header__top .salCell a { display: inline-flex !important; align-items: center; color: #49627f !important; font-size: 13px !important; text-decoration: none; white-space: nowrap; }
.tlps-header__top .salCell a:hover,
.tlps-header__top .salCell a:focus-visible { color: var(--header-blue) !important; outline: none; }
.tlps-header__top .salCell i { margin-right: 6px !important; padding: 0 !important; border: 0 !important; background: transparent !important; color: var(--header-blue) !important; font-size: 15px !important; }
.tlps-header__top #ustAlan2Icon { color: var(--header-whatsapp) !important; }
.tlps-header__top .salCell span { color: inherit !important; font-size: inherit !important; }

.tlps-language { position: relative; }
.tlps-language__button {
  display: inline-flex;
  height: 28px;
  padding: 0 8px;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--header-navy);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.tlps-language__button:hover,.tlps-language__button:focus-visible { background: #e8eef7; outline: none; }
.tlps-language__menu { display: none; position: absolute; top: 30px; right: 0; min-width: 116px; padding: 7px; background: #fff; border: 1px solid var(--header-border); border-radius: 9px; box-shadow: 0 12px 28px rgba(16,53,111,.14); }
.tlps-language.is-open .tlps-language__menu { display: grid; }
.tlps-language__menu span { padding: 7px 9px; color: var(--header-navy); font-size: 12px; }
.tlps-language__menu span[aria-disabled="true"] { color: #8798ad; }

.tlps-header__main {
  display: grid;
  min-height: 76px;
  grid-template-columns: minmax(280px, 305px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 2.4vw, 38px);
  transition: min-height .22s ease;
}
.tlps-header.is-sticky .tlps-header__main { min-height: 68px; }
.tlps-header__logo { display: inline-flex; width: fit-content; align-items: center; }
.tlps-header__logo img { display: block !important; width: 300px !important; height: auto !important; max-width: 100% !important; max-height: 72px !important; object-fit: contain; object-position: left center; }

.tlps-header__nav { min-width: 0; }
.tlps-header__nav .nmmTable { display: flex !important; margin: 0 !important; align-items: center; justify-content: flex-end; gap: clamp(15px, 1.45vw, 25px); background: transparent !important; }
.tlps-header__nav .nmmTable > a { display: none !important; }
.tlps-header__nav .nmmItem { position: relative; display: block !important; height: auto !important; padding: 0 !important; background: transparent !important; border: 0 !important; }
.tlps-header__nav .nmmItem > a {
  display: inline-flex !important;
  min-height: 76px;
  padding: 0 !important;
  align-items: center;
  color: var(--header-navy) !important;
  font-size: 14px !important;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: color .18s ease;
}
.tlps-header.is-sticky .tlps-header__nav .nmmItem > a { min-height: 68px; }
.tlps-header__nav .nmmItem > a::after { position: absolute; right: 0; bottom: 13px; left: 0; height: 2px; background: var(--header-cyan); content: ""; transform: scaleX(0); transform-origin: center; transition: transform .2s ease; }
.tlps-header__nav .nmmItem:hover > a,.tlps-header__nav .nmmItem > a:focus-visible,.tlps-header__nav .nmmItem.is-current > a { color: var(--header-blue) !important; outline: none; }
.tlps-header__nav .nmmItem:hover > a::after,.tlps-header__nav .nmmItem > a:focus-visible::after,.tlps-header__nav .nmmItem.is-current > a::after { transform: scaleX(1); }
.tlps-header__nav .dropdown-menu { top: calc(100% - 8px); min-width: 230px; padding: 8px !important; overflow: hidden; background: #fff !important; border: 1px solid var(--header-border) !important; border-top: 3px solid var(--header-cyan) !important; border-radius: 10px; box-shadow: 0 16px 36px rgba(16,53,111,.16); }
.tlps-header__nav .nmmItem:hover > .dropdown-menu,.tlps-header__nav .nmmItem:focus-within > .dropdown-menu { display: block; }
.tlps-header__nav .dropdown-menu li { display: block !important; margin: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; }
.tlps-header__nav .dropdown-menu a { display: block !important; min-height: 0 !important; padding: 10px 11px !important; background: transparent !important; border: 0 !important; border-radius: 7px; color: #29486f !important; font-size: 13px !important; font-weight: 500 !important; line-height: 1.35; white-space: normal; }
.tlps-header__nav .dropdown-menu a::before,.tlps-header__nav .dropdown-menu a::after { display: none !important; }
.tlps-header__nav .dropdown-menu a:hover,.tlps-header__nav .dropdown-menu a:focus-visible { background: var(--header-light) !important; color: var(--header-blue) !important; outline: none; }

.tlps-header__results { display: flex; align-items: center; gap: 8px; }
.tlps-result {
  display: inline-flex !important;
  height: 42px;
  padding: 0 16px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--header-blue);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.tlps-result i { padding: 0 !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; color: inherit !important; font-size: 14px !important; }
.tlps-result--primary { background: var(--header-blue); color: #fff; }
.tlps-result--secondary { background: #fff; color: var(--header-blue); }
.tlps-result:hover,.tlps-result:focus-visible { background: var(--header-navy); border-color: var(--header-navy); color: #fff; outline: none; transform: translateY(-1px); }
.tlps-header__mobile-actions { display: none; align-items: center; gap: 8px; }
.tlps-mobile-action { display: inline-flex; height: 40px; padding: 0 13px; align-items: center; gap: 7px; border: 1px solid var(--header-border); border-radius: 8px; background: #fff; color: var(--header-navy); cursor: pointer; font-size: 13px; font-weight: 700; }
.tlps-mobile-action--result { border-color: var(--header-blue); background: var(--header-blue); color: #fff; }
.tlps-mobile-action:focus-visible { outline: 3px solid rgba(32,191,229,.35); outline-offset: 2px; }

@media (max-width: 1240px) {
  .tlps-header__main { grid-template-columns: minmax(220px, 245px) minmax(0, 1fr) auto; gap: 16px; }
  .tlps-header__logo img { width: 240px !important; }
  .tlps-header__nav .nmmTable { gap: 14px; }
  .tlps-header__nav .nmmItem > a { font-size: 13px !important; }
  .tlps-result { padding-inline: 12px; font-size: 12px; }
}

@media (max-width: 1080px) {
  .tlps-header__top,.tlps-header__nav,.tlps-header__results { display: none !important; }
  .tlps-header__main,.tlps-header.is-sticky .tlps-header__main { min-height: 70px; grid-template-columns: 1fr auto; }
  .tlps-header__main { width: min(calc(100% - 32px), 1440px); }
  .tlps-header__logo img { width: 170px !important; max-height: 56px !important; }
  .tlps-header__mobile-actions { display: flex; }
}

@media (max-width: 430px) {
  .tlps-header__main { width: calc(100% - 24px); }
  .tlps-header__logo img { width: 165px !important; }
}

@media (max-width: 380px) {
  .tlps-header__logo img { width: 150px !important; }
}

@media (max-width: 340px) {
  .tlps-mobile-action { width: 42px; padding: 0; justify-content: center; }
  .tlps-mobile-action span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (max-width: 1080px) {
  .tlps-drawer-overlay { position: fixed; inset: 0; z-index: 9998; display: none; background: rgba(8,36,77,.58); backdrop-filter: blur(3px); }
  #mySidebar.tlps-mobile-drawer { position: fixed; top: 0; right: 0; bottom: 0; left: auto; z-index: 9999; width: 0 !important; max-width: 94vw; height: 100dvh; padding: 0 !important; overflow: hidden; background: #fff !important; box-shadow: none; transition: width .28s ease, padding .28s ease; }
  #mySidebar.tlps-mobile-drawer.is-open { width: min(410px,94vw) !important; padding: 18px 20px 24px !important; overflow-x: hidden; overflow-y: auto; box-shadow: -18px 0 50px rgba(8,36,77,.24); }
  .tlps-mobile-drawer__header { display: flex; height: 46px; margin-bottom: 16px; align-items: center; justify-content: space-between; }
  .tlps-mobile-drawer__header img { display: block; width: 225px; height: auto; max-height: 56px; object-fit: contain; object-position: left center; }
  #mySidebar .closebtn { position: static !important; display: grid; width: 40px; height: 40px; padding: 0 !important; place-content: center; background: #f5f8fc !important; border: 1px solid var(--header-border); border-radius: 10px; color: var(--header-navy) !important; font-size: 17px !important; }
  #mySidebar .tlps-drawer-results { display: grid; margin: 0 0 22px; grid-template-columns: 1fr 1fr; gap: 8px; }
  #mySidebar .tlps-drawer-results .tlps-result { width: 100%; padding-inline: 8px; font-size: 12px; }
  .tlps-mobile-drawer__label { margin: 0 0 8px; color: #778aa3; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
  .tlps-mobile-drawer__nav { display: grid; gap: 2px; }
  #mySidebar .sidebar-link { display: grid !important; width: 100% !important; min-height: 46px; margin: 0 !important; padding: 0 10px !important; grid-template-columns: 28px 1fr 18px; align-items: center; background: transparent !important; border: 0 !important; border-radius: 9px; color: var(--header-navy) !important; font-size: 14px; font-weight: 600; text-align: left; text-decoration: none; }
  #mySidebar .sidebar-link:hover,#mySidebar .sidebar-link:focus-visible { background: var(--header-light) !important; outline: none; }
  #mySidebar .sidebar-link i { display: grid !important; width: 28px !important; height: 28px !important; padding: 0 !important; place-content: center; background: transparent !important; border: 0 !important; border-radius: 0 !important; color: var(--header-blue) !important; font-size: 14px !important; }
  #mySidebar .sidebar-link i:last-child { color: #9babc0 !important; font-size: 10px !important; }
  .tlps-mobile-drawer__contact { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--header-border); }
  .tlps-mobile-drawer__contact > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .tlps-drawer-contact { display: grid; min-height: 66px; padding: 10px; grid-template-columns: 28px 1fr; align-items: center; background: #f5f8fc; border: 1px solid var(--header-border); border-radius: 11px; color: var(--header-navy); font-size: 12px; font-weight: 700; line-height: 1.25; text-decoration: none; }
  .tlps-drawer-contact i { background: transparent !important; color: var(--header-blue) !important; font-size: 18px; }
  .tlps-drawer-contact small { display: block; margin-bottom: 3px; color: #71849d; font-size: 10px; font-weight: 600; }
  .tlps-drawer-contact--whatsapp { background: #edfff5; border-color: #bcefd1; }
  .tlps-drawer-contact--whatsapp i { color: var(--header-whatsapp) !important; }
}

@media (min-width:1081px) { .tlps-drawer-overlay,#mySidebar.tlps-mobile-drawer { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  .tlps-header,.tlps-header__top,.tlps-header__main,.tlps-header__nav .nmmItem > a::after,.tlps-result { transition: none; }
}
