/* Transport Express – menu v1.6.0. All rules are scoped to the plugin. */
/* The Uncode masthead is hidden only while this plugin is enabled. */
body.te-mm-on #masthead {display:none!important}
body.te-mm-on .te-mmenu, body.te-mm-on .te-mmenu * {box-sizing:border-box}
body.te-mm-on .te-mmenu {
  --te-ink:#0b1648;--te-blue:#3039ef;--te-muted:#607087;--te-line:#dce3f0;
  --te-admin:0px;--te-upper-height:82px;
  /* Both menu rows stay fixed together while scrolling. */
  position:sticky;top:var(--te-admin);
  z-index:99990;width:100%;background:transparent;color:var(--te-header-fg,var(--te-ink));
  font-family:inherit;box-shadow:0 6px 24px rgba(15,24,65,.075);isolation:isolate;
}
body.admin-bar.te-mm-on .te-mmenu {--te-admin:32px}
.te-mmenu .te-mm-wrap {width:min(100% - 56px,1560px);margin-inline:auto}
.te-mmenu a,.te-mmenu a:hover,.te-mmenu a:focus {text-decoration:none!important}
.te-mmenu button,.te-mmenu a {font-family:inherit}
.te-mmenu button {cursor:pointer}
.te-mmenu button:focus-visible,.te-mmenu a:focus-visible {outline:3px solid #7c92ff;outline-offset:3px}

/* Row 1: logo, contact shortcuts. Desktop-only scrolls away. */
.te-mm-upper {height:var(--te-upper-height);background:var(--te-header-bg,#f0f0ff);border-bottom:0}
.te-mm-upper-inner {height:100%;min-height:0;display:flex;align-items:center;gap:23px}
.te-mmenu .te-mm-brand {flex:0 0 auto;display:flex;align-items:center}
.te-mm-brand img {height:auto!important;max-height:53px!important;width:200px!important;max-width:100%;object-fit:contain}
.te-mm-tagline {color:var(--te-header-muted,#69738d);font-size:12px;line-height:1.45;max-width:235px;margin:0 auto 0 0!important}
.te-mm-actions {display:flex;gap:10px;align-items:center;flex:0 0 auto}
.te-mmenu .te-mm-client,.te-mmenu .te-mm-phone,.te-mmenu .te-mm-quote {min-height:42px;padding:0 17px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:13px;font-weight:750;line-height:1.2;white-space:nowrap;transition:background .18s ease,transform .18s ease;color:var(--te-ink)!important}
.te-mmenu .te-mm-client {border:1px solid #d4daeb}
.te-mmenu .te-mm-phone {border:1px solid #bfc9fa;color:var(--te-blue)!important}
.te-mmenu .te-mm-quote {background:var(--te-blue);color:#fff!important;border:1px solid var(--te-blue)}
.te-mmenu .te-mm-quote:hover,.te-mmenu .te-mm-contact:hover {background:#2029be!important;transform:translateY(-1px)}
.te-mm-burger {display:none}

/* Row 2: center the navigation as one compact group, rather than distributing
   each category into equal columns across the whole 1560px container. */
.te-mm-nav {background:var(--te-header-bg,#f0f0ff);border-bottom:0}
.te-mm-nav-inner {display:flex;justify-content:center;align-items:stretch;position:relative;gap:clamp(0px,.4vw,7px);min-height:55px}
.te-mm-item {position:static;display:flex;flex:0 1 auto;min-width:0;align-items:stretch}
.te-mm-trigger {display:flex;align-items:center;justify-content:center;gap:5px;width:auto;min-width:0;border-bottom:3px solid transparent;transition:background .18s,border-color .18s;padding-inline:clamp(5px,.6vw,10px)}
.te-mm-item.is-open .te-mm-trigger,.te-mm-item.is-current .te-mm-trigger {background:#f1f4ff;border-bottom-color:var(--te-blue)}
.te-mmenu .te-mm-main-link {display:flex;align-items:center;min-height:52px;text-transform:none;letter-spacing:.006em;color:var(--te-header-fg,var(--te-ink))!important;font-size:clamp(13.2px,.82vw,15.6px);font-weight:750;line-height:1.22;text-align:center}
/* Draw the dropdown chevron rather than positioning a font glyph: perfectly
   centered relative to the label, including for two-line category titles. */
.te-mm-toggle {border:0;background:transparent;color:var(--te-blue);font-size:0;line-height:1;margin:0;align-self:center;flex:0 0 14px;width:14px;height:32px;min-width:14px;padding:0;display:inline-flex;align-items:center;justify-content:center}
.te-mm-toggle span {display:block;width:6px;height:6px;border-right:1.7px solid currentColor;border-bottom:1.7px solid currentColor;transform:rotate(45deg) translate(-1px,-1px);transition:transform .2s}
.te-mm-item.is-open .te-mm-toggle span {transform:rotate(225deg) translate(-1px,-1px)}

/* Mega-menu: deliberately strong left/right contrast (navy vs. near-white).
   Panel is attached to the compact navigation bar, not to one individual tab. */
/* Keep the desktop panel in the layout while closed: display:none cannot animate.
   Visibility and pointer-events prevent hidden links from being interacted with.
   A short upward movement creates the impression that the panel arrives from below. */
.te-mm-panel {position:absolute;top:100%;left:0;width:100%;background:#e8effa;border:1px solid #cbd8ed;border-top:0;border-radius:0 0 18px 18px;box-shadow:0 22px 38px rgba(11,22,72,.19);z-index:3;overflow:hidden;opacity:0;visibility:hidden;pointer-events:none;transform:translate3d(0,12px,0);transition:opacity .22s ease,transform .28s cubic-bezier(.2,.75,.25,1),visibility 0s linear .28s}
.te-mm-item.is-open .te-mm-panel {opacity:1;visibility:visible;pointer-events:auto;transform:translate3d(0,0,0);transition:opacity .22s ease,transform .28s cubic-bezier(.2,.75,.25,1),visibility 0s}
.te-mm-panel-inner {display:grid;grid-template-columns:minmax(250px,34%) minmax(0,66%);min-height:245px}
.te-mm-links {padding:31px 35px 36px;background:#14254f;color:#fff;border-radius:0 0 0 18px}
.te-mm-eyebrow {color:#b2c5ef;text-transform:uppercase;font-size:11px!important;letter-spacing:.12em;font-weight:800;margin:0 0 15px!important}
.te-mmenu .te-mm-category {font-size:19px;font-weight:800;color:#fff!important;display:inline-flex;align-items:center;gap:12px;margin-bottom:15px}
.te-mm-sublist span {color:#b1c3ff}
.te-mm-sublist {margin:0!important;padding:0!important;list-style:none!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;row-gap:5px}
.te-mm-sublist li {margin:0!important;padding:0!important;list-style:none!important}
/* Sub-item arrows and labels share exactly the same vertical center. */
.te-mmenu .te-mm-sublist a {display:flex;align-items:center;gap:9px;color:#e7edff!important;font-weight:600;font-size:14px;line-height:1.4;padding:8px 0}
.te-mmenu .te-mm-sublist a span {flex:0 0 15px;width:15px;height:20px;display:inline-flex;align-items:center;justify-content:center;font-size:14px;line-height:1;font-weight:500;transform:translateY(-.5px)}
.te-mmenu .te-mm-sublist a:hover,.te-mmenu .te-mm-category:hover {color:#afc3ff!important}

/* Narrower, more legible commercial copy and a centered price badge. */
.te-mm-promo {padding:32px 32px;display:grid;grid-template-columns:minmax(0,400px) 178px;justify-content:center;gap:clamp(24px,3vw,44px);align-items:center;background:#e8effa}
.te-mm-promo--no-rate {grid-template-columns:minmax(0,400px)}
.te-mm-promo-copy {display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:13px;min-width:0}
.te-mm-promo h2 {font-size:clamp(21px,1.5vw,25px)!important;line-height:1.28!important;font-weight:800!important;margin:0!important;color:var(--te-ink)!important;max-width:400px}
.te-mm-rate {background:#176c78;border-radius:14px;padding:22px 14px;min-width:0;width:178px;max-width:100%;min-height:102px;justify-self:center;align-self:center;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#fff;box-shadow:0 10px 22px rgba(17,80,94,.17)}
.te-mm-rate span {font-size:12px;font-weight:700;color:#d8f1f3;line-height:1.25}
.te-mm-rate strong {font-size:clamp(20px,1.55vw,27px);font-weight:800;line-height:1.18;white-space:normal;color:#fff}
.te-mmenu .te-mm-description {color:#293954;font-size:16px!important;line-height:1.55!important;font-weight:600!important;max-width:390px;margin:0!important}
.te-mmenu .te-mm-contact {display:inline-flex;align-items:center;gap:24px;background:var(--te-blue);color:#fff!important;padding:12px 19px;border-radius:9px;font-size:13px;font-weight:800;margin-top:6px;min-height:42px;transition:background .18s,transform .18s}

@media(max-width:1250px) {
  .te-mm-tagline{display:none}
  .te-mmenu .te-mm-wrap{width:min(100% - 38px,1560px)}
  body.te-mm-on .te-mmenu{--te-upper-height:76px}
  .te-mm-brand img{width:180px!important}
  .te-mm-promo{grid-template-columns:minmax(0,350px) 155px;padding-inline:24px;gap:24px}
  .te-mm-links{padding-inline:24px}
}

/* Tablet/mobile: keep row 1 sticky because it contains the only burger button.
   The second row becomes a full-height drawer, with accordion sections. */
@media(max-width:1100px) {
  body.te-mm-on .te-mmenu{--te-upper-height:75px;top:var(--te-admin)}
  .te-mm-upper-inner{gap:12px}
  .te-mm-brand img{width:154px!important;max-height:46px!important}
  .te-mm-actions{margin-left:auto}
  .te-mmenu .te-mm-client{display:none}
  .te-mmenu .te-mm-phone,.te-mmenu .te-mm-quote{font-size:12px;padding-inline:10px;min-height:39px}
  .te-mm-burger{width:42px;height:42px;border:1px solid #d9dfef;background:#fff;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;flex-shrink:0}
  .te-mm-burger span{display:block;width:20px;height:2px;background:#13224d;border-radius:2px;transition:transform .2s,opacity .2s}
  .te-mmenu.te-mm-open .te-mm-burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .te-mmenu.te-mm-open .te-mm-burger span:nth-child(2){opacity:0}
  .te-mmenu.te-mm-open .te-mm-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .te-mm-nav{display:none;position:fixed;top:var(--te-mobile-top,75px);left:0;right:0;bottom:0;overflow-y:auto;overscroll-behavior:contain;box-shadow:0 16px 32px rgba(11,22,72,.18)}
  .te-mmenu.te-mm-open .te-mm-nav{display:block}
  .te-mm-nav-inner{display:block;width:100%!important;min-height:0;padding:12px 16px 30px}
  .te-mm-item{display:block;border-bottom:1px solid var(--te-line)}
  .te-mm-trigger{justify-content:space-between;padding:0 5px;border-bottom:0!important}
  .te-mmenu .te-mm-main-link{font-size:14px;text-align:left;min-height:55px;padding:8px 0;flex:1}
  .te-mm-toggle{width:45px;min-width:45px;flex-basis:45px;height:48px;margin-left:6px}
  .te-mm-toggle span{width:8px;height:8px}
  .te-mm-panel{position:static;box-shadow:none;border:0;border-radius:0;background:#e8effa;width:100%;overflow:visible;display:none;opacity:1;visibility:visible;transform:none;transition:none;pointer-events:auto}
  .te-mm-item.is-open .te-mm-panel{display:block}
  .te-mm-panel-inner{grid-template-columns:1fr;min-height:0}
  .te-mm-links{padding:20px;border-radius:12px}
  .te-mm-promo{padding:20px 12px 26px;gap:16px;grid-template-columns:minmax(0,1fr) minmax(115px,165px)}
  .te-mm-promo h2{font-size:22px!important}
  .te-mm-promo--no-rate{grid-template-columns:minmax(0,400px)}
  .te-mm-rate{width:155px;min-height:96px}
  .te-mm-sublist{grid-template-columns:1fr}
  .te-mm-contact{margin-top:2px!important}
  body.te-mm-lock{overflow:hidden!important}
}
@media(max-width:570px) {
  body.te-mm-on .te-mmenu{--te-upper-height:68px}
  body.admin-bar.te-mm-on .te-mmenu{--te-admin:46px}
  .te-mmenu .te-mm-wrap{width:calc(100% - 24px)}
  .te-mm-upper-inner{gap:7px}
  .te-mm-brand img{width:122px!important;max-height:39px!important}
  .te-mmenu .te-mm-phone{font-size:0!important;padding:0;min-width:37px;width:37px;min-height:37px;border-radius:9px}
  .te-mmenu .te-mm-phone span{font-size:19px}
  .te-mmenu .te-mm-quote{min-height:37px;padding:0 9px;font-size:11px}
  .te-mm-quote span{display:none}
  .te-mm-actions{gap:5px}
  .te-mm-burger{width:38px;height:38px;gap:5px}
  .te-mm-burger span{width:18px}
  .te-mm-nav{top:var(--te-mobile-top,68px)}
  .te-mm-promo{grid-template-columns:1fr;gap:17px;padding:20px 14px 26px}
  .te-mm-rate{width:min(100%,230px);max-width:230px;min-height:85px;padding:14px 18px;align-items:center;text-align:center;justify-self:center}
  .te-mm-sublist{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.te-mmenu *{transition:none!important;scroll-behavior:auto!important}.te-mm-panel{transform:none!important}}

/* v1.5 — Espace client: visible in desktop upper row and inside mobile drawer. */
.te-mmenu .te-mm-client{appearance:none;background:#fff;text-align:center;white-space:nowrap;}
.te-mmenu .te-mm-client-icon{width:17px;height:17px;flex-shrink:0;display:block;}
.te-mm-mobile-client{display:none;}
@media(max-width:1100px){
  .te-mm-mobile-client{display:block;padding:8px 5px 18px;border-bottom:1px solid var(--te-line);}
  .te-mmenu .te-mm-client--mobile{display:inline-flex!important;width:100%;min-height:46px;justify-content:center;padding:8px 16px;background:#f0f3ff;color:var(--te-ink)!important;}
}
/* v1.6 — Client portal: true browser top-layer dialog, centered viewport.
   Strong selectors deliberately override Uncode's global form/button styles. */
.te-mmenu dialog.te-mm-client-dialog {
  box-sizing:border-box!important;
  position:fixed!important;
  inset:0!important;
  width:min(820px,calc(100vw - 36px))!important;
  max-width:calc(100vw - 36px)!important;
  max-height:min(740px,calc(100dvh - 36px))!important;
  height:fit-content!important;
  margin:auto!important;
  padding:0!important;
  border:1px solid rgba(255,255,255,.55)!important;
  border-radius:24px!important;
  background:#f9fbff!important;
  color:#12204b!important;
  overflow:auto!important;
  box-shadow:0 42px 120px rgba(4,13,45,.40),0 6px 28px rgba(4,13,45,.1)!important;
  outline:none!important;
  font-family:inherit;
  overscroll-behavior:contain;
}
.te-mmenu dialog.te-mm-client-dialog:not([open]){display:none!important}
.te-mmenu dialog.te-mm-client-dialog[open]{display:block!important;animation:te-mm-login-appear .52s cubic-bezier(.2,.85,.25,1) both}
.te-mmenu dialog.te-mm-client-dialog::backdrop{
  background:rgba(4,11,36,.65)!important;
  -webkit-backdrop-filter:blur(13px) saturate(.82);
  backdrop-filter:blur(13px) saturate(.82);
  animation:te-mm-login-backdrop .40s ease both;
}
@keyframes te-mm-login-appear{from{opacity:0;transform:translate3d(0,16px,0) scale(.985)}to{opacity:1;transform:translate3d(0,0,0) scale(1)}}
@keyframes te-mm-login-backdrop{from{opacity:0}to{opacity:1}}
.te-mmenu .te-mm-login-layout{display:grid;grid-template-columns:minmax(0,42%) minmax(0,58%);min-height:530px;align-items:stretch}
.te-mmenu .te-mm-login-art{
  position:relative;isolation:isolate;display:flex;flex-direction:column;
  justify-content:space-between;overflow:hidden;min-width:0;padding:36px 33px 40px;
  background:linear-gradient(155deg,#121b58 0%,#101d62 48%,#2946d9 100%);color:#fff;
}
.te-mm-login-art::before{content:"";position:absolute;inset:auto -140px -230px -120px;height:390px;border-radius:50%;background:#6e86ff;opacity:.23;filter:blur(75px);z-index:-1;pointer-events:none}
.te-mmenu .te-mm-login-brand{display:flex;align-items:center;gap:12px;color:#fff;font-size:15px;font-weight:950;font-style:italic;letter-spacing:-.035em;line-height:.94}
.te-mm-login-brand b{font-weight:950;color:#fff}
.te-mm-login-brand-mark{display:grid;place-items:center;position:relative;width:36px;height:36px;border-radius:11px;background:#fff;color:#253bd4;font-size:22px;font-style:italic;font-weight:950}
.te-mm-login-brand-mark span{position:absolute;width:15px;height:3px;background:#253bd4;bottom:7px;right:5px;transform:skewX(-32deg)}
.te-mm-login-visual{position:relative;min-height:176px;display:grid;place-items:center}
.te-mm-login-orbit{position:absolute;width:158px;height:158px;border:1px solid rgba(255,255,255,.18);border-radius:50%;transform:rotate(-21deg) scaleX(1.36)}
.te-mm-login-orbit--two{width:212px;height:212px;transform:rotate(34deg) scaleX(.95);border-color:rgba(255,255,255,.12)}
.te-mm-login-visual-icon{width:92px;height:92px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.24);border-radius:25px;background:linear-gradient(150deg,rgba(255,255,255,.27),rgba(255,255,255,.07));box-shadow:0 15px 48px rgba(2,8,42,.26),inset 0 1px 0 rgba(255,255,255,.28);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transform:rotate(-9deg)}
.te-mm-login-visual-icon svg{width:51px;height:51px;color:#fff;transform:rotate(9deg)}
.te-mm-login-art-copy{position:relative}
.te-mm-login-art-eyebrow{display:block;font-size:10px;font-weight:800;letter-spacing:.15em;color:#bac7ff;margin-bottom:12px}
.te-mmenu .te-mm-login-art-copy p{font-size:clamp(24px,2.3vw,33px)!important;line-height:1.18!important;font-weight:730!important;letter-spacing:-.035em;margin:0 0 15px!important;color:#fff!important}
.te-mm-login-art-copy strong{color:#fff;font-weight:900}
.te-mm-login-art-small{display:block;color:#cdd6ff;font-size:13px;line-height:1.55;max-width:235px}
.te-mmenu .te-mm-login-main{position:relative;display:flex;flex-direction:column;min-width:0;padding:62px clamp(24px,4.2vw,58px) 29px;background:#f9fbff;color:#12204b}
.te-mmenu .te-mm-client-close{position:absolute!important;right:21px;top:19px;width:34px;height:34px;padding:0!important;display:grid;place-items:center;border:1px solid #e4e9f2!important;border-radius:50%!important;background:#fff!important;color:#354263!important;line-height:1;transition:transform .2s,background .2s}
.te-mmenu .te-mm-client-close:hover{background:#eaf0ff!important;transform:rotate(90deg)}
.te-mm-client-close svg{width:16px;height:16px}
.te-mm-login-badge{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;padding:7px 10px;border-radius:999px;background:#e8edff;color:#3041c5;font-size:10px;font-weight:850;letter-spacing:.10em;line-height:1}
.te-mm-login-badge-dot{width:6px;height:6px;border-radius:50%;background:#4355ec;box-shadow:0 0 0 3px rgba(67,85,236,.13)}
.te-mmenu .te-mm-login-main h2{color:#101a4b!important;font-size:clamp(31px,2.8vw,39px)!important;line-height:1.12!important;font-weight:850!important;letter-spacing:-.04em!important;margin:21px 0 10px!important}
.te-mm-login-main h2 span{color:#3647ea}
.te-mmenu .te-mm-client-help{font-size:13px!important;line-height:1.55!important;font-weight:450!important;color:#69748a!important;max-width:340px;margin:0 0 25px!important}
.te-mmenu .te-mm-client-form{display:flex;flex-direction:column;gap:0;margin:0!important}
.te-mmenu .te-mm-client-form label{display:block;font-size:12px!important;font-weight:800!important;line-height:1.4!important;color:#18244d!important;margin:0 0 8px!important}
.te-mmenu .te-mm-login-field{display:flex;align-items:center;position:relative;min-height:49px;margin:0 0 16px;border:1px solid #d9e0ed;border-radius:11px;background:#fff;box-shadow:0 2px 6px rgba(26,44,89,.025);transition:border-color .18s,box-shadow .18s}
.te-mmenu .te-mm-login-field:focus-within{border-color:#5669f4;box-shadow:0 0 0 3px rgba(70,85,235,.11)}
.te-mm-login-field>svg{flex:0 0 19px;width:19px;height:19px;margin-left:15px;color:#8994a9}
.te-mmenu .te-mm-client-form .te-mm-login-field input{appearance:none;outline:0!important;box-shadow:none!important;border:0!important;border-radius:11px!important;background:transparent!important;display:block;flex:1 1 auto;min-width:0;width:100%;height:48px!important;padding:10px 13px!important;color:#15234c!important;font-size:14px!important;font-weight:550!important;line-height:1.2!important;margin:0!important}
.te-mmenu .te-mm-client-form .te-mm-login-field input::placeholder{color:#9aa6b8;opacity:1;font-weight:450}
.te-mmenu .te-mm-password-toggle{appearance:none;flex:0 0 42px;width:42px;height:44px;padding:0!important;border:0!important;background:transparent!important;display:grid;place-items:center;color:#75839c;border-radius:9px!important}
.te-mm-password-toggle svg{width:19px;height:19px}
.te-mmenu .te-mm-password-toggle:hover{color:#3548d8}
.te-mmenu .te-mm-client-submit{appearance:none;border:0!important;border-radius:11px!important;background:linear-gradient(115deg,#2d3ee7,#425aff)!important;color:#fff!important;display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:51px;margin:6px 0 0!important;padding:12px 18px!important;box-shadow:0 10px 22px rgba(46,61,216,.21);font-size:14px!important;font-weight:850!important;line-height:1.2!important;transition:transform .2s,box-shadow .2s,filter .2s}
.te-mm-client-submit svg{width:17px;height:17px;transition:transform .2s}
.te-mmenu .te-mm-client-submit:hover{filter:brightness(1.06);transform:translateY(-1px);box-shadow:0 12px 24px rgba(46,61,216,.28)}
.te-mm-client-submit:hover svg{transform:translateX(3px)}
.te-mmenu .te-mm-login-footer{display:flex;align-items:flex-start;gap:7px;font-size:11px!important;line-height:1.4!important;color:#7c879b!important;margin:19px 0 0!important}
.te-mm-login-footer-icon{font-size:12px;line-height:1.2}
.te-mmenu .te-mm-login-help-link{display:inline-flex;align-items:center;gap:4px;color:#3a4bdc!important;font-size:12px!important;font-weight:700!important;margin:15px 0 0!important;align-self:flex-start}
.te-mm-login-help-link:hover{text-decoration:underline!important}
@media(max-width:720px){
  .te-mmenu dialog.te-mm-client-dialog{width:min(450px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;border-radius:19px!important}
  .te-mmenu .te-mm-login-layout{grid-template-columns:1fr;min-height:0}
  .te-mmenu .te-mm-login-art{min-height:0;padding:20px 23px 21px;border-radius:0}
  .te-mmenu .te-mm-login-brand{font-size:13px}
  .te-mm-login-brand-mark{width:31px;height:31px;font-size:20px}
  .te-mm-login-visual{display:none}
  .te-mm-login-art-copy{margin-top:16px}
  .te-mm-login-art-eyebrow{font-size:9px;margin-bottom:7px}
  .te-mmenu .te-mm-login-art-copy p{font-size:22px!important;margin:0!important}
  .te-mm-login-art-small{display:none}
  .te-mmenu .te-mm-login-main{position:static;padding:25px 24px 24px}
  .te-mmenu .te-mm-client-close{position:absolute!important;right:16px;top:16px;background:rgba(255,255,255,.15)!important;border-color:rgba(255,255,255,.42)!important;color:#fff!important}
  .te-mmenu .te-mm-client-close:hover{background:rgba(255,255,255,.28)!important}
  .te-mmenu .te-mm-login-main h2{font-size:30px!important;margin:15px 0 8px!important}
  .te-mmenu .te-mm-client-help{margin-bottom:19px!important}
}
@media(max-width:420px){
  .te-mmenu .te-mm-login-art{padding:18px 19px}
  .te-mmenu .te-mm-login-main{padding:22px 19px 20px}
}
@media(prefers-reduced-motion:reduce){
  .te-mmenu dialog.te-mm-client-dialog[open],.te-mmenu dialog.te-mm-client-dialog::backdrop{animation:none!important}
  .te-mmenu .te-mm-client-close,.te-mmenu .te-mm-client-submit,.te-mm-client-submit svg{transition:none!important}
}

/* v1.6.1 — Quiet entrance / exit. Form elements cascade only on opening. */
.te-mmenu dialog.te-mm-client-dialog[open]:not(.is-closing) .te-mm-login-brand,
.te-mmenu dialog.te-mm-client-dialog[open]:not(.is-closing) .te-mm-login-visual,
.te-mmenu dialog.te-mm-client-dialog[open]:not(.is-closing) .te-mm-login-art-copy,
.te-mmenu dialog.te-mm-client-dialog[open]:not(.is-closing) .te-mm-login-badge,
.te-mmenu dialog.te-mm-client-dialog[open]:not(.is-closing) .te-mm-login-main h2,
.te-mmenu dialog.te-mm-client-dialog[open]:not(.is-closing) .te-mm-client-help,
.te-mmenu dialog.te-mm-client-dialog[open]:not(.is-closing) .te-mm-client-form,
.te-mmenu dialog.te-mm-client-dialog[open]:not(.is-closing) .te-mm-login-footer {
  animation:te-mm-login-content-in .46s cubic-bezier(.2,.8,.25,1) both;
}
.te-mmenu dialog.te-mm-client-dialog[open] .te-mm-login-brand {animation-delay:.08s}
.te-mmenu dialog.te-mm-client-dialog[open] .te-mm-login-visual {animation-delay:.13s}
.te-mmenu dialog.te-mm-client-dialog[open] .te-mm-login-art-copy {animation-delay:.18s}
.te-mmenu dialog.te-mm-client-dialog[open] .te-mm-login-badge {animation-delay:.11s}
.te-mmenu dialog.te-mm-client-dialog[open] .te-mm-login-main h2 {animation-delay:.16s}
.te-mmenu dialog.te-mm-client-dialog[open] .te-mm-client-help {animation-delay:.20s}
.te-mmenu dialog.te-mm-client-dialog[open] .te-mm-client-form {animation-delay:.24s}
.te-mmenu dialog.te-mm-client-dialog[open] .te-mm-login-footer {animation-delay:.28s}
@keyframes te-mm-login-content-in{
  from{opacity:0;transform:translate3d(0,9px,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
}
.te-mmenu dialog.te-mm-client-dialog.is-closing[open]{
  pointer-events:none;
  animation:te-mm-login-out .21s ease-in both!important;
}
.te-mmenu dialog.te-mm-client-dialog.is-closing[open]::backdrop{
  animation:te-mm-login-backdrop-out .21s ease-in both!important;
}
@keyframes te-mm-login-out{
  from{opacity:1;transform:translate3d(0,0,0) scale(1)}
  to{opacity:0;transform:translate3d(0,8px,0) scale(.99)}
}
@keyframes te-mm-login-backdrop-out{from{opacity:1}to{opacity:0}}
@media(prefers-reduced-motion:reduce){
  .te-mmenu dialog.te-mm-client-dialog[open] .te-mm-login-brand,
  .te-mmenu dialog.te-mm-client-dialog[open] .te-mm-login-visual,
  .te-mmenu dialog.te-mm-client-dialog[open] .te-mm-login-art-copy,
  .te-mmenu dialog.te-mm-client-dialog[open] .te-mm-login-badge,
  .te-mmenu dialog.te-mm-client-dialog[open] .te-mm-login-main h2,
  .te-mmenu dialog.te-mm-client-dialog[open] .te-mm-client-help,
  .te-mmenu dialog.te-mm-client-dialog[open] .te-mm-client-form,
  .te-mmenu dialog.te-mm-client-dialog[open] .te-mm-login-footer,
  .te-mmenu dialog.te-mm-client-dialog.is-closing[open],
  .te-mmenu dialog.te-mm-client-dialog.is-closing[open]::backdrop{animation:none!important}
}


/* v1.7.0 – Photographic compact menu. Only the six existing dropdown panels
   change; navigation header, client dialog and existing phone/quote stay as-is. */
@media (min-width:1101px) {
  .te-mmenu .te-mm-panel-inner {
    grid-template-columns:minmax(226px,29%) minmax(180px,29%) minmax(0,42%);
    min-height:278px;
    background:#e8effa;
  }
  .te-mmenu .te-mm-links {padding:25px clamp(17px,2vw,29px) 27px; min-width:0}
  .te-mmenu .te-mm-eyebrow {margin-bottom:12px!important}
  .te-mmenu .te-mm-category {font-size:18px;line-height:1.3; margin-bottom:13px}
  .te-mmenu .te-mm-sublist {display:flex; flex-direction:column; gap:3px; min-width:0}
  .te-mmenu .te-mm-sublist li {min-width:0}
  .te-mmenu .te-mm-sublist a {width:100%;font-size:13.5px;line-height:1.35;min-height:37px; padding:7px 9px; border-radius:9px; margin-left:-9px; transition:background .15s ease,color .15s ease}
  .te-mmenu .te-mm-sublist a:hover,.te-mmenu .te-mm-sublist a:focus-visible {background:rgba(255,255,255,.13);color:#fff!important}
  .te-mmenu .te-mm-visual {position:relative;display:block;align-self:stretch;min-height:225px;min-width:0;margin:20px 0 20px 20px;border-radius:15px;overflow:hidden;background:linear-gradient(140deg,#dfe4ff 0%,#a4b5fa 55%,#6574cc 100%);isolation:isolate;text-decoration:none!important}
  .te-mmenu .te-mm-visual img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block;transition:transform .35s ease}
  .te-mmenu .te-mm-visual:hover img {transform:scale(1.025)}
  .te-mmenu .te-mm-visual:after {content:'';position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(8,14,58,.68));pointer-events:none}
  .te-mmenu .te-mm-visual-caption {position:absolute;z-index:1;bottom:18px;left:19px;right:19px;color:white;line-height:1.3;font-size:16px;font-weight:750;text-shadow:0 2px 12px rgba(0,0,0,.28)}
  .te-mmenu .te-mm-promo,.te-mmenu .te-mm-promo--no-rate {display:flex;min-width:0;align-items:center;justify-content:flex-start;padding:23px clamp(20px,2.35vw,36px);background:#e8effa}
  .te-mmenu .te-mm-promo-copy {display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px;width:100%;min-width:0}
  .te-mmenu .te-mm-promo h2 {font-size:clamp(19px,1.6vw,24px)!important;line-height:1.3!important;max-width:none}
  .te-mmenu .te-mm-description {font-size:clamp(13.5px,1.05vw,15.5px)!important;line-height:1.5!important;max-width:48ch;font-weight:550!important}
  .te-mmenu .te-mm-promo-copy .te-mm-rate {display:flex;flex-direction:row;align-items:baseline;justify-content:flex-start;flex-wrap:wrap;gap:5px 8px;min-width:0;width:auto;max-width:100%;min-height:0;padding:9px 13px;align-self:flex-start;text-align:left;border-radius:10px;background:#f0f1ff;box-shadow:none;border:1px solid #d6ddfc;margin:3px 0 0;color:#0b1648}
  .te-mmenu .te-mm-promo-copy .te-mm-rate span {color:#56628e;font-size:12px;font-weight:650;line-height:1.3}
  .te-mmenu .te-mm-promo-copy .te-mm-rate strong {color:#0c155a;font-size:16px;font-weight:850;line-height:1.25}
  .te-mmenu .te-mm-contact {margin-top:3px}
}
/* Keep original compact mobile accordion, with the rate below the description. */
@media (max-width:1100px) {
  .te-mmenu .te-mm-visual {display:none!important}
  .te-mmenu .te-mm-panel-inner {grid-template-columns:1fr;min-height:0}
  .te-mmenu .te-mm-promo,.te-mmenu .te-mm-promo--no-rate {display:block;padding:22px 20px 25px}
  .te-mmenu .te-mm-promo-copy {gap:13px;align-items:flex-start}
  .te-mmenu .te-mm-promo-copy .te-mm-rate {width:auto;max-width:100%;min-height:0;align-self:flex-start;justify-self:start;padding:10px 15px;gap:5px;box-shadow:none}
}
@media (prefers-reduced-motion:reduce){.te-mmenu .te-mm-visual img,.te-mmenu .te-mm-sublist a{transition:none!important}}


/* v1.7.2 — Mobile only: quiet slide/fade of the drawer and smooth accordion.
   The client login dialog and desktop dropdown transitions are unchanged. */
@media (max-width:1100px) {
  .te-mmenu .te-mm-nav {
    display:block;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translate3d(0,-12px,0);
    transition:opacity .25s ease,transform .32s cubic-bezier(.22,.78,.22,1),visibility 0s linear .32s;
  }
  .te-mmenu.te-mm-open .te-mm-nav {
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translate3d(0,0,0);
    transition:opacity .25s ease,transform .32s cubic-bezier(.22,.78,.22,1),visibility 0s;
  }
  /* 0fr -> 1fr animates the natural height even when the text wraps. */
  .te-mmenu .te-mm-item .te-mm-panel {
    position:static;
    display:grid;
    grid-template-rows:0fr;
    min-height:0;
    overflow:hidden;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:none;
    transition:grid-template-rows .34s cubic-bezier(.22,.78,.22,1),
               opacity .20s ease,visibility 0s linear .34s;
  }
  .te-mmenu .te-mm-item.is-open .te-mm-panel {
    display:grid;
    grid-template-rows:1fr;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:none;
    transition:grid-template-rows .34s cubic-bezier(.22,.78,.22,1),
               opacity .24s ease .035s,visibility 0s;
  }
  .te-mmenu .te-mm-panel-inner {
    min-height:0;
    overflow:hidden;
  }
  /* A small motion cue on the items when the hamburger is opened. */
  .te-mmenu.te-mm-open .te-mm-nav-inner > .te-mm-item {
    animation:te-mm-mobile-item-in .28s ease-out both;
  }
  .te-mmenu.te-mm-open .te-mm-nav-inner > .te-mm-item:nth-child(2) {animation-delay:.025s}
  .te-mmenu.te-mm-open .te-mm-nav-inner > .te-mm-item:nth-child(3) {animation-delay:.05s}
  .te-mmenu.te-mm-open .te-mm-nav-inner > .te-mm-item:nth-child(4) {animation-delay:.075s}
  .te-mmenu.te-mm-open .te-mm-nav-inner > .te-mm-item:nth-child(5) {animation-delay:.10s}
  .te-mmenu.te-mm-open .te-mm-nav-inner > .te-mm-item:nth-child(6) {animation-delay:.125s}
  .te-mmenu.te-mm-open .te-mm-nav-inner > .te-mm-item:nth-child(7) {animation-delay:.15s}
}
@keyframes te-mm-mobile-item-in {
  from {opacity:0;transform:translate3d(0,5px,0)}
  to {opacity:1;transform:translate3d(0,0,0)}
}
@media (prefers-reduced-motion:reduce) and (max-width:1100px) {
  .te-mmenu .te-mm-nav,
  .te-mmenu.te-mm-open .te-mm-nav,
  .te-mmenu .te-mm-item .te-mm-panel,
  .te-mmenu .te-mm-item.is-open .te-mm-panel {transition:none!important;transform:none!important}
  .te-mmenu.te-mm-open .te-mm-nav-inner > .te-mm-item {animation:none!important}
}

/* v1.8.1 — Secondary institutional navigation in the upper bar. */
.te-mm-mini-nav{
  position:absolute;left:50%;transform:translateX(-50%);
  display:flex;align-items:center;justify-content:center;gap:10px;
  white-space:nowrap;z-index:1;
}
.te-mm-upper-inner{position:relative}
.te-mmenu .te-mm-mini-nav a{
  position:relative;color:#6b748b!important;font-size:10.5px;font-weight:700;
  line-height:1;letter-spacing:.045em;text-transform:uppercase;padding:8px 1px;
  transition:color .2s ease;
}
.te-mm-mini-nav>span{color:#c4cada;font-size:11px;line-height:1}
.te-mmenu .te-mm-mini-nav a::after{
  content:"";position:absolute;left:50%;right:50%;bottom:3px;height:1px;
  background:var(--te-blue);transition:left .22s ease,right .22s ease;
}
.te-mmenu .te-mm-mini-nav a:hover{color:var(--te-blue)!important}
.te-mmenu .te-mm-mini-nav a:hover::after,.te-mmenu .te-mm-mini-nav a:focus-visible::after{left:0;right:0}
.te-mm-mobile-secondary{display:none}

@media(max-width:1320px){
  .te-mm-mini-nav{gap:7px}
  .te-mmenu .te-mm-mini-nav a{font-size:9.5px;letter-spacing:.025em}
  .te-mm-tagline{display:none}
}
@media(max-width:1100px){
  .te-mm-mini-nav{display:none}
  .te-mm-mobile-secondary{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;padding:8px 5px 16px;border-bottom:1px solid var(--te-line);margin-bottom:3px}
  .te-mmenu .te-mm-mobile-secondary a{display:flex;align-items:center;min-height:38px;color:#65718a!important;font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.045em;border-bottom:1px solid #edf0f6}
  .te-mmenu .te-mm-mobile-secondary a:hover{color:var(--te-blue)!important}
}
@media(max-width:570px){
  .te-mm-mobile-secondary{grid-template-columns:1fr 1fr;column-gap:12px}
  .te-mmenu .te-mm-mobile-secondary a{font-size:10px;letter-spacing:.025em}
}

/* v1.8.3 — logo officiel blanc dans la modale Espace client */
.te-mmenu .te-mm-login-brand{display:block;line-height:1;}
.te-mmenu .te-mm-login-brand img{display:block;width:154px!important;max-width:52%!important;height:auto!important;object-fit:contain;object-position:left center;}
@media (max-width:767px){.te-mmenu .te-mm-login-brand img{width:138px!important;max-width:48%!important;}}

/* v1.8.5 — Authentication error returned by the external client portal. */
#te-mm-client-dialog .te-mm-client-form .te-mm-client-error {
  display: block;
  margin: 0 0 18px;
  padding: 12px 15px;
  border: 1px solid #efaaaa;
  border-radius: 8px;
  background: #fff0f0;
  color: #a51d25;
  -webkit-text-fill-color: #a51d25;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  grid-column: 1 / -1;
}

/* v1.9.0 — apparence paramétrable des deux étages */
.te-mmenu .te-mm-mini-nav a {color:var(--te-header-fg,var(--te-ink))!important}
.te-mmenu .te-mm-mini-nav > span {color:var(--te-header-muted,#69738d)!important}
.te-mmenu .te-mm-client,
.te-mmenu .te-mm-phone {
  background:var(--te-header-button-bg,#fff)!important;
  border-color:var(--te-header-button-border,#c8cff4)!important;
  color:var(--te-header-fg,var(--te-ink))!important;
}
.te-mm-theme-dark .te-mm-toggle {color:#fff}
.te-mm-theme-dark .te-mm-item.is-open .te-mm-trigger,
.te-mm-theme-dark .te-mm-item.is-current .te-mm-trigger {background:rgba(255,255,255,.10)}
.te-mm-theme-light .te-mm-item.is-open .te-mm-trigger,
.te-mm-theme-light .te-mm-item.is-current .te-mm-trigger {background:rgba(255,255,255,.48)}
@media(max-width:1100px){
  .te-mm-burger{background:var(--te-header-button-bg,#fff);border-color:var(--te-header-button-border,#d9dfef)}
  .te-mm-burger span{background:var(--te-header-fg,#13224d)}
}

/* v1.9.5 — rangée basse translucide avec opacité et blur réglables dans l’admin.
   Le conteneur global est transparent : on voit donc bien la page derrière. */
@media (min-width:1101px){
  .te-mmenu .te-mm-nav{
    background:var(--te-header-bg,#f0f0ff);
    transition:background-color .22s ease, backdrop-filter .22s ease, -webkit-backdrop-filter .22s ease;
  }
  .te-mmenu.te-mm-is-sticky .te-mm-nav{
    background:var(--te-header-bg-sticky,rgba(240,240,255,.68));
    -webkit-backdrop-filter:blur(var(--te-header-sticky-blur,10px)) saturate(120%);
    backdrop-filter:blur(var(--te-header-sticky-blur,10px)) saturate(120%);
  }
}

/* v1.9.6 — contact and compact navigation refinements */
@media (min-width:1101px) {
  .te-mmenu .te-mm-actions > .te-mm-phone,
  .te-mmenu .te-mm-actions > .te-mm-quote {
    width:176px; min-width:176px; height:42px; min-height:42px;
    padding:0 10px; text-align:center;
  }
  .te-mmenu .te-mm-actions > .te-mm-phone {
    color:var(--te-blue)!important; font-size:16px!important; font-weight:800;
  }
}
.te-mmenu .te-mm-mobile-phone {display:none}
@media (max-width:1100px) {
  /* Telephone is shown in full inside the drawer, not as an icon in the header. */
  .te-mmenu .te-mm-actions > .te-mm-phone {display:none!important}
  .te-mmenu .te-mm-mobile-client {display:none!important}
  .te-mmenu .te-mm-brand img {width:186px!important;max-height:58px!important}
  .te-mmenu .te-mm-mobile-phone {
    display:flex;align-items:center;justify-content:center;min-height:48px;
    margin:5px 5px 15px;padding:9px 15px;border:1px solid var(--te-header-button-border,#c8cff4);
    border-radius:10px;background:var(--te-header-button-bg,#fff);
    color:var(--te-blue)!important;font-size:19px;font-weight:800;letter-spacing:.01em;
    text-decoration:none!important;
  }
}
@media (max-width:570px) {
  body.te-mm-on .te-mmenu {--te-upper-height:74px}
  .te-mmenu .te-mm-brand img {width:166px!important;max-height:56px!important}
}
@media (max-width:370px) {
  .te-mmenu .te-mm-brand img {width:148px!important}
  .te-mmenu .te-mm-quote {font-size:10px;padding-inline:7px}
}
