/* Floating header matching the supplied reference. */
header.sticky{width:calc(100% - 32px)!important;max-width:1536px;margin:24px auto 16px;border-radius:44px;background:rgba(255,255,255,.97);border:1px solid rgba(255,255,255,.95);box-shadow:0 22px 55px -20px rgba(16,61,101,.4);backdrop-filter:blur(18px);top:12px!important;isolation:isolate}
header.sticky>div:first-child{position:relative;background:linear-gradient(105deg,rgba(255,255,255,0) 3%,#ff3f70 20%,#fa174b 66%,#bc0733 100%)!important;border:0!important;box-shadow:none!important;border-radius:43px 43px 0 0;padding:9px 30px 9px 100px!important;min-height:48px;overflow:hidden}
header.sticky>div:first-child:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(35deg,transparent 57%,rgba(255,255,255,.12) 58%,transparent 77%)}
header.sticky>div:first-child>.max-w-7xl{max-width:none}
header.sticky>div:first-child [class*="bg-red-900"]{background:linear-gradient(120deg,#ff174d,#f00039)!important;border:0!important;padding:7px 14px!important;font-size:11px!important;letter-spacing:0!important;color:white!important;box-shadow:inset 0 1px 1px rgba(255,255,255,.3)}
header.sticky>div:first-child .lucide-flame{display:none}
header.sticky>div:first-child [class*="bg-red-900"]:before{content:"ϟ";font-size:20px;line-height:12px;color:white}
header.sticky>div:first-child [class*="text-rose-100"]{font-weight:600!important;font-size:11px!important;color:white!important;border-left:1px solid rgba(255,255,255,.6);padding-left:18px;margin-left:6px}
header.sticky>div:first-child a{background:rgba(230,0,48,.4)!important;color:#fff!important;border:1px solid rgba(255,255,255,.06);border-radius:30px!important;padding:7px 14px!important;font-size:11px!important;box-shadow:none!important}
header.sticky>div:first-child a svg{color:white!important}
header.sticky>div:nth-child(2){padding:0!important;background:linear-gradient(180deg,#fff,#fafcff);border-radius:38px!important;position:relative}
header.sticky>div:nth-child(2)>div{max-width:none!important;min-height:86px;gap:18px;padding:16px 24px!important;border:0!important;border-radius:38px!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important}
header.sticky .brand-logo-md{width:242px}
header.sticky nav.hidden{background:linear-gradient(180deg,#f9fbfd,#f3f6f9)!important;border:0!important;box-shadow:none!important;padding:5px!important;border-radius:999px!important;flex:1;justify-content:space-between}
header.sticky nav.hidden>a,header.sticky nav.hidden>div>button{font-size:12px!important;padding:12px 13px!important;font-weight:800!important;border-radius:999px!important;color:#103d65;letter-spacing:-.02em}
header.sticky nav.hidden>a[class*="bg-[#103d65]"]{background:linear-gradient(145deg,#029aff,#0064ca)!important;color:#fff!important;box-shadow:0 0 0 3px #c5e7ff,0 7px 17px -4px rgba(0,145,230,.65)!important}
header.sticky nav.hidden>a[href="/"]:before,header.sticky nav.hidden>a[href$="dent-express.ro/"]:before{content:"⌂";font-size:20px;line-height:12px;margin-right:7px}
header.sticky button[title="Program Clinică: Non-Stop 24/7"]{background:linear-gradient(120deg,#e9fff6,#dcfaef)!important;border:1px solid #acedd7!important;color:#076a50!important;padding:13px 16px!important;border-radius:999px!important;font-size:12px!important;box-shadow:none!important;gap:7px!important}
header.sticky a[href^="https://wa.me/"]{background:linear-gradient(135deg,#00cf62,#00b950)!important;border:1px solid #0be57c;padding:14px 19px!important;border-radius:999px!important;font-size:13px!important;box-shadow:0 8px 16px -7px rgba(0,205,96,.65)!important}
header.sticky a[title="Apelează 021.9821"]{background:linear-gradient(135deg,#07588f,#003c70)!important;border:1px solid #287caf!important;padding:14px 20px!important;border-radius:999px!important;font-size:13px!important;box-shadow:0 8px 16px -7px rgba(0,73,130,.6)!important}
header.sticky a[title="Apelează 021.9821"]:after{content:"›";font-size:22px;margin-left:8px;line-height:12px}
header.sticky a[title="Apelează 021.9821"] svg{color:#81d49c!important;fill:#81d49c!important}
header.sticky a:focus-visible,header.sticky button:focus-visible{outline:3px solid #6eb43f;outline-offset:4px}
@media(min-width:1440px){header.sticky>div:first-child .sm\:flex:after{content:"Sector 2\A Pantelimon 255";white-space:pre;line-height:1.25;font-weight:700;font-size:11px;color:white;border-left:1px solid rgba(255,255,255,.45);padding-left:18px}header.sticky>div:first-child .sm\:flex>div:nth-child(2):before{content:"Program NON-STOP\A 24/7";white-space:pre;color:#fff;font-size:11px;line-height:1.25;font-weight:700;border-right:1px solid rgba(255,255,255,.45);padding-right:18px;margin-right:10px}}
@media(min-width:1024px) and (max-width:1439px){header.sticky{width:calc(100% - 24px)}header.sticky .brand-logo-md{width:190px}header.sticky>div:nth-child(2)>div{gap:10px;padding:14px 18px!important}header.sticky nav.hidden>a,header.sticky nav.hidden>div>button{padding:10px 9px!important;font-size:10px!important}header.sticky button[title="Program Clinică: Non-Stop 24/7"]{font-size:10px!important;padding:11px!important}header.sticky a[href^="https://wa.me/"],header.sticky a[title="Apelează 021.9821"]{font-size:11px!important;padding:12px!important}header.sticky>div:first-child{padding-left:60px!important;padding-right:20px!important}}
@media(min-width:1024px) and (max-width:1150px){header.sticky .brand-logo-md{width:170px}header.sticky button[title="Program Clinică: Non-Stop 24/7"]{display:none}}
@media(max-width:1023px){header.sticky{margin-top:14px;border-radius:30px;top:8px!important}header.sticky>div:first-child{border-radius:29px 29px 0 0;padding:8px 18px!important;background:linear-gradient(110deg,#ff3e6d,#e8003d)!important}header.sticky>div:first-child .sm\:flex>div:first-child{min-width:0;flex-shrink:1}header.sticky>div:first-child [class*="text-rose-100"]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:10px!important}header.sticky>div:nth-child(2)>div{min-height:76px;padding:12px 18px!important}}
@media(max-width:767px){header.sticky button[title="Program Clinică: Non-Stop 24/7"]{display:none}}
@media(max-width:639px){header.sticky{width:calc(100% - 16px);margin-top:8px;margin-bottom:10px;border-radius:26px;top:6px!important}header.sticky>div:first-child{min-height:36px;border-radius:25px 25px 0 0;padding:6px 12px!important}header.sticky>div:first-child [class*="bg-red-900"]{font-size:9px!important;padding:4px 7px!important}header.sticky>div:first-child [class*="bg-red-900"]:before{display:none}header.sticky>div:first-child [class*="text-rose-100"]{border:0;padding:0;margin:0;font-size:10px!important}header.sticky>div:first-child a{font-size:9px!important;padding:5px 7px!important}header.sticky>div:nth-child(2){border-radius:24px!important}header.sticky>div:nth-child(2)>div{min-height:68px;padding:10px 13px!important;border-radius:24px!important;gap:8px}header.sticky .brand-logo-sm{width:166px}header.sticky button[aria-label="Meniu principal"]{background:#eff6fb!important;border:1px solid #e1edf7;border-radius:13px!important;padding:10px!important;color:#103d65!important}header.sticky a[aria-label="Apel de urgență"]{background:linear-gradient(135deg,#08629f,#003c70)!important;animation:none!important;box-shadow:0 5px 12px -6px #07588f;width:38px;height:38px}header.sticky>div:nth-child(2)>div>div.absolute{border-radius:20px!important}}
@media(prefers-reduced-motion:reduce){header.sticky *{animation:none!important;transition:none!important}}

/* Reference pictograms use SVG artwork, never font glyphs. */
header.sticky>div:first-child [class*="bg-red-900"]:before{content:"";display:block;width:17px;height:17px;flex-shrink:0;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%2012h5l3-9%204%2018%203-9h5%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
header.sticky>div:first-child [class*="text-rose-100"]{position:relative;padding-left:47px;min-height:26px;display:flex;align-items:center}
header.sticky>div:first-child [class*="text-rose-100"]:before{content:"";position:absolute;left:17px;top:50%;transform:translateY(-50%);width:22px;height:25px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22white%22%20stroke%3D%22white%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%205C9%201%203%202%203%207c0%203%202%204%202%207%200%204%201%208%203%208s1-8%204-8%202%208%204%208%203-4%203-8c0-3%202-4%202-7%200-5-6-6-9-2Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
header.sticky>div:first-child a svg{display:none}
header.sticky>div:first-child a:before{content:"";width:20px;height:22px;flex-shrink:0;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M22%2016.9v3a2%202%200%200%201-2.2%202A19.8%2019.8%200%200%201%203.1%205.2%202%202%200%200%201%205.1%203h3a2%202%200%200%201%202%201.7c.1%201%20.4%201.9.7%202.8a2%202%200%200%201-.5%202.1L9%2010.9a16%2016%200%200%200%204.1%204.1l1.3-1.3a2%202%200%200%201%202.1-.5c.9.3%201.8.6%202.8.7a2%202%200%200%201%202.7%203Z%22%2F%3E%3Cpath%20d%3D%22M15%203a6%206%200%200%201%206%206M15%206a3%203%200%200%201%203%203%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
@media(min-width:640px){header.sticky>div:first-child .sm\:flex>div:first-child>div:first-child{display:none}}
@media(min-width:1440px){header.sticky>div:first-child .sm\:flex>div:nth-child(2):before{padding-left:34px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M12%206v6l4%202%22%2F%3E%3C%2Fsvg%3E") left center/24px 24px no-repeat}header.sticky>div:first-child .sm\:flex:after{padding-left:42px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2010c0%206-8%2012-8%2012S4%2016%204%2010a8%208%200%201%201%2016%200Z%22%20fill%3D%22white%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.7%22%20fill%3D%22%23ce123c%22%20stroke%3D%22none%22%2F%3E%3C%2Fsvg%3E") 14px center/22px 26px no-repeat}}
@media(max-width:639px){header.sticky>div:first-child [class*="text-rose-100"]{padding-left:0;min-height:0}header.sticky>div:first-child [class*="text-rose-100"]:before{display:none}header.sticky>div:first-child a:before{width:13px;height:15px}header.sticky>div:first-child [class*="bg-red-900"]:before{display:block;width:12px;height:12px}}

/* Right-hand status band: fixed rhythm matching the spacing reference. */
@media(min-width:1440px){
header.sticky>div:first-child .sm\:flex{gap:0!important}
header.sticky>div:first-child .sm\:flex>div:first-child{flex:1;min-width:0;padding-right:24px}
header.sticky>div:first-child .sm\:flex>div:nth-child(2){gap:0!important;flex-shrink:0;align-items:center}
header.sticky>div:first-child .sm\:flex>div:nth-child(2):before{box-sizing:border-box;flex-shrink:0;width:150px;min-height:28px;margin-right:18px;padding:0 16px 0 33px;border-right:1px solid rgba(255,255,255,.55);background-position:0 center;background-size:22px 22px;font-size:11px;line-height:1.25;display:flex;align-items:center}
header.sticky>div:first-child .sm\:flex>div:nth-child(2)>a{min-height:36px;padding:8px 14px!important;gap:7px!important;white-space:nowrap;font-size:10px!important;border:1px solid rgba(255,255,255,.09);background:rgba(234,0,54,.35)!important}
header.sticky>div:first-child .sm\:flex>div:nth-child(2)>a:before{width:19px;height:20px}
header.sticky>div:first-child .sm\:flex:after{box-sizing:border-box;flex-shrink:0;width:126px;min-height:28px;margin-left:48px;padding:0 0 0 40px;border-left:1px solid rgba(255,255,255,.55);background-position:14px center;background-size:20px 24px;font-size:11px;line-height:1.25;display:flex;align-items:center}
header.sticky>div:first-child{padding-top:10px!important;padding-bottom:10px!important;padding-right:24px!important}
}

/* Compact resting size and progressive scroll state. */
header.sticky{max-width:1440px;margin-top:16px;border-radius:36px;transition:box-shadow .25s ease,border-radius .25s ease}
header.sticky>div:first-child{border-radius:35px 35px 0 0;min-height:40px;padding-top:6px!important;padding-bottom:6px!important;transition:padding .25s ease,min-height .25s ease}
header.sticky>div:nth-child(2)>div{min-height:76px;padding:12px 20px!important;transition:padding .25s ease,min-height .25s ease}
header.sticky .brand-logo-md{width:216px;transition:width .25s ease}
header.sticky nav.hidden>a,header.sticky nav.hidden>div>button{padding-top:10px!important;padding-bottom:10px!important}
header.sticky button[title="Program Clinică: Non-Stop 24/7"]{padding-top:11px!important;padding-bottom:11px!important}
header.sticky a[href^="https://wa.me/"],header.sticky a[title="Apelează 021.9821"]{padding-top:12px!important;padding-bottom:12px!important}
header.sticky.is-compact{border-radius:29px;box-shadow:0 12px 35px -18px rgba(16,61,101,.4)}
header.sticky.is-compact>div:first-child{min-height:34px;padding-top:3px!important;padding-bottom:3px!important;border-radius:28px 28px 0 0}
header.sticky.is-compact>div:nth-child(2)>div{min-height:62px;padding-top:8px!important;padding-bottom:8px!important}
header.sticky.is-compact .brand-logo-md{width:188px}
header.sticky.is-compact nav.hidden>a,header.sticky.is-compact nav.hidden>div>button{padding-top:8px!important;padding-bottom:8px!important}
@media(min-width:1024px) and (max-width:1439px){header.sticky .brand-logo-md{width:180px}header.sticky.is-compact .brand-logo-md{width:166px}}
@media(min-width:1024px) and (max-width:1150px){header.sticky .brand-logo-md{width:165px}header.sticky.is-compact .brand-logo-md{width:155px}}
@media(max-width:1023px){header.sticky{margin-top:10px;border-radius:28px}header.sticky>div:first-child{border-radius:27px 27px 0 0}header.sticky>div:nth-child(2)>div{min-height:70px;padding:10px 16px!important}}
@media(max-width:639px){header.sticky{margin-top:6px;border-radius:24px}header.sticky>div:first-child{min-height:34px;padding:5px 12px!important;border-radius:23px 23px 0 0}header.sticky>div:nth-child(2)>div{min-height:62px;padding:8px 12px!important}header.sticky .brand-logo-sm{width:156px;transition:width .25s ease}header.sticky.is-compact>div:first-child{min-height:32px;padding-top:4px!important;padding-bottom:4px!important;border-radius:23px 23px 0 0}header.sticky.is-compact>div:nth-child(2)>div{min-height:56px;padding-top:6px!important;padding-bottom:6px!important}header.sticky.is-compact .brand-logo-sm{width:144px}header.sticky button[aria-label="Meniu principal"],header.sticky a[aria-label="Apel de urgență"]{min-width:40px;min-height:40px}header.sticky.is-compact{border-radius:24px}}

/* The Services trigger shares the active appearance of navigation links. */
header.sticky nav.hidden>div>button[class*="bg-[#103d65]"]{background:linear-gradient(145deg,#029aff,#0064ca)!important;color:#fff!important;box-shadow:0 0 0 3px #c5e7ff,0 7px 17px -4px rgba(0,145,230,.65)!important}
header.sticky nav.hidden>div>button[class*="bg-[#103d65]"] span,header.sticky nav.hidden>div>button[class*="bg-[#103d65]"] svg{color:#fff!important}

/* Travelling emergency outline with a fading red trail and bloom. */
@property --emergency-orbit{syntax:"<angle>";initial-value:0deg;inherits:false}
header.sticky>div:first-child{--emergency-orbit:0deg;isolation:isolate;animation:emergency-orbit 6s linear infinite}
header.sticky>div:first-child:before,header.sticky>div:first-child:after{content:"";position:absolute;inset:0;box-sizing:border-box;border-radius:inherit;padding:2px;pointer-events:none;z-index:2;background:conic-gradient(from var(--emergency-orbit),transparent 0deg,transparent 240deg,rgba(255,20,55,.08) 260deg,rgba(255,15,50,.38) 295deg,#ff123d 332deg,#ff6980 350deg,#fff0f2 358deg,transparent 360deg);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude}
header.sticky>div:first-child:after{padding:5px;filter:blur(4px);opacity:.95;z-index:1}
@keyframes emergency-orbit{to{--emergency-orbit:360deg}}
@media(max-width:639px){header.sticky>div:first-child{animation-duration:7s}header.sticky>div:first-child:before{padding:1.5px}header.sticky>div:first-child:after{padding:4px;filter:blur(3px)}}
@media(prefers-reduced-motion:reduce){header.sticky>div:first-child{animation:none!important;--emergency-orbit:135deg}}

/* LIVE badge: ECG sweep, followed by a double heartbeat. */
header.sticky>div:first-child [class*="bg-red-900"]{position:relative;overflow:visible;animation:live-heartbeat 2.4s ease-in-out infinite!important;transform-origin:center}
header.sticky>div:first-child [class*="bg-red-900"]:before{position:relative;filter:drop-shadow(0 0 3px rgba(255,255,255,.8));animation:live-ecg-signal 2.4s linear infinite!important}
header.sticky>div:first-child [class*="bg-red-900"]:after{content:"";position:absolute;left:14px;top:50%;width:17px;height:17px;transform:translateY(-50%);pointer-events:none;background:linear-gradient(90deg,transparent 20%,#fff 50%,transparent 80%);background-size:250% 100%;-webkit-mask:var(--live-ecg-mask) center/contain no-repeat;mask:var(--live-ecg-mask) center/contain no-repeat;filter:drop-shadow(0 0 4px #fff);animation:live-ecg-sweep 2.4s linear infinite}
header.sticky>div:first-child [class*="bg-red-900"]{--live-ecg-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12h5l3-9 4 18 3-9h5'/%3E%3C/svg%3E")}
@keyframes live-heartbeat{0%,35%,65%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(255,25,70,0)}43%{transform:scale(1.035);box-shadow:0 0 0 4px rgba(255,25,70,.12),0 0 16px rgba(255,25,70,.3)}50%{transform:scale(1)}56%{transform:scale(1.025);box-shadow:0 0 0 7px rgba(255,25,70,.04)}}
@keyframes live-ecg-signal{0%,28%,75%,100%{opacity:.7}38%,54%{opacity:1;filter:drop-shadow(0 0 5px #fff)}46%,62%{opacity:.85}}
@keyframes live-ecg-sweep{0%,12%{background-position:160% 0;opacity:0}18%{opacity:1}65%{background-position:-60% 0;opacity:1}72%,100%{background-position:-60% 0;opacity:0}}
@media(max-width:639px){header.sticky>div:first-child [class*="bg-red-900"]:after{left:7px;width:12px;height:12px}}
@media(prefers-reduced-motion:reduce){header.sticky>div:first-child [class*="bg-red-900"],header.sticky>div:first-child [class*="bg-red-900"]:before,header.sticky>div:first-child [class*="bg-red-900"]:after{animation:none!important}header.sticky>div:first-child [class*="bg-red-900"]:after{display:none}}

/* Slow opposing light passes, fading at each end instead of flipping. */
header.sticky>div:first-child{animation:none!important;overflow:visible!important;--streak-width:150px}
header.sticky>div:first-child:before,header.sticky>div:first-child:after{content:"";position:absolute;inset:auto;left:0;bottom:-1px;top:auto;width:var(--streak-width);height:2px;padding:0;border:0;border-radius:999px;pointer-events:none;-webkit-mask:none;mask:none;z-index:3;opacity:0;box-sizing:border-box;filter:drop-shadow(0 0 2px #fff) drop-shadow(0 0 5px #ff628c) drop-shadow(0 0 9px #ff1748);will-change:left,opacity}
header.sticky>div:first-child:before{background:linear-gradient(90deg,transparent,rgba(255,220,233,.15) 15%,rgba(255,216,232,.6) 52%,#ffdce9 80%,#fff 96%,#fff 100%);animation:emergency-pass-right 20s ease-in-out infinite}
header.sticky>div:first-child:after{background:linear-gradient(270deg,transparent,rgba(255,220,233,.15) 15%,rgba(255,216,232,.6) 52%,#ffdce9 80%,#fff 96%,#fff 100%);animation:emergency-pass-left 20s ease-in-out infinite}
@keyframes emergency-pass-right{
0%{left:0;opacity:0}
4%{opacity:1}
43%{opacity:1}
49%,50%{left:calc(100% - var(--streak-width));opacity:0}
100%{left:calc(100% - var(--streak-width));opacity:0}
}
@keyframes emergency-pass-left{
0%,50%{left:calc(100% - var(--streak-width));opacity:0}
54%{opacity:1}
93%{opacity:1}
99%,100%{left:0;opacity:0}
}
@media(max-width:639px){header.sticky>div:first-child{--streak-width:90px}header.sticky>div:first-child:before,header.sticky>div:first-child:after{animation-duration:16s;height:2px}}
@media(prefers-reduced-motion:reduce){header.sticky>div:first-child:before,header.sticky>div:first-child:after{animation:none!important;opacity:0;will-change:auto}}

/* Reference revision: full-height logo at left, ribbon above navigation. */
@media(min-width:1024px){
header.sticky{max-width:1600px;background:linear-gradient(130deg,#fff,#f7fbff);border-radius:36px;margin-top:12px;box-shadow:0 0 32px -14px rgba(0,137,255,.55),0 18px 42px -24px rgba(16,61,101,.35)}
header.sticky>div:first-child{margin-left:270px;background:linear-gradient(100deg,#fc0744 0%,#ee124d 48%,#0960a0 78%,#00396d 100%)!important;border-radius:0 35px 0 30px;min-height:44px;padding:6px 24px!important}
header.sticky>div:first-child [class*="text-rose-100"]{font-size:10px!important;padding-left:34px;margin-left:3px}
header.sticky>div:first-child [class*="text-rose-100"]:before{left:10px;width:18px;height:22px}
header.sticky>div:first-child [class*="bg-red-900"]{background:transparent!important;box-shadow:none!important;padding:5px 7px!important}
header.sticky>div:first-child a{background:linear-gradient(#fff,#f2f7ff)!important;color:#ec0039!important;box-shadow:0 4px 12px rgba(0,20,50,.18)!important;border-color:#fff!important}
header.sticky>div:first-child a:before{filter:brightness(0) saturate(100%) invert(17%) sepia(98%) saturate(5000%) hue-rotate(337deg)}
header.sticky>div:nth-child(2){border-radius:0 0 35px 35px!important}
header.sticky>div:nth-child(2)>div{padding:12px 26px 12px 286px!important;min-height:72px;gap:16px}
header.sticky>div:nth-child(2)>div>a:first-child{position:absolute;left:24px;top:-23px;transform:translateY(0)}
header.sticky .brand-logo-md{width:230px}
header.sticky nav.hidden{max-width:700px;background:linear-gradient(110deg,#f5faff,#eef5fb)!important}
header.sticky nav.hidden>a,header.sticky nav.hidden>div>button{font-size:11px!important;padding:10px 12px!important}
header.sticky.is-compact>div:first-child{border-radius:0 28px 0 24px;min-height:36px;padding-top:3px!important;padding-bottom:3px!important}
header.sticky.is-compact>div:nth-child(2)>div{min-height:60px;padding-top:8px!important;padding-bottom:8px!important}
header.sticky.is-compact>div:nth-child(2)>div>a:first-child{top:-20px}
header.sticky.is-compact .brand-logo-md{width:210px}
}
@media(min-width:1440px){
header.sticky>div:first-child .sm\:flex>div:first-child{padding-right:12px}
header.sticky>div:first-child .sm\:flex>div:nth-child(2):before{width:132px;font-size:10px;margin-right:10px;border-right:0;padding-right:8px}
header.sticky>div:first-child .sm\:flex:after{width:122px;margin-left:14px;border-left:0;padding-left:35px;background-position:8px center;font-size:10px}
header.sticky>div:first-child .sm\:flex>div:nth-child(2)>a{background:linear-gradient(#fff,#f2f7ff)!important;color:#ec0039!important;font-size:10px!important;padding:7px 12px!important}
}
@media(min-width:1024px) and (max-width:1439px){
header.sticky>div:first-child{margin-left:220px;padding-left:14px!important;padding-right:16px!important}
header.sticky>div:nth-child(2)>div{padding-left:234px!important;padding-right:16px!important;gap:10px}
header.sticky>div:nth-child(2)>div>a:first-child{left:18px;top:-12px}
header.sticky .brand-logo-md{width:188px}
header.sticky nav.hidden>a,header.sticky nav.hidden>div>button{font-size:10px!important;padding:9px 8px!important}
header.sticky.is-compact .brand-logo-md{width:175px}
header.sticky.is-compact>div:nth-child(2)>div>a:first-child{top:-12px}
}
@media(max-width:1023px){header.sticky>div:first-child{background:linear-gradient(100deg,#fc0744,#e71850 55%,#07528c)!important}header.sticky>div:first-child a{background:#fff!important;color:#ed003b!important}header.sticky>div:first-child a:before{filter:brightness(0) saturate(100%) invert(17%) sepia(98%) saturate(5000%) hue-rotate(337deg)}}

/* Smooth S-shaped ribbon entrance beside the logo. */
@media(min-width:1024px){
header.sticky>div:first-child,header.sticky.is-compact>div:first-child{border-bottom-left-radius:0;padding-left:58px!important;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M0%200%20C38%200%2020%20100%2064%20100%20L64%200%20Z%22%2F%3E%3C%2Fsvg%3E"),linear-gradient(#fff 0 0);-webkit-mask-size:48px 100%,calc(100% - 47px) 100%;-webkit-mask-position:left top,right top;-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M0%200%20C38%200%2020%20100%2064%20100%20L64%200%20Z%22%2F%3E%3C%2Fsvg%3E"),linear-gradient(#fff 0 0);mask-size:48px 100%,calc(100% - 47px) 100%;mask-position:left top,right top;mask-repeat:no-repeat}
}

/* Slightly larger header logo, with its existing navigation space preserved. */
@media(min-width:1440px){header.sticky .brand-logo-md{width:250px}header.sticky>div:nth-child(2)>div>a:first-child{left:16px;top:-26px}header.sticky.is-compact .brand-logo-md{width:226px}header.sticky.is-compact>div:nth-child(2)>div>a:first-child{top:-23px}}
@media(min-width:1024px) and (max-width:1439px){header.sticky .brand-logo-md{width:204px}header.sticky>div:nth-child(2)>div>a:first-child{left:12px;top:-15px}header.sticky.is-compact .brand-logo-md{width:188px}header.sticky.is-compact>div:nth-child(2)>div>a:first-child{top:-14px}}
@media(max-width:639px){header.sticky .brand-logo-sm{width:166px}header.sticky.is-compact .brand-logo-sm{width:154px}}

/* Desktop navigation aligns with the 1440px hero and service ribbon. */
@media(min-width:1024px){
header.sticky{width:calc(100% - 48px)!important;max-width:1440px!important;margin-left:auto!important;margin-right:auto!important}
}
