/* Cairo - Arabic and Latin (Variable Font: weight 200-900) */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('/fonts/cairo/Cairo-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('/fonts/cairo/Cairo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('/fonts/cairo/Cairo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Manrope - Latin (Variable Font: weight 200-800) */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/manrope/Manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/manrope/Manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --bg: #07121d;
    --panel: #0e2232;
    --panel2: #112b3e;
    --edge: #2c4554;
    --text: #eef6fa;
    --muted: #9cb1bf;
    --orange: #f4a34c;
    --cyan: #56c6d4;
    --green: #5bd3a3;
    --red: #e28d76;
    --radius: 18px;
    --hero-navy: #0b2238;
    --hero-h1-orange: #ffad4a;
    --hero-lead: #e0e9f1;
    --hero-badge-small: #dce7ee
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Cairo, Tahoma, Arial, sans-serif;
    line-height: 1.75
}

a {
    color: inherit;
    text-decoration: none
}

button,
input,
select,
textarea {
    font: inherit
}

button {
    cursor: pointer
}

button:disabled {
    opacity: .5;
    cursor: not-allowed
}

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px
}

[tabindex="-1"]:focus,
[tabindex="-1"]:focus-visible {
    outline: none
}

.wrap {
    width: min(1240px, calc(100% - 40px));
    margin: auto
}

.watermark {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background: linear-gradient(140deg, rgba(7, 18, 29, .90), rgba(7, 18, 29, .95)), url("/images/mma-gear.webp") center 40%/min(80vw, 800px) no-repeat;
    opacity: .95
}

.topstrip {
    background: #091c2b;
    border-bottom: 1px solid #1e3949;
    font: 700 10px Manrope, Arial, sans-serif;
    letter-spacing: .09em;
    color: #a4b9c5
}

.topstrip .wrap {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0
}

.signal {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    margin-left: 7px;
    box-shadow: 0 0 13px #5bd3a3
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(7, 18, 29, .96);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid #233c4d
}

.header-inner {
    min-height: 83px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0
}

.brand picture img {
    width: 58px;
    height: 58px;
    display: block
}

.brand span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px
}

.brand span img {
    display: block
}

.brand small {
    font: 700 8.5px/1.2 Manrope, Arial, sans-serif;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #c3d2d9
}

.brand__mark,
.brand__wordmark {
    background: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none
}

.nav {
    display: flex;
    align-items: center;
    gap: 22px
}

.nav>a {
    font-size: 12px;
    font-weight: 800;
    color: #cbd7df;
    white-space: nowrap
}

.nav>a:hover,
.nav>a.active {
    color: var(--orange)
}

.nav .nav-action {
    background: var(--orange);
    color: #111d28;
    padding: 11px 16px;
    border-radius: 8px
}

.menu-toggle {
    display: none;
    background: #122838;
    border: 1px solid #375062;
    width: 46px;
    height: 44px;
    border-radius: 9px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: white;
    transition: .2s
}

.menu-toggle[aria-expanded=true] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
}

.menu-toggle[aria-expanded=true] span:nth-child(2) {
    opacity: 0
}

.menu-toggle[aria-expanded=true] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

.eyebrow {
    font: 800 11px Manrope, Arial, sans-serif;
    color: var(--orange);
    letter-spacing: .18em;
    display: flex;
    gap: 12px;
    align-items: center;
    text-transform: uppercase
}

.eyebrow:before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--orange)
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1 {
    font-size: clamp(37px, 5.1vw, 76px);
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -.04em
}

h2 {
    font-size: clamp(27px, 3.2vw, 45px);
    line-height: 1.4;
    font-weight: 900
}

h3 {
    font-size: 20px
}

.lead {
    font-size: 16px;
    color: #c1d0d9;
    max-width: 630px
}

.btn {
    border: 1px solid var(--orange);
    background: var(--orange);
    color: #10202c;
    border-radius: 9px;
    padding: 12px 23px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    transition: transform .2s, background .2s
}

.btn:hover {
    transform: translateY(-2px);
    background: #ffc078
}

.btn.secondary {
    background: rgba(12, 32, 47, .7);
    border-color: #5a7889;
    color: white
}

.btn.secondary:hover {
    background: #1a3c52
}

.btn.small {
    padding: 8px 14px;
    font-size: 12px
}

.hero {
    position: relative;
    min-height: 660px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    border-bottom: 5px solid var(--orange);
    background-color: var(--hero-navy);
    background-image: linear-gradient(90deg, rgba(8,29,48,.97) 0%, rgba(9,37,61,.93) 55%, rgba(12,44,73,.88) 100%);
    color: #fff
}

.hero:before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 18% 45%, #f4a34c17, transparent 45%), repeating-linear-gradient(0deg, transparent 0 70px, #b8d5e506 71px 72px), repeating-linear-gradient(90deg, transparent 0 70px, #b8d5e506 71px 72px);
    pointer-events: none
}

.hero-content {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    width: min(760px, calc(100% - 40px));
    margin-inline-start: max(20px, calc((100% - 1240px) / 2));
    margin-inline-end: 20px;
    padding-block: clamp(48px, 6vw, 88px)
}

.hero h1 span {
    color: var(--hero-h1-orange)
}

.hero .lead {
    margin-bottom: 30px;
    color: var(--hero-lead)
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 53px;
    border-top: 1px solid #ffffff2b;
    padding-top: 25px
}

.hero-badges>div {
    border-right: 2px solid var(--orange);
    padding-right: 13px
}

.hero-badges strong {
    display: block;
    font: 800 20px Manrope, Arial, sans-serif
}

.hero-badges small {
    font-size: 11px;
    color: var(--hero-badge-small)
}

.demo-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffce94;
    font-size: 11px;
    background: #f4a34c15;
    border: 1px solid #f4a34c50;
    border-radius: 30px;
    padding: 5px 12px;
    margin-bottom: 22px
}

@media (max-width: 900px) {
    .hero-content {
        padding-block: 56px 64px
    }
}

.section {
    padding: 95px 0
}

.section.tint {
    background: #0a1d2c
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: end;
    margin-bottom: 32px
}

.section-heading p {
    max-width: 460px;
    color: var(--muted)
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px
}

.service-card {
    position: relative;
    background: linear-gradient(150deg, #142d3e, #0b1e2d);
    border: 1px solid #2c4655;
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .2s, border-color .2s
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #e99b51
}

.service-card .photo {
    height: 220px;
    position: relative;
    background-size: cover;
    background-position: center
}

.service-card .photo:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #07121d, transparent 65%)
}

.service-card .num {
    position: absolute;
    top: 18px;
    right: 18px;
    font: 800 12px Manrope;
    color: #fff;
    background: #07121d99;
    padding: 5px 10px;
    border: 1px solid #ffffff55;
    border-radius: 5px
}

.service-card .content {
    padding: 24px
}

.service-card p {
    color: #b5c8d3;
    font-size: 13px;
    min-height: 55px
}

.service-card .arrow {
    color: var(--orange);
    font-weight: 900;
    font-size: 13px
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin: 26px 0
}

.stat {
    padding: 22px;
    background: linear-gradient(140deg, #132d3e, #0b1c2b);
    border: 1px solid #365063;
    border-radius: 14px;
    position: relative;
    overflow: hidden
}

.stat:before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--orange)
}

.stat .value {
    font: 800 clamp(24px, 3vw, 38px) Manrope, Arial, sans-serif;
    color: var(--orange);
    direction: ltr;
    text-align: right
}

.stat .label {
    font-size: 12px;
    color: #b5c8d3
}

.operations {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 18px
}

.panel {
    border: 1px solid #304a5b;
    background: linear-gradient(150deg, #102838, #0b1d2a);
    border-radius: var(--radius);
    padding: 25px;
    min-width: 0
}

.panel-header {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    margin-bottom: 24px
}

.panel-header h3 {
    margin: 0
}

.tabs {
    display: flex;
    gap: 7px;
    flex-wrap: wrap
}

.tab {
    border: 1px solid #3c596c;
    background: #112b3b;
    color: #c5d5df;
    border-radius: 7px;
    padding: 8px 13px;
    font-size: 12px;
    font-weight: 800
}

.tab[aria-pressed=true] {
    background: var(--orange);
    color: #10202c;
    border-color: var(--orange)
}

.bars {
    display: grid;
    gap: 19px
}

.bar-row {
    display: grid;
    grid-template-columns: 85px 1fr 45px;
    gap: 12px;
    align-items: center;
    font-size: 12px
}

.track {
    height: 11px;
    background: #233c4c;
    border-radius: 20px;
    overflow: hidden
}

.fill {
    height: 100%;
    background: linear-gradient(90deg, #e58a3d, #ffd084);
    border-radius: 20px;
    transition: width .35s
}

.donut-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap
}

.donut {
    height: 180px;
    width: 180px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: conic-gradient(var(--green) 0 94.1%, var(--orange) 94.1% 100%)
}

.donut-inner {
    width: 136px;
    height: 136px;
    background: #0d2332;
    border-radius: 50%;
    display: grid;
    place-items: center;
    align-content: center
}

.donut-inner strong {
    font: 800 28px Manrope
}

.donut-inner small {
    font-size: 10px;
    color: var(--muted)
}

.legend {
    display: grid;
    gap: 14px
}

.legend span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #c8d6df;
    font-size: 12px
}

.dot {
    height: 9px;
    width: 9px;
    border-radius: 50%;
    display: inline-block
}

.dot.green {
    background: var(--green)
}

.dot.orange {
    background: var(--orange)
}

.legend b {
    margin-right: auto;
    font: 800 17px Manrope
}

.notice {
    border: 1px solid #b885494f;
    background: #f4a34c10;
    padding: 13px 16px;
    border-radius: 10px;
    color: #e9c7a2;
    font-size: 12px;
    margin: 20px 0
}

.path-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px
}

.path {
    background: #0f2636;
    border: 1px solid #365061;
    padding: 22px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    font-weight: 800
}

.path:hover {
    border-color: var(--orange);
    color: var(--orange)
}

.path span {
    color: var(--orange)
}

.page-hero {
    padding: 75px 0 55px;
    background: linear-gradient(125deg, #0d2c40, #07121d);
    border-bottom: 1px solid #29475b
}

.page-hero h1 {
    font-size: clamp(32px, 4.3vw, 55px);
    margin: 15px 0
}

.page-hero p {
    max-width: 760px;
    color: #bbccd7
}

.breadcrumbs {
    font-size: 12px;
    color: #a3b8c6
}

.breadcrumbs a {
    color: var(--orange)
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 28px;
    align-items: start
}

.detail-photo {
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    border: 1px solid #385366
}

.detail-copy p {
    color: #c1d0d9
}

.bullets {
    padding-right: 20px;
    color: #c1d0d9
}

.bullets li {
    margin: 8px 0
}

.form-shell {
    background: #0e2535;
    border: 1px solid #365467;
    border-radius: 18px;
    padding: 30px
}

.form-shell h2 {
    font-size: 27px
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0
}

.field.full {
    grid-column: 1/-1
}

.field label {
    font-size: 13px;
    font-weight: 800
}

.field label .required {
    color: var(--orange)
}

.field input,
.field select,
.field textarea {
    background: #071b29;
    color: #fff;
    border: 1px solid #466174;
    border-radius: 9px;
    padding: 12px 13px;
    width: 100%;
    min-height: 49px
}

.field textarea {
    min-height: 115px;
    resize: vertical
}

.field input::placeholder,
.field textarea::placeholder {
    color: #879ca9
}

.field small {
    color: #a9bdc8;
    font-size: 11px
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px
}

.parts-table {
    display: grid;
    gap: 12px
}

.part-row {
    display: grid;
    grid-template-columns: 1fr 105px 44px;
    gap: 10px
}

.part-row input {
    background: #071b29;
    color: #fff;
    border: 1px solid #466174;
    border-radius: 9px;
    padding: 11px;
    min-width: 0
}

.icon-btn {
    border: 1px solid #6b5960;
    background: #432d36;
    color: #ffcfce;
    border-radius: 9px
}

.results {
    margin-top: 18px
}

.success {
    background: #103b35;
    border: 1px solid #398c74;
    border-radius: 11px;
    padding: 18px
}

.success strong {
    color: #9ef2c9
}

.summary-card {
    background: #102a3b;
    border: 1px solid #365264;
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
    overflow-wrap: anywhere
}

.summary-card p {
    margin: 4px 0
}

.empty {
    color: #a9bfca;
    border: 1px dashed #3b5969;
    padding: 25px;
    border-radius: 12px
}

.order-list {
    display: grid;
    gap: 12px
}

.order-card {
    background: #102a3b;
    border: 1px solid #3b586a;
    border-radius: 12px;
    padding: 20px
}

.order-top {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center
}

.pill {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 50px;
    background: #f4a34c20;
    color: #ffd29e;
    font-size: 11px
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.contact-card {
    background: #102a3b;
    border: 1px solid #365264;
    border-radius: 14px;
    padding: 25px
}

.contact-card h3 {
    color: var(--orange)
}

.contact-card p {
    color: #b5c8d3
}

.footer-note {
    color: #b8c9d2;
    font-size: 12px
}

footer {
    background: #06101a;
    border-top: 1px solid #294455;
    padding: 40px 0 18px
}

.foot {
    display: grid;
    grid-template-columns: 1.2fr 1fr .7fr;
    gap: 25px
}

.foot-brand {
    display: flex;
    gap: 12px;
    align-items: center
}

.foot-brand strong {
    font: 900 27px Manrope
}

.foot p {
    font-size: 11px;
    color: #a6bac6
}

.foot-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-size: 12px
}

.foot-bottom {
    border-top: 1px solid #294455;
    margin-top: 30px;
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 10px;
    color: #9db2bf
}

.toast {
    position: fixed;
    bottom: 22px;
    left: 22px;
    z-index: 100;
    background: #133748;
    border: 1px solid #6095a6;
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    box-shadow: 0 15px 50px #0008;
    display: none
}

.toast.show {
    display: block
}

.hide {
    display: none !important
}

@media(max-width:1020px) {
    .nav {
        gap: 13px
    }

    .nav>a {
        font-size: 11px
    }

    .operations {
        grid-template-columns: 1fr
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:760px) {
    .topstrip .wrap span:last-child {
        display: none
    }

    .wrap {
        width: min(100% - 30px, 1240px)
    }

    .header-inner {
        min-height: 70px
    }

    .menu-toggle {
        display: flex
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: #0b2232;
        border-bottom: 1px solid #466174;
        padding: 16px 20px 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        box-shadow: 0 22px 35px #0008;
        max-height: calc(100dvh - 70px);
        overflow: auto
    }

    .nav.open {
        display: flex
    }

    .nav>a {
        padding: 12px 10px;
        font-size: 14px;
        border-bottom: 1px solid #ffffff13
    }

    .nav .nav-action {
        text-align: center;
        margin-top: 10px
    }

    .hero {
        min-height: 610px;
        background: linear-gradient(270deg, #07121df5, #07121da8), url("/images/quarry.webp") center/cover
    }

    .hero-badges {
        gap: 16px
    }

    .section {
        padding: 65px 0
    }

    .section-heading {
        display: block
    }

    .services-grid,
    .detail-grid,
    .contact-grid {
        grid-template-columns: 1fr
    }

    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .path-grid {
        grid-template-columns: 1fr 1fr
    }

    .panel {
        padding: 18px
    }

    .form-shell {
        padding: 20px
    }

    .form-grid {
        grid-template-columns: 1fr
    }

    .foot {
        grid-template-columns: 1fr 1fr
    }

    .foot-brand {
        grid-column: 1/-1
    }

    .foot-bottom {
        display: block
    }

    .detail-photo {
        height: 300px
    }
}

@media(max-width:560px) {
    .brand {
        gap: 8px
    }

    .brand picture img {
        width: 40px;
        height: 40px
    }
}

@media(max-width:430px) {
    .site-header .brand small {
        display: none
    }

    .hero h1 {
        font-size: 38px
    }

    .services-grid,
    .path-grid {
        grid-template-columns: 1fr
    }

    .stat {
        padding: 16px
    }

    .stat .value {
        font-size: 27px
    }

    .part-row {
        grid-template-columns: 1fr 75px 37px
    }

    .part-row input {
        padding: 8px
    }

    .donut {
        height: 150px;
        width: 150px
    }

    .donut-inner {
        height: 114px;
        width: 114px
    }

    .panel-header {
        display: block
    }

    .panel-header .tabs {
        margin-top: 15px
    }
}


/* ===== next <style> block ===== */

/* MMA V40 — brand-first design layer */
:root {
    --bg: #f5f8fb;
    --panel: #fff;
    --panel2: #eef4f9;
    --edge: #d9e4ec;
    --text: #102b44;
    --muted: #597086;
    --orange: #f28c28;
    --cyan: #1d669d;
    --green: #248b72;
    --red: #b45445;
    --radius: 20px
}

html {
    scroll-padding-top: 90px
}

body {
    background: #f5f8fb;
    color: #102b44;
    overflow-x: hidden
}

.watermark {
    background: url("/images/mma-gear.webp") center 55%/min(75vw, 680px) no-repeat;
    opacity: .035;
    z-index: 0
}

.site-header,
.topstrip,
main,
footer {
    position: relative
}

.topstrip {
    background: #0d3153;
    color: #c9d9e6;
    border: 0
}

.topstrip .signal {
    background: #f28c28;
    box-shadow: 0 0 12px #f28c28
}

.site-header {
    background: #fffefdf7;
    border-bottom: 1px solid #dce6ed;
    box-shadow: 0 8px 30px #163e5c0b
}

.site-header .brand small {
    color: #4b6376
}

.nav>a {
    color: #23415b
}

.nav>a:hover,
.nav>a.active {
    color: #db7115
}

.nav .nav-action {
    background: #f28c28;
    color: #132d45;
    box-shadow: 0 6px 18px #e57c2d2a
}

.menu-toggle {
    background: #eaf1f7;
    border-color: #cfdee9
}

.menu-toggle span {
    background: #163b5b
}


.hero h1 {
    font-size: clamp(37px, 4.8vw, 70px);
    line-height: 1.32
}

.hero h1 span {
    color: #ffad4a
}

.hero .lead {
    color: #e0e9f1;
    font-size: 17px
}

.hero-badges {
    border-top-color: #ffffff52
}

.hero-badges small {
    color: #dce7ee
}

.hero .btn.secondary {
    background: #ffffff16;
    border-color: #b3d1e3;
    color: #fff
}

.hero .btn.secondary:hover {
    background: #ffffff30
}

.demo-tag {
    background: #173e5cba;
    border-color: #d8a06b;
    color: #ffe3c2
}

.eyebrow {
    color: #c97623
}

.eyebrow:before {
    background: #f28c28
}

.section {
    position: relative
}

.section.tint {
    background: #eaf2f8
}

.section-heading p,
.lead,
.detail-copy p,
.bullets {
    color: #526b80
}

.service-card {
    background: #fff;
    border: 1px solid #d7e3eb;
    box-shadow: 0 16px 40px #123c5b0c
}

.service-card:hover {
    border-color: #f28c28;
    box-shadow: 0 25px 50px #123c5b1b
}

.service-card .photo:after {
    background: linear-gradient(0deg, #12334b8c, transparent 65%)
}

.service-card .num {
    background: #123c66c9
}

.service-card .content {
    background: #fff
}

.service-card p {
    color: #60778a
}

.service-card .arrow {
    color: #dc741a
}

.stat,
.panel,
.path,
.contact-card,
.form-shell,
.order-card,
.summary-card {
    background: #fff;
    border: 1px solid #d5e2eb;
    box-shadow: 0 12px 35px #143b5a0a;
    color: #102b44
}

.stat:before {
    background: #f28c28
}

.stat .value {
    color: #13527f
}

.stat .label,
.contact-card p {
    color: #587184
}

.panel-header .eyebrow {
    font-size: 10px
}

.tab {
    background: #eaf2f7;
    border-color: #cfdfeb;
    color: #244b6b
}

.tab[aria-pressed=true] {
    background: #f28c28;
    border-color: #f28c28;
    color: #142d45
}

.track {
    background: #e4edf3
}

.fill {
    background: linear-gradient(90deg, #135783, #f28c28)
}

.donut {
    background: conic-gradient(#248b72 0 94.1%, #f28c28 94.1% 100%)
}

.donut-inner {
    background: #fff
}

.donut-inner small {
    color: #597086
}

.legend span {
    color: #36576f
}

.notice {
    background: #fff8ee;
    border: 1px solid #f4d6b0;
    color: #82501f
}

.path:hover {
    border-color: #f28c28;
    color: #bd631b
}

.path span {
    color: #df791e
}

.page-hero {
    background: linear-gradient(120deg, #0e3558, #154c75);
    color: #fff;
    border-bottom: 4px solid #f28c28
}

.page-hero p {
    color: #d6e5ee
}

.page-hero .eyebrow,
.page-hero .breadcrumbs a {
    color: #ffaf57
}

.detail-photo {
    border-color: #d7e3eb;
    box-shadow: 0 18px 45px #123c5b19
}

.form-shell {
    max-width: 1100px;
    margin: auto
}

.field label {
    color: #173c59
}

.field input,
.field select,
.field textarea,
.part-row input {
    background: #f9fbfd;
    color: #102b44;
    border: 1px solid #bfcfdd
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.part-row input:focus {
    outline: 2px solid #f28c28;
    outline-offset: 1px
}

.field input::placeholder,
.field textarea::placeholder {
    color: #8397a7
}

.field small {
    color: #60778a
}

.field label .required {
    color: #d16c16
}

.btn {
    background: #f28c28;
    border-color: #f28c28;
    color: #102d45;
    box-shadow: 0 8px 20px #e8872924
}

.btn:hover {
    background: #ffae55
}

.btn.secondary {
    background: #fff;
    border-color: #b7ccd9;
    color: #174566;
    box-shadow: none
}

.btn.secondary:hover {
    background: #eaf3f9
}

.icon-btn {
    background: #fff1ed;
    color: #9c3e32;
    border-color: #f0c6bd
}

.success {
    background: #e9f7f1;
    border-color: #9bcbb7
}

.success strong {
    color: #17644d
}

.empty {
    color: #60778a;
    border-color: #b8cedd
}

.pill {
    background: #fff1df;
    color: #96500d
}

.contact-card h3 {
    color: #135783
}

footer {
    background: #0c2c49;
    color: #edf5fa;
    border-top: 4px solid #f28c28
}

.foot p,
.foot-bottom {
    color: #bed0dc
}

.foot-bottom {
    border-top-color: #34536b
}

.toast {
    background: #153c5b;
    border-color: #6e9cb7
}

.results {
    overflow-wrap: anywhere
}

/* Layout hardening */
.hero-content,
.section-heading,
.panel,
.service-card,
.form-shell,
.contact-card {
    overflow-wrap: break-word
}

.hero-content>* {
    max-width: 100%
}

.hero-badges {
    max-width: 100%
}

.service-card .photo {
    background-repeat: no-repeat
}

.operations>* {
    min-width: 0
}

.stat-grid>* {
    min-width: 0
}

.nav {
    min-width: 0
}

.page-hero h1 {
    overflow-wrap: anywhere
}

@media(max-width:760px) {
    .site-header {
        z-index: 200
    }

    .nav {
        position: absolute;
        z-index: 201;
        top: 100%;
        right: 0;
        left: 0;
        background: #fff;
        border-bottom: 2px solid #f28c28;
        box-shadow: 0 20px 40px #0d365b30
    }

    .nav>a {
        color: #163b5b;
        border-bottom: 1px solid #e7eef3
    }

    .nav>a.active {
        color: #ce701c
    }

    .hero {
        min-height: 600px;
        background: linear-gradient(270deg, #0a2b4bef, #0b3354c4), url("/images/quarry.webp") center/cover
    }

    .hero-badges {
        gap: 14px
    }

    .section {
        padding: 60px 0
    }

    .service-card .photo {
        height: 235px
    }

    .stat-grid {
        gap: 10px
    }

    .stat {
        padding: 16px
    }

    .form-shell {
        padding: 20px
    }

    .topstrip .wrap {
        font-size: 9px
    }
}

@media(max-width:430px) {
    .hero h1 {
        font-size: 35px
    }

    .hero .lead {
        font-size: 14px
    }

    .hero-badges>div {
        max-width: 100%
    }

    .brand small {
        font-size: 6px
    }

    .brand b {
        font-size: 23px
    }

    .panel {
        padding: 16px
    }

    .part-row {
        grid-template-columns: minmax(0, 1fr) 75px 37px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before,
    *:after {
        transition: none !important;
        animation: none !important
    }
}

/* V41: company contact information */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 20px
}

.contact-info {
    display: flex;
    gap: 18px;
    align-items: center;
    min-width: 0;
    padding: 26px;
    background: #fff;
    border: 1px solid #d8e3ed;
    border-radius: 17px;
    box-shadow: 0 10px 32px #123c660b;
    transition: transform .2s, border-color .2s
}

.contact-info:hover {
    transform: translateY(-3px);
    border-color: #f28c28
}

.contact-symbol {
    flex: none;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 13px;
    background: #123c66;
    color: #f28c28;
    font-size: 27px
}

.contact-info span:last-child {
    display: grid;
    gap: 3px;
    min-width: 0
}

.contact-info small {
    color: #587087;
    font-size: 12px
}

.contact-info strong {
    font: 800 clamp(14px, 1.6vw, 20px) Cairo, Tahoma, Arial, sans-serif;
    color: #123c66;
    overflow-wrap: anywhere
}

.contact-info em {
    font-style: normal;
    color: #cf7625;
    font-size: 12px;
    font-weight: 800
}

.contact-address {
    display: flex;
    gap: 16px;
    align-items: center;
    background: #eaf1f7;
    border: 1px solid #d7e3ee;
    border-radius: 14px;
    padding: 18px 24px;
    margin-bottom: 26px;
    color: #123c66
}

.contact-address>span {
    font-size: 32px;
    color: #e68c34
}

.contact-address p {
    margin: 0;
    color: #52677a
}

.contact-card {
    min-width: 0
}

@media(max-width:700px) {
    .contact-info-grid {
        grid-template-columns: 1fr
    }

    .contact-info {
        padding: 18px
    }

    .contact-info strong {
        font-size: 16px
    }
}

/* V41 contact-only footer */
.foot-links {
    display: flex;
    align-items: flex-start;
    justify-content: center
}

/* A compact button (2026-11-18): 44px high, no arrow, a soft orange glow */
.footer-contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f28c28;
    color: #102d45 !important;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1;
    border-radius: 10px;
    padding: 0 22px;
    min-height: 44px;
    box-shadow: 0 4px 14px #f28c2838;
    transition: background .2s, transform .2s, box-shadow .2s
}

.footer-contact-link:hover {
    background: #ffb45f;
    box-shadow: 0 8px 20px #f28c284d;
    transform: translateY(-2px)
}

.footer-contact-link:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px
}

@media(max-width:760px) {
    .foot-links {
        justify-content: flex-start
    }
}

/* Diagnostic equipment image: retain complete product brochure without cropping */
.service-card:has(a[href*="diagnostics"]) .photo {
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #eef3f7
}

/* V43: separate service-specific request sections */
.form-section-title {
    margin: 26px 0 14px;
    padding: 12px 16px;
    border-right: 4px solid #f28c28;
    background: #eff4f8;
    border-radius: 8px;
    color: #123c66;
    font-size: 17px
}

.form-intro {
    color: #546b7f;
    line-height: 1.9;
    margin-bottom: 18px
}

.form-shell .form-grid {
    margin-bottom: 10px
}

/* V44 — Multiple diagnostics items */
.diagnostic-rows {
    display: grid;
    gap: 14px
}

.diagnostic-row {
    padding: 18px;
    border: 1px solid #b4c8d8;
    border-radius: 13px;
    background: #f1f6fa
}

.diagnostic-row-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: #123c66
}

.diagnostic-row-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px
}

.diagnostic-row .field label {
    color: #173e5b
}

.diagnostic-row .field input,
.diagnostic-row .field select {
    background: white;
    color: #18394e;
    border-color: #a8bdce
}

.diagnostic-row .icon-btn {
    padding: 8px 12px;
    cursor: pointer
}

@media(max-width:640px) {
    .diagnostic-row-grid {
        grid-template-columns: 1fr
    }

    .diagnostic-row {
        padding: 13px
    }
}

/* V45: consistent orange add buttons and service-specific repeatable entries */
button.add-service-item,
.btn.add-service-item {
    background: #f28c28 !important;
    color: #102d4a !important;
    border: 1px solid #f28c28 !important;
    font-weight: 800 !important;
    box-shadow: 0 5px 15px rgba(242, 140, 40, .18)
}

button.add-service-item:hover,
.btn.add-service-item:hover {
    background: #ffac53 !important;
    border-color: #ffac53 !important
}

button.add-service-item:focus-visible {
    outline: 3px solid #123c66;
    outline-offset: 3px
}

.service-items {
    display: grid;
    gap: 14px
}

.service-item-row {
    padding: 18px;
    border: 1px solid #b4c8d8;
    border-radius: 13px;
    background: #f1f6fa
}

.service-item-row .field input,
.service-item-row .field textarea {
    background: white;
    color: #18394e;
    border-color: #a8bdce
}

.service-item-row .field label {
    color: #173e5b
}

@media(max-width:640px) {
    .service-item-row {
        padding: 13px
    }
}

/* V47 consistent multi-entry forms and catalog */
#addPart,
#addServiceItem,
#addDiagnostic,
.add-service-item {
    background: #f28c28 !important;
    color: #102b45 !important;
    border-color: #f28c28 !important;
    font-weight: 800 !important;
    box-shadow: 0 5px 16px rgba(242, 140, 40, .22)
}

#addPart:hover,
#addServiceItem:hover,
#addDiagnostic:hover {
    background: #ffac4c !important
}

.service-item-row {
    padding: 18px;
    border: 1px solid #b4c8d8;
    border-radius: 13px;
    background: #f1f6fa;
    margin-bottom: 12px
}

.part-row {
    display: block !important;
    padding: 18px !important;
    border: 1px solid #b4c8d8 !important;
    border-radius: 13px !important;
    background: #f1f6fa !important;
    margin-bottom: 12px !important
}

.part-row .diagnostic-row-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 14px
}

.part-row input {
    width: 100%
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px
}

.catalog-card {
    background: white;
    border: 1px solid #c9d7e3;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 12px 36px rgba(12, 41, 72, .07)
}

.catalog-card h2 {
    color: #123c66;
    margin: 14px 0
}

.catalog-card p {
    line-height: 1.9;
    color: #536b7e
}

.diagnostic-note {
    display: block;
    margin-top: 10px;
    color: #48647a
}

@media(max-width:640px) {

    .catalog-grid,
    .part-row .diagnostic-row-grid {
        grid-template-columns: 1fr
    }

    .service-item-row,
    .part-row {
        padding: 13px !important
    }
}

/* MMA V49 brand directory */
.brand-directory-toolbar {
    background: #fff;
    border: 1px solid #d6e1ea;
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 22px
}

.brand-directory-toolbar label {
    display: block;
    font-weight: 800;
    margin-bottom: 10px;
    color: #123c66
}

.brand-directory-toolbar input {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #a8bbcc;
    background: #fff;
    color: #102e49;
    font: inherit;
    font-size: 16px
}

.brand-directory-toolbar p {
    margin: 12px 0 0;
    color: #536c80
}

.brand-directory-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px
}

.brand-directory-card {
    background: white;
    border: 1px solid #d4e0e9;
    border-radius: 14px;
    padding: 20px 15px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 108px;
    color: #123c66;
    transition: transform .15s, border-color .15s
}

.brand-directory-card:hover,
.brand-directory-card:focus-visible {
    transform: translateY(-2px);
    border-color: #f28c28
}

.brand-directory-card span {
    color: #bb6a16;
    font-size: 13px
}

.brand-directory-card[hidden] {
    display: none !important
}

.brand-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px
}

.brand-detail-panel {
    background: #fff;
    border: 1px solid #d4e0e9;
    border-radius: 16px;
    padding: 24px;
    min-width: 0
}

.brand-detail-panel h2 {
    font-size: 21px;
    color: #123c66
}

.brand-detail-panel li {
    margin: 12px 0;
    overflow-wrap: anywhere
}

.brand-caveat {
    font-size: 13px;
    color: #617387;
    margin-top: 20px
}

.brand-detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px
}

@media(max-width:900px) {
    .brand-directory-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }

    .brand-detail-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:560px) {
    .brand-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .brand-directory-card {
        padding: 14px;
        min-height: 96px
    }
}

/* V50 - configurable diagnostics purchases */
.purchase-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin: 25px 0
}

.purchase-choice {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    background: #fff;
    border: 1px solid #c7d8e6;
    border-radius: 16px;
    text-decoration: none;
    color: #163e62;
    box-shadow: 0 6px 20px #123c6612;
    transition: transform .2s, border-color .2s
}

.purchase-choice:hover {
    transform: translateY(-3px);
    border-color: #f28c28
}

.purchase-choice strong {
    font-size: 18px
}

.purchase-choice span {
    font-size: 13px;
    line-height: 1.8;
    color: #526779;
    flex: 1
}

.purchase-choice b {
    color: #df7b13;
    font-size: 13px
}

.purchase-kind-picker {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0
}

.purchase-kind-picker label {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 15px;
    border: 1px solid #c7d8e6;
    border-radius: 10px;
    background: #f4f8fc;
    color: #123c66;
    cursor: pointer
}

.purchase-kind-picker input {
    accent-color: #f28c28;
    width: 18px;
    height: 18px
}

.purchase-kind-picker label:has(input:checked) {
    border-color: #f28c28;
    background: #fff4e8
}

@media(max-width:800px) {
    .purchase-choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:600px) {

    .purchase-choice-grid,
    .purchase-kind-picker {
        grid-template-columns: 1fr
    }

    .purchase-choice {
        padding: 18px
    }
}

/* V51: Consistent MMA logo identity on homepage and interior page banners */
.hero,
.page-hero {
    position: relative;
    isolation: isolate
}

.hero::after,
.page-hero::after {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    background: rgba(255, 255, 255, .96) url("/images/mma-gear.webp") center/83% no-repeat;
    border: 1px solid rgba(255, 255, 255, .78);
    box-shadow: 0 20px 55px rgba(0, 18, 37, .30), inset 0 0 0 7px rgba(255, 255, 255, .32);
}

.hero::after {
    width: clamp(112px, 14vw, 192px);
    height: clamp(112px, 14vw, 192px);
    left: clamp(25px, 7vw, 130px);
    top: 50%;
    transform: translateY(-50%);
    border-radius: 30px;
}

.page-hero::after {
    width: 96px;
    height: 96px;
    left: clamp(22px, 6vw, 92px);
    top: 50%;
    transform: translateY(-50%);
    border-radius: 21px;
    box-shadow: 0 12px 30px rgba(0, 18, 37, .24)
}

.hero-content,
.page-hero>.wrap,
.page-hero .wrap {
    position: relative;
    z-index: 1
}

@media(max-width:900px) {
    .hero::after {
        top: 26px;
        left: 24px;
        transform: none;
        width: 92px;
        height: 92px;
        border-radius: 19px
    }

    .page-hero::after {
        width: 65px;
        height: 65px;
        left: 20px;
        top: 20px;
        transform: none;
        border-radius: 14px
    }

    .page-hero .wrap {
        padding-left: 85px
    }
}

@media(max-width:560px) {
    .hero::after {
        width: 76px;
        height: 76px;
        left: 18px;
        top: 17px;
        border-radius: 16px
    }

    .page-hero::after {
        width: 50px;
        height: 50px;
        left: 14px;
        top: 16px;
        border-radius: 12px
    }

    .page-hero .wrap {
        padding-left: 62px
    }
}

/* V52 cinematic art direction and multilingual navigation */
.page-hero {
    background-image: linear-gradient(90deg, rgba(9, 31, 54, .94), rgba(10, 43, 73, .67)), url("/images/quarry.webp");
    background-size: cover;
    background-position: center;
    min-height: 290px
}

.page-hero::after {
    width: 78px !important;
    height: 78px !important;
    top: 22px !important;
    left: 24px !important;
    transform: none !important
}

body:has(a[href="#service/parts"].active) .page-hero {
    background-image: linear-gradient(90deg, #0a2d4de8, #0a2d4d8c), url("/images/parts.webp")
}

body:has(a[href="#service/remote"].active) .page-hero {
    background-image: linear-gradient(90deg, #0a2d4de8, #0a2d4d8c), url("/images/remote.webp")
}

body:has(a[href="#service/field"].active) .page-hero {
    background-image: linear-gradient(90deg, #0a2d4de8, #0a2d4d8c), url("/images/field.webp")
}

.language-switch {
    display: flex;
    gap: 3px;
    align-items: center;
    border: 1px solid #d5e2ea;
    border-radius: 14px;
    padding: 3px;
    flex-shrink: 0;
    background: #edf3f8;
    direction: ltr
}

.language-switch button,
.language-switch a {
    border: 0;
    background: transparent;
    border-radius: 10px;
    padding: 8px 9px;
    font-size: 11px;
    font-weight: 900;
    color: #45627a;
    cursor: pointer;
    text-decoration: none;
    display: inline-block
}

.language-switch button.selected,
.language-switch a.selected {
    background: #123c66;
    color: #fff
}

[dir=ltr] body {
    font-family: Manrope, Arial, sans-serif;
    text-align: left
}

[dir=ltr] .hero-content,
[dir=ltr] .page-hero .wrap {
    text-align: left
}

[dir=ltr] .nav {
    direction: ltr
}

/* Level 2: V56 cinematic hero photo (V52 art direction) restored under the
   direction-aware gradient; dark side always sits behind the text. */
[dir=ltr] .hero {
    background-image: linear-gradient(90deg, rgba(8,29,48,.97) 0%, rgba(9,37,61,.91) 44%, rgba(7,29,48,.18) 100%), url("/images/hero-home.webp");
    background-position: center, right center;
    background-size: cover
}

[dir=rtl] .hero {
    background-image: linear-gradient(270deg, rgba(8,29,48,.96) 0%, rgba(9,37,61,.91) 43%, rgba(7,29,48,.22) 100%), url("/images/hero-home.webp");
    background-position: center, left center;
    background-size: cover
}

/* V56 hides the logo badge on the home hero (it shows on page heroes only) */
.hero::after {
    display: none
}

@media(max-width:560px) {
    [dir=ltr] .hero {
        background-image: linear-gradient(90deg, rgba(7,28,48,.94), rgba(7,28,48,.70)), url("/images/hero-home.webp")
    }

    [dir=rtl] .hero {
        background-image: linear-gradient(270deg, rgba(7,28,48,.94), rgba(7,28,48,.70)), url("/images/hero-home.webp")
    }
}

@media(max-width:900px) {
    .language-switch {
        margin-inline-start: auto
    }

    .language-switch button {
        padding: 7px
    }

    .hero {
        background-position: 64% center !important
    }
}

@media(max-width:560px) {
    .hero {
        min-height: 620px
    }

    .hero h1 {
        font-size: clamp(31px, 7vw, 43px)
    }

    .page-hero::after {
        opacity: .45
    }

    .language-switch {
        gap: 0
    }

    .language-switch button {
        padding: 6px
    }
}

/* V53: remove decorative floating corner logos on every banner */
.hero::after,
.page-hero::after {
    display: none !important;
    content: none !important
}

.page-hero .wrap {
    padding-left: 0 !important;
    padding-right: 0 !important
}

.hero-contact-link {
    border-color: #f28c28 !important;
    color: #fff !important;
    background: #0c3558c9 !important
}

.hero-contact-link:hover {
    background: #174f7d !important
}

@media(max-width:560px) {
    .hero .actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px
    }

    .hero .actions .btn {
        font-size: 13px;
        padding: 12px 14px
    }
}

/* V56: footer identity mirrors the header, with contrast on navy background */
footer .foot-brand.brand {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-width: 0;
    width: fit-content;
    max-width: 100%;
    text-decoration: none;
    flex-shrink: 1
}

footer .foot-brand.brand picture img {
    flex: 0 0 auto
}

footer .foot-brand.brand span {
    min-width: 0
}

footer .foot-brand.brand small {
    font-size: 8.5px;
    letter-spacing: .14em;
    color: #bed0dc;
    white-space: normal
}

footer .foot-brand.brand:focus-visible {
    outline: 3px solid #f28c28;
    outline-offset: 6px
}

@media(max-width:430px) {
    footer .foot-brand.brand small {
        font-size: 6px
    }
}
/* Level 2: sticky-footer layout wrapper around the V56 shell.
   Short pages keep the footer at the bottom of the viewport. */
.site-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh
}

.site-main {
    flex: 1 0 auto
}

/* Level 2: keep the three hero CTAs on one row on desktop. Long FR labels need
   ~800px, more than the 760px text measure, so the row may extend past it. */
@media(min-width:1020px) {
    .hero .actions {
        flex-wrap: nowrap;
        width: max-content;
        max-width: calc(100vw - 40px)
    }
}

/* Level 2: at 320px the brand + language switch + menu button need ~307px with
   22px gaps but only ~290px is available; tighten the gap on very small phones. */
@media(max-width:360px) {
    .header-inner {
        gap: 10px
    }
}

/* Level 2: Operations Center CTA row (V56 sets this inline) */
.operations-actions {
    margin-top: 24px
}

/* Level 2: brand directory notice spacing (V56 sets this inline) */
.brands-notice {
    margin-top: 24px
}

/* Level 2: EN/FR menu labels need ~820px, which only fits at >=1280px viewports
   (V56 overflows here too). Below that, LTR pages use V56's phone menu (its two
   760px blocks, merged). Arabic labels fit, so RTL keeps V56's 760px breakpoint. */
@media(min-width:761px) and (max-width:1439px) {
    [dir=ltr] .site-header {
        z-index: 200
    }

    [dir=ltr] .menu-toggle {
        display: flex
    }

    [dir=ltr] .nav {
        display: none;
        position: absolute;
        z-index: 201;
        top: 100%;
        right: 0;
        left: 0;
        background: #fff;
        border-bottom: 2px solid #f28c28;
        padding: 16px 20px 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        box-shadow: 0 20px 40px #0d365b30;
        max-height: calc(100dvh - 70px);
        overflow: auto
    }

    [dir=ltr] .nav.open {
        display: flex
    }

    [dir=ltr] .nav>a {
        padding: 12px 10px;
        font-size: 14px;
        color: #163b5b;
        border-bottom: 1px solid #e7eef3
    }

    [dir=ltr] .nav>a.active {
        color: #ce701c
    }

    [dir=ltr] .nav .nav-action {
        text-align: center;
        margin-top: 10px
    }

    [dir=ltr] .language-switch {
        margin-inline-start: auto
    }
}

/* Arabic labels need ~916px including logo and language switch, so between 761px
   and 959px every direction uses the collapsed menu (V56 overflows here too). */
@media(min-width:761px) and (max-width:959px) {
    .site-header {
        z-index: 200
    }

    .menu-toggle {
        display: flex
    }

    .nav {
        display: none;
        position: absolute;
        z-index: 201;
        top: 100%;
        right: 0;
        left: 0;
        background: #fff;
        border-bottom: 2px solid #f28c28;
        padding: 16px 20px 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        box-shadow: 0 20px 40px #0d365b30;
        max-height: calc(100dvh - 70px);
        overflow: auto
    }

    .nav.open {
        display: flex
    }

    .nav>a {
        padding: 12px 10px;
        font-size: 14px;
        color: #163b5b;
        border-bottom: 1px solid #e7eef3
    }

    .nav>a.active {
        color: #ce701c
    }

    .nav .nav-action {
        text-align: center;
        margin-top: 10px
    }

    .language-switch {
        margin-inline-start: auto
    }
}

/* Level 2 (moved to >=1440px in Level 6, see the end of this file): at >=1280px the EN/FR menu fills a 1240px header with no room to
   spare, so it spilled under the language switch (EN by 22px, FR by 75px).
   Tighter LTR spacing (nav gap 22->10, header gap 22->12, CTA padding 16->12)
   leaves ~60px spare in EN and ~20px in FR. Arabic is unaffected. */
@media(min-width:1440px) {
    [dir=ltr] .header-inner {
        gap: 12px
    }

    [dir=ltr] .nav {
        gap: 10px
    }

    [dir=ltr] .nav .nav-action {
        padding-inline: 12px
    }
}

/* Level 2: phone footer. V56 keeps a 2-column grid here, which squeezes the
   text and wraps "Contact Us" inside an oversized button. Stack everything in
   one column: brand, text, a full-width one-line button, then the copyright. */
@media(max-width:760px) {
    footer {
        padding: 34px 0 22px
    }

    .foot {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .foot-brand {
        grid-column: auto
    }

    .foot strong {
        display: block;
        font-size: 17px;
        line-height: 1.4;
        margin-bottom: 6px
    }

    .foot p {
        font-size: 13px;
        line-height: 1.65;
        margin: 0
    }

    .foot-links {
        justify-content: flex-start
    }

    .footer-contact-link {
        width: auto;
        min-width: 0;
        min-height: 44px;
        padding: 0 24px;
        font-size: 14px;
        white-space: nowrap
    }

    .foot-bottom {
        margin-top: 26px;
        padding-top: 16px;
        font-size: 11px
    }
}


/* ==========================================================================
   Level 2: navigation polish, using the two logo colours
   (sampled from mma-mark-384.png: blue #2084cc / #1b60ac, orange #f49801).
   Orange is too light for text on white (~2:1), so active text uses a deeper
   orange; the bright orange is used for bars, tints and the open toggle.
   ========================================================================== */
:root {
    --brand-blue: #2084cc;
    --brand-blue-dark: #1b60ac;
    --brand-blue-tint: #eaf3fb;
    --brand-orange: #f49801;
    --brand-orange-text: #a85a00;
    --brand-orange-tint: #fff4e3
}

/* Header: compact with a deeper shadow once the page scrolls (menu.js adds .is-scrolled) */
.site-header {
    transition: box-shadow .3s ease, background-color .3s ease
}

.site-header .header-inner {
    transition: min-height .3s ease
}

.site-header.is-scrolled {
    box-shadow: 0 10px 30px #0d365b1f
}

.site-header.is-scrolled .header-inner {
    min-height: 70px
}

/* Desktop links: underline grows from the centre (blue on hover, orange when active) */
.nav>a:not(.nav-action) {
    position: relative;
    padding-block: 8px;
    transition: color .2s ease
}

.nav>a:not(.nav-action)::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 1px;
    height: 2px;
    border-radius: 2px;
    background: var(--brand-blue);
    transform: scaleX(0);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), background-color .2s
}

.nav>a:not(.nav-action):hover {
    color: var(--brand-blue-dark)
}

.nav>a:not(.nav-action):hover::after {
    transform: scaleX(1)
}

.nav>a.active {
    color: var(--brand-orange-text)
}

.nav>a.active::after {
    background: var(--brand-orange);
    transform: scaleX(1)
}

.nav>a:focus-visible,
.menu-toggle:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 3px;
    border-radius: 6px
}

/* Request button: gentle lift on hover */
.nav .nav-action {
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease
}

.nav .nav-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px #e57c2d40
}

/* Collapsed (phone) menu: every direction below 960px.
   :root keeps these above the earlier [dir=ltr] .nav { display: none } rule. */
@media(max-width:959px) {
    :root .nav {
        display: flex;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        padding: 14px 16px 20px;
        gap: 4px;
        background: #fff;
        border-top: 1px solid var(--brand-blue-tint);
        border-bottom: 3px solid var(--brand-orange);
        box-shadow: 0 24px 48px #0d365b26;
        transition: opacity .28s ease, transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .28s
    }

    :root .nav.open {
        visibility: visible;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        transition: opacity .28s ease, transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s
    }

    /* Inactive links: logo blue */
    :root .nav>a:not(.nav-action) {
        position: relative;
        padding: 13px 16px;
        padding-inline-start: 20px;
        border: 0;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 800;
        color: var(--brand-blue-dark);
        opacity: 0;
        transform: translateY(-4px);
        transition: background-color .2s, color .2s, opacity .3s ease, transform .3s ease
    }

    :root .nav>a:not(.nav-action)::after {
        content: none
    }

    :root .nav>a:not(.nav-action):hover {
        background: var(--brand-blue-tint);
        color: var(--brand-blue)
    }

    /* Active link: logo orange (tint, leading bar, readable deep-orange text) */
    :root .nav>a.active {
        background: var(--brand-orange-tint);
        color: var(--brand-orange-text)
    }

    :root .nav>a.active::before {
        content: "";
        position: absolute;
        inset-block: 10px;
        inset-inline-start: 6px;
        width: 4px;
        border-radius: 4px;
        background: var(--brand-orange)
    }

    :root .nav.open>a {
        opacity: 1;
        transform: none
    }

    /* Links appear one after another */
    :root .nav.open>a:nth-child(2) { transition-delay: .03s }
    :root .nav.open>a:nth-child(3) { transition-delay: .06s }
    :root .nav.open>a:nth-child(4) { transition-delay: .09s }
    :root .nav.open>a:nth-child(5) { transition-delay: .12s }
    :root .nav.open>a:nth-child(6) { transition-delay: .15s }
    :root .nav.open>a:nth-child(7) { transition-delay: .18s }

    :root .nav .nav-action {
        margin-top: 10px;
        padding: 14px 16px;
        border-radius: 10px;
        font-size: 15px;
        text-align: center;
        opacity: 0;
        transition: opacity .3s ease .18s, background-color .2s
    }

    :root .nav.open .nav-action {
        opacity: 1
    }

    /* Toggle: blue when closed, orange when open */
    :root .menu-toggle {
        background: var(--brand-blue-tint);
        border-color: #cfe1f1;
        transition: background-color .25s, border-color .25s
    }

    :root .menu-toggle span {
        background: var(--brand-blue);
        transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .2s, background-color .25s
    }

    :root .menu-toggle[aria-expanded=true] {
        background: var(--brand-orange);
        border-color: var(--brand-orange)
    }

    :root .menu-toggle[aria-expanded=true] span {
        background: #fff
    }
}

/* Collapsed menu for EN/FR between 960px and 1279px (see header fit notes above) */
@media(min-width:960px) and (max-width:1439px) {
    [dir=ltr] .nav {
        display: flex;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        padding: 14px 16px 20px;
        gap: 4px;
        background: #fff;
        border-top: 1px solid var(--brand-blue-tint);
        border-bottom: 3px solid var(--brand-orange);
        box-shadow: 0 24px 48px #0d365b26;
        transition: opacity .28s ease, transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .28s
    }

    [dir=ltr] .nav.open {
        visibility: visible;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        transition: opacity .28s ease, transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s
    }

    /* Inactive links: logo blue */
    [dir=ltr] .nav>a:not(.nav-action) {
        position: relative;
        padding: 13px 16px;
        padding-inline-start: 20px;
        border: 0;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 800;
        color: var(--brand-blue-dark);
        opacity: 0;
        transform: translateY(-4px);
        transition: background-color .2s, color .2s, opacity .3s ease, transform .3s ease
    }

    [dir=ltr] .nav>a:not(.nav-action)::after {
        content: none
    }

    [dir=ltr] .nav>a:not(.nav-action):hover {
        background: var(--brand-blue-tint);
        color: var(--brand-blue)
    }

    /* Active link: logo orange (tint, leading bar, readable deep-orange text) */
    [dir=ltr] .nav>a.active {
        background: var(--brand-orange-tint);
        color: var(--brand-orange-text)
    }

    [dir=ltr] .nav>a.active::before {
        content: "";
        position: absolute;
        inset-block: 10px;
        inset-inline-start: 6px;
        width: 4px;
        border-radius: 4px;
        background: var(--brand-orange)
    }

    [dir=ltr] .nav.open>a {
        opacity: 1;
        transform: none
    }

    /* Links appear one after another */
    [dir=ltr] .nav.open>a:nth-child(2) { transition-delay: .03s }
    [dir=ltr] .nav.open>a:nth-child(3) { transition-delay: .06s }
    [dir=ltr] .nav.open>a:nth-child(4) { transition-delay: .09s }
    [dir=ltr] .nav.open>a:nth-child(5) { transition-delay: .12s }
    [dir=ltr] .nav.open>a:nth-child(6) { transition-delay: .15s }
    [dir=ltr] .nav.open>a:nth-child(7) { transition-delay: .18s }

    [dir=ltr] .nav .nav-action {
        margin-top: 10px;
        padding: 14px 16px;
        border-radius: 10px;
        font-size: 15px;
        text-align: center;
        opacity: 0;
        transition: opacity .3s ease .18s, background-color .2s
    }

    [dir=ltr] .nav.open .nav-action {
        opacity: 1
    }

    /* Toggle: blue when closed, orange when open */
    [dir=ltr] .menu-toggle {
        background: var(--brand-blue-tint);
        border-color: #cfe1f1;
        transition: background-color .25s, border-color .25s
    }

    [dir=ltr] .menu-toggle span {
        background: var(--brand-blue);
        transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .2s, background-color .25s
    }

    [dir=ltr] .menu-toggle[aria-expanded=true] {
        background: var(--brand-orange);
        border-color: var(--brand-orange)
    }

    [dir=ltr] .menu-toggle[aria-expanded=true] span {
        background: #fff
    }
}

@media(prefers-reduced-motion:reduce) {
    .site-header,
    .site-header .header-inner,
    .nav,
    .nav>a,
    .nav>a::after,
    .nav .nav-action,
    .menu-toggle,
    .menu-toggle span {
        transition: none !important
    }
}

/* ==========================================================================
   Level 3: request forms (V56 form styles + server-side error states)
   ========================================================================== */

/* Group headings that are not <label>s (rows block, purchase kind): match V56 labels */
.field .field-label {
    font-size: 13px;
    font-weight: 800;
    color: #173c59
}

.field .field-label .required {
    color: var(--orange)
}

/* Honeypot: visually hidden in place (no off-screen offset, so it never widens the page),
   unfocusable and hidden from assistive tech; bots still fill it */
.request-hp {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap
}

.request-error-summary {
    background: #fdf0ee;
    border-color: #e7b3aa;
    color: #8a2b1d;
    font-size: 13px;
    font-weight: 700
}

.request-error-summary:focus {
    outline: 2px solid #b4442f;
    outline-offset: 2px
}

.field input[aria-invalid=true],
.field select[aria-invalid=true],
.field textarea[aria-invalid=true] {
    border-color: #b4442f;
    box-shadow: 0 0 0 3px #b4442f1f
}

.field .field-error {
    color: #a3361f;
    font-size: 12px;
    font-weight: 700
}

.request-confirmation b {
    font-size: 1.1em;
    letter-spacing: .03em
}

/* Level 5: the diagnostic note sits inside the items .field wrapper here (directly in the row in V56), where
   ".field small" would turn it into the lighter grey; keep V56's own note colour (enough contrast). */
.field .diagnostic-note {
    color: #48647a
}

/* Level 6: customer request tracking (lost-link form, private request page, confirmation link) */
.tracking-wrap {
    max-width: 900px
}

.tracking-panel h2,
.tracking-wrap .panel h2 {
    margin-top: 0
}

.tracking-help,
.tracking-note {
    color: #48647a;
    font-size: 14px
}

.tracking-note {
    margin-top: 18px
}

.tracking-reference {
    font-family: ui-monospace, Consolas, monospace;
    letter-spacing: .02em
}

/* The private request page (2026-11-20, Pages/Track.razor): a status card over the hero with the journey's four
   steps (the request forms' circles), the updates as a timeline with MMA's messages as bubbles, the contact card
   beside it, the answers as tiles and the items as a numbered table (cards on phones) */
.tracking-section {
    padding-top: 0
}

.tracking-section .tracking-wrap {
    max-width: 1080px
}

.tracking-card {
    background: #fff;
    border: 1px solid #e1e9f0;
    border-radius: 18px;
    box-shadow: 0 18px 40px -26px rgba(16, 45, 69, .45);
    padding: 26px 28px
}

.tracking-card h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #123c66;
    font-size: 21px
}

.tracking-card h2::before {
    content: "";
    flex: none;
    width: 4px;
    height: 20px;
    border-radius: 2px;
    background: #f28c28
}

.tracking-status-card {
    position: relative;
    z-index: 2;
    margin-top: -64px;
    padding-bottom: 30px
}

.tracking-status {
    display: flex;
    align-items: center;
    gap: 10px 14px;
    flex-wrap: wrap
}

.tracking-label {
    color: #5c7387;
    font-weight: 700;
    font-size: 14px
}

.tracking-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 800;
    background: #eaf2f8;
    color: #1b4f7a
}

.tracking-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 4px rgba(27, 79, 122, .15)
}

.tracking-pill.status-waitingforcustomer,
.tracking-pill.status-quoted {
    background: #fff1de;
    color: #8a4b05
}

.tracking-pill.status-waitingforcustomer::before,
.tracking-pill.status-quoted::before {
    background: #f28c28;
    box-shadow: 0 0 0 4px rgba(242, 140, 40, .2)
}

.tracking-pill.status-completed {
    background: #e5f5ec;
    color: #1d6b3f
}

.tracking-pill.status-cancelled {
    background: #eef1f4;
    color: #3d4b57
}

.tracking-updated {
    margin-inline-start: auto;
    color: #5c7387;
    font-size: 13.5px
}

.tracking-steps {
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr))
}

.tracking-steps li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center
}

.tracking-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 21px;
    inset-inline-start: calc(50% + 28px);
    inset-inline-end: calc(-50% + 28px);
    height: 3px;
    border-radius: 3px;
    background: #dde6ee
}

.tracking-steps li.is-done:not(:last-child)::after {
    background: #f28c28
}

.tracking-step-dot {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 2px solid #d4dfe8;
    border-radius: 50%;
    background: #fff;
    color: #5c7387;
    font-size: 14px;
    font-weight: 800
}

.tracking-steps .is-done .tracking-step-dot {
    border-color: #123c66;
    background: #123c66 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.4l3.3 3.3L14 6' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px 18px no-repeat
}

.tracking-steps .is-cancelled .tracking-step-dot {
    border-color: #8a99a6;
    background: #8a99a6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 4.2l7.6 7.6M11.8 4.2l-7.6 7.6' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat
}

/* Completed: the last step in green */
.tracking-steps.is-complete li:last-child .tracking-step-dot {
    border-color: #1d7a49;
    background-color: #1d7a49;
    box-shadow: 0 8px 18px rgba(29, 122, 73, .35)
}

.tracking-steps .is-current .tracking-step-dot {
    border-color: #f28c28;
    background: #f28c28;
    color: #fff;
    box-shadow: 0 0 0 7px rgba(242, 140, 40, .15), 0 8px 18px rgba(242, 140, 40, .4)
}

.tracking-step-name {
    color: #5c7387;
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.3
}

.tracking-steps .is-done .tracking-step-name {
    color: #123c66
}

.tracking-steps .is-current .tracking-step-name {
    color: #1b2b3a
}

.tracking-step-flag {
    margin-top: -4px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #fff1de;
    color: #8a4b05;
    font-size: 12px;
    font-weight: 800
}

.tracking-steps .is-cancelled .tracking-step-flag {
    background: #eef1f4;
    color: #3d4b57
}

.tracking-cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 22px;
    align-items: start;
    margin-top: 22px
}

.tracking-timeline {
    position: relative;
    list-style: none;
    margin: 22px 0 0;
    padding: 0
}

.tracking-timeline::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    inset-inline-start: 9px;
    width: 2px;
    background: #e1e9f0
}

.tracking-timeline li {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-inline-start: 38px;
    padding-bottom: 24px
}

.tracking-timeline li:last-child {
    padding-bottom: 0
}

.tracking-timeline li::before {
    content: "";
    position: absolute;
    top: 4px;
    inset-inline-start: 2px;
    width: 12px;
    height: 12px;
    border: 3px solid #b8c9d8;
    border-radius: 50%;
    background: #fff
}

.tracking-timeline li.is-latest::before {
    border-color: #f28c28;
    background: #f28c28;
    box-shadow: 0 0 0 5px rgba(242, 140, 40, .15)
}

.tracking-timeline time {
    color: #5c7387;
    font-size: 13px
}

.tracking-timeline strong {
    margin-top: 2px;
    color: #1b2b3a;
    font-size: 16.5px;
    font-weight: 800
}

.tracking-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 12px
}

.tracking-avatar {
    flex: none;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #102d45
}

.tracking-bubble {
    max-width: 540px;
    padding: 11px 15px;
    border: 1px solid #dfe9f2;
    border-radius: 4px 16px 16px 16px;
    background: #f1f6fb
}

[dir=rtl] .tracking-bubble {
    border-radius: 16px 4px 16px 16px
}

.tracking-bubble span {
    display: block;
    margin-bottom: 3px;
    color: #123c66;
    font-size: 12px;
    font-weight: 800
}

/* Text in its own direction (dir="auto") lines up with its own start: English in an Arabic page to the left */
.tracking-bubble p,
.tracking-section .pre-line {
    margin: 0;
    line-height: 1.6;
    white-space: pre-line;
    overflow-wrap: anywhere;
    text-align: start
}

.tracking-contact {
    position: sticky;
    top: 100px
}

.tracking-contact .tracking-fields {
    margin: 16px 0 0
}

/* Each row: its icon in a soft square at the reading side (drawn here: the list holds only labels and values) */
.tracking-contact .tracking-fields > div {
    position: relative;
    min-height: 58px;
    padding: 12px 0;
    padding-inline-start: 46px;
    border-top: 1px solid #e1e9f0
}

.tracking-contact .tracking-fields > div:first-child {
    min-height: 46px;
    padding-top: 0;
    border-top: 0
}

.tracking-contact .tracking-fields > div::before {
    content: "";
    position: absolute;
    top: 12px;
    inset-inline-start: 0;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #f5f8fb center / 18px 18px no-repeat
}

.tracking-contact .tracking-fields > div:first-child::before {
    top: 0
}

.tracking-contact .tracking-fields > .icon-person::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23123c66' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E")
}

.tracking-contact .tracking-fields > .icon-company::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23123c66' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3 21h18M5 21V7l7-4 7 4v14M9 10h1M14 10h1M9 14h1M14 14h1'/%3E%3C/svg%3E")
}

.tracking-contact .tracking-fields > .icon-email::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23123c66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E")
}

.tracking-contact .tracking-fields > .icon-phone::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23123c66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E")
}

.tracking-contact .tracking-fields > .icon-clip::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23123c66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.5 12.6 21a5.5 5.5 0 0 1-7.8-7.8l8.5-8.5a3.7 3.7 0 0 1 5.2 5.2l-8.5 8.5a1.8 1.8 0 0 1-2.6-2.6l7.8-7.8'/%3E%3C/svg%3E")
}

.tracking-icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #f5f8fb;
    color: #123c66
}

.tracking-fields dt,
.tracking-answers dt {
    color: #5c7387;
    font-size: 12.5px;
    font-weight: 700
}

/* A short value keeps its own direction in a <bdi> and stands at the page's reading side, under its label (a long
   text, .pre-line, lines up with its own start instead) */
.tracking-fields dd,
.tracking-answers dd {
    margin: 2px 0 0;
    color: #1b2b3a;
    font-weight: 700;
    overflow-wrap: anywhere
}

.tracking-files {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    display: grid;
    gap: 8px
}

.tracking-files li {
    padding: 7px 10px 7px 30px;
    border: 1px solid #e1e9f0;
    border-radius: 10px;
    background: #f5f8fb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b42318' stroke-width='2'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3C/svg%3E") 9px center / 15px 15px no-repeat;
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere
}

[dir=rtl] .tracking-files li {
    padding: 7px 30px 7px 10px;
    background-position: right 9px center
}

.tracking-request {
    margin-top: 22px
}

.tracking-answers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0 0
}

.tracking-answers > div {
    padding: 12px 14px;
    border: 1px solid #e1e9f0;
    border-radius: 12px;
    background: #f5f8fb
}

.tracking-answers > div.is-wide {
    grid-column: 1 / -1
}

.tracking-answers dd {
    margin-top: 4px;
    font-size: 15.5px
}

.tracking-answers .is-wide dd {
    font-weight: 500
}

.tracking-items {
    width: 100%;
    margin-top: 20px;
    border: 1px solid #e1e9f0;
    border-radius: 12px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden
}

.tracking-items th {
    padding: 10px 12px;
    background: #eaf0f6;
    color: #123c66;
    font-size: 13px;
    text-align: start
}

.tracking-items td {
    padding: 11px 12px;
    border-top: 1px solid #e1e9f0;
    font-size: 14.5px;
    vertical-align: top
}

.tracking-items tbody tr:nth-child(even) td {
    background: #f5f8fb
}

.tracking-items .tracking-item-number {
    width: 44px;
    color: #f28c28;
    font-weight: 800
}

.tracking-section .tracking-note {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    padding: 16px 20px;
    border: 1px dashed #c9d7e4;
    border-radius: 14px;
    background: #fff;
    color: #5c7387
}

.tracking-section .tracking-note .tracking-icon {
    background: #fff1de;
    color: #8a4b05
}

.tracking-confirm {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #d7e3ec
}

@media(max-width:860px) {
    .tracking-cols {
        grid-template-columns: 1fr
    }

    .tracking-contact {
        position: static
    }

    .tracking-answers {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:560px) {
    .tracking-card {
        padding: 20px 18px;
        border-radius: 16px
    }

    .tracking-status-card {
        margin-top: -48px
    }

    .tracking-updated {
        flex-basis: 100%;
        margin-inline-start: 0
    }

    .tracking-steps {
        margin-top: 24px
    }

    .tracking-step-dot {
        width: 38px;
        height: 38px;
        font-size: 13px
    }

    .tracking-steps li:not(:last-child)::after {
        top: 18px;
        inset-inline-start: calc(50% + 24px);
        inset-inline-end: calc(-50% + 24px)
    }

    .tracking-step-name {
        font-size: 12px
    }

    .tracking-step-flag {
        font-size: 11px;
        padding: 2px 8px
    }

    .tracking-answers {
        grid-template-columns: 1fr
    }

    /* The items as cards: each answer on its own line, its column name beside it */
    .tracking-items,
    .tracking-items tbody,
    .tracking-items tr,
    .tracking-items td {
        display: block
    }

    .tracking-items {
        border: 0;
        border-radius: 0;
        overflow: visible
    }

    .tracking-items thead {
        display: none
    }

    .tracking-items tr {
        margin-bottom: 10px;
        padding: 10px 14px;
        border: 1px solid #e1e9f0;
        border-radius: 12px;
        background: #fff
    }

    .tracking-items tbody tr:nth-child(even) td {
        background: transparent
    }

    .tracking-items td {
        display: flex;
        justify-content: space-between;
        gap: 14px;
        padding: 4px 0;
        border: 0
    }

    .tracking-items td > span {
        min-width: 0
    }

    .tracking-items td::before {
        content: attr(data-label);
        flex: none;
        max-width: 50%;
        color: #5c7387;
        font-size: 12.5px;
        font-weight: 700;
        text-align: start
    }

    .tracking-items td.is-empty {
        display: none
    }

    .tracking-items .tracking-item-number {
        width: auto
    }
}

/* Level 6: "Track Request" (V56's eighth menu item) makes the EN/FR menu ~880/970px, more than the 840px it
   gets in the 1240px header. LTR pages therefore use the menu button below 1440px (see the Level 2 blocks above,
   moved from 1280px). From 1440px the logo stays on the 1240px content column (it must line up with the page
   heroes) and only the end of the header row grows into the page margin, up to 20px from the edge; below 1600px
   that margin is too small for French, so the links drop to V56's own compact 11px size. Arabic labels are
   shorter and keep V56's layout. */
@media(min-width:1440px) {
    [dir=ltr] .site-header .header-inner {
        width: auto;
        margin-inline-start: max(20px, calc((100% - 1240px) / 2));
        margin-inline-end: 20px
    }
}

@media(min-width:1440px) and (max-width:1599px) {
    [dir=ltr] .nav>a {
        font-size: 11px
    }
}

.tracking-wrap .panel + .panel {
    margin-top: 18px
}

/* Level 6: Arabic labels plus "Track Request" need ~764px of menu, more than they get below 1280px (and
   V56 already overflowed there between 960px and ~1180px). RTL pages use the same collapsed menu as EN/FR
   between 960px and 1279px (below 960px every direction already does). Generated from the LTR blocks above. */
@media(min-width:960px) and (max-width:1279px) {
    [dir=rtl] .site-header {
        z-index: 200
    }

    [dir=rtl] .menu-toggle {
        display: flex
    }

    [dir=rtl] .nav {
        display: none;
        position: absolute;
        z-index: 201;
        top: 100%;
        right: 0;
        left: 0;
        background: #fff;
        border-bottom: 2px solid #f28c28;
        padding: 16px 20px 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        box-shadow: 0 20px 40px #0d365b30;
        max-height: calc(100dvh - 70px);
        overflow: auto
    }

    [dir=rtl] .nav.open {
        display: flex
    }

    [dir=rtl] .nav>a {
        padding: 12px 10px;
        font-size: 14px;
        color: #163b5b;
        border-bottom: 1px solid #e7eef3
    }

    [dir=rtl] .nav>a.active {
        color: #ce701c
    }

    [dir=rtl] .nav .nav-action {
        text-align: center;
        margin-top: 10px
    }

    [dir=rtl] .language-switch {
        margin-inline-start: auto
    }
}

@media(min-width:960px) and (max-width:1279px) {
    [dir=rtl] .nav {
        display: flex;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        padding: 14px 16px 20px;
        gap: 4px;
        background: #fff;
        border-top: 1px solid var(--brand-blue-tint);
        border-bottom: 3px solid var(--brand-orange);
        box-shadow: 0 24px 48px #0d365b26;
        transition: opacity .28s ease, transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .28s
    }

    [dir=rtl] .nav.open {
        visibility: visible;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        transition: opacity .28s ease, transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s
    }

    /* Inactive links: logo blue */
    [dir=rtl] .nav>a:not(.nav-action) {
        position: relative;
        padding: 13px 16px;
        padding-inline-start: 20px;
        border: 0;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 800;
        color: var(--brand-blue-dark);
        opacity: 0;
        transform: translateY(-4px);
        transition: background-color .2s, color .2s, opacity .3s ease, transform .3s ease
    }

    [dir=rtl] .nav>a:not(.nav-action)::after {
        content: none
    }

    [dir=rtl] .nav>a:not(.nav-action):hover {
        background: var(--brand-blue-tint);
        color: var(--brand-blue)
    }

    /* Active link: logo orange (tint, leading bar, readable deep-orange text) */
    [dir=rtl] .nav>a.active {
        background: var(--brand-orange-tint);
        color: var(--brand-orange-text)
    }

    [dir=rtl] .nav>a.active::before {
        content: "";
        position: absolute;
        inset-block: 10px;
        inset-inline-start: 6px;
        width: 4px;
        border-radius: 4px;
        background: var(--brand-orange)
    }

    [dir=rtl] .nav.open>a {
        opacity: 1;
        transform: none
    }

    /* Links appear one after another */
    [dir=rtl] .nav.open>a:nth-child(2) { transition-delay: .03s }
    [dir=rtl] .nav.open>a:nth-child(3) { transition-delay: .06s }
    [dir=rtl] .nav.open>a:nth-child(4) { transition-delay: .09s }
    [dir=rtl] .nav.open>a:nth-child(5) { transition-delay: .12s }
    [dir=rtl] .nav.open>a:nth-child(6) { transition-delay: .15s }
    [dir=rtl] .nav.open>a:nth-child(7) { transition-delay: .18s }

    [dir=rtl] .nav .nav-action {
        margin-top: 10px;
        padding: 14px 16px;
        border-radius: 10px;
        font-size: 15px;
        text-align: center;
        opacity: 0;
        transition: opacity .3s ease .18s, background-color .2s
    }

    [dir=rtl] .nav.open .nav-action {
        opacity: 1
    }

    /* Toggle: blue when closed, orange when open */
    [dir=rtl] .menu-toggle {
        background: var(--brand-blue-tint);
        border-color: #cfe1f1;
        transition: background-color .25s, border-color .25s
    }

    [dir=rtl] .menu-toggle span {
        background: var(--brand-blue);
        transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .2s, background-color .25s
    }

    [dir=rtl] .menu-toggle[aria-expanded=true] {
        background: var(--brand-orange);
        border-color: var(--brand-orange)
    }

    [dir=rtl] .menu-toggle[aria-expanded=true] span {
        background: #fff
    }
}

/* Level 8: attached file names on the tracking page */
/* Level 8: legal pages (privacy policy, terms) and their footer links */
.foot-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px
}

.foot-legal a {
    color: inherit
}

/* Text keeps the page column (aligned with the hero) but lines stay readable */
.legal-text > * {
    max-width: 860px
}

.legal-text h2 {
    font-size: clamp(24px, 3vw, 32px);
    margin: 32px 0 10px
}

.legal-text h2:first-child {
    margin-top: 0
}

.legal-text h3 {
    font-size: 20px;
    margin: 22px 0 8px
}

.legal-text p,
.legal-text li {
    line-height: 1.75
}

.form-legal-note {
    font-size: 14px;
    color: #48647a;
    margin: 0 0 14px
}

/* ============================================================================
   Header enhancements (2026-11-14)
   - Phone button to the contact page: white ringing phone, icon only when the menu is inline,
     icon + label in the collapsed menu. Orange darkened so the white icon keeps 3:1 contrast
     (#d9700f) and the label text 4.5:1 (#b85d0d).
   - Language menu: globe + current language; the list names each language in its own language.
   ============================================================================ */

.nav .nav-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    inline-size: 42px;
    block-size: 42px;
    padding: 0;
    border-radius: 10px;
    background: #d9700f;
    color: #fff;
    box-shadow: 0 6px 18px #e57c2d2a
}

.nav .nav-call:hover {
    background: #c2620b;
    color: #fff
}

.nav .nav-call:focus-visible {
    outline: 3px solid var(--brand-blue);
    outline-offset: 3px
}

.nav-call__icon {
    flex-shrink: 0;
    transform-origin: 50% 60%
}

.nav-call__label {
    display: none
}

.nav .nav-call:hover .nav-call__icon,
.nav .nav-call:focus-visible .nav-call__icon {
    animation: nav-call-ring .9s ease-in-out
}

.nav .nav-call:hover .nav-call__wave,
.nav .nav-call:focus-visible .nav-call__wave {
    animation: nav-call-wave .9s ease-in-out
}

@keyframes nav-call-ring {
    0%, 100% { transform: rotate(0) }
    15% { transform: rotate(-14deg) }
    30% { transform: rotate(12deg) }
    45% { transform: rotate(-10deg) }
    60% { transform: rotate(8deg) }
    75% { transform: rotate(-4deg) }
}

@keyframes nav-call-wave {
    0%, 100% { opacity: 1 }
    25%, 75% { opacity: .35 }
    50% { opacity: 1 }
}

/* Language menu */
.language-menu {
    position: relative;
    flex-shrink: 0
}

.language-menu > summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    block-size: 42px;
    padding-inline: 12px 10px;
    border: 1px solid #d5e2ea;
    border-radius: 10px;
    background: #edf3f8;
    color: #123c66;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    cursor: pointer;
    user-select: none;
    transition: border-color .2s, background-color .2s
}

.language-menu > summary::-webkit-details-marker {
    display: none
}

.language-menu > summary:hover,
.language-menu[open] > summary {
    border-color: #f28c28;
    background: #fff
}

.language-menu > summary:focus-visible {
    outline: 3px solid var(--brand-blue);
    outline-offset: 3px
}

.language-menu__code {
    direction: ltr
}

.language-menu__chevron {
    transition: transform .2s ease
}

.language-menu[open] .language-menu__chevron {
    transform: rotate(180deg)
}

.language-menu__list {
    position: absolute;
    z-index: 300;
    inset-block-start: calc(100% + 8px);
    inset-inline-end: 0;
    min-inline-size: 180px;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #fff;
    border: 1px solid #d5e2ea;
    border-radius: 12px;
    box-shadow: 0 18px 40px #0d365b2e;
    animation: language-menu-in .16s ease-out
}

@keyframes language-menu-in {
    from { opacity: 0; transform: translateY(-6px) }
    to { opacity: 1; transform: none }
}

.language-menu__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #163b5b;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none
}

/* Each name in its own script; the row keeps the page's direction so the check mark lines up */
.language-menu__list a[lang=ar] {
    font-family: Cairo, Tahoma, Arial, sans-serif;
    font-size: 15px
}

.language-menu__list a[lang=en],
.language-menu__list a[lang=fr] {
    font-family: Manrope, Arial, sans-serif
}

[dir=ltr] .language-menu__list a { direction: ltr }
[dir=rtl] .language-menu__list a { direction: rtl }

.language-menu__list a:hover {
    background: #fff4e9;
    color: #b85d0d
}

.language-menu__list a.selected {
    color: #123c66;
    font-weight: 900;
    background: #edf3f8
}

.language-menu__check {
    color: #d9700f;
    flex-shrink: 0
}

/* Menu inline (wide screens). EN/FR: links start next to the logo; the phone button and the language menu sit
   together at the end, inset a little from the edge. Arabic: menu, phone and language grouped at the end. */
@media(min-width:1440px) {
    [dir=ltr] .header-inner > .nav {
        flex: 1 1 auto;
        margin-inline-start: 36px
    }

    [dir=ltr] .nav .nav-call {
        margin-inline-start: auto
    }

    [dir=ltr] .header-inner > .language-menu {
        margin-inline-end: 24px
    }

    [dir=rtl] .header-inner > .nav {
        margin-inline-start: auto
    }
}

@media(min-width:1280px) and (max-width:1439px) {
    [dir=rtl] .header-inner > .nav {
        margin-inline-start: auto
    }
}

/* Collapsed menu (same breakpoints as the menu itself): phone shows its label, language sits by the toggle */
@media(max-width:959px) {
    :root .nav .nav-call {
        inline-size: auto;
        block-size: auto;
        padding: 14px 16px;
        background: #b85d0d
    }

    .nav-call__label {
        display: inline
    }

    .language-menu {
        margin-inline-start: auto
    }
}

@media(min-width:960px) and (max-width:1439px) {
    [dir=ltr] .nav .nav-call {
        inline-size: auto;
        block-size: auto;
        padding: 14px 16px;
        background: #b85d0d
    }

    [dir=ltr] .nav-call__label {
        display: inline
    }

    [dir=ltr] .language-menu {
        margin-inline-start: auto
    }
}

@media(min-width:960px) and (max-width:1279px) {
    [dir=rtl] .nav .nav-call {
        inline-size: auto;
        block-size: auto;
        padding: 14px 16px;
        background: #b85d0d
    }

    [dir=rtl] .nav-call__label {
        display: inline
    }

    [dir=rtl] .language-menu {
        margin-inline-start: auto
    }
}

@media(max-width:430px) {
    .language-menu > summary {
        padding-inline: 9px 8px;
        gap: 5px
    }
}

@media(prefers-reduced-motion: reduce) {
    .nav .nav-call:hover .nav-call__icon,
    .nav .nav-call:focus-visible .nav-call__icon,
    .nav .nav-call:hover .nav-call__wave,
    .nav .nav-call:focus-visible .nav-call__wave,
    .language-menu__list {
        animation: none
    }

    .language-menu__chevron,
    .language-menu > summary {
        transition: none
    }
}

/* ============================================================================
   Sticky header (2026-11-14): an earlier rule (.site-header, .topstrip, main, footer { position: relative })
   overrode V56's position: sticky. The top strip scrolls away; the header stays at the top and turns compact
   (menu.js .is-scrolled). Anchors land below it thanks to scroll-padding-top.
   ============================================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100
}

/* ============================================================================
   Floating WhatsApp button (2026-11-14): bottom corner on the reading side's end (right in EN/FR, left in
   Arabic), always in view while scrolling. Green kept dark enough for the white icon (3:1).
   ============================================================================ */
.wa-float {
    position: fixed;
    z-index: 90;
    inset-block-end: 24px;
    inset-inline-end: 24px;
    inline-size: 58px;
    block-size: 58px;
    display: grid;
    place-items: center;
    isolation: isolate;
    border-radius: 50%;
    color: #fff;
    background: radial-gradient(circle at 30% 25%, #3ccf74 0%, #1da851 48%, #0e8045 100%);
    box-shadow: 0 12px 28px #0e804566, 0 3px 8px #00000026, inset 0 1px 0 #ffffff47;
    text-decoration: none;
    transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease;
    animation: wa-float-in .6s cubic-bezier(.2, .8, .2, 1) .5s backwards
}

.wa-float:hover,
.wa-float:focus-visible {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 18px 34px #0e804580, 0 4px 10px #00000030, inset 0 1px 0 #ffffff47
}

.wa-float:focus-visible {
    outline: 3px solid #123c66;
    outline-offset: 4px
}

.wa-float__icon {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 1px 1px #0000002e)
}

.wa-float:hover .wa-float__icon,
.wa-float:focus-visible .wa-float__icon {
    animation: wa-float-wiggle .7s ease-in-out
}

/* Two soft rings that keep expanding behind the button */
.wa-float__ring {
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 50%;
    background: #25d366;
    opacity: 0;
    animation: wa-float-ring 2.8s cubic-bezier(.2, .6, .3, 1) 1.2s infinite
}

.wa-float__ring--late {
    animation-delay: 2.6s
}

/* Label that slides out toward the page on hover or keyboard focus */
.wa-float__tip {
    position: absolute;
    inset-inline-end: calc(100% + 14px);
    top: 50%;
    padding: 9px 14px;
    border-radius: 10px;
    background: #fff;
    color: #0f3a2a;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 10px 26px #0d365b2b;
    opacity: 0;
    pointer-events: none;
    transform: translate(8px, -50%);
    transition: opacity .2s ease, transform .2s ease
}

[dir=rtl] .wa-float__tip {
    font-family: Cairo, Tahoma, Arial, sans-serif;
    transform: translate(-8px, -50%)
}

.wa-float__tip::after {
    content: "";
    position: absolute;
    top: 50%;
    inset-inline-start: 100%;
    margin-top: -6px;
    border: 6px solid transparent;
    border-inline-start-color: #fff
}

.wa-float:hover .wa-float__tip,
.wa-float:focus-visible .wa-float__tip {
    opacity: 1;
    transform: translate(0, -50%)
}

@keyframes wa-float-in {
    from { opacity: 0; transform: translateY(24px) scale(.6) }
    to { opacity: 1; transform: none }
}

@keyframes wa-float-ring {
    0% { opacity: .45; transform: scale(1) }
    80%, 100% { opacity: 0; transform: scale(1.75) }
}

@keyframes wa-float-wiggle {
    0%, 100% { transform: rotate(0) }
    20% { transform: rotate(-12deg) }
    40% { transform: rotate(10deg) }
    60% { transform: rotate(-6deg) }
    80% { transform: rotate(4deg) }
}

@media(max-width:760px) {
    .wa-float {
        inset-block-end: 18px;
        inset-inline-end: 16px;
        inline-size: 52px;
        block-size: 52px
    }

    .wa-float__icon {
        inline-size: 27px;
        block-size: 27px
    }

    /* No hover on touch screens: the label would only flash */
    .wa-float__tip {
        display: none
    }
}

@media(prefers-reduced-motion: reduce) {
    .wa-float,
    .wa-float:hover .wa-float__icon,
    .wa-float:focus-visible .wa-float__icon,
    .wa-float__ring {
        animation: none
    }

    .wa-float__ring {
        display: none
    }

    .wa-float,
    .wa-float__tip {
        transition: none
    }
}

@media print {
    .wa-float {
        display: none
    }
}

/* ============================================================================
   Buttons (2026-11-14): the same complete set of states everywhere.
   hover = lift + deeper shadow, active (pressed) = back down + darker, focus-visible = clear ring (navy on light
   backgrounds, white on dark heroes), disabled = dimmed and inert. Touch screens get no hover lift (it would stick
   after a tap) but keep the pressed state. 46px minimum height: comfortable touch target, text on 1-2 lines.
   ============================================================================ */
.btn {
    min-height: 46px;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform .18s cubic-bezier(.2, .8, .2, 1), background-color .18s ease, border-color .18s ease,
        color .18s ease, box-shadow .18s ease
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px #e8872938
}

.btn:active {
    transform: translateY(0);
    background: #e27d16;
    border-color: #e27d16;
    box-shadow: 0 3px 8px #e8872930;
    transition-duration: .06s
}

.btn:focus-visible {
    outline: 3px solid #123c66;
    outline-offset: 3px
}

.btn.secondary:hover {
    border-color: #7fa3bd;
    box-shadow: 0 10px 22px #0d365b1a
}

.btn.secondary:active {
    background: #dcebf5;
    border-color: #7fa3bd;
    box-shadow: none
}

/* Secondary buttons on the dark home hero and page heroes */
.hero .btn.secondary:hover {
    background: #ffffff30;
    border-color: #ffffff;
    box-shadow: 0 10px 24px #00000030
}

.hero .btn.secondary:active {
    background: #ffffff40;
    box-shadow: none
}

.hero .btn:focus-visible,
.page-hero .btn:focus-visible {
    outline-color: #fff
}

.btn.small {
    min-height: 38px
}

.btn:disabled,
.btn[aria-disabled=true] {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none
}

@media (hover: none) {
    .btn:hover,
    .btn.secondary:hover,
    .hero .btn.secondary:hover {
        transform: none;
        box-shadow: none
    }
}

/* Filter tabs (operations, brands) */
.tab {
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease
}

.tab:hover:not([aria-pressed=true]) {
    background: #dcebf5;
    border-color: #a9c6db;
    color: #123c66
}

.tab:active {
    transform: translateY(1px)
}

.tab:focus-visible {
    outline: 3px solid #123c66;
    outline-offset: 2px
}

/* "× Remove" buttons on request forms */
.icon-btn {
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease
}

.icon-btn:hover {
    background: #ffe2da;
    border-color: #e5a597;
    color: #7f2c22
}

.icon-btn:active {
    background: #ffd3c7
}

.icon-btn:focus-visible {
    outline: 3px solid #123c66;
    outline-offset: 2px
}

/* Small phones: button rows become full-width stacks (cleaner than uneven wrapping) */
@media(max-width:480px) {
    .hero-actions,
    .hero .actions,
    .page-hero-actions,
    .brand-detail-actions,
    .site-main .actions:not(.operations-actions) {
        flex-direction: column;
        align-items: stretch
    }

    .hero-actions .btn,
    .hero .actions .btn,
    .page-hero-actions .btn,
    .brand-detail-actions .btn,
    .site-main .actions:not(.operations-actions) .btn,
    .form-actions .btn {
        width: 100%
    }
}

@media(prefers-reduced-motion: reduce) {
    .btn,
    .tab,
    .icon-btn {
        transition: none
    }

    .btn:hover {
        transform: none
    }
}

/* ============================================================================
   Header logo (2026-11-14): about 15% smaller (mark 58 -> 50px, wordmark 30 -> 26px)
   ============================================================================ */
.site-header .brand picture img {
    width: 50px;
    height: 50px
}

.site-header .brand__wordmark {
    height: 26px;
    width: auto
}

@media(max-width:560px) {
    .site-header .brand picture img {
        width: 36px;
        height: 36px
    }

    .site-header .brand__wordmark {
        height: 22px
    }
}

/* ============================================================================
   MMA welcome screen (2026-11-14, Components/Shell/Splash.razor + js/splash.js). Visible only while
   html.mma-splash is set (once per session). Timeline, 3 s:
     0.08-1.28  the blue gear draws itself while turning          0.53-1.28  the excavator boom lifts in
     1.13-1.88  stick and bucket curl (scoop)                      1.75-2.40  line art becomes the real logo
     1.90-2.80  wordmark, company name and tagline slide in        0.15-2.90  orange gauge fills
   on the blurred home page; then the logo fades out and the blur melts away (0.75 s).
   ============================================================================ */
.mma-splash-screen {
    display: none
}

html.mma-splash body {
    overflow: hidden
}

html.mma-splash .mma-splash-screen {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    overflow: hidden;
    /* The page itself, blurred, with a soft dark glow behind the logo so it stays crisp on any section */
    background: radial-gradient(ellipse 60% 55% at 50% 48%, #071c30b8 0%, #071c3066 55%, #071c3026 100%);
    -webkit-backdrop-filter: blur(16px) saturate(1.15);
    backdrop-filter: blur(16px) saturate(1.15);
    color: #fff;
    cursor: pointer;
    animation: mma-splash-blur-in .35s ease-out backwards
}

/* Leaving: the logo group fades out first, then the blur melts away and the sharp page appears */
html.mma-splash--leaving .mma-splash-screen {
    background: radial-gradient(ellipse 60% 55% at 50% 48%, #071c3000 0%, #071c3000 55%, #071c3000 100%);
    -webkit-backdrop-filter: blur(0) saturate(1);
    backdrop-filter: blur(0) saturate(1);
    pointer-events: none;
    transition: backdrop-filter .55s cubic-bezier(.4, 0, .2, 1) .2s, -webkit-backdrop-filter .55s cubic-bezier(.4, 0, .2, 1) .2s,
        background .55s ease .2s
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    html.mma-splash .mma-splash-screen {
        background: #071c30e6
    }

    html.mma-splash--leaving .mma-splash-screen {
        opacity: 0;
        transition: opacity .5s ease .2s
    }
}

.mma-splash__grid {
    display: none;
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent 0 47px, #b8d5e50f 47px 48px),
        repeating-linear-gradient(90deg, transparent 0 47px, #b8d5e50f 47px 48px);
    mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%);
    animation: mma-splash-fade .5s ease-out both
}

.mma-splash__stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    transition: opacity .3s ease
}

html.mma-splash--leaving .mma-splash__stage {
    opacity: 0;
    transform: scale(1.06);
    transition: opacity .3s ease, transform .3s ease
}

.mma-splash__emblem {
    position: relative;
    inline-size: 210px;
    block-size: 210px
}

.mma-splash__art {
    position: absolute;
    inset: 0;
    inline-size: 100%;
    block-size: 100%;
    overflow: visible;
    animation: mma-splash-art-out .45s ease-in 1.75s both
}

.mma-splash__gear {
    fill: none;
    stroke: #2f8fd8;
    stroke-width: 5;
    stroke-linejoin: round;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    transform-box: view-box;
    transform-origin: 100px 100px;
    filter: drop-shadow(0 0 6px #2f8fd880);
    animation: mma-splash-draw 1.2s cubic-bezier(.45, 0, .2, 1) .08s forwards, mma-splash-turn 1.2s cubic-bezier(.45, 0, .2, 1) .08s both
}

.mma-splash__hub {
    fill: none;
    stroke: #1b60ac;
    stroke-width: 3;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: mma-splash-draw-hub .9s ease-out .38s forwards
}

.mma-splash__boom {
    transform-box: view-box;
    transform-origin: 70px 132px;
    animation: mma-splash-boom .75s cubic-bezier(.3, 1.3, .5, 1) .53s both
}

.mma-splash__stick {
    transform-box: view-box;
    transform-origin: 104px 80px;
    animation: mma-splash-scoop .75s cubic-bezier(.4, 0, .2, 1) 1.13s both
}

.mma-splash__steel {
    fill: none;
    stroke: #f28c28;
    stroke-width: 11;
    stroke-linecap: round
}

.mma-splash__steel--thin {
    stroke-width: 8
}

.mma-splash__ram {
    fill: none;
    stroke: #ffc27d;
    stroke-width: 4;
    stroke-linecap: round
}

.mma-splash__bucket {
    fill: #f49801;
    stroke: #ffb04d;
    stroke-width: 1.5;
    stroke-linejoin: round
}

.mma-splash__pin {
    fill: #0b2a47;
    stroke: #ffd29e;
    stroke-width: 2
}

.mma-splash__logo {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    animation: mma-splash-logo-in .65s cubic-bezier(.2, .9, .3, 1.2) 1.75s both
}

.mma-splash__logo img {
    inline-size: 162px;
    block-size: auto;
    filter: drop-shadow(0 10px 30px #2f8fd855)
}

.mma-splash__name {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px
}

.mma-splash__wordmark {
    block-size: 48px;
    inline-size: auto;
    animation: mma-splash-rise .6s cubic-bezier(.2, .8, .2, 1) 1.9s both
}

.mma-splash__full {
    font: 800 12px/1.2 Manrope, Arial, sans-serif;
    letter-spacing: .26em;
    color: #c9d9e6;
    white-space: nowrap;
    animation: mma-splash-spread .75s cubic-bezier(.2, .8, .2, 1) 2.05s both
}

.mma-splash__gauge {
    inline-size: 240px;
    block-size: 3px;
    border-radius: 3px;
    background: #ffffff1f;
    overflow: hidden;
    animation: mma-splash-fade .3s ease-out .1s both
}

.mma-splash__gauge span {
    display: block;
    block-size: 100%;
    inline-size: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #f28c28, #ffc27d);
    box-shadow: 0 0 10px #f28c28;
    animation: mma-splash-gauge 2.75s cubic-bezier(.65, 0, .35, 1) .15s forwards
}

[dir=rtl] .mma-splash__gauge span {
    margin-inline-start: auto
}

.mma-splash__tag {
    font: 800 10px/1 Manrope, Arial, sans-serif;
    letter-spacing: .32em;
    color: #f4a34c;
    animation: mma-splash-fade .55s ease-out 2.25s both
}

@keyframes mma-splash-fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes mma-splash-blur-in { from { -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); opacity: 0 } }
@keyframes mma-splash-draw { to { stroke-dashoffset: 0 } }
@keyframes mma-splash-draw-hub { to { stroke-dashoffset: 0 } }
@keyframes mma-splash-turn { from { transform: rotate(-120deg) } to { transform: rotate(0) } }
@keyframes mma-splash-boom { from { opacity: 0; transform: rotate(-58deg) } to { opacity: 1; transform: rotate(0) } }
@keyframes mma-splash-scoop {
    0% { transform: rotate(38deg) }
    65% { transform: rotate(-14deg) }
    100% { transform: rotate(0) }
}
@keyframes mma-splash-art-out { to { opacity: 0; transform: scale(.92) } }
@keyframes mma-splash-logo-in { from { opacity: 0; transform: scale(.7) rotate(-12deg) } to { opacity: 1; transform: none } }
@keyframes mma-splash-rise { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
@keyframes mma-splash-spread { from { opacity: 0; letter-spacing: .6em } to { opacity: 1; letter-spacing: .26em } }
@keyframes mma-splash-gauge { to { inline-size: 100% } }

@media(max-width:430px) {
    .mma-splash__emblem {
        inline-size: 160px;
        block-size: 160px
    }

    .mma-splash__logo img {
        inline-size: 124px
    }

    .mma-splash__wordmark {
        block-size: 40px
    }

    .mma-splash__gauge {
        inline-size: 200px
    }

    .mma-splash__full {
        font-size: 9.5px;
        letter-spacing: .2em
    }
}

/* Reduced motion: no drawing or swinging; the finished logo fades in and out */
@media(prefers-reduced-motion: reduce) {
    .mma-splash-screen *,
    .mma-splash-screen *::before {
        animation: none !important
    }

    .mma-splash__art {
        display: none
    }

    .mma-splash__gauge span {
        inline-size: 100%
    }

    html.mma-splash .mma-splash-screen {
        animation: none
    }

    html.mma-splash--leaving .mma-splash-screen {
        opacity: 0;
        transition: opacity .25s ease
    }
}

@media print {
    html.mma-splash .mma-splash-screen {
        display: none
    }
}

/* Phone button label stays white in every collapsed-menu layout (the tablet-width menu colours all links navy) */
.site-header .nav .nav-call,
.site-header .nav .nav-call:hover {
    color: #fff
}

/* ============================================================================
   Header logo light (2026-11-16): every 6 s a narrow band of light sweeps across the gear, then the MMA
   wordmark, while a soft orange glow comes on and goes off. Each light layer is exactly the size of its image and
   masked to it (--logo-mark / --logo-wordmark, set from the branding settings in SiteHeader.razor), so only the
   logo itself lights up, never the white header around it.
   ============================================================================ */
.site-header .brand picture,
.site-header .brand__wordmark-light {
    position: relative;
    display: block;
    line-height: 0
}

.site-header .brand picture::after,
.site-header .brand__wordmark-light::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 40%, #ffffff8c 47%, #ffffffd9 50%, #ffffff8c 53%, transparent 60%) no-repeat;
    background-size: 300% 100%;
    background-position: 100% 0;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    animation: mma-logo-light 6s ease-in-out 1.2s infinite
}

.site-header .brand picture::after {
    -webkit-mask-image: var(--logo-mark);
    mask-image: var(--logo-mark)
}

.site-header .brand__wordmark-light::after {
    -webkit-mask-image: var(--logo-wordmark);
    mask-image: var(--logo-wordmark);
    animation-delay: 1.5s
}

.site-header .brand picture img {
    animation: mma-logo-glow 6s ease-in-out 1.2s infinite
}

@keyframes mma-logo-light {
    0% { background-position: 100% 0 }
    16%, 100% { background-position: 0 0 }
}

@keyframes mma-logo-glow {
    0%, 28%, 100% { filter: drop-shadow(0 0 0 #f28c2800) }
    9% { filter: drop-shadow(0 0 7px #f28c2880) }
}

@media(prefers-reduced-motion: reduce) {
    .site-header .brand picture::after,
    .site-header .brand__wordmark-light::after {
        display: none
    }

    .site-header .brand picture img {
        animation: none
    }
}

/* ============================================================================
   Home hero buttons (2026-11-18): a lighter weight on every screen. On phones one clear first step: the main action
   is the only button (orange, full width); the two others are light links under it, each with an orange icon, side
   by side when they fit on one line (one under the other otherwise, as with the longer French labels).
   ============================================================================ */
.site-main .hero .actions .btn {
    font-weight: 700;
    letter-spacing: .01em
}

.hero-link-icon {
    display: none
}

@media(max-width:560px) {
    .site-main .hero .actions {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 6px 12px;
        width: 100%
    }

    .site-main .hero .actions .btn:first-child {
        flex: 1 1 100%;
        width: 100%;
        min-height: 48px;
        margin-bottom: 6px;
        padding: 0 16px;
        border-radius: 12px;
        font-size: 15px;
        line-height: 1.2;
        white-space: nowrap;
        box-shadow: 0 8px 20px #e8872940
    }

    .site-main .hero .actions .btn.secondary,
    .site-main .hero .actions .btn.secondary.hero-contact-link {
        flex: 0 1 auto;
        width: auto;
        min-height: 44px;
        gap: 7px;
        padding: 0;
        background: none !important;
        border: 0 !important;
        border-radius: 6px;
        box-shadow: none !important;
        color: #fff !important;
        font-size: 13.5px;
        line-height: 1.25;
        white-space: nowrap;
        transform: none
    }

    .site-main .hero .actions .btn.secondary:active {
        background: none !important;
        opacity: .7
    }

    .site-main .hero .actions .hero-link-icon {
        display: block;
        flex: none;
        width: 18px;
        height: 18px;
        color: #f28c28
    }
}

/* ============================================================================
   Header logo build (2026-11-16, js/logo-build.js): on the first page of a visit, after the welcome screen, a
   miniature wheel loader brings the letters M, M and A and sets each into the header wordmark, puffing exhaust smoke
   while it drives; an excavator drills the company line; then the gear rolls in like a tyre, cracking the ground, and
   settles. Until then (html.mma-build) the gear, wordmark,
   company line and logo light stay hidden; the real logo takes over exactly where the pieces stand. Realistic
   heavy-equipment yellow and black, no brand marks.
   ============================================================================ */
html.mma-build .site-header .brand__wordmark,
html.mma-build .site-header .brand small {
    opacity: 0
}

.site-header .brand small {
    transition: opacity .6s ease .1s
}

/* The gear is part of the show too: it rolls in last (the real one stays hidden until then) */
html.mma-build .site-header .brand picture::after,
html.mma-build .site-header .brand__wordmark-light::after,
html.mma-build .site-header .brand picture img {
    animation: none;
    opacity: 0
}

html.mma-build .site-header .brand picture::after,
html.mma-build .site-header .brand__wordmark-light::after {
    opacity: 0
}

/* Behind the header's own content (logo text, menu, buttons), above its background: the machines pass behind them */
.mma-build-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1
}

.mlb-yellow {
    fill: url(#mlb-paint);
    stroke: #9c7000;
    stroke-width: .4;
    stroke-linejoin: round
}

.mlb-shade {
    fill: url(#mlb-paint-shade)
}

.mlb-dark {
    fill: url(#mlb-steel)
}

.mlb-grille {
    fill: none;
    stroke: #3b3f44;
    stroke-width: .8
}

.mlb-glass {
    fill: url(#mlb-window)
}

.mlb-fender {
    fill: none;
    stroke: #e6ab05;
    stroke-width: 1.9
}

.mlb-tire {
    fill: #1c1e21
}

.mlb-tread {
    fill: none;
    stroke: #34383d;
    stroke-width: 1.7;
    stroke-dasharray: 1.9 1.3
}

.mlb-hub {
    fill: #2b2e33
}

.mlb-spokes {
    stroke: #5d656d;
    stroke-width: 1
}

.mlb-barrel {
    stroke: #2b2e32;
    stroke-width: 2.4;
    stroke-linecap: round
}

.mlb-rod {
    stroke: #c9d1d8;
    stroke-width: 1.4;
    stroke-linecap: round
}

.mlb-pin {
    fill: #232528;
    stroke: #c9d1d8;
    stroke-width: .6
}

.mlb-bucket-body {
    fill: #d9a21b;
    stroke: #8a6a00;
    stroke-width: .6;
    stroke-linejoin: round
}

.mlb-teeth {
    fill: #c3ccd3;
    stroke: #6d747c;
    stroke-width: .3;
    stroke-linejoin: round
}

@media print {
    .mma-build-layer {
        display: none
    }
}

.mlb-shadow {
    fill: #1d2a35;
    fill-opacity: .14
}

.mlb-dust {
    fill: url(#mlb-dust-cloud)
}

/* Header logo build, act 2 (2026-11-16): the excavator with a hydraulic hammer that drills the company line, the stone
   chips and the hairline cracks; act 3: the dump truck that brings the gear, and the cracks the gear leaves in the
   ground. While it is drilled, the real line is shown behind the chisel (clip-path set by the script). */
html.mma-build .site-header .brand small.mlb-drilled {
    opacity: 1;
    transition: none
}

.mlb-track {
    fill: #2b2d31
}

.mlb-track-links {
    fill: none;
    stroke: #575b61;
    stroke-width: 1.3;
    stroke-dasharray: 2.4 1.6
}

.mlb-idler {
    fill: #4a4e54;
    stroke: #2b2d31;
    stroke-width: .6
}

.mlb-roller {
    fill: #6b7077
}

.mlb-hammer {
    fill: #2f3237
}

.mlb-chisel {
    fill: #aab2b9
}

.mlb-grit {
    fill: url(#mlb-dust-cloud)
}

.mlb-crack {
    fill: none;
    stroke: #3b4955;
    stroke-width: .65;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1 1
}

.mlb-ground-crack {
    stroke: #4d463d
}

.mlb-rib {
    fill: none;
    stroke: #c99604;
    stroke-width: 1.2;
    stroke-linecap: round
}

.mlb-ladder {
    fill: none;
    stroke: #232528;
    stroke-width: .8
}

/* Redrawn machines (2026-11-16): details */
.mlb-black {
    fill: #1d1f22
}

.mlb-hl {
    fill: none;
    stroke: #fff0a8;
    stroke-width: .45;
    stroke-linecap: round;
    opacity: .85
}

.mlb-seam {
    fill: none;
    stroke: #8f6600;
    stroke-width: .35;
    opacity: .8
}

.mlb-slats {
    fill: none;
    stroke: #5a5f66;
    stroke-width: .55
}

.mlb-hose {
    fill: none;
    stroke: #141618;
    stroke-width: .6;
    stroke-linecap: round
}

.mlb-rail {
    fill: none;
    stroke: #232528;
    stroke-width: .55;
    stroke-linejoin: round
}

.mlb-glint {
    fill: none;
    stroke: #fff;
    stroke-width: .6;
    stroke-linecap: round;
    opacity: .55
}

.mlb-light {
    fill: #fff7d1;
    stroke: #9aa3ab;
    stroke-width: .25
}

.mlb-beacon {
    fill: #ff8f1f;
    stroke: #b35400;
    stroke-width: .25
}

.mlb-tail {
    fill: #d93a1c
}

.mlb-cap {
    fill: #c3ccd3
}

.mlb-strut {
    fill: none;
    stroke: #c3ccd3;
    stroke-width: 1.4;
    stroke-linecap: round
}

.mlb-sidewall {
    fill: #2b2e33
}

.mlb-rim {
    fill: url(#mlb-rim-paint);
    stroke: #8f6600;
    stroke-width: .3
}

.mlb-bolts {
    fill: none;
    stroke: #4d535a;
    stroke-width: .7;
    stroke-dasharray: .5 .95
}

.mlb-sprocket {
    fill: #3c4046;
    stroke: #1d1f22;
    stroke-width: 1;
    stroke-dasharray: .8 .7
}

.mlb-rib-top {
    fill: none;
    stroke: #a37800;
    stroke-width: 1.6;
    stroke-linecap: round
}

/* ============================================================================
   Sending a request (2026-11-21, js/sending.js): from the moment a request form is sent until the next page opens,
   the page blurs under the navy of the welcome screen and a loader shows: a concrete slab with a crack racing round
   it like a loading ring (a glowing orange tip, a dark trail, side cracks snapping off as it passes), the logo
   build's excavator drilling a hole in the middle, then the wording. Mirrored in Arabic. Reduced motion: still.
   ============================================================================ */
html.mma-sending-open body {
    overflow: hidden
}

.mma-sending {
    --lap: 1.15s;
    --blow: .144s;
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid;
    place-items: center;
    padding: 24px;
    background: radial-gradient(ellipse 55% 50% at 50% 50%, #071c30eb 0%, #071c30c2 60%, #071c30a8 100%);
    -webkit-backdrop-filter: blur(12px) saturate(1.1);
    backdrop-filter: blur(12px) saturate(1.1);
    color: #fff;
    text-align: center;
    cursor: progress;
    animation: mma-sending-in .3s ease-out both
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .mma-sending {
        background: #071c30eb
    }
}

.mma-sending__stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px
}

.mma-sending__ring {
    inline-size: 220px;
    block-size: 220px;
    overflow: visible
}

html[dir=rtl] .mma-sending__ring .msr-flip {
    transform: scaleX(-1);
    transform-origin: 100px 100px
}

.mma-sending__title {
    margin: 6px 0 0;
    font: 700 21px/1.3 Cairo, Manrope, Arial, sans-serif;
    color: #fff
}

.mma-sending__title::after {
    content: "";
    display: inline-block;
    inline-size: 1.2em;
    text-align: start;
    animation: mma-sending-dots 1.5s steps(4, end) infinite
}

.mma-sending__note {
    margin: 0;
    max-inline-size: 42ch;
    text-wrap: balance;
    font: 400 14px/1.6 Cairo, Manrope, Arial, sans-serif;
    color: #c9d9e6
}

html[lang=en] .mma-sending__title,
html[lang=fr] .mma-sending__title,
html[lang=en] .mma-sending__note,
html[lang=fr] .mma-sending__note {
    font-family: Manrope, Arial, sans-serif
}

/* The slab and its cracks */
.msr-disc {
    fill: url(#msr-concrete)
}

.msr-speck {
    fill: #2d3a46;
    opacity: .55
}

.msr-speck.is-light {
    fill: #9fadb9;
    opacity: .35
}

.msr-crack {
    fill: none;
    stroke: #101c27;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round
}

.msr-cracks {
    filter: drop-shadow(0 .8px 0 #b7c3cd66)
}

.msr-track {
    opacity: .2
}

.msr-tail.is-1 {
    stroke-dasharray: .42 .58;
    stroke-dashoffset: .42;
    opacity: .5;
    stroke-width: 1.6;
    animation: msr-run-1 var(--lap) linear infinite
}

.msr-tail.is-2 {
    stroke-dasharray: .26 .74;
    stroke-dashoffset: .26;
    opacity: .7;
    animation: msr-run-2 var(--lap) linear infinite
}

.msr-tail.is-3 {
    stroke-dasharray: .12 .88;
    stroke-dashoffset: .12;
    stroke-width: 2.3;
    animation: msr-run-3 var(--lap) linear infinite
}

.msr-head {
    stroke: #ffb35e;
    stroke-width: 3;
    stroke-dasharray: .028 .972;
    stroke-dashoffset: .028;
    filter: drop-shadow(0 0 3px #f28c28) drop-shadow(0 0 7px #f28c28aa);
    animation: msr-run-h var(--lap) linear infinite
}

.msr-branch {
    fill: none;
    stroke: #101c27;
    stroke-width: 1.1;
    stroke-linecap: round;
    stroke-dasharray: 1 1;
    stroke-dashoffset: 1;
    opacity: 0;
    animation: msr-branch var(--lap) linear infinite
}

.msr-crater {
    fill: url(#msr-crater)
}

.msr-spoke {
    fill: none;
    stroke: #101c27;
    stroke-width: 1;
    stroke-linecap: round
}

/* The excavator at the hole: its shadow on the slab, its exhaust, the dust and chips from under the hammer */
.mma-sending .mlb-shadow {
    fill: #000;
    fill-opacity: .3
}

.msr-smoke {
    fill: #b4c0ca
}

.msr-dust {
    fill: #dfe6ec;
    transform-box: fill-box;
    transform-origin: center;
    animation: msr-dust var(--blow) ease-out infinite
}

.msr-chip {
    transform-box: fill-box;
    transform-origin: center;
    opacity: 0;
    animation: msr-chip calc(var(--blow) * 3) ease-out infinite
}

@keyframes mma-sending-in {
    from {
        opacity: 0
    }
}

@keyframes mma-sending-dots {
    0% {
        content: ""
    }

    25% {
        content: "."
    }

    50% {
        content: ".."
    }

    75% {
        content: "..."
    }
}

@keyframes msr-run-1 {
    from {
        stroke-dashoffset: .42
    }

    to {
        stroke-dashoffset: -.58
    }
}

@keyframes msr-run-2 {
    from {
        stroke-dashoffset: .26
    }

    to {
        stroke-dashoffset: -.74
    }
}

@keyframes msr-run-3 {
    from {
        stroke-dashoffset: .12
    }

    to {
        stroke-dashoffset: -.88
    }
}

@keyframes msr-run-h {
    from {
        stroke-dashoffset: .028
    }

    to {
        stroke-dashoffset: -.972
    }
}

@keyframes msr-branch {
    0% {
        opacity: 1;
        stroke-dashoffset: 1
    }

    7% {
        stroke-dashoffset: 0
    }

    35% {
        opacity: .9
    }

    70%,
    100% {
        opacity: 0;
        stroke-dashoffset: 0
    }
}

@keyframes msr-dust {
    0%,
    60% {
        opacity: 0;
        transform: scale(.4)
    }

    75% {
        opacity: .5
    }

    100% {
        opacity: 0;
        transform: scale(1.5)
    }
}

@keyframes msr-chip {
    0% {
        opacity: 1;
        transform: translate(0, 0) rotate(0)
    }

    100% {
        opacity: 0;
        transform: translate(var(--x), var(--y)) rotate(320deg)
    }
}

@media (prefers-reduced-motion: reduce) {
    .mma-sending,
    .msr-tail.is-1,
    .msr-tail.is-2,
    .msr-tail.is-3,
    .msr-head {
        animation: none
    }

    .mma-sending__title::after {
        animation: none;
        content: "..."
    }

    .msr-branch,
    .msr-dust,
    .msr-chip {
        animation: none;
        opacity: 0
    }
}

@media print {
    .mma-sending {
        display: none
    }
}

/* ============================================================================
   "Use code" (2026-11-21, js/customer-code.js): at the top of the contact step of every request form, a light box
   "Already a customer?" with an orange-outlined button; it opens the customer code and email fields with "Fill in",
   then shows "Details filled in". Wrong code or email: a red line; too many tries: an amber one. Hidden without
   JavaScript.
   ============================================================================ */
.customer-code {
    margin: 0 0 20px;
    border: 1px solid #d7e3eb;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fbfd, #f1f6fa);
    padding: 12px 14px
}

.customer-code[hidden],
.customer-code [hidden] {
    display: none !important
}

.customer-code-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap
}

.customer-code-ask {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #16324f;
    font-weight: 800;
    font-size: 14.5px
}

.customer-code-ask svg {
    flex: none;
    width: 34px;
    height: 34px;
    padding: 7px;
    border-radius: 50%;
    background: #fff3e6;
    color: #e07a12
}

.customer-code-open {
    appearance: none;
    border: 1.5px solid #f28c28;
    background: #fff;
    color: #9a4a00;
    border-radius: 999px;
    padding: 8px 18px;
    font-family: inherit;
    font-weight: 800;
    font-size: 14px;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .2s ease
}

.customer-code-open:hover {
    background: #fff3e6
}

.customer-code-open:focus-visible,
.customer-code-close:focus-visible {
    outline: 3px solid #2f8fd8;
    outline-offset: 2px
}

.customer-code-done {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0f7b4c;
    font-weight: 800;
    font-size: 14px
}

.customer-code-done svg {
    width: 20px;
    height: 20px
}

.customer-code-panel {
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px dashed #c9d7e2;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr) auto;
    gap: 12px;
    align-items: end
}

.customer-code-panel .field {
    margin: 0
}

.customer-code-panel #customerCodeInput {
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 700
}

.customer-code-actions {
    display: flex;
    gap: 8px;
    align-items: center
}

.customer-code-actions .btn {
    white-space: nowrap
}

.customer-code-close {
    appearance: none;
    border: 1px solid #d7e3eb;
    background: #fff;
    color: #4a6175;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 20px;
    line-height: 1;
    cursor: pointer
}

.customer-code-message {
    grid-column: 1 / -1;
    margin: 0;
    font-weight: 700;
    font-size: 14px
}

.customer-code-message:empty {
    display: none
}

.customer-code-message.is-error {
    color: #b42318
}

.customer-code-message.is-wait {
    color: #9a5b00
}

.customer-code-help {
    grid-column: 1 / -1;
    margin: -4px 0 0;
    color: #5b7083;
    font-size: 13px
}

.sent-customer-code {
    color: #4a6175;
    font-size: 14px
}

@media(max-width:640px) {
    .customer-code-panel {
        grid-template-columns: minmax(0, 1fr)
    }

    .customer-code-actions .btn {
        flex: 1
    }
}

/* ============================================================================
   Phones keep the desktop look (2026-11-17): the same logo lockup, hero photo, card grids and details as on a
   computer, adapted rather than stacked: cards two per row instead of one long column, compact brand cards, links
   big enough to tap, and request forms that start right under the page title.
   ============================================================================ */

/* Header logo: MMA with the company line under it, in the desktop proportions (7px under the 22px wordmark, as 8.5px
   under 26px). The language and menu buttons give up a little padding so the three fit from 360px; narrower phones
   (rare) keep the short logo. */
@media(min-width:360px) and (max-width:430px) {
    .site-header .brand small {
        display: block;
        font-size: 7px;
        letter-spacing: .1em;
        white-space: nowrap
    }

    .site-header .header-inner,
    .site-header .brand {
        gap: 8px
    }

    .site-header .language-menu > summary {
        padding-inline: 8px 7px;
        gap: 4px
    }

    .site-header .menu-toggle {
        flex-shrink: 0;
        width: 44px
    }
}

/* Footer logo: the company line keeps its desktop size (it was 6px on phones) */
@media(max-width:430px) {
    footer .foot-brand.brand small {
        font-size: 8.5px
    }
}

/* Top strip: the desktop's 10px */
@media(max-width:760px) {
    .topstrip .wrap {
        font-size: 10px
    }
}

/* Home hero: the photo shows through as on desktop, where the machines and the tablet hologram sit on the right: the
   same part of the picture shows on phones, under a gradient that is darkest behind the headline. A soft shadow keeps
   the text crisp where the photo is bright. */
@media(max-width:560px) {
    [dir=ltr] .hero,
    [dir=rtl] .hero {
        background-image: linear-gradient(180deg, rgba(7, 28, 48, .88) 0%, rgba(7, 28, 48, .74) 40%, rgba(7, 28, 48, .5) 70%, rgba(7, 28, 48, .7) 100%), url("/images/hero-home.webp")
    }

    .hero {
        background-position: center, 82% center !important
    }

    .hero h1,
    .hero .lead {
        text-shadow: 0 2px 14px rgba(4, 18, 32, .55)
    }
}

/* Home hero figures: one row of three, as on desktop (labels wrap under their figure) */
@media(min-width:340px) and (max-width:560px) {
    .hero-badges {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 10px;
        margin-top: 40px;
        padding-top: 22px
    }

    .hero-badges > div {
        flex: 0 1 auto;
        min-width: 0;
        padding-inline-end: 10px
    }

    .hero-badges strong {
        font-size: clamp(15px, 4.4vw, 18px);
        white-space: nowrap
    }

    .hero-badges small {
        display: block;
        margin-top: 3px;
        font-size: 10.5px;
        line-height: 1.35
    }
}

/* Card grids: two per row on phones instead of one long column (the desktop shows three or four). Service cards
   have their own layout (one per row, or a swipe row: "Services on phones" below) */
@media(max-width:560px) {
    .path-grid,
    .purchase-choice-grid,
    .purchase-kind-picker {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px
    }

    /* Service cards, one per row: a 3:2 photo showing the products and people at the foot of each flyer, then the
       label, title, summary and link at the desktop's reading sizes */
    .services-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px
    }

    .service-card .photo {
        height: auto;
        aspect-ratio: 3 / 2;
        background-position: center 88%
    }

    @supports not (aspect-ratio: 1) {
        .service-card .photo {
            height: 58vw
        }
    }

    .service-card:has(a[href*="diagnostics"]) .photo,
    .service-card[href$="/diagnostics"] .photo {
        background-size: cover;
        background-position: center 30%
    }

    /* The number sits top left on every language, clear of the MMA logo in the flyers' top right corner */
    .service-card .num {
        top: 10px;
        right: auto;
        left: 10px;
        padding: 3px 7px;
        font-size: 11px
    }

    .service-card .content {
        padding: 18px 18px 20px
    }

    .service-card h3 {
        margin: 0 0 8px;
        font-size: 18px;
        line-height: 1.3
    }

    .service-card p {
        min-height: 0;
        margin: 0 0 12px;
        font-size: 13.5px;
        line-height: 1.6
    }

    .service-card .arrow {
        font-size: 13px
    }

    /* Request-centre links: two per row, the arrow under the label's end */
    .path {
        min-height: 64px;
        padding: 14px 13px;
        gap: 8px;
        font-size: 14px;
        line-height: 1.35
    }

    /* Product categories and purchase options */
    .purchase-choice {
        gap: 8px;
        padding: 15px 13px
    }

    .purchase-choice strong {
        font-size: 15px;
        line-height: 1.35
    }

    .purchase-choice span {
        font-size: 12.5px;
        line-height: 1.6
    }

    .purchase-kind-picker label {
        padding: 12px 11px;
        gap: 8px;
        font-size: 13px;
        line-height: 1.35
    }

    .purchase-kind-picker input {
        flex-shrink: 0
    }
}

/* Brand directory: compact cards, so 133 brands are not three times as long as on desktop */
@media(max-width:560px) {
    .brand-directory-grid {
        gap: 8px
    }

    .brand-directory-card {
        min-height: 0;
        padding: 12px 13px;
        gap: 4px;
        border-radius: 12px;
        font-size: 14.5px;
        line-height: 1.3
    }

    .brand-directory-card span {
        font-size: 12px
    }
}

/* Service cards: the link sits at the bottom of every card, so a row's links line up whatever the summary length */
@media(max-width:560px) {
    .service-card {
        display: flex;
        flex-direction: column
    }

    .service-card .content {
        display: flex;
        flex: 1;
        flex-direction: column
    }

    .service-card .arrow {
        margin-top: auto
    }
}

/* Operations Center buttons: side by side as on desktop, two matching halves instead of two ragged lines */
@media(max-width:480px) {
    .operations-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px
    }

    .operations-actions .btn {
        justify-content: center;
        min-height: 50px;
        padding: 10px 12px;
        text-align: center;
        white-space: normal;
        line-height: 1.25
    }
}

/* Breadcrumbs: links at least 24px high, so a thumb does not miss them (the line itself keeps its height) */
.breadcrumbs a {
    display: inline-block;
    padding-block: 4px;
    margin-block: -4px
}

/* Track Request hero: the same room between the breadcrumbs and the label as the other page heroes */
.page-hero .breadcrumbs + .eyebrow {
    margin-top: 22px
}

/* Request forms on phones: the page title and introduction are right above, so the form card does not repeat them
   and the first field shows on the first screen */
@media(max-width:760px) {
    .form-shell > .eyebrow,
    .form-shell > h2,
    .form-shell > .form-intro {
        display: none
    }
}

/* File picker: the site's own button instead of the browser's plain grey one */
.field input[type=file] {
    cursor: pointer;
    padding: 8px;
    color: #526b80;
    font-size: 14px
}

.field input[type=file]::file-selector-button {
    margin-inline-end: 12px;
    padding: 9px 16px;
    border: 1px solid #123c66;
    border-radius: 9px;
    background: #123c66;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color .2s, border-color .2s
}

.field input[type=file]:hover::file-selector-button {
    border-color: #f28c28;
    background: #0d2f52
}

/* Tablet footer: the "Contact Us" button stays on one line (its column takes the button's width) */
@media(min-width:761px) and (max-width:1020px) {
    .foot {
        grid-template-columns: 1.2fr 1fr auto
    }

    .footer-contact-link {
        white-space: nowrap
    }
}

/* Brand directory on tablets: compact cards, four per row from 700px (three below) */
@media(min-width:561px) and (max-width:900px) {
    .brand-directory-grid {
        gap: 10px
    }

    .brand-directory-card {
        min-height: 0;
        padding: 14px;
        gap: 6px
    }
}

@media(min-width:700px) and (max-width:900px) {
    .brand-directory-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }
}

/* WhatsApp button on phones: steps aside while the visitor scrolls down through the page (menu.js), back as soon as
   they scroll up or pause */
@media(max-width:760px) {
    .wa-float {
        transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .3s ease, box-shadow .25s ease
    }

    .wa-float.is-tucked {
        transform: translateY(calc(100% + 28px));
        opacity: 0;
        pointer-events: none
    }

    .wa-float.is-tucked:focus-visible {
        transform: none;
        opacity: 1
    }
}

/* ============================================================================
   Phone polish (2026-11-17): what can be tapped answers the finger, small buttons are tall enough to hit, the page
   dims behind the open menu, and pages open, scroll and change with short, crisp motion (js/motion.js; the motion
   runs on every screen size).
   ============================================================================ */

/* iPhones enlarge text on their own in landscape; the layout sets the sizes */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%
}

/* Small buttons (contact cards, confirmation page): tall enough for a thumb */
@media(max-width:760px) {
    .btn.small {
        min-height: 44px;
        padding: 10px 16px;
        font-size: 13px
    }
}

/* Filter tabs (Operations Center): tall enough for a thumb */
@media(max-width:760px) {
    .tab {
        min-height: 40px;
        padding-inline: 14px
    }
}

/* Press feedback on touch screens: a card or button gives way under the finger at once. Hover lifts are switched off
   there (they would stay stuck after the tap). */
.service-card,
.path,
.purchase-choice,
.brand-directory-card,
.contact-info,
.purchase-kind-picker label {
    -webkit-tap-highlight-color: transparent
}

.path,
.purchase-kind-picker label {
    transition: transform .18s cubic-bezier(.2, .8, .2, 1), background-color .18s ease, border-color .18s ease, color .18s ease
}

@media(hover:none) {
    .service-card:hover,
    .purchase-choice:hover,
    .brand-directory-card:hover,
    .contact-info:hover,
    .footer-contact-link:hover {
        transform: none
    }

    .service-card:active,
    .path:active,
    .purchase-choice:active,
    .brand-directory-card:active,
    .contact-info:active,
    .purchase-kind-picker label:active {
        transform: scale(.985);
        border-color: #f28c28;
        transition-duration: .08s
    }

    .btn:active,
    .footer-contact-link:active {
        transform: scale(.98)
    }

    :root .nav > a:not(.nav-action):active {
        background: var(--brand-blue-tint);
        color: var(--brand-blue)
    }
}

/* Open menu (collapsed layouts): the page behind dims and stays put; a tap on it closes the menu (menu.js sets the
   class). Above the WhatsApp button, below the header. The page is held still on the body, whose overflow belongs to
   the window: holding the root instead would make the body the scroller, and the sticky header would scroll away
   with the menu. */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 95;
    background: rgba(7, 28, 48, .45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, visibility 0s linear .28s
}

html.mma-menu-open body::before {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    touch-action: none;
    transition: opacity .28s ease, visibility 0s
}

@media(max-width:959px) {
    html.mma-menu-open body {
        overflow: hidden
    }
}

:root .nav {
    overscroll-behavior: contain
}

/* ----------------------------------------------------------------------------
   The menu sheet (2026-11-18). On phones, tablets and every other width where the menu is collapsed, the open menu
   is a navy sheet that fills the screen under the header. It grows out of the menu button as a circle (menu.js
   measures the button: --mma-menu-x / -y / -r), a faint gear turns into place in its corner, and the links come up
   one after another; closing plays it back. The old fade and slide are switched off. Keyed on the classes menu.js
   sets on <html> while the menu is open or closing, so nothing changes for the menu laid out in the header.
   ---------------------------------------------------------------------------- */
@property --mma-menu-turn {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg
}

@keyframes mma-menu-in {
    from {
        clip-path: circle(0px at var(--mma-menu-x, 100%) var(--mma-menu-y, 0px))
    }

    to {
        clip-path: circle(var(--mma-menu-r, 150vmax) at var(--mma-menu-x, 100%) var(--mma-menu-y, 0px))
    }
}

@keyframes mma-menu-out {
    from {
        clip-path: circle(var(--mma-menu-r, 150vmax) at var(--mma-menu-x, 100%) var(--mma-menu-y, 0px))
    }

    to {
        clip-path: circle(0px at var(--mma-menu-x, 100%) var(--mma-menu-y, 0px))
    }
}

@keyframes mma-menu-link {
    from {
        opacity: 0;
        transform: translateY(24px)
    }
}

@keyframes mma-menu-link-out {
    to {
        opacity: 0;
        transform: translateY(-10px)
    }
}

@keyframes mma-menu-gear {
    from {
        opacity: 0;
        --mma-menu-turn: -150deg
    }
}

@keyframes mma-menu-gear-out {
    to {
        opacity: 0;
        --mma-menu-turn: -90deg
    }
}

:root .nav {
    transition: none
}

html.mma-menu-open .nav.open,
html.mma-menu-closing .nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
    height: calc(100dvh - var(--mma-menu-top, 70px));
    max-height: none;
    padding: 14px max(20px, calc((100vw - 1240px) / 2)) calc(22px + env(safe-area-inset-bottom, 0px));
    gap: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: linear-gradient(165deg, #0e3558 0%, #0b2a47 55%, #081f36 100%);
    border: 0;
    box-shadow: none
}

html.mma-menu-open .nav.open {
    pointer-events: auto;
    animation: mma-menu-in .6s cubic-bezier(.65, 0, .2, 1) both
}

html.mma-menu-closing .nav {
    pointer-events: none;
    animation: mma-menu-out .45s cubic-bezier(.6, 0, .3, 1) both
}

/* The gear in the corner: drawn with gradients (a ring and twelve teeth), so it can turn without a moving box */
html.mma-menu-open .nav.open::before,
html.mma-menu-closing .nav::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .075;
    background:
        radial-gradient(circle at calc(100% - 60px) calc(100% - 50px), transparent 0 62px, #fff 63px 122px, transparent 123px) no-repeat,
        repeating-conic-gradient(from var(--mma-menu-turn) at calc(100% - 60px) calc(100% - 50px), #fff 0deg 13deg, transparent 13deg 30deg) no-repeat;
    -webkit-mask: radial-gradient(circle at calc(100% - 60px) calc(100% - 50px), transparent 0 62px, #000 63px 152px, transparent 153px) no-repeat;
    mask: radial-gradient(circle at calc(100% - 60px) calc(100% - 50px), transparent 0 62px, #000 63px 152px, transparent 153px) no-repeat
}

html[dir=rtl].mma-menu-open .nav.open::before,
html[dir=rtl].mma-menu-closing .nav::before {
    background:
        radial-gradient(circle at 60px calc(100% - 50px), transparent 0 62px, #fff 63px 122px, transparent 123px) no-repeat,
        repeating-conic-gradient(from var(--mma-menu-turn) at 60px calc(100% - 50px), #fff 0deg 13deg, transparent 13deg 30deg) no-repeat;
    -webkit-mask: radial-gradient(circle at 60px calc(100% - 50px), transparent 0 62px, #000 63px 152px, transparent 153px) no-repeat;
    mask: radial-gradient(circle at 60px calc(100% - 50px), transparent 0 62px, #000 63px 152px, transparent 153px) no-repeat
}

html.mma-menu-open .nav.open::before {
    animation: mma-menu-gear 1.2s cubic-bezier(.2, .8, .2, 1) .1s both
}

html.mma-menu-closing .nav::before {
    animation: mma-menu-gear-out .4s ease both
}

/* Links: large, one per line, a thin rule under each and a small arrow at the reading end */
html.mma-menu-open .nav.open > a:not(.nav-action),
html.mma-menu-closing .nav > a:not(.nav-action) {
    position: relative;
    flex: none;
    padding: 17px 6px;
    padding-inline-end: 30px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .11);
    border-radius: 0;
    background: none;
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.3;
    opacity: 1;
    transform: none;
    transition: color .2s ease, background-color .2s ease
}

html.mma-menu-open .nav.open > a:not(.nav-action)::after,
html.mma-menu-closing .nav > a:not(.nav-action)::after {
    content: "";
    position: absolute;
    inset: auto;
    inset-block-start: calc(50% - 4px);
    inset-inline-end: 10px;
    width: 8px;
    height: 8px;
    border-block-start: 2px solid currentColor;
    border-inline-end: 2px solid currentColor;
    border-radius: 0;
    background: none;
    opacity: .4;
    transform: rotate(45deg)
}

html[dir=rtl].mma-menu-open .nav.open > a:not(.nav-action)::after,
html[dir=rtl].mma-menu-closing .nav > a:not(.nav-action)::after {
    transform: rotate(-45deg)
}

/* The page you are on: orange, with a short orange rule before it */
html.mma-menu-open .nav.open > a.active,
html.mma-menu-closing .nav > a.active {
    padding-inline-start: 30px;
    background: none;
    color: #ffb45f
}

html.mma-menu-open .nav.open > a.active::before,
html.mma-menu-closing .nav > a.active::before {
    content: "";
    position: absolute;
    inset-block: calc(50% - 1.5px) auto;
    inset-inline-start: 6px;
    width: 16px;
    height: 3px;
    border-radius: 2px;
    background: #f28c28
}

html.mma-menu-open .nav.open > a:not(.nav-action):hover,
html.mma-menu-closing .nav > a:not(.nav-action):hover,
html.mma-menu-open .nav.open > a:not(.nav-action):active,
html.mma-menu-closing .nav > a:not(.nav-action):active {
    background: rgba(255, 255, 255, .06);
    color: #ffb45f
}

/* The contact button sits at the foot of the sheet */
html.mma-menu-open .nav.open .nav-action,
html.mma-menu-closing .nav .nav-action {
    flex: none;
    max-width: 440px;
    width: 100%;
    margin-block: auto 0;
    padding: 16px 18px;
    border-radius: 14px;
    font-size: 16px;
    opacity: 1;
    transition: background-color .2s ease
}

html.mma-menu-open .nav.open > a {
    animation: mma-menu-link .5s cubic-bezier(.2, .8, .2, 1) .18s both
}

html.mma-menu-open .nav.open > a:nth-child(2) { animation-delay: .23s }
html.mma-menu-open .nav.open > a:nth-child(3) { animation-delay: .28s }
html.mma-menu-open .nav.open > a:nth-child(4) { animation-delay: .33s }
html.mma-menu-open .nav.open > a:nth-child(5) { animation-delay: .38s }
html.mma-menu-open .nav.open > a:nth-child(6) { animation-delay: .43s }
html.mma-menu-open .nav.open > a:nth-child(7) { animation-delay: .48s }
html.mma-menu-open .nav.open > a:nth-child(n+8) { animation-delay: .55s }

html.mma-menu-closing .nav > a {
    animation: mma-menu-link-out .18s ease both
}

/* A little room between the last link and the button when the sheet has to scroll */
html.mma-menu-open .nav.open > a:not(.nav-action):nth-last-child(2),
html.mma-menu-closing .nav > a:not(.nav-action):nth-last-child(2) {
    margin-block-end: 22px
}

@media(prefers-reduced-motion: reduce) {
    html.mma-menu-open .nav.open,
    html.mma-menu-open .nav.open::before,
    html.mma-menu-open .nav.open > a {
        animation: none
    }

    html.mma-menu-closing .nav {
        animation: none;
        visibility: hidden
    }
}

/* ----------------------------------------------------------------------------
   Page motion, on every screen size. js/motion.js sets html.mma-motion (never with reduced motion, in automated
   browsers or without JavaScript, so nothing is hidden there). Parts slot into place: a little travel (14px on
   phones, 22px on wide screens), no bounce. The selector lists match the ones in motion.js.
   ---------------------------------------------------------------------------- */
html.mma-motion {
    --mma-rise: 14px
}

@media(min-width:960px) {
    html.mma-motion {
        --mma-rise: 22px
    }
}

@keyframes mma-rise {
    from {
        opacity: 0;
        transform: translateY(var(--mma-rise, 14px))
    }
}

@keyframes mma-draw {
    from {
        transform: scaleX(0)
    }
}

@keyframes mma-dial {
    from {
        opacity: 0;
        transform: rotate(-70deg) scale(.94)
    }
}

@keyframes mma-dial-level {
    from {
        transform: rotate(70deg)
    }
}

@keyframes mma-settle {
    from {
        transform: scale(1.1)
    }
}

@keyframes mma-progress {
    from {
        transform: scaleX(0)
    }

    to {
        transform: scaleX(.9)
    }
}

@media screen {
    /* The hero sets itself line by line when the page opens; motion.js restarts the class after a page change */
    html.mma-motion:not(.mma-page-in) :is(.hero .hero-content, .page-hero .wrap) > * {
        opacity: 0
    }

    html.mma-motion.mma-page-in :is(.hero .hero-content, .page-hero .wrap) > * {
        animation: mma-rise .5s cubic-bezier(.2, .8, .2, 1) backwards
    }

    html.mma-motion.mma-page-in :is(.hero .hero-content, .page-hero .wrap) > :nth-child(2) { animation-delay: .06s }
    html.mma-motion.mma-page-in :is(.hero .hero-content, .page-hero .wrap) > :nth-child(3) { animation-delay: .12s }
    html.mma-motion.mma-page-in :is(.hero .hero-content, .page-hero .wrap) > :nth-child(4) { animation-delay: .18s }
    html.mma-motion.mma-page-in :is(.hero .hero-content, .page-hero .wrap) > :nth-child(5) { animation-delay: .24s }
    html.mma-motion.mma-page-in :is(.hero .hero-content, .page-hero .wrap) > :nth-child(n+6) { animation-delay: .3s }

    /* Headings, cards, panels and the footer rise into place as they are scrolled into view (.is-in), neighbours in
       turn (--mma-delay). Already scrolled past when the page opened (.is-past): simply there. */
    html.mma-motion :is(.section-heading, .section > .wrap > .notice, .section > .wrap > .tabs, .services-grid > *, .path-grid > *, .purchase-choice-grid > *, .stat-grid > *, .operations > .panel, .operations-actions, .detail-grid > *, .contact-info-grid > *, .contact-grid > *, .contact-address, .brand-detail-grid > *, .brand-detail-actions, .brand-directory-toolbar, .brand-featured, .brand-group-letter, .brand-directory-grid, .form-shell, .tracking-panel, footer .foot > *):not(.is-in) {
        opacity: 0
    }

    html.mma-motion :is(.section-heading, .section > .wrap > .notice, .section > .wrap > .tabs, .services-grid > *, .path-grid > *, .purchase-choice-grid > *, .stat-grid > *, .operations > .panel, .operations-actions, .detail-grid > *, .contact-info-grid > *, .contact-grid > *, .contact-address, .brand-detail-grid > *, .brand-detail-actions, .brand-directory-toolbar, .brand-featured, .brand-group-letter, .brand-directory-grid, .form-shell, .tracking-panel, footer .foot > *).is-in:not(.is-past) {
        animation: mma-rise .5s cubic-bezier(.2, .8, .2, 1) var(--mma-delay, 0s) backwards
    }

    /* The orange rule of each label draws itself from the reading side */
    html.mma-motion.mma-page-in :is(.hero, .page-hero) .eyebrow::before,
    html.mma-motion .is-in:not(.is-past) .eyebrow::before {
        transform-origin: left center;
        animation: mma-draw .55s cubic-bezier(.2, .8, .2, 1) calc(var(--mma-delay, 0s) + .22s) backwards
    }

    html.mma-motion[dir=rtl] .eyebrow::before {
        transform-origin: right center
    }

    /* Card photos settle into their frames as the card comes in */
    html.mma-motion .service-card.is-in:not(.is-past) .photo {
        animation: mma-settle 1.1s cubic-bezier(.2, .8, .2, 1) var(--mma-delay, 0s) backwards
    }

    /* Operations Center: the bars grow from the reading side, one after another, and the availability dial turns
       into place (its figures count up in motion.js) */
    html.mma-motion .operations > .panel.is-in:not(.is-past) .fill {
        transform-origin: left center;
        animation: mma-draw .9s cubic-bezier(.2, .8, .2, 1) calc(var(--mma-delay, 0s) + .1s) backwards
    }

    html.mma-motion[dir=rtl] .operations > .panel .fill {
        transform-origin: right center
    }

    html.mma-motion .operations > .panel.is-in:not(.is-past) .bar-row:nth-child(2) .fill { animation-delay: calc(var(--mma-delay, 0s) + .18s) }
    html.mma-motion .operations > .panel.is-in:not(.is-past) .bar-row:nth-child(3) .fill { animation-delay: calc(var(--mma-delay, 0s) + .26s) }
    html.mma-motion .operations > .panel.is-in:not(.is-past) .bar-row:nth-child(n+4) .fill { animation-delay: calc(var(--mma-delay, 0s) + .34s) }

    html.mma-motion .operations > .panel.is-in:not(.is-past) .donut {
        animation: mma-dial .9s cubic-bezier(.2, .8, .2, 1) calc(var(--mma-delay, 0s) + .1s) backwards
    }

    html.mma-motion .operations > .panel.is-in:not(.is-past) .donut-inner {
        animation: mma-dial-level .9s cubic-bezier(.2, .8, .2, 1) calc(var(--mma-delay, 0s) + .1s) backwards
    }

    /* Changing page: the page being left fades up and out while the next one loads (html.mma-leaving, set by
       motion.js), then the new one plays in as above. The header and footer stay where they are. */
    html.mma-motion .site-main {
        transition: opacity .2s ease, transform .2s ease
    }

    html.mma-motion.mma-leaving .site-main {
        opacity: 0;
        transform: translateY(-8px)
    }

    /* A thin line along the top edge shows the wait, runs to the end when the page has arrived, and fades */
    html.mma-motion body::after {
        content: "";
        position: fixed;
        z-index: 1200;
        inset-block-start: 0;
        inset-inline: 0;
        height: 3px;
        background: linear-gradient(90deg, #f28c28, #ffb45f);
        transform: scaleX(0);
        transform-origin: left center;
        opacity: 0;
        pointer-events: none
    }

    html.mma-motion[dir=rtl] body::after {
        transform-origin: right center
    }

    html.mma-motion.mma-leaving body::after {
        opacity: 1;
        animation: mma-progress 5s cubic-bezier(.05, .7, .1, 1) forwards
    }

    html.mma-motion.mma-arrived body::after {
        opacity: 0;
        transform: scaleX(1);
        transition: transform .15s ease, opacity .35s ease .15s
    }
}

/* Reduced motion: the new state changes are instant (page motion is never switched on there) */
@media(prefers-reduced-motion: reduce) {
    body::before,
    .path,
    .purchase-kind-picker label,
    .wa-float {
        transition: none
    }
}

/* ----------------------------------------------------------------------------
   Hover design (2026-11-18), for screens with a mouse. One set of answers to the pointer, built from motifs the site
   already has: the light that sweeps the logo crosses the main buttons, the orange rule of the labels draws itself
   along the foot of a card, card photos move closer, and arrows step the reading way. Touch screens keep their press
   feedback instead (a hover would stay stuck after a tap).
   ---------------------------------------------------------------------------- */
@keyframes mma-sheen {
    from {
        background-position: 150% 0
    }

    to {
        background-position: -50% 0
    }
}

@media(hover:hover) and (pointer:fine) {
    /* Main buttons: a band of light crosses them once, as it crosses the logo. It is a layer of the button's own
       background, waiting off its edge, so the button has no extra box inside it. */
    .btn:not(.secondary),
    .footer-contact-link,
    .footer-contact-link:hover {
        background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 43%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, 0) 57%);
        background-repeat: no-repeat;
        background-size: 260% 100%;
        background-position: 150% 0
    }

    .btn:not(.secondary):hover,
    .footer-contact-link:hover {
        animation: mma-sheen .8s cubic-bezier(.3, .6, .3, 1)
    }

    .footer-contact-link:hover {
        background-color: #ffb45f
    }

    /* Outlined buttons take the brand orange on their edge */
    .btn.secondary:hover {
        border-color: #f28c28;
        color: #0f3554
    }

    .hero .btn.secondary:hover,
    .page-hero .btn.secondary:hover {
        color: #fff
    }

    /* Service cards: the photo moves closer, the number turns orange, a rule draws along the foot, the arrow steps */
    .service-card .photo {
        transition: transform .7s cubic-bezier(.2, .8, .2, 1)
    }

    .service-card:hover .photo {
        transform: scale(1.06)
    }

    .service-card::after,
    .purchase-choice::after {
        content: "";
        position: absolute;
        inset-inline: 0;
        inset-block-end: 0;
        height: 3px;
        background: #f28c28;
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform .45s cubic-bezier(.2, .8, .2, 1);
        pointer-events: none
    }

    [dir=rtl] .service-card::after,
    [dir=rtl] .purchase-choice::after {
        transform-origin: right center
    }

    .service-card:hover::after,
    .purchase-choice:hover::after {
        transform: scaleX(1)
    }

    .service-card .num {
        transition: background-color .3s ease, border-color .3s ease, color .3s ease
    }

    .service-card:hover .num {
        background: #f28c28;
        border-color: #f28c28;
        color: #102d45
    }

    .service-card .arrow,
    .purchase-choice b,
    .brand-directory-card span,
    .path span {
        display: inline-block;
        transition: transform .3s cubic-bezier(.2, .8, .2, 1), color .2s ease
    }

    .service-card:hover .arrow {
        transform: translateX(5px)
    }

    [dir=rtl] .service-card:hover .arrow {
        transform: translateX(-5px)
    }

    /* Product categories: the same rule and step */
    .purchase-choice {
        position: relative;
        overflow: hidden
    }

    .purchase-choice:hover b,
    .brand-directory-card:hover span {
        transform: translateX(4px)
    }

    [dir=rtl] .purchase-choice:hover b,
    [dir=rtl] .brand-directory-card:hover span {
        transform: translateX(-4px)
    }

    .brand-directory-card:hover span {
        color: #a85a0c
    }

    /* Request-centre links: a warm tint, a small lift, the arrow steps up and forward */
    .path {
        transition: transform .25s cubic-bezier(.2, .8, .2, 1), background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease
    }

    .path:hover {
        transform: translateY(-2px);
        background: #fffaf3;
        box-shadow: 0 14px 30px #143b5a14
    }

    .path:hover span {
        transform: translate(3px, -3px)
    }

    [dir=rtl] .path:hover span {
        transform: translate(-3px, -3px)
    }

    /* Contact medallions: their own hover (the card lifts, the ring turns faster): "Contact page" below */

    /* Figures and panels are not links: they only acknowledge the pointer (a slight lift, a deeper shadow) */
    .stat {
        transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease
    }

    .stat:before {
        transition: width .3s cubic-bezier(.2, .8, .2, 1)
    }

    .stat:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 40px #143b5a1a
    }

    .stat:hover:before {
        width: 7px
    }

    .panel,
    .contact-card,
    .brand-detail-panel,
    .detail-photo {
        transition: box-shadow .35s ease, border-color .35s ease, transform .5s cubic-bezier(.2, .8, .2, 1)
    }

    .panel:hover,
    .contact-card:hover,
    .brand-detail-panel:hover {
        border-color: #f1cfa6;
        box-shadow: 0 22px 50px #143b5a17
    }

    .detail-photo:hover {
        transform: scale(1.012);
        box-shadow: 0 26px 60px #123c5b2b
    }

    /* Form fields and small links */
    .field input:hover,
    .field select:hover,
    .field textarea:hover {
        border-color: #7f9db4
    }

    .breadcrumbs a:hover,
    .foot-legal a:hover {
        text-decoration: underline;
        text-underline-offset: 3px
    }
}

/* Reduced motion: colours still answer the pointer, nothing moves */
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion: reduce) {
    .btn:not(.secondary):hover,
    .footer-contact-link:hover {
        animation: none
    }

    .service-card:hover .photo,
    .service-card:hover .arrow,
    .purchase-choice:hover b,
    .brand-directory-card:hover span,
    .path:hover,
    .path:hover span,
    .contact-info:hover .contact-symbol,
    .stat:hover,
    .detail-photo:hover {
        transform: none
    }

    .service-card::after,
    .purchase-choice::after {
        transition: none
    }
}

/* ----------------------------------------------------------------------------
   Brand directory, A-Z (2026-11-18). A letter bar that stays under the header, the main brands above the list, and
   the brands grouped by first letter in compact cards: the name and an arrow that points the reading way.
   ---------------------------------------------------------------------------- */
.brand-letters {
    position: sticky;
    top: var(--mma-header-bottom, 84px);
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin: 0 0 26px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #d6e1ea;
    border-radius: 14px;
    box-shadow: 0 8px 22px #143b5a0d
}

.brand-letters a,
.brand-letters span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    min-width: 32px;
    height: 32px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 14px;
    color: #123c66;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease
}

.brand-letters a:hover,
.brand-letters a:focus-visible {
    background: #f28c28;
    color: #102d45
}

.brand-letters .is-empty {
    color: #b9c6d1;
    pointer-events: none
}

.brand-featured {
    margin-bottom: 30px
}

.brand-featured h2 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 800;
    color: #123c66
}

.brand-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px
}

.brand-feature-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 24px 22px;
    background: #fff;
    border: 1px solid #d4e0e9;
    border-top: 3px solid #f28c28;
    border-radius: 14px;
    color: #123c66;
    text-decoration: none;
    font-size: 20px;
    -webkit-tap-highlight-color: transparent;
    transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .25s ease, box-shadow .25s ease
}

.brand-feature-card strong {
    min-width: 0;
    overflow-wrap: anywhere
}

.brand-feature-card span {
    flex: none;
    color: #bb6a16;
    display: inline-block;
    transition: transform .3s cubic-bezier(.2, .8, .2, 1)
}

.brand-group {
    scroll-margin-top: calc(var(--mma-header-bottom, 84px) + 70px)
}

.brand-group + .brand-group {
    margin-top: 26px
}

.brand-group-letter {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    color: #f28c28
}

.brand-group-letter::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #d6e1ea
}

.brand-directory .brand-directory-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px
}

.brand-directory .brand-directory-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 0;
    padding: 15px 16px;
    border-radius: 12px
}

.brand-directory .brand-directory-card strong {
    min-width: 0;
    font-size: 15px;
    line-height: 1.3;
    overflow-wrap: anywhere
}

.brand-directory .brand-directory-card span {
    flex: none;
    font-size: 15px
}

.brand-empty {
    margin: 0 0 24px;
    padding: 24px;
    background: #fff;
    border: 1px dashed #a8bbcc;
    border-radius: 14px;
    text-align: center;
    color: #536c80
}

.brand-empty a {
    color: #bb6a16;
    font-weight: 700
}

.brand-group[hidden],
.brand-featured[hidden],
.brand-empty[hidden] {
    display: none !important
}

@media(max-width:1100px) {
    .brand-directory .brand-directory-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }
}

@media(max-width:699px) {
    .brand-directory .brand-directory-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
}

/* Phones: the letters scroll sideways in one row, two brands per row */
@media(max-width:560px) {
    .brand-letters {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
        margin-bottom: 20px;
        padding: 8px;
        border-radius: 12px
    }

    .brand-letters::-webkit-scrollbar {
        display: none
    }

    .brand-letters a,
    .brand-letters span {
        min-width: 30px;
        height: 30px;
        font-size: 13.5px
    }

    .brand-featured {
        margin-bottom: 24px
    }

    .brand-featured h2 {
        font-size: 16px;
        margin-bottom: 10px
    }

    .brand-featured-grid {
        gap: 8px
    }

    .brand-feature-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 14px 12px;
        font-size: 15px
    }

    .brand-group + .brand-group {
        margin-top: 20px
    }

    .brand-group-letter {
        font-size: 19px;
        margin-bottom: 10px
    }

    .brand-directory .brand-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px
    }

    .brand-directory .brand-directory-card {
        padding: 13px 13px
    }

    .brand-directory .brand-directory-card strong,
    .brand-directory .brand-directory-card span {
        font-size: 14.5px
    }
}

@media(hover:hover) and (pointer:fine) {
    .brand-feature-card:hover {
        transform: translateY(-3px);
        border-color: #f28c28;
        box-shadow: 0 18px 40px #143b5a1a
    }

    .brand-feature-card:hover span {
        transform: translateX(4px)
    }

    [dir=rtl] .brand-feature-card:hover span {
        transform: translateX(-4px)
    }
}

@media(hover:none) {
    .brand-feature-card:active {
        transform: scale(.985);
        border-color: #f28c28;
        transition-duration: .08s
    }
}

@media(prefers-reduced-motion: reduce) {
    .brand-feature-card:hover,
    .brand-feature-card:hover span {
        transform: none
    }
}

/* ----------------------------------------------------------------------------
   Service picture (2026-11-18). The service page shows its picture whole, never cropped: a real image at its own
   proportions in a light frame, as tall as the screen allows and never wider than its column. The pictures are
   portrait flyers (and one wide photo), so the frame takes the picture's shape.
   ---------------------------------------------------------------------------- */
/* Service cards on every screen show the photo part of each flyer (machines, parts, people at its foot), as phones
   already did; the diagnostics card's picture is a photo, framed a little higher */
.service-card .photo {
    background-position: center 88%
}

.service-card:has(a[href*="diagnostics"]) .photo,
.service-card[href$="/diagnostics"] .photo {
    background-position: center 30%
}

/* The workshop card's flyer is laid out the other way (photo at the top, text at its foot) */
.service-card:has(a[href$="/workshop"]) .photo,
.service-card[href$="/workshop"] .photo {
    background-position: center 24%
}

/* Lined up with the page's edge on its side of the page (the left in Arabic) */
.detail-photo {
    justify-self: end;
    width: fit-content;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 12px;
    background: #fff;
    background-image: none;
    border: 1px solid #d7e3eb;
    border-radius: 18px;
    box-shadow: 0 22px 50px #123c5b1f
}

.detail-photo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: min(78vh, 760px);
    border-radius: 10px
}

@media(max-width:900px) {
    .detail-photo {
        margin-top: 8px;
        padding: 10px;
        border-radius: 16px
    }

    .detail-photo img {
        max-height: none;
        width: 100%
    }
}

@media(max-width:560px) {
    .detail-photo {
        padding: 8px;
        border-radius: 14px
    }

    .detail-photo img {
        border-radius: 8px
    }
}

/* ----------------------------------------------------------------------------
   Services on phones (2026-11-18). The service cards stand one per row; a switch above them ("Vertical" /
   "Horizontal") lines them up in a row to swipe through instead, one card at a time, with dots underneath.
   services-layout.js remembers the choice and sets html[data-svc-layout=h]. Wider screens keep the plain grid.
   ---------------------------------------------------------------------------- */
.svc-layout-toggle,
.svc-dots {
    display: none
}

@media(max-width:560px) {
    .svc-layout-toggle:not([hidden]) {
        display: flex;
        justify-content: flex-end;
        margin: 0 0 14px
    }

    .svc-seg {
        display: inline-flex;
        gap: 2px;
        padding: 3px;
        background: #fff;
        border: 1px solid #d7e3eb;
        border-radius: 999px;
        box-shadow: 0 6px 18px #123c5b0f
    }

    .svc-seg button {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 34px;
        padding: 0 13px;
        border: 0;
        border-radius: 999px;
        background: transparent;
        color: #526b80;
        font: inherit;
        font-size: 12.5px;
        font-weight: 700;
        line-height: 1;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        transition: background-color .2s, color .2s
    }

    .svc-seg button svg {
        flex: none;
        width: 16px;
        height: 16px
    }

    .svc-seg button[aria-pressed=true] {
        background: #f28c28;
        color: #fff
    }

    .svc-seg button:focus-visible {
        outline: 2px solid #123c66;
        outline-offset: 2px
    }

    /* The swipe row runs to the screen's edges; each card stops at the start edge, the next one peeks in */
    html[data-svc-layout=h] .services-grid {
        display: flex;
        gap: 12px;
        margin-inline: -15px;
        padding: 4px 15px 16px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 15px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch
    }

    html[data-svc-layout=h] .services-grid::-webkit-scrollbar {
        display: none
    }

    html[data-svc-layout=h] .services-grid > .service-card {
        flex: 0 0 86%;
        scroll-snap-align: start;
        scroll-snap-stop: always
    }

    html[data-svc-layout=h] .services-grid.is-jumping > .service-card {
        scroll-snap-stop: normal
    }

    /* Cards off to the side are not scrolled into view the usual way: they are simply there */
    html.mma-motion[data-svc-layout=h] .services-grid > *,
    html.mma-motion[data-svc-layout=h] .services-grid > * .photo {
        opacity: 1 !important;
        animation: none !important
    }

    /* One dot per card, the current one long and orange; a finger-sized target around each */
    html[data-svc-layout=h] .svc-dots {
        display: flex;
        justify-content: center;
        gap: 2px
    }

    .svc-dots button {
        display: grid;
        place-items: center;
        width: 22px;
        height: 24px;
        padding: 0;
        border: 0;
        background: none;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent
    }

    .svc-dots button::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 99px;
        background: #c9d6df;
        transition: width .25s, background-color .25s
    }

    .svc-dots button[aria-current=true] {
        width: 34px
    }

    .svc-dots button[aria-current=true]::before {
        width: 22px;
        background: #f28c28
    }
}

@media(max-width:560px) and (prefers-reduced-motion:reduce) {
    .svc-seg button,
    .svc-dots button::before {
        transition: none
    }
}

/* ----------------------------------------------------------------------------
   Scroll progress (2026-11-18, js/scroll-progress.js): a 3px bar along the foot of the header, on every page and
   screen size, fills as the visitor scrolls down and empties as they scroll back up, from the reading side. The logo
   build's excavator drives along it with its hammer at the bar's end, drilling it while the page is scrolled, and
   hairline cracks open in the drilled part (they run just below the header). Like the logo build it moves behind the
   header's own content. Hidden while the logo is being built and while the next page loads (the page-change line).
   ---------------------------------------------------------------------------- */
.mma-progress-layer {
    position: absolute;
    inset-inline: 0;
    bottom: -8px;
    width: 100%;
    height: 46px;
    overflow: visible;
    pointer-events: none;
    z-index: -1;
    transition: opacity .2s;
    /* its own drawing layer: the bar and the machine change while scrolling without redrawing the blurred header */
    will-change: transform
}

.mma-progress-layer.is-idle,
html.mma-build .mma-progress-layer,
html.mma-leaving .mma-progress-layer {
    opacity: 0
}

.mpb-track {
    fill: #0b223812
}

.mpb-fill {
    fill: #f28c28
}

.mpb-crack {
    stroke: #2b3a46;
    stroke-width: .7
}

@media print {
    .mma-progress-layer {
        display: none
    }
}

/* ----------------------------------------------------------------------------
   Request sent (2026-11-19): a light, centred confirmation opened by a little scene (js/request-sent.js): the logo
   build's excavator breaks the ground with its hammer, cracks spread, the ground bursts open and a green tick badge
   rises out of the hole. The request number stands out in a dashed orange chip.
   ---------------------------------------------------------------------------- */
.request-confirmation.success {
    padding: 0;
    background: none;
    border: 0;
    text-align: center;
    color: #48647a
}

.sent-stage {
    width: 100%;
    aspect-ratio: 520 / 210;
    max-height: 240px;
    margin: 0 0 18px;
    border-radius: 16px;
    overflow: hidden;
    background:
        radial-gradient(circle at 64% 40%, #e9fbef 0, #e9fbef00 30%),
        linear-gradient(180deg, #e8f2fb 0%, #f5f9fc 78%)
}

[dir=rtl] .sent-stage {
    background:
        radial-gradient(circle at 36% 40%, #e9fbef 0, #e9fbef00 30%),
        linear-gradient(180deg, #e8f2fb 0%, #f5f9fc 78%)
}

.sent-scene {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible
}

/* The work site: hills and cranes far behind, the ground with its soil below */
.sent-hill {
    fill: #dce8f2
}

.sent-hill-near {
    fill: #e4edf5
}

.sent-crane path {
    fill: none;
    stroke: #c7d6e3;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round
}

.sent-ground {
    fill: #e2e8ee
}

.sent-soil {
    fill: #d9d4cc
}

.sent-ground-edge {
    stroke: #c8d3dd;
    stroke-width: 1.5
}

.sent-pebble {
    fill: #cbd4dc
}

/* Breaking the ground: cracks, the hole, clods */
.sent-crack {
    fill: none;
    stroke: #7a6b5b;
    stroke-width: 1;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1 1
}

.sent-crack-surface {
    stroke: #5b4f43;
    stroke-width: 1.8
}

.sent-hole-rim {
    fill: #9a8d7c
}

.sent-hole-pit {
    fill: #3b322a
}

.sent-clod {
    fill: #b9ae9d;
    stroke: #8f8474;
    stroke-width: .5
}

.sent-clod-dark {
    fill: #9b8e7c
}

/* The green tick and its light */
.sent-badge {
    filter: drop-shadow(0 10px 18px #16a34a55)
}

.sent-badge-disc {
    stroke: #fff;
    stroke-width: 4
}

.sent-tick {
    fill: none;
    stroke: #fff;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1 1
}

.sent-ring {
    fill: none;
    stroke: #22a55b;
    stroke-width: 2
}

.sent-ray {
    fill: #c6f6d5
}

.sent-sparkle {
    fill: #fbbf24
}

/* The excavator's face */
.sent-eye {
    fill: #102d45
}

.sent-glint {
    fill: #fff
}

.sent-cheek {
    fill: #ff8a73;
    opacity: .6
}

.sent-smile {
    fill: none;
    stroke: #102d45;
    stroke-width: .6;
    stroke-linecap: round
}

/* The confirmation text */
.request-confirmation > strong {
    display: block;
    margin: 4px 0 16px;
    color: #102d45;
    font-size: clamp(21px, 2.4vw, 27px);
    font-weight: 800;
    line-height: 1.25
}

.sent-reference {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px
}

.sent-reference span {
    color: #5c7387;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .04em
}

.sent-reference b {
    padding: 10px 22px;
    border: 1.5px dashed #f28c28;
    border-radius: 12px;
    background: #fff6ec;
    color: #102d45;
    font-size: 21px;
    letter-spacing: .08em
}

.request-confirmation > p,
.request-confirmation .tracking-confirm {
    max-width: 560px;
    margin-inline: auto;
    line-height: 1.7
}

.request-confirmation .tracking-confirm {
    margin-top: 22px;
    padding-top: 20px
}

.request-confirmation .actions {
    justify-content: center;
    margin-top: 18px
}

@media(max-width:560px) {
    .sent-stage {
        margin-inline: -6px;
        width: calc(100% + 12px);
        border-radius: 14px
    }

    .sent-reference b {
        font-size: 18px;
        padding: 9px 16px
    }
}

/* ----------------------------------------------------------------------------
   Contact page (2026-11-19): the contact channels as round medallions, each in its colour (phone orange, email navy,
   WhatsApp green, website sky blue), floating half above a white card, a dotted ring turning slowly round each and a
   soft glow breathing behind it; an action pill in the card's colour. The address as a rounded strip, the request
   cards with round icons; soft colour clouds and a dot pattern behind. The cards rise into view (Page motion).
   ---------------------------------------------------------------------------- */
.contact-section {
    position: relative;
    isolation: isolate;
    overflow: hidden
}

.contact-section::before {
    content: "";
    position: absolute;
    inset: -10% -5%;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(38% 42% at 12% 18%, #ffd9b0aa 0, #ffd9b000 70%),
        radial-gradient(40% 45% at 88% 70%, #bcdcf5aa 0, #bcdcf500 70%),
        radial-gradient(circle, #123c5b14 1.2px, transparent 1.4px) 0 0 / 22px 22px
}

[dir=rtl] .contact-section::before {
    background:
        radial-gradient(38% 42% at 88% 18%, #ffd9b0aa 0, #ffd9b000 70%),
        radial-gradient(40% 45% at 12% 70%, #bcdcf5aa 0, #bcdcf500 70%),
        radial-gradient(circle, #123c5b14 1.2px, transparent 1.4px) 0 0 / 22px 22px
}

.contact-section .contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    padding-top: 62px
}

.contact-section .contact-info {
    --c1: #ffc37a;
    --c2: #f28c28;
    --c3: #c45f0c;
    --glow: #f28c2866;
    --tint: #fff1e2;
    --ring: #f28c2866;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    min-height: 0;
    padding: 74px 18px 24px;
    text-align: center;
    background: linear-gradient(180deg, #fff, #fbfdff);
    border: 1px solid #e2eaf1;
    border-radius: 30px;
    box-shadow: 0 22px 46px #123c5b14;
    transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s ease, border-color .2s ease
}

.contact-section .contact-info:nth-child(2) {
    --c1: #5b9be0;
    --c2: #1f5f9e;
    --c3: #123c66;
    --glow: #1f5f9e5c;
    --tint: #e8f1fb;
    --ring: #1f5f9e55
}

.contact-section .contact-info:nth-child(3) {
    --c1: #6ee7a0;
    --c2: #22a55b;
    --c3: #15803d;
    --glow: #22a55b5c;
    --tint: #e6f8ee;
    --ring: #22a55b55
}

.contact-section .contact-info:nth-child(4) {
    --c1: #7dd3fc;
    --c2: #2084cc;
    --c3: #1b60ac;
    --glow: #2084cc5c;
    --tint: #e6f3fc;
    --ring: #2084cc55
}

.contact-section .contact-symbol {
    position: absolute;
    top: -58px;
    left: 50%;
    display: grid;
    place-items: center;
    width: 116px;
    height: 116px;
    margin: 0 0 0 -58px;
    border: 5px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 0;
    background: radial-gradient(circle at 32% 26%, var(--c1), var(--c2) 58%, var(--c3));
    box-shadow: 0 18px 34px var(--glow), inset 0 -8px 16px #0000002e, inset 0 6px 12px #ffffff55;
    transition: transform .45s cubic-bezier(.2, .8, .2, 1)
}

.contact-section .contact-symbol::before {
    content: "";
    position: absolute;
    inset: -14px;
    border: 2px dashed var(--ring);
    border-radius: 50%;
    animation: mma-ring-turn 22s linear infinite
}

.contact-section .contact-symbol::after {
    content: "";
    position: absolute;
    inset: -30px;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, var(--glow) 0, transparent 68%);
    animation: mma-glow-breathe 3.4s ease-in-out infinite
}

.contact-section .contact-symbol svg {
    width: 46px;
    height: 46px;
    filter: drop-shadow(0 2px 3px #0003);
    transition: transform .45s cubic-bezier(.2, .8, .2, 1)
}

.contact-section .contact-info > span:last-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px
}

.contact-section .contact-info small {
    color: #5c7387;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .03em
}

.contact-section .contact-info strong {
    color: #102d45;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: anywhere
}

.contact-section .contact-info em {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--tint);
    color: var(--c3);
    font-size: 12.5px;
    font-style: normal;
    font-weight: 800
}

.contact-section .contact-info em::after {
    content: "\2192";
    transition: transform .3s cubic-bezier(.2, .8, .2, 1)
}

[dir=rtl] .contact-section .contact-info em::after {
    content: "\2190"
}

.contact-section .contact-address {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 720px;
    margin: 34px auto 0;
    padding: 14px 28px 14px 14px;
    border: 1px solid #e2eaf1;
    border-radius: 999px;
    background: linear-gradient(90deg, #fff, #f6f9fc);
    box-shadow: 0 16px 36px #123c5b12
}

[dir=rtl] .contact-section .contact-address {
    padding: 14px 14px 14px 28px;
    background: linear-gradient(270deg, #fff, #f6f9fc)
}

.contact-section .contact-address-icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: #fff;
    background: radial-gradient(circle at 32% 26%, #ffc37a, #f28c28 58%, #d96a10);
    box-shadow: 0 10px 22px #f28c2855, inset 0 -5px 10px #0000002a
}

.contact-section .contact-address-icon svg {
    width: 28px;
    height: 28px
}

.contact-section .contact-address strong {
    color: #102d45;
    font-size: 15px
}

.contact-section .contact-address p {
    margin: 2px 0 0;
    color: #48647a
}

.contact-section .contact-grid {
    gap: 22px;
    margin-top: 40px
}

.contact-section .contact-card {
    position: relative;
    overflow: hidden;
    padding: 30px 26px 26px;
    border: 1px solid #e2eaf1;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 40px #123c5b12
}

.contact-section .contact-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #f28c28, #ffb45f, #2084cc)
}

[dir=rtl] .contact-section .contact-card::before {
    background: linear-gradient(270deg, #f28c28, #ffb45f, #2084cc)
}

.contact-section .contact-card-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 16px;
    border-radius: 50%;
    color: #fff;
    background: radial-gradient(circle at 32% 26%, #5b9be0, #1f5f9e 58%, #123c66);
    box-shadow: 0 12px 24px #1f5f9e44, inset 0 -5px 10px #0000002a
}

.contact-section .contact-card-icon svg {
    width: 28px;
    height: 28px
}

@keyframes mma-ring-turn {
    to {
        transform: rotate(360deg)
    }
}

@keyframes mma-glow-breathe {
    0%, 100% {
        opacity: .55;
        transform: scale(.94)
    }

    50% {
        opacity: 1;
        transform: scale(1.04)
    }
}

/* With a mouse: the card lifts, the medallion grows a little, its icon tips, its ring turns faster */
@media(hover:hover) and (pointer:fine) {
    .contact-section .contact-info:hover {
        transform: translateY(-8px);
        box-shadow: 0 30px 60px #123c5b24
    }

    .contact-section .contact-info:hover .contact-symbol {
        transform: scale(1.05)
    }

    .contact-section .contact-info:hover .contact-symbol svg {
        transform: rotate(-10deg) scale(1.08)
    }

    .contact-section .contact-info:hover .contact-symbol::before {
        animation-duration: 5s
    }

    .contact-section .contact-info:hover em::after {
        transform: translateX(3px)
    }

    [dir=rtl] .contact-section .contact-info:hover em::after {
        transform: translateX(-3px)
    }

    .contact-section .contact-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 28px 56px #123c5b22
    }
}

@media(max-width:1100px) {
    .contact-section .contact-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 84px
    }
}

@media(max-width:560px) {
    .contact-section .contact-info-grid {
        gap: 14px;
        row-gap: 62px;
        padding-top: 44px
    }

    .contact-section .contact-info {
        padding: 52px 10px 18px;
        border-radius: 24px
    }

    .contact-section .contact-symbol {
        top: -41px;
        width: 82px;
        height: 82px;
        margin-left: -41px;
        border-width: 4px
    }

    .contact-section .contact-symbol::before {
        inset: -9px
    }

    .contact-section .contact-symbol svg {
        width: 34px;
        height: 34px
    }

    .contact-section .contact-info strong {
        font-size: 14.5px
    }

    .contact-section .contact-info em {
        padding: 6px 11px;
        font-size: 11.5px
    }

    .contact-section .contact-address {
        border-radius: 22px;
        padding: 12px 16px 12px 12px
    }

    [dir=rtl] .contact-section .contact-address {
        padding: 12px 12px 12px 16px
    }
}

/* Reduced motion: the rings and glows hold still */
@media(prefers-reduced-motion:reduce) {
    .contact-section .contact-symbol::before,
    .contact-section .contact-symbol::after {
        animation: none
    }
}

/* ----------------------------------------------------------------------------
   Request forms in steps (2026-11-19, js/request-steps.js): the three sections side by side, one shown at a time,
   sliding from the reading side; a step bar above (current step orange, finished steps navy with a tick, the line
   between them filling orange) and Back / Step x of y / Next below, the submit button in Next's place on the last
   step. Without JavaScript (no .is-stepped) the step parts stay hidden and the sections follow one another.
   ---------------------------------------------------------------------------- */
.request-form:not(.is-stepped) .form-steps,
.request-form:not(.is-stepped) .form-step-current {
    display: none
}

.form-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 2px 0 26px;
    padding: 0;
    list-style: none
}

.form-steps li {
    position: relative;
    min-width: 0
}

/* The line to the next step: grey, filled orange once that step is reached */
.form-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20px;
    inset-inline-start: 52px;
    inset-inline-end: 14px;
    height: 3px;
    border-radius: 3px;
    background: #dde6ee
}

.form-steps li.is-done:not(:last-child)::after {
    background: #f28c28
}

.form-steps button {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    padding: 0;
    padding-inline-end: 10px;
    border: 0;
    background: #fff;
    color: inherit;
    font: inherit;
    text-align: start;
    cursor: pointer
}

.form-step-number {
    flex: none;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 2px solid #d4dfe8;
    border-radius: 50%;
    background: #fff;
    color: #5c7387;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
    transition: background-color .3s ease, border-color .3s ease, color .3s ease, box-shadow .3s ease
}

.form-step-name {
    overflow: hidden;
    color: #5c7387;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .3s ease
}

.form-steps li.is-current .form-step-number {
    border-color: #f28c28;
    background: #f28c28;
    color: #fff;
    box-shadow: 0 6px 16px #f28c2855
}

.form-steps li.is-current .form-step-name {
    color: #102d45
}

.form-steps li.is-done .form-step-number {
    border-color: #123c66;
    background: #123c66;
    color: #123c66;
    font-size: 0
}

/* A finished step shows a tick instead of its number, drawn centred in the circle (pinned to the middle: the hidden
   number would otherwise take a grid row of its own and push the tick up) */
.form-steps li.is-done .form-step-number {
    position: relative
}

.form-steps li.is-done .form-step-number::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.4l3.3 3.3L14 6' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px 18px no-repeat
}

.form-steps li.is-done .form-step-name {
    color: #123c66
}

/* A step passed with a required answer missing (opened ahead from the step bar): a red cross in a red circle, drawn
   like the tick, with a small pop as it appears; the way along the bar still shows how far the visitor is */
.form-steps li.is-missing:not(:last-child)::after {
    background: #f28c28
}

.form-steps li.is-missing .form-step-number {
    position: relative;
    border-color: #d92d20;
    background: #d92d20;
    color: #d92d20;
    font-size: 0;
    box-shadow: 0 6px 16px #d92d2040;
    animation: mma-step-missing .4s cubic-bezier(.34, 1.56, .64, 1)
}

.form-steps li.is-missing .form-step-number::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 4.2l7.6 7.6M11.8 4.2l-7.6 7.6' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat
}

.form-steps li.is-missing .form-step-name {
    color: #b42318
}

@keyframes mma-step-missing {
    0% { transform: scale(.7) }
    100% { transform: scale(1) }
}

@media(prefers-reduced-motion:reduce) {
    .form-steps li.is-missing .form-step-number {
        animation: none
    }
}

.form-steps button:focus-visible {
    outline: 2px solid #123c66;
    outline-offset: 4px;
    border-radius: 999px
}

.form-step-current {
    display: none
}

/* The track shows one step and takes its height; the steps slide inside it */
.request-form.is-stepped .form-track {
    overflow: hidden;
    transition: height .45s cubic-bezier(.2, .8, .2, 1)
}

.request-form.is-stepped .form-slides {
    display: flex;
    align-items: flex-start;
    transition: transform .5s cubic-bezier(.2, .8, .2, 1)
}

.request-form.is-stepped .form-slide {
    position: relative;
    flex: 0 0 100%;
    min-width: 0;
    padding: 2px 2px 6px
}

/* The step bar names the section: its title is kept for screen readers only */
.request-form.is-stepped .form-slide > .form-section-title {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap
}

/* Steps not shown are inert: their titles are not there for anyone */
.request-form.is-stepped .form-slide[inert] > .form-section-title {
    display: none
}

.request-form.is-stepped .form-actions {
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #e4ecf2
}

.request-form.is-stepped .form-actions .btn {
    min-width: 150px;
    justify-content: center
}

.request-form.is-stepped .form-actions [hidden] {
    display: none
}

.form-step-count {
    flex: 1;
    color: #5c7387;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-align: center
}

/* Next names the step it leads to: "Next: Spare Parts ->" */
.request-form .form-step-next,
.request-form .form-step-back {
    gap: 0
}

.form-step-next-name::before {
    content: ": "
}

.form-step-next::after {
    content: "\2192";
    margin-inline-start: 8px
}

.form-step-back::before {
    content: "\2190";
    margin-inline-end: 8px
}

[dir=rtl] .form-step-next::after {
    content: "\2190"
}

[dir=rtl] .form-step-back::before {
    content: "\2192"
}

/* The first step: the way back to the service sits where Back will be */
.request-form.is-stepped .form-actions .form-step-back + .form-step-count {
    order: 0
}

.request-form.is-stepped .form-actions > a.btn {
    order: -1
}

@media(prefers-reduced-motion:reduce) {
    .request-form.is-stepped .form-track,
    .request-form.is-stepped .form-slides {
        transition: none
    }
}

/* Phones: numbered circles, the current step's name under them; Back and Next side by side */
@media(max-width:560px) {
    .form-steps {
        margin-bottom: 8px
    }

    .form-steps li {
        display: flex;
        justify-content: center
    }

    .form-steps li:not(:last-child)::after {
        inset-inline-start: calc(50% + 24px);
        inset-inline-end: calc(-50% + 24px)
    }

    .form-steps button {
        padding: 0
    }

    .form-step-name {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%)
    }

    .request-form.is-stepped .form-step-current {
        display: block;
        margin: 2px 0 20px;
        color: #102d45;
        font-size: 15px;
        font-weight: 800;
        text-align: center
    }

    .request-form.is-stepped .form-actions {
        flex-wrap: wrap
    }

    .form-step-count {
        order: -2 !important;
        width: 100%;
        flex: 1 1 100%
    }

    /* Two buttons share a row: a little less padding at the sides, and a long name ("Retour au service") wraps
       rather than being cut off where a phone draws the font a touch wider */
    .request-form.is-stepped .form-actions .btn {
        flex: 1 1 0;
        min-width: 0;
        padding-inline: 12px;
        white-space: normal;
        text-align: center
    }

    /* The last step: the submit button names the whole request, so it takes the full row, with Back under it */
    .request-form.is-stepped .form-actions [type=submit] {
        order: -1;
        flex-basis: 100%;
        white-space: normal;
        text-align: center
    }

    .request-form.is-stepped .form-actions:has([type=submit]:not([hidden])) .form-step-back {
        flex-basis: 100%
    }

    /* The first step, the same way: Next takes the full row, the way back to the service under it (its name is too
       long to share a row in French) */
    .request-form.is-stepped .form-actions > a.btn {
        order: 1;
        flex-basis: 100%
    }

    .request-form.is-stepped .form-actions:has(> a.btn:not([hidden])) .form-step-next {
        flex-basis: 100%
    }

    .form-step-next-name {
        display: none
    }
}

/* ----------------------------------------------------------------------------
   Service pictures (2026-11-21): js/service-gallery.js slides a card's pictures under its gradient and number, runs
   the service page's slideshow (the whole pictures, at the cover's proportions) and the full-screen viewer.
   ---------------------------------------------------------------------------- */
.service-card .photo.has-slides {
    overflow: hidden
}

.service-card .photo .photo-slides {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0
}

.service-card .photo .photo-track {
    display: flex;
    height: 100%;
    transition: transform .6s cubic-bezier(.4, 0, .2, 1)
}

.service-card .photo .photo-slide {
    flex: 0 0 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat
}

.service-card .photo.has-slides:after {
    z-index: 1
}

.service-card .photo.has-slides .num {
    z-index: 2
}

.detail-gallery .gallery-frame {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    touch-action: pan-y
}

.detail-gallery .gallery-track {
    display: flex;
    transition: transform .6s cubic-bezier(.4, 0, .2, 1)
}

.detail-gallery .gallery-slide {
    flex: 0 0 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
    display: flex;
    align-items: center;
    justify-content: center
}

.detail-gallery .gallery-slide:not(:first-child) {
    display: none
}

.detail-gallery .gallery-slide:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: -3px
}

/* Once the cover is known: a frame of its proportions, every picture whole inside it */
.detail-gallery.is-ready {
    width: min(100%, calc(min(78vh, 760px) * var(--ratio-value, 1.333) + 24px))
}

.detail-gallery.is-ready .gallery-frame {
    aspect-ratio: var(--ratio, 4 / 3);
    background: #eef3f7
}

.detail-gallery.is-ready .gallery-track {
    height: 100%
}

.detail-gallery.is-ready .gallery-slide:not(:first-child) {
    display: flex
}

.detail-gallery.is-ready .gallery-slide img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    border-radius: 0
}

.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding-top: 12px
}

.gallery-controls[hidden] {
    display: none
}

.gallery-pause {
    flex: none;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid #d7e3eb;
    border-radius: 50%;
    background: #fff;
    color: #123c66;
    cursor: pointer
}

.gallery-pause svg {
    width: 16px;
    height: 16px;
    fill: currentColor
}

.gallery-pause .icon-play,
.gallery-pause.is-paused .icon-pause {
    display: none
}

.gallery-pause.is-paused .icon-play {
    display: inline
}

.gallery-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 4px
}

.gallery-dot {
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    display: grid;
    place-items: center
}

.gallery-dot::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #b9cad7;
    transition: background .2s ease, transform .2s ease
}

.gallery-dot[aria-current=true]::before {
    background: var(--orange);
    transform: scale(1.3)
}

.gallery-pause:focus-visible,
.gallery-dot:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 2px
}

@media(max-width:900px) {
    .detail-gallery.is-ready {
        width: 100%
    }
}

/* The viewer: the picture as large as fits, whole, on a dark backdrop */
html.viewer-open {
    overflow: hidden
}

.gallery-viewer {
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #07121df2;
    color: #fff;
    overflow: hidden
}

.gallery-viewer::backdrop {
    background: #07121d
}

.gallery-viewer .viewer-stage {
    position: absolute;
    inset: 56px 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: pan-y
}

.gallery-viewer .viewer-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
    user-select: none;
    -webkit-user-drag: none
}

.gallery-viewer button {
    position: absolute;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid #ffffff40;
    border-radius: 50%;
    background: #07121dcc;
    color: #fff;
    cursor: pointer
}

.gallery-viewer button[hidden] {
    display: none
}

.gallery-viewer button svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.gallery-viewer button:hover {
    background: #123c66
}

.gallery-viewer button:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 2px
}

.gallery-viewer .viewer-close {
    top: 10px;
    inset-inline-end: 10px
}

.gallery-viewer .viewer-previous,
.gallery-viewer .viewer-next {
    top: calc(50% - 23px)
}

.gallery-viewer .viewer-previous {
    inset-inline-start: 10px
}

.gallery-viewer .viewer-next {
    inset-inline-end: 10px
}

[dir=rtl] .gallery-viewer .viewer-previous svg,
[dir=rtl] .gallery-viewer .viewer-next svg {
    transform: scaleX(-1)
}

.gallery-viewer .viewer-count {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    margin: 0;
    text-align: center;
    font: 700 14px Manrope, sans-serif;
    color: #ffffffd9
}

@media(max-width:560px) {
    .gallery-viewer .viewer-stage {
        inset: 60px 8px 48px
    }

    .gallery-viewer .viewer-previous,
    .gallery-viewer .viewer-next {
        top: auto;
        bottom: 6px
    }
}

@media(prefers-reduced-motion:reduce) {
    .service-card .photo .photo-track,
    .detail-gallery .gallery-track,
    .gallery-dot::before {
        transition: none
    }
}
