
/* HMC final accessibility and responsive corrections */
:root{--primary-color:#F76C1B;--secondary-color:#F7AE45;--accent-color:#F7B24A;--background:#050505;--text-main:#F8F6F2}
#hmc-home{--gold:var(--primary-color)!important;--gold2:var(--secondary-color)!important;--text:var(--text-main)!important}
#hmc-home .header .hi{display:flex!important;align-items:center!important;gap:clamp(8px,1.1vw,16px)!important;width:min(100% - 32px,1380px)!important;margin-inline:auto!important;flex-wrap:nowrap!important}
#hmc-home .header .logo{width:auto!important;min-width:0!important;max-width:200px!important;height:auto!important;flex:0 1 190px!important;overflow:visible!important}
#hmc-home .header .logo .hmc-brand-mark{width:52px!important;height:52px!important;object-fit:contain!important}
#hmc-home .header .nav{display:flex;align-items:center;gap:clamp(6px,.9vw,15px)!important;min-width:0;flex:1 1 auto;justify-content:center}
#hmc-home .header .nav a{white-space:nowrap!important;flex-shrink:0;font-size:clamp(.73rem,.85vw,.92rem)!important}
#hmc-home .header .lang-toggle{flex:0 0 43px!important;order:0;position:relative;z-index:2;margin:0!important}
#hmc-home .header .hcta{flex:0 0 auto!important;white-space:nowrap!important;margin:0!important;padding-inline:12px!important}
#hmc-home .cp-table{color:#F8F6F2!important;border-collapse:collapse}
#hmc-home .cp-table td,#hmc-home .cp-table tbody tr td{color:#F8F6F2!important;background-color:transparent!important;opacity:1!important}
#hmc-home .cp-table th{color:#F7AE45!important}
#hmc-home .cp-table .cp-check{color:#F7AE45!important;font-weight:800}
#hmc-home .cp-table td,#hmc-home .cp-table th{border-color:rgba(247,174,69,.35)!important}
#hmc-home .cp-table td:first-child{color:#FFF5E5!important;font-weight:700}
@media(max-width:1200px){#hmc-home .header .nav{gap:6px!important}#hmc-home .header .nav a{font-size:.76rem!important}#hmc-home .header .nav .menu-icon{display:none!important}#hmc-home .header .logo{flex-basis:145px!important}#hmc-home .header .logo .ls{display:none}}
@media(max-width:1050px){#hmc-home .header .nav{display:none!important}#hmc-home .header .mb{display:flex!important;align-items:center;justify-content:center;flex:0 0 40px;order:0}#hmc-home .header .logo{margin-inline-end:auto!important;flex:0 1 160px!important}#hmc-home .header .mt:checked~.nav{display:flex!important;position:absolute!important;top:100%;right:0;left:0;flex-direction:column!important;align-items:stretch!important;background:#0A0A0A!important;border-bottom:1px solid #F7AE45;padding:16px 22px!important;z-index:99}#hmc-home .header .mt:checked~.nav a{font-size:1rem!important;padding:9px!important;justify-content:flex-start}#hmc-home .header .hcta{font-size:.78rem!important}}
@media(max-width:550px){#hmc-home .header .hi{width:calc(100% - 16px)!important;gap:5px!important}#hmc-home .header .logo{flex:1 1 auto!important;max-width:130px!important}#hmc-home .header .logo .hmc-brand-mark{width:36px!important;height:36px!important}#hmc-home .header .logo .ln{font-size:1rem!important}#hmc-home .header .lang-toggle{flex-basis:35px!important;width:35px!important;height:36px!important}#hmc-home .header .mb{flex-basis:36px!important;width:36px!important;height:36px!important}#hmc-home .header .hcta{padding:6px!important;font-size:.68rem!important}#hmc-home .header .hcta .action-icon{display:none!important}#hmc-home .cp-table{min-width:480px}#hmc-home .cp-table-wrap,#hmc-home .cp-table-container{overflow-x:auto!important}}
#hmc-home .footer .socials a[href='#']{display:none!important}
#hmc-home .hmc-contact-form input:focus,#hmc-home .inspect-form input:focus,#hmc-home .inspect-form select:focus{outline:2px solid var(--secondary-color);outline-offset:2px}

/* HMC Egypt 2026: legibility, navigation and form refinements */
#hmc-home .header .hi{max-width:1500px!important;width:calc(100% - 36px)!important;gap:clamp(10px,1.2vw,20px)!important;min-height:78px}
#hmc-home .header .logo{flex:0 0 auto!important;max-width:225px!important;gap:9px!important}
#hmc-home .header .logo .hmc-brand-mark{height:62px!important;width:62px!important;object-fit:contain}
#hmc-home .header .nav{gap:clamp(9px,1vw,18px)!important;flex:1 1 auto;min-width:0}
#hmc-home .header .nav a{font-size:clamp(.86rem,.92vw,1.02rem)!important;line-height:1.5!important}
#hmc-home .header .lang-toggle{flex:0 0 44px!important}
#hmc-home .header .hcta{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:max-content!important;min-height:42px!important;overflow:visible!important;line-height:1.5!important;padding:9px 15px!important}
#hmc-home .cp-table, #hmc-home .cp-table td,#hmc-home .cp-table tbody tr td{color:#fff8ec!important}
#hmc-home .cp-table th{color:#f7c477!important}
#hmc-home .cp-table-wrap,#hmc-home .cp-table-container{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
#hmc-home .hmc-wa-notice,#hmc-home .hmc-file-note{color:#f5d5a3;font-size:.9rem;line-height:1.8;margin:12px 0}
#hmc-home :is(input,textarea,select):focus-visible,#hmc-home :is(a,button):focus-visible{outline:2px solid #f7c477!important;outline-offset:3px}
@media(max-width:1320px){#hmc-home .header .nav a{font-size:.86rem!important}#hmc-home .header .logo{max-width:175px!important}#hmc-home .header .logo .ls{display:none!important}}
@media(max-width:1100px){#hmc-home .header .nav{display:none!important}#hmc-home .header .mb{display:flex!important}#hmc-home .header .mt:checked~.nav{display:flex!important}#hmc-home .header .logo{margin-inline-end:auto!important}}
@media(max-width:550px){#hmc-home .header .hi{width:calc(100% - 18px)!important;gap:5px!important;min-height:62px}#hmc-home .header .logo{max-width:125px!important}#hmc-home .header .logo .hmc-brand-mark{width:39px!important;height:39px!important}#hmc-home .header .hcta{min-height:36px!important;padding:6px 7px!important;font-size:.68rem!important}#hmc-home .header .lang-toggle{flex-basis:35px!important}}
