:root {
  --ink: #251d19;
  --steel: #57544e;
  --orange: #ff7919;
  --accent: #953811;
  --paper: #f8f4ed;
  --line: #dfd4c7;
  --white: #fff;
  --heading: "Aptos Display", "Arial", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, p, figure { margin: 0; }
h1, h2 { font-family: var(--heading); letter-spacing: -.055em; line-height: 1; }
h2 { font-size: clamp(1.8rem, 4.25vw, 3.35rem); }
:focus-visible { outline: 3px solid #a8480e; outline-offset: 4px; }
.wrap { width: min(1250px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; z-index: 4; top: 10px; left: 10px; background: white; padding: 10px; transform: translateY(-150%); }
.skip:focus { transform: none; }

.site-header { background: var(--ink); color: white; }
.nav-surface { border-top: 4px solid #a34b26; background: var(--white); color: var(--ink); border-bottom: 1px solid var(--line); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 93px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; }
.brand-mark, .brand-type { display: block; background: url('assets/equipcal.webp') no-repeat; mix-blend-mode: multiply; }
.brand-mark { width: 66px; height: 74px; background-size: 130px auto; background-position: -32px -9px; }
.brand-type { width: 178px; height: 47px; background-size: 234px auto; background-position: -29px -151px; }
#navigation { display: flex; gap: clamp(12px, 2.7vw, 36px); align-items: center; }
#navigation a { font-weight: 700; font-size: .88rem; padding-block: 9px; white-space: nowrap; }
#navigation a:hover, #navigation a[aria-current] { color: var(--accent); }
#navigation a[aria-current] { box-shadow: inset 0 -2px var(--orange); }
.menu-toggle { display: none; }
#navigation .nav-client-menu { display: none; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px;
  padding: 9px 15px; border: 1px solid transparent; border-radius: 4px; color: #251d19;
  background: var(--orange); font-size: .86rem; font-weight: 800; text-align: center;
}
.button:hover { background: #ff9a55; }
.button.outline { background: transparent; border-color: #b4b3ab; color: inherit; }
.button.outline:hover { border-color: currentColor; }
.button:disabled { opacity: .4; cursor: default; }
.button:not(:disabled), .menu-toggle { cursor: pointer; }
.arrow { font-size: 1.12em; line-height: 1; }
.eyebrow { color: var(--accent); font-size: .7rem; font-weight: 800; letter-spacing: .12em; }

.home-hero {
  min-height: clamp(500px, 45vw, 690px); display: grid; align-items: center; position: relative;
  isolation: isolate; overflow: hidden; background: #251d19; color: white;
}
.hero-grid { position: relative; z-index: 1; padding-block: clamp(65px, 7vw, 105px); }
.hero-copy .eyebrow, .home-cta .eyebrow { color: #ffb384; }
.hero-copy .eyebrow::before { content: ""; display: inline-block; width: 22px; height: 2px; margin-right: 10px; vertical-align: middle; background: #ff9955; }
.hero-copy h1 { margin-block: 17px 22px; font-size: clamp(3.2rem, 6.4vw, 6.65rem); line-height: .99; }
.hero-copy h1 em { color: #ff9955; font-style: normal; }
.hero-copy h1 + p { max-width: 415px; color: #f0f1f1; }
.actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.hero-copy .outline { border-color: #a2aab1; background: #251d1980; }
.hero-photo { position: absolute; inset: 0 0 0 28%; overflow: hidden; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #251d19 0%, #251d19db 15%, #31201662 47%, #251d190b 87%), linear-gradient(0deg, #32170780, transparent 70%);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 48%; }
.hero-photo figcaption { position: absolute; z-index: 1; bottom: 12px; right: 14px; background: #251d19ec; color: #fff; padding: 5px 8px; font-size: .65rem; letter-spacing: .08em; }
.home-catalogue { background: #f3ebdf url("assets/relief.svg") no-repeat right -80px top -80px / 700px auto; }
.catalogue-group { margin-top: 24px; scroll-margin-top: 16px; }
.group-heading {
  --sector: #8e381b;
  display: flex; align-items: center; gap: 12px; min-height: 68px;
  margin-bottom: 12px; padding: 10px 17px; border-radius: 7px; color: white;
  background: url("assets/relief.svg") no-repeat right -30px center / 430px auto, var(--sector);
}
#mine .group-heading { --sector: #342720; }
#autres-equipements .group-heading { --sector: #26514d; }
.group-heading h3 { margin: 0; font: 800 clamp(1.12rem, 2.1vw, 1.6rem)/1.15 var(--heading); }
.group-number { padding: 6px 9px; border: 1px solid #ffffff60; border-radius: 4px; font: 750 .73rem/1 ui-monospace, monospace; }
.family-section .model-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr)); }
@media (max-width: 450px) {
  .family-section .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

#engins, #contact { scroll-margin-top: 18px; }

.block { padding-block: clamp(35px, 6vw, 78px); }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 23px; }
.section-top h2, .about-copy h2, .contact-info h2 { margin-top: 7px; }
.text-link { color: var(--accent); font-weight: 750; text-decoration: underline; text-underline-offset: 4px; font-size: .9rem; }
.text-link:hover { color: var(--ink); }
.quick-search { max-width: 690px; margin-bottom: 25px; }
.quick-search > div { display: flex; align-items: stretch; gap: 8px; }
.quick-search .button { flex: none; }
.home-cta { background: var(--ink) url("assets/relief.svg") no-repeat right -95px center / 620px auto; color: white; padding-block: 35px; }
.home-cta > div { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.home-cta h2 { margin-block: 7px 10px; }

.category-grid, .model-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.category-card, .model-card {
  display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 7px;
  background: var(--white); transition: border-color .18s, box-shadow .18s;
}
.category-card:hover, .model-card:hover { border-color: #a8480e; box-shadow: 0 5px 14px #251d1914; }
.category-card .arrow, .model-card .arrow { transition: transform .2s; }
.category-card:hover .arrow, .model-card:hover .arrow { transform: translate(2px, -2px); }
.card-top { display: flex; justify-content: space-between; align-items: center; padding: 11px 13px 0; color: var(--accent); font: 750 .78rem/1 ui-monospace, monospace; }
.category-card > img { width: 100%; height: clamp(122px, 13.5vw, 194px); padding: 9px 13px; object-fit: contain; }
.model-image img { width: 100%; height: clamp(110px, 12vw, 174px); padding: 8px; object-fit: contain; }
.card-caption { display: block; flex: 1; position: relative; padding: 10px 14px 14px; border-top: 1px solid #ecebe6; }
.card-caption small { display: block; color: var(--accent); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.card-caption strong { display: block; overflow-wrap: anywhere; margin-top: 3px; font: 800 clamp(1rem, 1.8vw, 1.26rem)/1.18 var(--heading); }
.category-card .card-caption { background: #f8f7f3; border-radius: 0 0 6px 6px; }
.category-card .card-caption small { margin-top: 6px; }
.model-card .card-caption { padding-right: 31px; }
.model-card .arrow { position: absolute; right: 11px; top: 14px; color: var(--accent); }
.product-tile, .marine-fleet, .product-hero { position: relative; }
.product-tile .model-card { display: flex; height: 100%; }
.product-favorite {
  position: absolute; z-index: 2; top: .62rem; right: .62rem;
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid #d9cec3; border-radius: 50%; background: #fff;
  color: #963b22; cursor: pointer; box-shadow: 0 2px 8px #251d191c;
}
.product-favorite svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.product-favorite[aria-pressed="true"] { color: #a32432; background: #fff1ef; }
.product-favorite[aria-pressed="true"] svg { fill: currentColor; }
.product-favorite:hover { border-color: currentColor; }
.product-favorite:disabled { opacity: .7; cursor: wait; }
.favorite-feedback {
  position: fixed; z-index: 25; left: 50%; bottom: 1.2rem; transform: translateX(-50%);
  width: max-content; max-width: calc(100% - 2rem); padding: .55rem .95rem;
  border-radius: .5rem; background: var(--ink); color: #fff; font-size: .88rem;
}
.favorite-signin {
  width: min(28rem, calc(100vw - 2rem)); padding: 1.4rem;
  color: var(--ink); background: #fffaf5; border: 1px solid var(--line);
  border-top: 4px solid var(--accent); border-radius: .75rem; box-shadow: 0 1.2rem 3rem #21171045;
}
.favorite-signin::backdrop { background: #211710ac; }
.favorite-signin h2 { font-size: 1.45rem; }
.favorite-signin p { margin-top: .6rem; }
.favorite-signin-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.favorite-signin-close {
  margin-top: .85rem; padding: .3rem 0; border: 0; background: none; color: var(--accent);
  font: inherit; text-decoration: underline; cursor: pointer;
}
.quote-products { padding: .85rem 1rem; background: #fff6ec; border: 1px solid #eacdb7; border-radius: .55rem; }
.quote-products h3 { margin: 0; font-size: 1rem; }
.quote-products ul { padding-left: 1.15rem; margin: .35rem 0 0; }
.model-type { display: block; font-size: .78rem; margin-top: 4px; color: var(--steel); overflow-wrap: anywhere; }
.no-image { display: grid; place-items: center; height: clamp(114px, 12vw, 170px); background: #efeee8; color: var(--steel); font-size: .85rem; font-weight: 700; }

.page-head { background: #f0e7db url("assets/relief.svg") no-repeat right -85px center / 650px auto; border-bottom: 1px solid var(--line); padding-block: 21px clamp(30px, 4.5vw, 57px); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; color: var(--steel); font-size: .79rem; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs a:hover { color: var(--accent); }
.page-head h1, .product-hero h1 { font-size: clamp(2.65rem, 6vw, 5.5rem); margin-block: 8px 12px; overflow-wrap: anywhere; }
.page-intro { max-width: 610px; color: var(--steel); font-size: 1.04rem; }
.page-head-grid { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.page-head-grid > img { width: min(30%, 310px); height: clamp(95px, 13vw, 180px); object-fit: contain; border-radius: 6px; background: var(--white); padding: 8px; }
.category-section, .family-section { padding-bottom: 0; }
.model-browser { scroll-margin-top: 20px; }
.filter-form { display: grid; grid-template-columns: minmax(200px, 1.4fr) repeat(2, minmax(150px, .75fr)) auto; align-items: end; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 7px; background: #eeece6; }
.filter-form .button { min-height: 43px; }
label { display: grid; gap: 5px; font-size: .79rem; font-weight: 750; }
input, select, textarea { width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid #aeada5; border-radius: 4px; background: white; color: var(--ink); font-size: .92rem; }
input, select { min-height: 43px; }
textarea { resize: vertical; }
.results-count, .form-note { font-size: .83rem; color: var(--steel); margin-block: 12px; }
.empty-state { border: 1px dashed #aeada5; padding: 16px; border-radius: 7px; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 23px; font-size: .85rem; }

.about-grid, .service-grid, .contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(17px, 4vw, 46px); }
.about-grid { align-items: center; }
.about-photo { overflow: hidden; border-radius: 7px; background: #f0e7db; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; }
.about-photo figcaption, .product-visual figcaption { padding: 6px 10px; color: var(--steel); font-size: .75rem; }
.about-copy p:not(.eyebrow), .service-card h2 + p { margin-top: 13px; color: var(--steel); }
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
  gap: clamp(12px, 2vw, 24px); list-style: none; padding: 0; margin: 0;
}
.team-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.team-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 38%; }
.team-card-copy { padding: 15px 16px 18px; border-top: 3px solid var(--field-edge, #c46b40); }
.team-card h3 { margin: 0 0 5px; font-size: clamp(1.12rem, 2vw, 1.45rem); }
.team-card p, .team-note { color: var(--steel); font-size: .88rem; }
.about-copy .button, .service-card .button { margin-top: 20px; }
.service-card, .quote-form { background: var(--white); border: 1px solid var(--line); border-radius: 7px; padding: clamp(17px, 3.25vw, 34px); }
.service-card h2, .quote-form h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); margin-top: 7px; }
.contact-grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
address { display: grid; gap: 7px; font-style: normal; overflow-wrap: anywhere; margin-top: 14px; }
address a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.contact-info address a { color: var(--accent); font-weight: 750; }
.quote-form { display: grid; gap: 15px; scroll-margin-top: 24px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.quote-form .button { justify-self: start; }
.quote-form .form-note { margin: 0; }
.quote-form label > span { font-weight: 500; }

.product-page { padding-block: 23px clamp(35px, 6vw, 78px); }
.product-hero { background: var(--ink) url("assets/relief.svg") no-repeat right -180px bottom -130px / 690px auto; color: white; border-radius: 8px; padding: clamp(19px, 4vw, 47px); }
.product-hero h1 { text-wrap: balance; }
.product-hero.has-photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: center; gap: 25px; }
.product-copy .eyebrow { color: #ffb384; }
.product-copy p:not(.eyebrow) { max-width: 480px; color: #e1e3e5; }
.product-copy .button { margin-top: 20px; }
.product-visual { background: white; border-radius: 6px; }
.product-visual img { width: 100%; height: clamp(170px, 24vw, 310px); padding: 14px; object-fit: contain; }
.product-specs, .product-related { margin-top: 34px; }
.product-specs h2, .product-related h2 { font-size: clamp(1.7rem, 3.5vw, 2.65rem); margin-bottom: 14px; }
.product-specs dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.product-specs dl div { border: 1px solid var(--line); border-radius: 5px; padding: 11px; background: white; }
.product-specs dt, .product-note { color: var(--steel); font-size: .83rem; }
.product-specs dd { margin: 3px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.product-note { margin-top: 12px; }
.related-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.related-links a { display: block; background: white; color: var(--accent); border: 1px solid var(--line); border-radius: 5px; padding: 8px 11px; font-weight: 700; }
.related-links a:hover { border-color: var(--accent); }
.product-back { display: inline-block; margin-top: 24px; }

.footer { background: #2a241f; color: #f5f3ef; padding-block: 27px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr .85fr 1fr; gap: 16px; font-size: .83rem; }
.footer strong { display: block; margin-bottom: 4px; color: #ffb384; font-size: 1.2rem; }
.footer nav { display: flex; flex-wrap: wrap; align-content: start; gap: 7px 13px; }
.footer address { margin: 0; }
.footer a:hover { color: #ffb384; }
.footer a:focus-visible, .home-hero a:focus-visible, .product-hero a:focus-visible { outline-color: #ffb384; }

@media (max-width: 960px) {
  .wrap { width: calc(100% - 48px); }
  .nav-shell { gap: 12px; }
  .brand-mark { width: 53px; height: 60px; background-size: 104px auto; background-position: -25px -7px; }
  .brand-type { width: 142px; height: 37px; background-size: 185px auto; background-position: -23px -119px; }
  #navigation { gap: 13px; }
  .nav-client { padding-inline: 9px; }
  .filter-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-form .button { justify-self: start; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .nav-shell { min-height: 69px; flex-wrap: wrap; }
  .menu-toggle:not([hidden]) { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; padding: 7px 9px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 4px; font-weight: 750; }
  .menu-toggle:not([hidden]) + #navigation { display: none; }
  .menu-toggle[aria-expanded="true"] + #navigation, #navigation { display: flex; flex-basis: 100%; flex-wrap: wrap; padding-bottom: 10px; }
  .nav-client { display: none; }
  .about-grid, .service-grid, .contact-grid, .product-hero.has-photo { grid-template-columns: minmax(0, 1fr); }
  .home-hero { min-height: 0; grid-template-columns: minmax(0, 1fr); }
  .hero-photo { position: relative; inset: auto; height: clamp(190px, 50vw, 350px); }
  .hero-photo img { object-position: center 51%; }
  .hero-photo::after { background: linear-gradient(0deg, #251d19, transparent 38%); }
  .hero-grid { padding-block: 18px 34px; }
  .hero-copy h1 { font-size: clamp(2.5rem, 9.8vw, 4.7rem); }
  .category-grid, .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .page-head-grid { align-items: end; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer nav { padding-block: 4px; }
}
@media (max-width: 450px) {
  .brand { gap: 5px; }
  .section-top, .home-cta > div { align-items: start; flex-direction: column; }
  .quick-search .button { padding-inline: 8px; }
  .filter-form, .form-row, .product-specs dl { grid-template-columns: minmax(0, 1fr); }
  .page-head-grid > img { display: none; }
  .pagination { gap: 7px; }
  .pagination .button { font-size: .75rem; padding-inline: 7px; }
}
@keyframes slide-in {
  from { opacity: .15; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes photo-in {
  from { transform: translateX(3%) scale(1.045); }
  to { transform: translateX(0) scale(1); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .page-head-grid, .product-hero { animation: slide-in .58s cubic-bezier(.2,.68,.24,1) both; }
  .hero-photo img { animation: photo-in .85s cubic-bezier(.2,.68,.24,1) both; }
  .is-revealed { animation: slide-in .5s cubic-bezier(.2,.68,.24,1) both; }
  .is-revealed:focus-within { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .category-card, .model-card, .category-card .arrow, .model-card .arrow { transition: none; }
  .category-card:hover .arrow, .model-card:hover .arrow { transform: none; }
}

.official-brands { background: #f0e7db; color: var(--ink); border-top: 1px solid var(--line); padding: 24px 0; }
.footer { padding-top: 0; }
.footer-inner { padding-top: 27px; }
.official-brands h2 { font-size: clamp(1.15rem, 2.2vw, 1.65rem); margin-bottom: 14px; }
.official-brands ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.official-brands li { display: grid; place-items: center; background: white; border: 1px solid var(--line); border-radius: 5px; min-height: 83px; padding: 9px; }
.official-brands img { width: 145px; height: 59px; object-fit: contain; }
.photo-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); gap: 12px; }
.photo-gallery figure { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: white; }
.photo-gallery img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: contain; }
.photo-gallery figcaption { padding: 8px 10px; color: var(--steel); font-size: .8rem; }
@media (max-width: 650px) {
  .official-brands ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .official-brands li { min-height: 61px; }
  .official-brands img { height: 42px; }
}

.photo-gallery a { display: block; }
.photo-gallery a:focus-visible { outline-offset: -4px; }
.photo-gallery a:hover { background: #f0e7db; }

.equip-assistant { position: fixed; z-index: 6; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
.equip-assistant svg { width: 25px; height: 25px; flex: none; }
.assistant-launcher { display: flex; align-items: center; gap: 8px; margin-left: auto; padding: 9px 14px; background: var(--ink); color: white; border: 1px solid #45484c; border-radius: 99px; box-shadow: 0 6px 20px #251d1952; font-weight: 750; cursor: pointer; }
.assistant-launcher svg { color: var(--orange); }
.assistant-panel { position: absolute; right: 0; bottom: calc(100% + 9px); width: min(355px, calc(100vw - 32px)); max-height: min(570px, calc(100dvh - 105px)); overflow: auto; background: white; border: 1px solid var(--line); border-radius: 11px; box-shadow: 0 8px 28px #251d1940; }
.assistant-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 10px 12px; background: var(--ink); color: white; }
.assistant-head div { display: flex; align-items: center; gap: 9px; }
.assistant-head svg { color: var(--orange); }
.assistant-head h2 { font-size: 1.05rem; letter-spacing: -.015em; }
.assistant-head button { width: 33px; height: 33px; color: white; background: transparent; border: 1px solid #767b80; border-radius: 4px; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.assistant-head button:focus-visible, .assistant-launcher:focus-visible { outline-color: var(--orange); }
.assistant-body { padding: 13px; font-size: .87rem; }
.assistant-shortcuts { display: flex; flex-wrap: wrap; gap: 6px; margin: 9px 0 13px; }
.assistant-shortcuts button { border: 1px solid var(--line); border-radius: 4px; background: var(--paper); padding: 5px 7px; color: var(--ink); cursor: pointer; }
.assistant-shortcuts button:hover { border-color: var(--accent); }
.assistant-form > div { display: flex; gap: 6px; margin-top: 5px; }
.assistant-form .button { min-height: 43px; padding-inline: 10px; }
.assistant-results:not(:empty) { margin-top: 12px; }
.assistant-results a { display: block; margin-top: 5px; color: var(--accent); font-weight: 750; text-decoration: underline; }


/* Each sector keeps its palette and its backdrop from the category to the product. */
body[data-sector="terrassement"] {
  --sector-base: #482719;
  --sector-light: #ffd2ac;
  --sector-photo: url('assets/scenes/terrassement-chantier.webp');
  --sector-position: 50% 56%;
}
body[data-sector="mine"] {
  --sector-base: #30221d;
  --sector-light: #ffc093;
  --sector-photo: url('assets/hero.webp');
  --sector-position: 60% 56%;
  --paper: #f1e9df;
}
body[data-sector="manutention"] {
  --sector-base: #28332c;
  --sector-light: #e8e9b7;
  --sector-photo: url('assets/scenes/manutention-chantier.webp');
  --sector-position: 50% 51%;
  --paper: #f1f2e9;
}
body[data-sector="marine"] {
  --sector-base: #083c41;
  --sector-light: #b1faed;
  --sector-photo: url('assets/lagon-bourail-aerien.webp');
  --sector-position: 50% 50%;
  --ink: #10363a;
  --steel: #3e6365;
  --orange: #8de9d9;
  --accent: #14665d;
  --paper: #eef9f6;
  --line: #c1ddd7;
}

body[data-sector]:not([data-sector=""]) :is(.page-head, .product-hero) {
  background: linear-gradient(90deg, var(--sector-base) 0%, color-mix(in srgb, var(--sector-base) 93%, transparent) 37%, color-mix(in srgb, var(--sector-base) 42%, transparent) 100%),
              var(--sector-photo) var(--sector-position) / cover no-repeat, var(--sector-base);
  color: #fff;
}
body[data-sector]:not([data-sector=""]) .page-head-grid { min-height: clamp(190px, 22vw, 320px); }
body[data-sector]:not([data-sector=""]) :is(.page-head, .product-hero) .eyebrow { color: var(--sector-light); }
body[data-sector]:not([data-sector=""]) .page-head :is(.breadcrumbs, .page-intro) { color: #fff; }
body[data-sector]:not([data-sector=""]) .page-head .breadcrumbs a:hover { color: var(--sector-light); }
body[data-sector]:not([data-sector=""]) .page-head a:focus-visible { outline-color: var(--sector-light); }

#mine .group-heading {
  background: linear-gradient(90deg, #30221d 10%, #30221d70), url('assets/hero.webp') 65% 48% / cover;
}
#terrassement .group-heading {
  background: linear-gradient(90deg, #813817 12%, #4c29168a), url('assets/scenes/terrassement-chantier.webp') 50% 54% / cover;
}
#autres-equipements .group-heading {
  background: linear-gradient(90deg, #28332c 12%, #28332c91), url('assets/scenes/manutention-chantier.webp') 50% 47% / cover;
}
.group-heading { min-height: 79px; }
.group-link { margin-left: auto; color: #d6fff7; font-size: .83rem; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }

[data-sector="marine"] .nav-surface { border-top-color: #349f93; }
[data-sector="marine"] .footer { background: #10383c; }
[data-sector="marine"] .footer strong { color: #b1faed; }
[data-sector="marine"] :is(.official-brands, .filter-form, .category-card .card-caption) { background: #dff1ec; }
[data-sector="marine"] .button:not(.outline):hover { background: #b4f8eb; }

.marine-hero {
  position: relative; isolation: isolate; min-height: clamp(460px, 50vw, 720px);
  display: grid; align-items: center; overflow: hidden; background: #083c41; color: #fff;
}
.marine-photo, .marine-photo::after { position: absolute; inset: 0; }
.marine-photo { z-index: -1; }
.marine-photo::after {
  content: ''; background: linear-gradient(90deg, #063136f5 0%, #063136b3 37%, #06313608 82%),
                         linear-gradient(0deg, #063136a0 0%, transparent 35%);
}
.marine-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: 55% 67%; opacity: 0;
}
.marine-slide:nth-child(2) { object-position: 60% 57%; }
.marine-slide:nth-child(3) { object-position: 60% 41%; }
body[data-page="marine"] #contenu {
  background: linear-gradient(90deg, #eef9f654, #eef9f6e8 32%, #eef9f6e8 68%, #eef9f654),
              url('assets/vagues-lagon.svg') center top / 232px auto repeat, var(--paper);
}
.marine-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url('assets/vagues-lagon.svg') left bottom / 232px auto repeat;
  opacity: .26; mask-image: linear-gradient(100deg, #000 0%, #000b 25%, transparent 60%);
}
.marine-hero-content { position: relative; padding-block: 40px 58px; }
.marine-hero h1 { display: grid; }
.marine-headline { grid-area: 1 / 1; opacity: 0; }
.marine-slide.is-active, .marine-headline.is-active { opacity: 1; }
.marine-slideshow-controls { display: flex; align-items: center; gap: 4px; margin-top: 18px; }
.marine-toggle, .marine-dot {
  display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
  border: 0; color: #fff; background: transparent; border-radius: 50%; cursor: pointer;
}
.marine-toggle { border: 1px solid #d4fff8b5; background: #083c41ac; margin-right: 4px; }
.marine-dot::after { content: ''; width: 8px; height: 8px; border: 1px solid #e6fff9; border-radius: 50%; }
.marine-dot[aria-pressed="true"]::after { background: #b1faed; border-color: #b1faed; }
.marine-slideshow-controls button:focus-visible { outline: 2px solid #b1faed; outline-offset: 2px; }
.marine-hero :is(.eyebrow, .breadcrumbs, .breadcrumbs a:hover) { color: #c1fff3; }
.marine-hero h1 { font-size: clamp(3.6rem, 9.5vw, 8.4rem); margin-block: 10px 18px; }
.marine-hero h1 + p { max-width: 365px; }
.marine-hero .outline { background: #083c41ac; border-color: #d4fff8b5; }
.marine-hero a:focus-visible { outline-color: #b1faed; }
.marine-fleets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 3vw, 29px); }
@media (min-width: 1000px) {
  .marine-fleets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.marine-fleet {
  scroll-margin-top: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: 9px; overflow: hidden; box-shadow: 0 7px 23px #10363a0e;
}
.marine-fleet figure { background: #e4f4f0; }
.marine-fleet img { width: 100%; aspect-ratio: 1.85; object-fit: contain; padding: 16px; }
.marine-fleet.boat-fleet img { object-fit: cover; padding: 0; }
.marine-fleet > div { padding: clamp(16px, 4vw, 32px); }
.marine-fleet h2 { margin-block: 8px 12px; font-size: clamp(1.6rem, 3vw, 2.85rem); }
.marine-fleet h2 + p { color: var(--steel); }
.marine-fleet .button { margin-top: 17px; }
@media (max-width: 930px) {
  .nav-shell .nav-client { display: none; }
  #navigation { flex-wrap: wrap; }
  #navigation .nav-client-menu { display: inline-block; color: var(--accent); }
}
@media (max-width: 600px) {
  .marine-fleets { grid-template-columns: 1fr; }
  .marine-hero::before { background-size: 186px auto; opacity: .20; }
  .marine-slide:first-child { object-position: 63% 58%; }
  .marine-photo::after { background: linear-gradient(90deg, #063136ee, #06313649 100%); }
  .group-link { font-size: .72rem; max-width: 120px; }
}
@media (prefers-reduced-motion: no-preference) {
  .marine-hero-content { animation: slide-in .68s ease-out both; }
  .marine-slide, .marine-headline { transition: opacity .95s ease-in-out; }
}

.marine-fleet.boat-fleet img {
  aspect-ratio: 1.5;
  height: auto;
  object-fit: contain;
  background: #e4f4f0;
}
.motor-finishes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #f3faf8;
  color: #123d3e;
  border-radius: 6px;
  overflow: hidden;
}
.marine-fleet > .motor-finishes {
  aspect-ratio: 1.5;
  padding: 0;
}
.motor-finishes figure {
  display: grid;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) auto;
  background: #f3faf8;
  border-inline-end: 1px solid #cde5df;
}
.motor-finishes figure:last-child { border: 0; }
.motor-finishes img, .marine-fleet .motor-finishes img {
  width: 100%;
  height: clamp(145px, 23vw, 280px);
  aspect-ratio: auto;
  object-fit: contain;
  padding: 10px;
  mix-blend-mode: multiply;
}
.marine-fleet .motor-finishes img { height: 100%; }
.motor-finishes figcaption {
  padding: 8px;
  text-align: center;
  font-weight: 750;
  border-top: 1px solid #cde5df;
}

.pacific-section {
  background: radial-gradient(ellipse at 80% 40%, #284947, #192823 62%);
  color: #fff6ed;
  padding-block: clamp(30px, 7vw, 90px);
}
.pacific-layout { display: grid; grid-template-columns: minmax(210px, .48fr) minmax(0, 1.52fr); align-items: center; gap: clamp(15px, 4vw, 45px); }
.pacific-layout .eyebrow { color: #ffb582; }
.pacific-layout h2 { margin: 8px 0 12px; }
.pacific-layout p + a { margin-top: 18px; }
.pacific-layout img { width: 100%; height: auto; border: 1px solid #77978a; border-radius: 8px; }
.pacific-layout figcaption { margin-top: 7px; color: #d7e8df; font-size: .72rem; }
@media(max-width: 760px) { .pacific-layout { grid-template-columns: 1fr; } }

/* A common terrain texture ties the individual sector palettes together. */
body { background: var(--paper) url('assets/relief.svg') right -190px bottom -310px / 920px auto no-repeat fixed; }
body[data-sector="terrassement"], body[data-sector="territoire"] { --field-edge: #c46b40; }
body[data-sector="mine"] { --field-edge: #b98361; }
body[data-sector="manutention"] { --field-edge: #a1a47b; }
body[data-sector="marine"] { --field-edge: #68b9aa; background: var(--paper); }
body[data-sector="atelier"] { --field-edge: #d39745; --accent: #7d431b; --paper: #f3efe8; }
body[data-sector="territoire"] {
  --sector-base: #332119;
  --sector-light: #ffd2ac;
  --sector-photo: url('assets/hero.webp');
  --sector-position: 64% 57%;
}
body[data-page="contact"] {
  --sector-photo: url('assets/scenes/terrassement-chantier.webp');
  --sector-position: 67% 63%;
}
body[data-page="about"] { --sector-position: 67% 45%; }
.card-top { justify-content: flex-end; }
.group-heading { border-inline-start: 4px solid #e39a70; }
#mine .group-heading { border-inline-start-color: #e1ad88; }
#autres-equipements .group-heading { border-inline-start-color: #b5bd87; }
#marine .group-heading { border-inline-start-color: #90dacc; }
:is(.page-head, .home-hero, .marine-hero, .workshop-hero) { border-bottom: 3px solid var(--field-edge, #c46b40); }
.product-hero { border-inline-start: 3px solid var(--field-edge, #c46b40); }
.footer { border-top: 3px solid var(--field-edge, #c46b40); }
.footer-inner address span { color: #f1d3bd; }
.footer-copyright {
  margin-block-start: 22px; padding-block-start: 14px;
  border-top: 1px solid #fff3; color: #e7dbd1; font-size: .76rem;
}

#marine .group-heading {
  min-height: clamp(125px, 15vw, 185px);
  background: linear-gradient(90deg, #093c45e8 0%, #093c4530 56%, #093c4500),
              url('assets/lagon-bourail-aerien.webp') 50% 56% / cover;
}
#marine .group-link { padding: 6px 9px; border-radius: 4px; background: #07353eea; }
.marine-hero::after {
  content: ''; position: absolute; inset: auto 0 0; height: 28px; pointer-events: none;
  background: #07383dd6 url('assets/frise-lagon.svg') repeat-x center / 160px 28px;
}
[data-sector="marine"] .footer::before {
  content: ''; display: block; height: 28px; margin-bottom: 16px;
  background: url('assets/frise-lagon.svg') repeat-x center / 160px 28px;
  opacity: .55;
}

.form-status:empty { display: none; }
.form-status { margin-top: 8px; padding: 9px 12px; border-radius: 5px; background: #f0e7dc; }
.form-status[data-state="success"] { color: #154c32; background: #e0f1e7; }
.form-status[data-state="error"] { color: #742e1a; background: #f9e2d8; }

.assistant-launcher { gap: 7px; padding: 4px 13px 4px 6px; text-align: left; }
.assistant-launcher .assistant-robot { width: 62px; height: 65px; overflow: visible; }
.assistant-launcher-copy { display: grid; gap: 1px; font-size: .85rem; line-height: 1.3; }
.assistant-launcher-copy small { color: #ffdbc2; font-size: .69rem; font-weight: 550; }
.robot-wave { transform-origin: 63px 63px; }
.robot-eyes { transform-origin: center; transform-box: fill-box; }
@media (prefers-reduced-motion: no-preference) {
  .robot-wave { animation: equipcal-robot-wave 4.8s ease-in-out 2; }
  .robot-eyes { animation: equipcal-robot-blink 5.8s ease-in-out 2; }
  .assistant-launcher:is(:hover, :focus-visible) .robot-body { animation: equipcal-robot-greet .45s ease-in-out; }
}
@keyframes equipcal-robot-wave {
  0%, 24%, 100% { transform: rotate(0deg); }
  5%, 15% { transform: rotate(-13deg); }
  10%, 20% { transform: rotate(10deg); }
}
@keyframes equipcal-robot-blink {
  0%, 42%, 47%, 100% { transform: scaleY(1); }
  45% { transform: scaleY(.15); }
}
@keyframes equipcal-robot-greet {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@media (max-width: 520px) {
  .assistant-launcher .assistant-robot { width: 47px; height: 50px; }
}

.workshop-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(435px, 43vw, 625px);
  align-items: center;
  background: #241c17;
  color: #fff6ed;
  overflow: hidden;
}
.workshop-photo, .workshop-photo::after { position: absolute; inset: 0; }
.workshop-photo { z-index: -1; }
.workshop-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 53%; }
.workshop-photo::after {
  content: '';
  background: linear-gradient(90deg, #251911 0%, #251911ed 26%, #25191189 52%, #2519110a 100%),
              linear-gradient(0deg, #2519118c, transparent 40%);
}
.workshop-photo figcaption {
  position: absolute;
  z-index: 1;
  right: 15px;
  bottom: 12px;
  background: #251911db;
  color: #fff;
  padding: 4px 8px;
  font-size: .72rem;
}
.workshop-copy { padding-block: 34px 64px; }
.workshop-copy :is(.eyebrow, .breadcrumbs, .breadcrumbs a:hover) { color: #ffc18b; }
.workshop-copy h1 { margin: 12px 0 18px; font-size: clamp(3rem, 7.5vw, 7.1rem); }
.workshop-copy h1 + p { max-width: 440px; }
.workshop-copy .outline { background: #251911b0; border-color: #ffcfaaa6; }
.workshop-copy :focus-visible { outline-color: #ffc18b; }
[data-sector="atelier"] .service-card { border-top: 3px solid #c88a43; scroll-margin-top: 16px; }
.workshop-card-icon {
  display: grid; place-items: center; width: 47px; aspect-ratio: 1;
  margin-bottom: 16px; border-radius: 50%; background: #fae9d6; color: #85461b;
  font-size: 1.4rem; line-height: 1;
}
@media(max-width: 650px) {
  .workshop-photo img { object-position: 62% 47%; }
  .workshop-photo::after { background: linear-gradient(90deg, #251911f2, #25191180); }
}
@media(prefers-reduced-motion: no-preference) {
  .workshop-copy { animation: slide-in .58s ease-out both; }
  .workshop-photo img { animation: photo-in .86s ease-out both; }
}

.contact-socials { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.social-link {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 7px;
  background: #fff; color: var(--ink); font-weight: 700; font-size: .9rem;
}
.social-link > svg { width: 24px; height: 24px; flex: none; }
.social-link .arrow { margin-inline-start: auto; }
.social-link.whatsapp > svg { color: #148849; }
.social-link.facebook > svg { color: #0866ff; }
.social-link.tiktok > svg { color: #141416; }
.social-link small { display: block; color: var(--steel); font-size: .75rem; font-weight: 500; }
a.social-link:hover { border-color: var(--accent); }
.phone-row { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }


body[data-sector="terrassement"] :is(.page-head, .product-hero) {
  background: linear-gradient(90deg, #382318 9%, #382318ef 31%, #38231800 71%),
              var(--sector-photo) right 55% / max(65%, 540px) auto no-repeat,
              radial-gradient(ellipse at 79% 62%, #9c6944, #382318 68%);
}
body[data-sector="manutention"] :is(.page-head, .product-hero) {
  background: linear-gradient(90deg, #28332c 15%, #28332ce0 40%, #28332c00 76%),
              var(--sector-photo) right 51% / max(65%, 540px) auto no-repeat, #28332c;
}
.workshop-hero { min-height: clamp(425px, 39vw, 555px); }
.workshop-photo img { position: absolute; right: 0; top: 20%; height: auto; min-height: 210px; object-fit: cover; object-position: center; }
.workshop-photo::after {
  background: linear-gradient(90deg, #251911 1%, #251911ef 24%, #2519113f 66%, #25191110 100%),
              linear-gradient(0deg, #251911 6%, #25191100 39%, #25191100 69%, #251911 96%);
}
@media (max-width: 640px) {
  .workshop-photo img { top: 16%; }
  .workshop-photo::after { background: linear-gradient(90deg, #251911fa, #2519117d), linear-gradient(0deg, #251911 2%, transparent 70%); }
}

.contact-hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff7ed; background: #292019; border-bottom: 3px solid #c57b4c;
}
.contact-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #211b17f2 2%, #2d211ae8 43%, #3028218c 100%),
              url('assets/lagon-ile-des-pins.webp') center 65% / cover;
}
.contact-hero-inner {
  display: grid; align-items: center; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 4vw, 64px); min-height: clamp(480px, 46vw, 650px); padding-block: 42px;
}
.contact-hero .breadcrumbs, .contact-hero .eyebrow { color: #ffd8bd; }
.contact-hero .breadcrumbs a:hover { color: #fff; }
.contact-hero h1 { margin: 12px 0 16px; font-size: clamp(3.2rem, 8vw, 7.5rem); }
.contact-hero h1 em { font-style: normal; color: #ffc397; }
.contact-hero h1 + p { max-width: 435px; }
.contact-hero .outline { border-color: #fff4; background: #211b17a6; }
.contact-territory {
  border: 1px solid #b3d0c67b; background: #152e2c;
  box-shadow: 0 24px 55px #1514128a; border-radius: 10px; overflow: hidden;
}
.contact-territory img { width: 100%; height: auto; }
[data-page="contact"] .contact-info {
  align-self: start; padding: clamp(16px, 3vw, 32px);
  background: #f6e8da; border: 1px solid #ddc6b3; border-radius: 9px;
}
[data-page="contact"] .quote-form { border-top: 3px solid #bc7649; box-shadow: 0 13px 32px #49302510; }
@media (max-width: 760px) {
  .contact-hero-inner { grid-template-columns: minmax(0, 1fr); min-height: auto; padding-block: 25px; }
}

a[data-enlarge] { display: block; }
a[data-enlarge]:focus-visible { outline-offset: -4px; }
.motor-finishes figure { grid-template-rows: 1fr; }
.motor-finishes figure a { min-height: 0; }
.photo-lightbox {
  margin: auto; padding: 0; border: 0; max-width: 94vw; max-height: 92dvh;
  overflow: auto; border-radius: 8px; color: #fff; background: #221d18;
}
.photo-lightbox::backdrop { background: #111a; }
.photo-lightbox form { padding: 10px 12px; }
.photo-lightbox img {
  width: auto; height: auto; max-width: 92vw; max-height: calc(90dvh - 66px);
  background: #fff; object-fit: contain;
}
.photo-lightbox .photo-back { min-height: 36px; padding: 6px 13px; }

.official-brands li > a { display: grid; place-items: center; width: 100%; height: 100%; }
.brand-profile {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 4vw, 36px);
}
.brand-profile section {
  padding: clamp(17px, 4vw, 36px); border: 1px solid var(--line);
  border-top: 3px solid var(--field-edge, var(--accent)); border-radius: 8px; background: #fff;
}
.brand-profile h2 { margin: 9px 0 14px; }
.brand-profile ol { list-style: none; padding: 0; margin: 20px 0 0; }
.brand-profile li { display: flex; gap: 11px; padding: 8px 0; border-top: 1px solid var(--line); }
.brand-profile li strong { color: var(--accent); }
.brand-profile .button { margin-top: 19px; }
.brand-more { display: inline-block; margin: 13px 0 0 13px; }
.brand-profile-link { display: inline-block; color: #fff; font-size: .87rem; text-decoration: underline; text-underline-offset: 4px; margin: 11px 0 0 12px; }
@media (max-width: 680px) { .brand-profile { grid-template-columns: 1fr; } }

.local-signature {
  background: #39271d url('assets/relief.svg') right -85px center / 480px no-repeat;
  color: #ffdfc8; border-bottom: 1px solid #a667434d;
}
[data-sector="marine"] .local-signature { background: #153f3e; }
.local-signature > div {
  min-height: 58px; display: flex; align-items: center; gap: 10px;
  padding-block: 10px; flex-wrap: wrap;
}
.local-signature img { object-fit: contain; }
.local-signature strong { margin: 0; color: #ffe1cb; font-size: .95rem; }
.local-signature span { margin-inline-start: auto; font: 650 .73rem/1.3 ui-monospace,monospace; }
.brand-stats {
  padding: 0; margin: 0 0 20px; list-style: none;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
}
.brand-stats li {
  display: grid; gap: 3px; padding: clamp(10px, 2vw, 20px);
  border-radius: 7px; border: 1px solid var(--line); background: #fff;
}
.brand-stats strong { color: var(--accent); font-size: clamp(1.1rem, 3vw, 2rem); line-height: 1.1; }
.brand-stats span { font-size: clamp(.7rem, 1.6vw, .92rem); }
.brand-profile-link { text-decoration: none; }
.brand-detail > .actions { margin-top: 20px; }
.section-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.operating-cost {
  border-radius: 8px; border: 1px solid var(--line); background: #dcefea;
  padding: clamp(17px, 4vw, 36px); margin-top: 18px;
}
.operating-cost h2 { margin: 8px 0 13px; }
.operating-cost p:last-child { max-width: 860px; }
.service-quality {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(14px, 3vw, 33px); padding-bottom: 0; align-items: stretch;
}
.service-quality-main, .service-express { border-radius: 8px; padding: clamp(16px, 4vw, 35px); }
.service-quality-main { border: 1px solid var(--line); background: #fff; }
.service-quality-main h2 { margin: 10px 0 13px; }
.fleet-tracking { padding-top: 0; scroll-margin-top: 16px; }
.fleet-flow {
  list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px; margin: 22px 0; padding: 0;
}
.fleet-flow li {
  position: relative; padding: 14px;
  border: 1px solid #dfcbb6; border-radius: 7px; background: #f7eee3;
}
.fleet-flow li + li::before {
  content: ''; position: absolute; top: calc(50% - 5px); left: -18px;
  width: 9px; height: 9px; border: solid var(--accent); border-width: 2px 2px 0 0;
  transform: rotate(45deg);
}
.fleet-flow strong, .fleet-flow span { display: block; }
.fleet-flow span { margin-top: 5px; color: var(--steel); }
.fleet-functions {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px;
  margin: 12px 0 20px;
}
.fleet-functions div { padding-top: 9px; border-top: 1px solid var(--line); }
.fleet-functions dt { font-weight: 750; }
.fleet-functions dd { margin: 4px 0 0; color: var(--steel); }
@media (max-width: 680px) {
  .fleet-flow, .fleet-functions { grid-template-columns: minmax(0, 1fr); }
  .fleet-flow li + li::before { left: calc(50% - 5px); top: -20px; transform: rotate(135deg); }
}
.service-express {
  color: #fff7ec; background: #39281e url('assets/relief.svg') right -60px center / 460px no-repeat;
  border-inline-start: 4px solid #de9b56;
}
.service-express strong { display: block; color: #ffd29c; font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: 1; }
.service-express h3 { margin: 8px 0; }
@media (max-width: 680px) {
  .service-quality { grid-template-columns: minmax(0, 1fr); }
  .local-signature span { margin-inline-start: 0; }
}

.cox-comparison {
  padding: clamp(18px, 4.8vw, 52px);
  background: linear-gradient(150deg, #d4eee7, #f3faf7 70%);
}
.cox-scenario { margin: 0 0 15px; color: #37524b; }
.cox-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cox-engine {
  min-width: 0; padding: clamp(11px, 2.7vw, 24px); border: 1px solid #bdd7ce;
  border-radius: 8px; background: #fff;
}
.cox-engine h3 { margin: 0 0 14px; font-size: clamp(.95rem, 2.2vw, 1.3rem); }
.cox-engine dl { display: grid; gap: 12px; margin: 0; }
.cox-engine dl > div + div { padding-top: 12px; border-top: 1px solid #d2e3dc; }
.cox-engine dt { color: #37524b; font-size: .83rem; }
.cox-engine dd { margin: 4px 0 0; font-weight: 750; font-variant-numeric: tabular-nums; }
.cox-engine [data-summary-total] { color: #105940; font-size: clamp(1.03rem, 3vw, 2rem); line-height: 1.16; }
.cox-total-saving {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
  margin-top: 11px; padding: 12px 16px; border-radius: 7px; color: #eafff6; background: #103d35;
}
.cox-total-saving strong { color: #bcffdf; font-size: clamp(1.13rem, 2.9vw, 1.75rem); }
.cox-detail { border-top: 1px solid #bdd7ce; padding-top: 10px; }
.cox-detail > .cox-table-wrap:first-of-type { margin-top: 12px; }
.cox-savings {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0; gap: 9px;
}
.cox-savings > div {
  padding: clamp(11px, 2.5vw, 24px);
  border-radius: 7px; color: #eafff6;
  background: #103d35;
}
.cox-savings strong {
  display: block; color: #bcffdf; font-size: clamp(1.25rem, 3.5vw, 2.9rem);
  line-height: 1.12; overflow-wrap: anywhere;
}
.cox-savings span { display: block; font-weight: 600; margin-top: 5px; }
.cox-table-wrap { overflow-x: auto; }
.cox-comparison table {
  width: 100%; min-width: 440px; border-collapse: collapse;
  border: 1px solid #bdd7ce; background: #fff;
}
.cox-comparison caption { text-align: left; font-weight: 750; padding-bottom: 5px; }
.cox-comparison th, .cox-comparison td { padding: 10px 12px; border-bottom: 1px solid #d2e3dc; }
.cox-comparison th { text-align: left; }
.cox-comparison thead th { background: #ecf6f1; }
.cox-comparison td { font-variant-numeric: tabular-nums; }
.cox-comparison td:nth-child(2) { color: #105940; font-weight: 700; }
.cox-comparison-note { font-size: .78rem; margin-top: 12px; color: #37524b; }
.cox-controls { margin-top: 17px; }
.cox-controls summary { font-weight: 750; color: #105940; }
.cox-controls form { margin-top: 12px; display: grid; gap: 12px; }
.cox-controls form > label { max-width: 340px; }
.cox-fieldsets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cox-fieldsets fieldset {
  min-width: 0; display: grid; gap: 7px; border: 1px solid #bdd7ce; border-radius: 6px;
  padding: 8px 12px 12px;
}
.cox-fieldsets legend { font-weight: 750; font-size: .85rem; }
.cox-controls button { justify-self: start; }
.cox-fieldsets input[readonly] { background: #ecf6f1; }
.cox-controls .cox-comparison-note { margin-top: 0; }
.cox-invalid :is(.cox-summary, .cox-total-saving, .cox-savings, table) { opacity: .5; }
@media(max-width: 560px) {
  .cox-fieldsets { grid-template-columns: 1fr; }
  .cox-savings span { font-size: .83rem; }
}

.product-standard { display: inline-block; margin-top: 12px; padding: 7px 11px; border-radius: 4px; background: #f5e6d8; color: #704222; font-size: .82rem; }

.parts-search { display: grid; gap: .4rem; margin: 1.15rem 0 .4rem; }
.parts-search label { font-weight: 750; }
.parts-search-input { display: flex; flex-wrap: wrap; gap: .5rem; }
.parts-search input {
  flex: 1 1 12rem; min-width: 0; padding: .7rem .8rem; border: 1px solid #ac9f95;
  border-radius: .35rem; background: #fff; color: var(--ink); font: inherit;
}
.parts-status:empty { display: none; }
.parts-result { margin: .75rem 0 1.2rem; }
.parts-table-wrap { overflow-x: auto; }
.parts-result table { width: 100%; border-collapse: collapse; text-align: left; }
.parts-result caption { text-align: left; font-weight: 800; margin-bottom: .3rem; }
.parts-result :is(th,td) { padding: .65rem; border-bottom: 1px solid #ded5ce; overflow-wrap: anywhere; }
.parts-result th { background: #f3e9e1; }
.parts-source a { text-decoration: underline; overflow-wrap: anywhere; }

.parts-selection { padding-top: .8rem; border-top: 1px solid #ded5ce; }
.parts-selection .button, #quote-parts > a { margin-top: .8rem; }
#quote-parts > a { display: inline-block; text-decoration: underline; }
.parts-remove {
  border: 0; padding: .35rem 0; background: transparent; color: var(--ink);
  font: inherit; text-decoration: underline; cursor: pointer;
}
