:root {
  --navy: #101a2b;
  --navy-deep: #0a1220;
  --blue: #234fd3;
  --blue-light: #a7bfff;
  --ink: #111c2e;
  --muted: #47556a;
  --line: #d8dfe8;
  --paper: #f5f7fa;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: white; font: 1rem/1.6 system-ui, sans-serif; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #436eed; outline-offset: 4px; }
.skip { position: absolute; z-index: 3; top: -10rem; left: 1rem; background: white; color: var(--ink); padding: .6rem; }
.skip:focus { top: 1rem; }
.wrap { width: min(90%, 76rem); margin-inline: auto; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
header { border-bottom: 1px solid var(--line); background: white; }
header .bar { min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .8rem; flex-shrink: 0; text-decoration: none; font-weight: 900; font-size: 1.4rem; line-height: .92; letter-spacing: -.045em; }
.brand small { display: block; margin-top: .33rem; font-size: .63rem; letter-spacing: .16em; }
nav { display: flex; gap: clamp(.8rem, 2.9vw, 2.3rem); }
nav a, .top-contact { text-decoration: none; font-weight: 650; font-size: .92rem; }
nav a:hover { color: var(--blue); }
.top-contact { background: var(--blue); color: white; padding: .55rem 1.15rem; }
.top-contact:hover, .button:hover { background: #163ba9; color: white; }
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: min(690px, 74vw); background: var(--navy-deep); color: white; overflow: hidden; }
.hero-photo { position: absolute; right: 0; inset-block: 0; width: 61%; height: 100%; object-fit: cover; object-position: 65% 62%; z-index: -2; }
.hero::before { position: absolute; content: ""; inset: 0; background: linear-gradient(90deg, #0a1220 33%, #0a1220e8 43%, #0a122036 61%, transparent 77%); z-index: -1; }
.hero-inner { padding-block: clamp(3.5rem, 8vw, 7rem); }
.eyebrow { margin: 0 0 .85rem; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .14em; }
.hero .eyebrow, .mobile .eyebrow { color: var(--blue-light); }
h1, h2, h3 { margin: 0; line-height: 1.06; letter-spacing: -.043em; }
h1 { font-size: clamp(2.9rem, 6vw, 5.6rem); max-width: 14ch; font-weight: 850; }
h1 em { font-style: normal; }
h2 { font-size: clamp(2rem, 4.1vw, 3.6rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p, dd { color: var(--muted); }
.hero-inner > p:not(.eyebrow) { color: #d3ddec; max-width: 40ch; margin: 1.55rem 0 1.8rem; font-size: 1.08rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; background: var(--blue); color: white; text-decoration: none; padding: .7rem 1.1rem; font-weight: 750; min-height: 46px; line-height: 1.3; }
.secondary { background: transparent; border-color: #adb9cb; color: var(--ink); }
.hero .secondary { color: white; border-color: #9bacbf; }
.offer, .detail, .contact { padding-block: clamp(3.2rem, 7vw, 6.5rem); }
.cards, .gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 2.2vw, 1.55rem); margin-top: 2rem; }
.cards article { border: 1px solid var(--line); padding: 0 clamp(1rem, 2vw, 1.5rem) 1.5rem; overflow: hidden; }
.service-photo { display: block; width: calc(100% + clamp(2rem, 4vw, 3rem)); margin: 0 calc(-1 * clamp(1rem, 2vw, 1.5rem)) 1.25rem; aspect-ratio: 16/9; object-fit: cover; }
.cards ul { padding-left: 1.15rem; color: var(--muted); }
.cards li + li { margin-top: .3rem; }
.cards li::marker { color: var(--blue); }
.cards a { color: var(--blue); font-weight: 750; text-underline-offset: .2em; }
.detail, .pricing { background: var(--paper); }
#baja { background: white; }
.detail, .pricing, .contact { border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.split p { max-width: 53ch; }
dl { margin: 0; }
dt { border-top: 1px solid var(--line); padding-top: .9rem; font-weight: 800; }
dd { margin: .3rem 0 1rem; }
.mobile { background: var(--navy); color: white; }
.mobile p { color: #d3ddec; }
.mobile .eyebrow { color: var(--blue-light); }
.callout { padding: 1.4rem; background: #19273d; }
.paddock { display: block; width: 100%; aspect-ratio: 2/1; object-fit: cover; margin-bottom: 1.2rem; }
.gallery { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.gallery figure { margin: 0; grid-column: span 4; }
.gallery figure:nth-child(-n+2) { grid-column: span 6; }
.gallery a { display: block; overflow: hidden; background: var(--paper); }
.gallery img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .2s ease; }
.gallery figure:nth-child(-n+2) img { aspect-ratio: 16/10; }
.gallery a:hover img { transform: scale(1.025); }
.gallery figcaption { display: flex; flex-direction: column; padding: .65rem 0 .9rem; border-bottom: 1px solid var(--line); }
.gallery small { color: var(--muted); font-weight: 700; letter-spacing: .06em; font-size: .75rem; }
.gallery strong { font-size: 1.07rem; }
.pricing table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; background: white; }
.pricing th, .pricing td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.pricing th[scope="col"] { background: var(--navy); color: white; }
.pricing th[scope="row"] { font-weight: 600; }
.pricing td { color: var(--muted); }
.contact-note a { color: var(--blue); font-weight: 750; overflow-wrap: anywhere; }
form { display: grid; gap: .5rem; }
form label { font-weight: 700; }
input, textarea, select { width: 100%; padding: .65rem; border: 1px solid #9caabd; border-radius: 0; color: var(--ink); background: white; }
textarea { resize: vertical; }
form .button { justify-self: start; margin-top: .45rem; }
#status { margin: 0; }
#status:empty { display: none; }
footer { padding-block: 1.4rem; color: white; background: var(--navy-deep); }
footer p { margin: 0; color: #d3ddec; font-size: .88rem; }
@media (max-width: 810px) {
  header .bar { flex-wrap: wrap; min-height: 0; padding-block: .7rem; }
  nav { order: 3; width: 100%; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: .55rem; }
  .hero { min-height: 0; }
  .hero-photo { width: 76%; }
  .hero::before { background: linear-gradient(90deg, #0a1220 10%, #0a1220ea 34%, #0a122052 66%, transparent); }
  .cards { grid-template-columns: 1fr; }
  .service-photo { aspect-ratio: 2/1; }
}
@media (max-width: 560px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; }
  .hero-photo { position: static; width: 100%; aspect-ratio: 16/10; height: auto; object-position: 68% 67%; }
  .hero::before { display: none; }
  .hero-inner { padding-block: 1.55rem 2.5rem; }
  h1 { font-size: clamp(2.4rem, 9.1vw, 3.25rem); }
  .split, .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery figure, .gallery figure:nth-child(-n+2) { grid-column: auto; }
  .pricing th, .pricing td { padding: .6rem .45rem; }
  footer .bar { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery img { transition: none; }
}
.brand-accent { color: #4168e5; margin-left: .07em; }
footer .brand-accent { color: var(--blue-light); }
.brands { background: var(--paper); border-bottom: 1px solid var(--line); }
.brands .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 2rem; padding-block: 1rem; }
.brands p { margin: 0; }
.brands ul { display: flex; flex-wrap: wrap; gap: .3rem clamp(.9rem, 3vw, 2.4rem); margin: 0; padding: 0; list-style: none; font-weight: 800; }
.gallery .dakar-photo { object-fit: contain; background: #e8edf4; }
.transport-steps { margin: 0; padding-left: 1.5rem; }
.transport-steps li { padding: .85rem 0 .45rem .25rem; border-top: 1px solid var(--line); }
.transport-steps li::marker { color: var(--blue); font-weight: 800; }
.transport-steps p { margin: .25rem 0 .5rem; }
nav a[aria-current="page"] { color: var(--blue); }
.shop-intro { padding-block: clamp(2.8rem, 7vw, 6rem); background: var(--navy); color: white; }
.shop-intro h1 { max-width: none; }
.shop-intro p { margin-bottom: 0; color: #d3ddec; max-width: 56ch; }
.shop-categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.6rem; }
.shop-categories article { border: 1px solid var(--line); padding: 1.4rem; }
.shop-categories a { color: var(--blue); font-weight: 750; text-underline-offset: .2em; }
@media (max-width: 560px) { .shop-categories { grid-template-columns: 1fr; } }
.product-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:1rem; }
.product { display:grid; grid-template-rows:auto 1fr; background:white; border:1px solid var(--line); }
.product img { width:100%; height:215px; object-fit:contain; padding:.5rem; }
.product > div { display:flex; flex-direction:column; align-items:flex-start; padding:1rem; border-top:1px solid var(--line); }
.product h3 { font-size:1.25rem; }
.product h3 + p { margin:.55rem 0; }
.product .product-price { margin-top:auto; color:var(--ink); font-size:1.25rem; font-weight:800; padding-top:.7rem; }
.product-price small { font-size:.8rem; font-weight:500; }
.product a { color:var(--blue); font-weight:750; }
.workshop-faq details { border-top: 1px solid var(--line); padding-block: .85rem; }
.workshop-faq summary { cursor: pointer; font-weight: 750; }
.workshop-faq details p { margin: .65rem 0 .25rem; }
.workshop-faq a { color: var(--blue); }
.product.product-spec { grid-template-rows: 1fr; }
.product.product-spec > div { border-top: 0; }
.catalog-group { margin: 1.45rem 0 .75rem; }
.product h4 { margin: 0; font-size: 1.25rem; line-height: 1.2; }
.product h4 + p { margin: .55rem 0; }
[hidden] { display: none !important; }
.catalog-search { padding-block: 1.2rem; border-top: 1px solid var(--line); }
.catalog-controls { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: .6rem 1rem; }
.catalog-controls label { display: block; font-weight: 750; margin-bottom: .3rem; }
.catalog-controls p { grid-column: 1 / -1; margin: 0; }
@media (max-width: 540px) { .catalog-controls { grid-template-columns: 1fr; } }
