/* MEZAT Auto Block Theme 1.9.5 — visual refresh matching the approved full-width design. */
:root { --mezat-hero-navy:#041b50; --mezat-hero-blue:#02309b; --mezat-hero-sky:#4ba7ff; }
html, body { max-width:100%; overflow-x:hidden; }
.wp-site-blocks { overflow:clip; }

/* Full-bleed photo hero: photos cover the entire banner, never a separate blue card. */
.hero {
  position:relative!important; isolation:isolate; overflow:hidden!important;
  width:100%; max-width:100%; min-height:clamp(540px,68vh,740px)!important;
  min-height:clamp(540px,68svh,740px)!important; height:auto; color:#fff!important;
  background:#031d5e!important;
}
.hero:before, .hero:after { display:none!important; content:none!important; }
.hero .hero-container {
  display:block!important; position:static!important; z-index:auto!important;
  width:100%!important; max-width:none!important; margin:0!important;
  min-height:inherit!important; height:auto; box-sizing:border-box;
  padding-block:clamp(72px,10vh,105px) 66px!important;
  padding-inline:clamp(24px,8vw,142px)!important;
}
.hero .hero-copy, body.mezat-rtl .hero .hero-copy {
  position:relative!important; z-index:5!important; display:block; width:min(100%,680px)!important;
  max-width:680px!important; margin:0!important; padding:0!important;
}
.hero .hero-copy > .eyebrow { margin-bottom:27px!important; }
.hero .hero-slide h1, .hero .hero-slide h2.hero-title {
  max-width:690px; margin:0 0 20px!important; color:#fff!important;
  font-size:clamp(40px,4.55vw,68px)!important; line-height:1.035!important;
  font-weight:850; letter-spacing:-.048em;
}
.hero-title-accent { display:inline; color:var(--mezat-hero-sky)!important; }
.hero .hero-description { max-width:600px; margin:0 0 27px!important; font-size:clamp(15px,1.2vw,18px)!important; line-height:1.72!important; color:rgba(255,255,255,.88)!important; }
.hero .hero-actions { gap:14px 22px!important; }
.hero .hero-actions .wp-block-button__link { min-height:50px; padding:14px 21px!important; border-radius:9px!important; font-size:13px!important; font-weight:800!important; }
.hero .hero-actions .wp-block-button:first-child .wp-block-button__link { background:#034bd9!important; color:#fff!important; box-shadow:0 8px 20px rgba(0,10,42,.2); }
.hero .hero-actions .wp-block-button:first-child .wp-block-button__link:hover { background:#1263ee!important; }
.hero .hero-text-link { display:inline-flex; align-items:center; min-height:48px; color:#fff!important; font-size:13px!important; font-weight:800; }
.hero .hero-controls { position:relative!important; z-index:5!important; margin-top:42px!important; gap:22px!important; }
.hero .hero-dot { min-width:28px; height:4px; background:rgba(255,255,255,.4); }
.hero .hero-dot.is-active { width:48px; background:#95d3f8!important; }
.hero .hero-count { color:rgba(255,255,255,.72); }
.hero .hero-visual {
  position:absolute!important; z-index:0!important; inset:0!important; width:100%!important; height:100%!important;
  min-width:0!important; min-height:0!important; max-width:none!important; margin:0!important;
  display:block!important; overflow:hidden!important; pointer-events:none;
}
.hero .hero-visual:before {
  content:""; position:absolute; z-index:1; inset:0; display:block!important; width:auto; height:auto;
  border:0; border-radius:0; aspect-ratio:auto;
  background:linear-gradient(90deg,rgba(0,16,53,.94) 0%,rgba(2,35,107,.83) 34%,rgba(2,48,155,.43) 66%,rgba(2,48,155,.19) 100%)!important;
}
.hero .hero-visual:after {
  content:""; position:absolute; z-index:2; inset:0; display:block!important; border:0; clip-path:none;
  background:linear-gradient(0deg,rgba(0,12,42,.78) 0%,rgba(0,16,53,.18) 28%,rgba(0,20,70,0) 61%)!important;
}
.hero .hero-visual > .wp-block-image.hero-art {
  position:absolute!important; z-index:0!important; inset:0!important; width:100%!important; max-width:none!important;
  height:100%!important; min-height:0!important; display:block!important; margin:0!important; padding:0!important;
  opacity:0!important; transform:scale(1.035)!important; filter:none!important;
  transition:opacity .8s ease,transform 6.5s ease!important; pointer-events:none;
}
.hero .hero-visual > .wp-block-image.hero-art img {
  display:block!important; width:100%!important; max-width:none!important; height:100%!important; max-height:none!important;
  object-fit:cover!important; object-position:center center!important; border-radius:0!important;
}
.hero .hero-visual > .wp-block-image.hero-art.is-active { opacity:1!important; transform:scale(1)!important; }
.hero .hero-floating-note {
  position:absolute!important; z-index:4!important; bottom:27px!important; inset-inline-end:clamp(22px,5vw,76px)!important;
  min-width:220px; padding:13px 17px!important; border:1px solid rgba(255,255,255,.65);
  background:rgba(255,255,255,.94)!important; color:#14233d!important; box-shadow:0 16px 42px rgba(0,12,50,.2);
  backdrop-filter:blur(10px); animation:none!important;
}
.hero .hero-visual-label { position:absolute!important; z-index:4!important; bottom:19px!important; inset-inline-start:clamp(22px,5vw,76px)!important; }
.hero .hero-orb { display:none!important; }
.hero-bottom-line { height:3px; background:linear-gradient(90deg,#95d3f8 0%,rgba(149,211,248,.24) 44%,transparent 100%); }
body.mezat-rtl .hero .hero-visual:before { background:linear-gradient(270deg,rgba(0,16,53,.94) 0%,rgba(2,35,107,.83) 34%,rgba(2,48,155,.43) 66%,rgba(2,48,155,.19) 100%)!important; }
body.mezat-rtl .hero .hero-visual-label { inset-inline-start:clamp(22px,5vw,76px)!important; inset-inline-end:auto!important; }

/* Partner strip: vehicle photos in one compact row, not logo-only cards. */
.vehicle-brands-section { padding:23px 0!important; background:#fff!important; border-bottom:1px solid #e8eef5!important; }
.vehicle-brands-section > .container.vehicle-brand-strip {
  display:grid!important; grid-template-columns:minmax(185px,230px) minmax(0,1fr); align-items:center; gap:18px;
  width:min(1380px,calc(100% - 64px))!important; max-width:1380px!important; margin-inline:auto!important;
}
.vehicle-brands-heading { max-width:none!important; margin:0!important; text-align:left!important; }
.vehicle-brands-heading .eyebrow { justify-content:flex-start!important; margin:0 0 7px!important; font-size:9px!important; letter-spacing:.11em!important; }
.vehicle-brands-heading h2 { margin:0 0 4px!important; color:#112747!important; font-size:clamp(21px,1.8vw,27px)!important; line-height:1.13!important; letter-spacing:-.035em!important; }
.vehicle-brands-heading > p { max-width:230px!important; margin:0!important; color:#718097!important; font-size:10px!important; line-height:1.5!important; }
.vehicle-brands-grid { display:grid!important; grid-template-columns:repeat(8,minmax(0,1fr))!important; gap:0!important; min-width:0; }
.vehicle-brands-grid .vehicle-brand-card {
  display:flex!important; flex-direction:column!important; align-items:center!important; justify-content:center!important;
  min-width:0!important; min-height:94px!important; gap:5px!important; margin:0!important; padding:5px 9px!important;
  border:0!important; border-inline-start:1px solid #e5ebf2!important; border-radius:0!important; background:transparent!important;
  box-shadow:none!important; text-align:center!important; transition:background .2s ease!important;
}
.vehicle-brands-grid .vehicle-brand-card:hover { transform:none!important; background:#f7faff!important; }
.vehicle-brands-grid .vehicle-brand-card .vehicle-model-photo { width:100%; height:62px; margin:0!important; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.vehicle-brands-grid .vehicle-brand-card .vehicle-model-photo img { display:block!important; width:100%!important; height:100%!important; max-width:150px!important; max-height:none!important; object-fit:contain!important; }
.vehicle-brands-grid .vehicle-brand-card > p { margin:0!important; font-size:9px!important; line-height:1.25!important; font-weight:850!important; letter-spacing:.035em!important; color:#566680!important; text-align:center!important; }
body.mezat-rtl .vehicle-brands-heading { text-align:right!important; }
body.mezat-rtl .vehicle-brands-heading .eyebrow { justify-content:flex-start!important; }

/* Services are photo cards for real part categories. */
.home-services-section { padding:58px 0 74px!important; background:linear-gradient(180deg,#f8fbff 0%,#f1f6fb 100%)!important; }
.home-services-layout {
  display:grid!important; grid-template-columns:minmax(195px,245px) minmax(0,1fr); align-items:center; gap:24px;
  width:min(1380px,calc(100% - 64px))!important; max-width:1380px!important; margin-inline:auto!important;
}
.home-services-intro { min-width:0; }
.home-services-intro .eyebrow { margin:0 0 12px!important; }
.home-services-intro h2 { margin:0 0 14px!important; color:#102747!important; font-size:clamp(28px,2.4vw,38px)!important; line-height:1.12!important; letter-spacing:-.045em!important; }
.home-services-accent { color:#1553c8!important; }
.home-services-intro > p:not(.eyebrow):not(.home-services-more) { margin:0 0 16px!important; color:#6b7b92!important; font-size:12px!important; line-height:1.7!important; }
.home-services-more { margin:0!important; }
.home-services-more a { display:inline-flex; align-items:center; gap:8px; color:#0342ad!important; font-size:12px!important; font-weight:850!important; }
.home-services-more a span { font-size:18px; transition:transform .2s ease; }
.home-services-more a:hover span { transform:translateX(3px); }
.home-services-grid { display:grid!important; grid-template-columns:repeat(6,minmax(0,1fr))!important; gap:11px!important; align-items:stretch; min-width:0; }
.home-service-card {
  min-width:0!important; overflow:hidden!important; display:flex!important; flex-direction:column!important;
  border:1px solid #e5ecf4!important; border-radius:12px!important; background:#fff!important;
  box-shadow:0 6px 22px rgba(12,47,95,.045)!important; transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease!important;
}
.home-service-card:hover { transform:translateY(-4px); border-color:#b9d4f3!important; box-shadow:0 14px 28px rgba(12,47,95,.1)!important; }
.home-service-card .home-service-image { width:100%; height:clamp(95px,9vw,135px); margin:0!important; padding:7px!important; display:flex; align-items:center; justify-content:center; background:linear-gradient(180deg,#f2f5f8 0%,#fff 100%); overflow:hidden; }
.home-service-card .home-service-image img { display:block!important; width:100%!important; height:100%!important; max-height:none!important; object-fit:contain!important; border-radius:6px!important; transition:transform .4s ease; }
.home-service-card:hover .home-service-image img { transform:scale(1.045); }
.home-service-body { display:flex!important; flex-direction:row!important; align-items:center!important; justify-content:space-between!important; gap:4px!important; min-height:49px; margin:0!important; padding:9px 10px!important; border-top:1px solid #edf1f6; }
.home-service-body h3 { flex:1; min-width:0; margin:0!important; font-size:clamp(10px,.92vw,13px)!important; line-height:1.25!important; font-weight:850!important; color:#12294b!important; letter-spacing:-.02em!important; overflow-wrap:anywhere; }
.home-service-body p { flex:0 0 auto; margin:0!important; }
.home-service-body p a { display:grid; place-items:center; width:24px; height:24px; border-radius:50%; background:#edf5ff; color:#0347c4!important; font-size:14px; font-weight:900; line-height:1; }
body.mezat-rtl .home-services-intro { text-align:right; }
body.mezat-rtl .home-services-intro .eyebrow { justify-content:flex-start; }
body.mezat-rtl .home-service-body { direction:rtl; }

/* Stable mobile menu: compact, intentional drawer rather than a blank white full-screen page. */
@media (max-width:900px) {
  .hero { min-height:clamp(600px,76vh,760px)!important; min-height:clamp(600px,76svh,760px)!important; }
  .hero .hero-container { width:100%!important; min-height:inherit!important; padding:clamp(78px,11vh,105px) 28px 48px!important; padding-inline:28px!important; }
  .hero .hero-copy, body.mezat-rtl .hero .hero-copy { width:min(100%,620px)!important; max-width:620px!important; }
  .hero .hero-slide h1, .hero .hero-slide h2.hero-title { font-size:clamp(37px,6.4vw,56px)!important; }
  .hero .hero-description { font-size:15px!important; max-width:520px; }
  .hero .hero-controls { margin-top:34px!important; }
  .hero .hero-floating-note { display:none!important; }
  .vehicle-brands-section > .container.vehicle-brand-strip { grid-template-columns:1fr!important; gap:15px!important; width:calc(100% - 36px)!important; }
  .vehicle-brands-heading { text-align:left!important; }
  .vehicle-brands-heading h2 { font-size:24px!important; }
  .vehicle-brands-heading > p { display:none!important; }
  .vehicle-brands-grid { grid-template-columns:repeat(4,minmax(0,1fr))!important; row-gap:7px!important; }
  .vehicle-brands-grid .vehicle-brand-card { min-height:80px!important; padding:5px 5px!important; border-bottom:1px solid #eef2f7!important; }
  .vehicle-brands-grid .vehicle-brand-card .vehicle-model-photo { height:51px!important; }
  .vehicle-brands-grid .vehicle-brand-card > p { font-size:9px!important; }
  .home-services-layout { grid-template-columns:1fr!important; gap:24px!important; width:calc(100% - 36px)!important; }
  .home-services-intro h2 { max-width:520px; font-size:32px!important; }
  .home-services-grid { grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:10px!important; }
  .home-service-card .home-service-image { height:clamp(100px,20vw,145px)!important; }
  .home-service-body { min-height:44px; padding:8px!important; }
  .home-service-body h3 { font-size:11px!important; }
  .site-header nav.wp-block-navigation.primary-navigation > .wp-block-navigation__responsive-container.is-menu-open {
    position:fixed!important; inset:0!important; width:100vw!important; max-width:100vw!important; height:100vh!important; height:100dvh!important;
    max-height:100dvh!important; display:flex!important; visibility:visible!important; overflow-y:auto!important; margin:0!important;
    padding:0!important; border:0!important; border-radius:0!important;
    background:linear-gradient(155deg,#061740 0%,#082866 56%,#02309b 100%)!important; color:#fff!important;
    z-index:999999!important; box-shadow:none!important; align-items:stretch!important; justify-content:flex-start!important;
  }
  .site-header nav.wp-block-navigation.primary-navigation .wp-block-navigation__responsive-dialog {
    display:flex!important; flex-direction:column!important; width:100%!important; max-width:100%!important; min-height:100%!important;
    margin:0!important; padding:0 clamp(24px,7vw,44px)!important; box-sizing:border-box!important;
  }
  .site-header nav.wp-block-navigation.primary-navigation .wp-block-navigation__responsive-container-close {
    display:flex!important; position:fixed!important; top:max(18px,env(safe-area-inset-top))!important;
    inset-inline-end:max(20px,env(safe-area-inset-right))!important; z-index:1000001!important;
    min-width:46px!important; width:46px!important; min-height:46px!important; height:46px!important;
    padding:10px!important; border:1px solid rgba(255,255,255,.24)!important; border-radius:50%!important;
    background:rgba(255,255,255,.09)!important; color:#fff!important;
  }
  .site-header nav.wp-block-navigation.primary-navigation .wp-block-navigation__responsive-container-content {
    display:flex!important; flex-direction:column!important; align-items:stretch!important; justify-content:flex-start!important;
    width:min(100%,520px)!important; margin:0 auto!important; padding:90px 0 max(30px,env(safe-area-inset-bottom))!important;
    box-sizing:border-box!important; gap:0!important;
  }
  .site-header nav.wp-block-navigation.primary-navigation .wp-block-navigation__container {
    display:flex!important; flex-direction:column!important; align-items:stretch!important; justify-content:flex-start!important;
    width:100%!important; gap:0!important; margin:0!important; padding:0!important;
  }
  .site-header nav.wp-block-navigation.primary-navigation .wp-block-navigation-item { display:block!important; width:100%!important; border-bottom:1px solid rgba(255,255,255,.15)!important; }
  .site-header nav.wp-block-navigation.primary-navigation .wp-block-navigation-item__content {
    display:flex!important; width:100%!important; min-height:56px!important; align-items:center!important; box-sizing:border-box!important;
    padding:15px 4px!important; border:0!important; color:#fff!important; background:transparent!important; text-decoration:none!important;
    font-size:clamp(19px,5vw,23px)!important; font-weight:750!important; line-height:1.25!important; text-align:left!important;
    justify-content:flex-start!important; direction:ltr!important; white-space:normal!important;
  }
  .site-header nav.wp-block-navigation.primary-navigation .language-switch-nav > .wp-block-navigation-item__content { color:#95d3f8!important; font-size:17px!important; }
  body.mezat-rtl .site-header nav.wp-block-navigation.primary-navigation .wp-block-navigation-item__content { text-align:right!important; justify-content:flex-end!important; direction:rtl!important; }
  body.mezat-rtl .site-header nav.wp-block-navigation.primary-navigation .wp-block-navigation__responsive-container-close { inset-inline-start:max(20px,env(safe-area-inset-left))!important; inset-inline-end:auto!important; }
}
@media (max-width:600px) {
  .hero { min-height:clamp(620px,79vh,790px)!important; min-height:clamp(620px,79svh,790px)!important; }
  .hero .hero-container { padding:clamp(82px,12vh,112px) 23px 40px!important; padding-inline:23px!important; }
  .hero .hero-copy, body.mezat-rtl .hero .hero-copy { width:100%!important; max-width:none!important; }
  .hero .hero-copy > .eyebrow { font-size:10px!important; margin-bottom:22px!important; }
  .hero .hero-slide h1, .hero .hero-slide h2.hero-title { font-size:clamp(35px,9.7vw,49px)!important; line-height:1.06!important; max-width:100%!important; margin-bottom:17px!important; }
  .hero .hero-description { font-size:14px!important; line-height:1.7!important; margin-bottom:22px!important; }
  .hero .hero-actions { gap:10px 16px!important; }
  .hero .hero-actions .wp-block-button__link { min-height:46px; padding:12px 15px!important; font-size:12px!important; }
  .hero .hero-text-link { min-height:42px; font-size:12px!important; }
  .hero .hero-controls { margin-top:29px!important; }
  .hero .hero-visual:before { background:linear-gradient(90deg,rgba(0,14,49,.92) 0%,rgba(2,35,107,.78) 58%,rgba(2,48,155,.43) 100%)!important; }
  body.mezat-rtl .hero .hero-visual:before { background:linear-gradient(270deg,rgba(0,14,49,.92) 0%,rgba(2,35,107,.78) 58%,rgba(2,48,155,.43) 100%)!important; }
  .hero .hero-visual:after { background:linear-gradient(0deg,rgba(0,10,38,.76) 0%,rgba(0,15,48,.14) 44%,rgba(0,20,70,.03) 75%)!important; }
  .hero .hero-visual-label { display:none!important; }
  .vehicle-brands-section { padding:22px 0!important; }
  .vehicle-brands-heading h2 { font-size:22px!important; }
  .vehicle-brands-grid { grid-template-columns:repeat(4,minmax(0,1fr))!important; }
  .vehicle-brands-grid .vehicle-brand-card { min-height:74px!important; }
  .vehicle-brands-grid .vehicle-brand-card .vehicle-model-photo { height:43px!important; }
  .vehicle-brands-grid .vehicle-brand-card > p { font-size:8px!important; }
  .home-services-section { padding:43px 0 54px!important; }
  .home-services-layout { width:calc(100% - 34px)!important; gap:19px!important; }
  .home-services-intro h2 { font-size:29px!important; }
  .home-services-intro > p:not(.eyebrow):not(.home-services-more) { font-size:12px!important; }
  .home-services-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:11px!important; }
  .home-service-card .home-service-image { height:125px!important; padding:8px!important; }
  .home-service-body { min-height:46px; padding:9px!important; }
  .home-service-body h3 { font-size:12px!important; }
  .home-service-body p a { width:23px; height:23px; }
}
@media(prefers-reduced-motion:reduce) {
  .hero .hero-art, .home-service-card, .home-service-image img { transition:none!important; transform:none!important; }
}
