/* ==========================================================================
   FixMyVehicle — design system (light theme)
   Ground-up stylesheet. Does NOT depend on bootstrap.min.css, style.css,
   animate.css, slick or FontAwesome — pages using _LayoutModern load this
   file alone. White base, single red accent, blueprint texture, hairline
   borders, bento layouts.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Surfaces, lightest to deepest */
    --ink-950: #ffffff; /* page background */
    --ink-900: #f7f8fa; /* alternating section band */
    --ink-850: #ffffff; /* cards */
    --ink-800: #fbfcfe; /* card hover */
    --ink-750: #f2f4f7;
    --ink-700: #e7e8ec;
    --ink-600: #c9ced6;

    /* Type */
    --paper: #0b0d10; /* primary text */
    --muted: #5b6472;
    --faint: #8a929c;

    /* Single confident accent — CTAs and highlights only */
    --accent: #e01238;
    --accent-400: #f42d50;
    --accent-600: #b40d2c;
    --amber: #f2a93b;
    /* Secondary tone, reserved for diagnostics/technical surfaces */
    --steel: #4f6d84;

    /* Hairlines instead of drop shadows */
    --line: rgba(11, 13, 16, 0.10);
    --line-soft: rgba(11, 13, 16, 0.06);
    --line-strong: rgba(11, 13, 16, 0.16);

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 22px;

    --container: 1240px;
    --container-wide: 1560px;
    --gutter: clamp(20px, 4vw, 40px);
    --section-y: clamp(72px, 8.5vw, 128px);

    --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
    --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset + base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--ink-950);
    color: var(--paper);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    /* `clip` (not `hidden`) — `hidden` makes <body> its own scroll container,
       which stops IntersectionObserver from tracking against the viewport and
       leaves every scroll-revealed section stuck at opacity 0. */
    overflow-x: clip;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
    padding: 0;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    background: none;
    border: 0;
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: var(--paper);
}

p {
    color: var(--muted);
}

::selection {
    background: var(--accent);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--accent);
    color: #fff;
    padding: 12px 20px;
    border-radius: 0 0 var(--radius) 0;
    font-weight: 600;
}

.skip-link:focus {
    left: 0;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding-block: var(--section-y);
    position: relative;
    /* .section-gear decorations intentionally bleed past their section's
       edges for the corner-fade effect — clip that bleed here instead of
       relying on body's overflow-x:clip, which doesn't reliably contain it
       (confirmed visible as extra blank space when zoomed out on mobile). */
    overflow-x: clip;
}

.section--tight {
    padding-block: clamp(56px, 6vw, 88px);
}

/* Blueprint / engineering grid texture — replaces decorative gear artwork */
.blueprint {
    background-image:
        linear-gradient(to right, rgba(11, 13, 16, 0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(11, 13, 16, 0.045) 1px, transparent 1px);
    background-size: 60px 60px;
}

.blueprint-fine {
    background-image:
        linear-gradient(to right, rgba(11, 13, 16, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(11, 13, 16, 0.035) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Fades a texture out toward the bottom of a section */
.blueprint-mask {
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
}

/* Decorative gear motif for non-hero sections. Reuses the Lucide "cog" icon
   already loaded elsewhere so the linework matches the rest of the site's
   iconography instead of introducing a second visual language. */
.gear-host {
    position: relative;
    z-index: 1;
}

.section-gear {
    position: absolute;
    z-index: 0;
    display: block;
    color: var(--accent);
    opacity: 0.11;
    pointer-events: none;
}

.section-gear--faint {
    opacity: 0.07;
}

.section-gear svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.1;
}

.section-gear--spin {
    animation: gear-spin 50s linear infinite;
}

.section-gear--spin-rev {
    animation: gear-spin-rev 40s linear infinite;
}

@keyframes gear-spin {
    to { transform: rotate(360deg); }
}

@keyframes gear-spin-rev {
    to { transform: rotate(-360deg); }
}

@media (max-width: 640px) {
    .section-gear {
        opacity: 0.08;
    }

    .section-gear--faint {
        opacity: 0.05;
    }
}

@media (prefers-reduced-motion: reduce) {
    .section-gear--spin,
    .section-gear--spin-rev {
        animation: none;
    }
}

.divider {
    height: 1px;
    background: var(--line-soft);
    border: 0;
}

/* --------------------------------------------------------------------------
   4. Typography helpers
   -------------------------------------------------------------------------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.eyebrow::before {
    content: "";
    width: 24px;
    height: 1px;
    background: var(--accent);
    flex: none;
}

.eyebrow--center {
    justify-content: center;
}

.section-title {
    font-size: clamp(32px, 4.4vw, 52px);
    margin-top: 20px;
}

.section-intro {
    margin-top: 20px;
    font-size: 16.5px;
    max-width: 62ch;
}

.section-head {
    max-width: 720px;
}

.section-head--center {
    max-width: 780px;
    margin-inline: auto;
    text-align: center;
}

.lead {
    font-size: 17px;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    padding: 13px 26px;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
        color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
    white-space: nowrap;
}

.btn svg {
    width: 17px;
    height: 17px;
    flex: none;
}

.btn--primary {
    background: var(--accent);
    color: #fff;
}

.btn--primary:hover {
    background: var(--accent-600);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(224, 18, 56, 0.22);
}

.btn--ghost {
    border: 1px solid rgba(11, 13, 16, 0.22);
    background: #fff;
    color: var(--paper);
}

.btn--ghost:hover {
    border-color: var(--accent);
    background: rgba(224, 18, 56, 0.04);
    color: var(--accent);
    transform: translateY(-1px);
}

.btn--sm {
    padding: 10px 18px;
    font-size: 14px;
}

.btn--block {
    width: 100%;
}

/* Text link with a sliding arrow */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
}

.link-arrow svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s var(--ease);
}

.link-arrow:hover svg {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   6. Surfaces
   -------------------------------------------------------------------------- */
.panel {
    background: var(--ink-850);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.panel--hover {
    transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease),
        transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.panel--hover:hover {
    border-color: rgba(224, 18, 56, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(11, 13, 16, 0.07);
}

/* Icon chip — one consistent treatment everywhere icons appear */
.chip {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(224, 18, 56, 0.08);
    border: 1px solid rgba(224, 18, 56, 0.16);
    color: var(--accent);
    flex: none;
}

.chip svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.75;
}

.chip--steel {
    background: rgba(79, 109, 132, 0.08);
    border-color: rgba(79, 109, 132, 0.18);
    color: var(--steel);
}

.chip--lg {
    width: 52px;
    height: 52px;
    border-radius: 12px;
}

.chip--lg svg {
    width: 24px;
    height: 24px;
}

/* Photo frames */
.frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--ink-900);
}

.frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --------------------------------------------------------------------------
   7. Motion — scroll reveal + counters
   -------------------------------------------------------------------------- */
/* Content is visible by default. It is only hidden for animation once
   theme.js has confirmed it can reveal it again (html.reveal-ready), so a JS
   error or blocked script can never leave the page blank. */
[data-reveal] {
    opacity: 1;
}

.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    will-change: opacity, transform;
}

.reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal-ready [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

/* Ken Burns — a slow, continuous pan/zoom that gives still workshop photos
   the feel of footage. Used on the large hero/section images. */
@keyframes kenburns {
    0% {
        transform: scale(1) translate3d(0, 0, 0);
    }
    50% {
        transform: scale(1.08) translate3d(-1.2%, -1%, 0);
    }
    100% {
        transform: scale(1) translate3d(0, 0, 0);
    }
}

.kenburns {
    animation: kenburns 26s ease-in-out infinite;
    will-change: transform;
}

.kenburns--slow {
    animation-duration: 38s;
}

/* Drifting blueprint grid — subtle parallax texture behind the hero */
@keyframes grid-drift {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 60px 60px;
    }
}

.blueprint--drift {
    animation: grid-drift 22s linear infinite;
}

/* Marquee band of capabilities */
@keyframes marquee {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

.marquee {
    position: relative;
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: var(--ink-900);
    padding-block: 18px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
    display: flex;
    width: max-content;
    animation: marquee 38s linear infinite;
}

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

.marquee__group {
    display: flex;
    align-items: center;
    flex: none;
}

.marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-inline: 26px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--paper);
    white-space: nowrap;
}

.marquee__item svg {
    width: 15px;
    height: 15px;
    color: var(--accent);
    flex: none;
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--accent);
    z-index: 70;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .kenburns,
    .blueprint--drift,
    .marquee__track {
        animation: none;
    }
}

/* --------------------------------------------------------------------------
   8. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    inset-inline: 0;
    top: 0;
    width: 100%;
    z-index: 60;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.is-stuck {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: var(--line);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* The header needs more room than the 1240px content column, otherwise the
   links collide with the phone number and CTA on wide screens. */
.site-header .container {
    max-width: var(--container-wide);
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 88px;
}

.nav__logo img {
    height: 38px;
    width: auto;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1 1 auto;
    min-width: 0;
}

.nav__list a {
    position: relative;
    display: inline-block;
    padding-block: 6px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.2s var(--ease);
    white-space: nowrap;
}

.nav__list a::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}

.nav__list a:hover {
    color: var(--paper);
}

.nav__list a:hover::after {
    transform: scaleX(1);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    padding-left: 24px;
    flex: none;
}

.nav__phone {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 600;
    color: var(--paper);
    transition: color 0.2s var(--ease);
    white-space: nowrap;
}

.nav__phone svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.nav__phone:hover {
    color: var(--accent);
}

.nav__toggle {
    display: none;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    color: var(--paper);
    transition: border-color 0.2s var(--ease);
}

.nav__toggle:hover {
    border-color: var(--accent);
}

.nav__toggle svg {
    width: 20px;
    height: 20px;
}

.nav__toggle .icon-close,
.nav-open .nav__toggle .icon-open {
    display: none;
}

.nav-open .nav__toggle .icon-close {
    display: block;
}

/* Lives OUTSIDE <header> in the markup on purpose: the sticky header uses
   backdrop-filter, which establishes a containing block for position:fixed
   descendants and would clip this panel to the header's own height. State is
   therefore tracked on <html> rather than on the header element. */
.nav__drawer {
    position: fixed;
    inset: 88px 0 0;
    z-index: 55;
    background: var(--ink-950);
    border-top: 1px solid var(--line);
    padding: 8px var(--gutter) 48px;
    overflow-y: auto;
    display: none;
}

.nav-open .nav__drawer {
    display: block;
}

.nav__drawer li + li {
    border-top: 1px solid var(--line-soft);
}

.nav__drawer a {
    display: block;
    padding: 17px 2px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
}

.nav__drawer-contact {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 1500px) {
    .nav {
        gap: 22px;
    }

    .nav__list {
        gap: 20px;
    }

    .nav__list a {
        font-size: 13.5px;
    }

    /* Below this the nav links + phone + CTA start crowding each other.
       The number stays reachable via the drawer and the floating call button. */
    .nav__phone {
        display: none;
    }
}

@media (max-width: 1199px) {
    .nav {
        height: 76px;
    }

    .nav__list {
        display: none;
    }

    .nav__toggle {
        display: grid;
    }

    .nav__drawer {
        inset-block-start: 76px;
    }
}

@media (max-width: 560px) {
    /* The logo, CTA and toggle button were only ~20px under the available
       width on a 375px phone — any rendering variance (font metrics, icon
       sizing) was enough to push the toggle button off-screen entirely.
       Tighten every dimension in this row so there's real margin. */
    .nav {
        gap: 12px;
    }

    .nav__logo img {
        height: 30px;
    }

    .nav__actions {
        gap: 10px;
        padding-left: 12px;
    }

    .nav__actions .btn span {
        display: none;
    }

    .nav__actions .btn {
        padding: 11px 14px;
    }

    .nav__toggle {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 340px) {
    /* Small-phone class (iPhone SE, Galaxy S8-and-similar, Chrome DevTools'
       "Mobile S" preset at 320px) needs another pass beyond the 560px step
       above — squeeze the container gutter and every header dimension
       further so the row has margin even at 320px. */
    .site-header .container {
        padding-inline: 12px;
    }

    .nav {
        gap: 8px;
    }

    .nav__logo img {
        height: 26px;
    }

    .nav__actions {
        gap: 6px;
        padding-left: 6px;
    }

    .nav__actions .btn {
        padding: 9px 11px;
    }

    .nav__toggle {
        width: 34px;
        height: 34px;
    }

    .nav__toggle svg {
        width: 17px;
        height: 17px;
    }
}

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    padding-top: clamp(120px, 15vw, 176px);
    padding-bottom: clamp(64px, 8vw, 104px);
    overflow: hidden;
}

/* Recoloured low-poly facet pattern (see .section--facet in Pricing for
   provenance). Sits UNDER the dot-grid and mainly shows on the right side,
   behind/around the photo — faded (not cut off) under the text column so
   it stays legible-safe without disappearing entirely. */
.hero__facet-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    -webkit-mask-image:
        linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent),
        linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.35) 22%, #000 48%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent),
        linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.35) 22%, #000 48%);
    mask-composite: intersect;
    pointer-events: none;
}

@media (max-width: 991px) {
    /* Text and photo stack vertically here, so the left/right mask no
       longer makes sense — fade top/bottom only. */
    .hero__facet-bg {
        -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
        mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
        opacity: 0.7;
    }
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero__glow {
    position: absolute;
    top: -18%;
    right: -8%;
    width: min(760px, 78vw);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(224, 18, 56, 0.10), transparent 62%);
    filter: blur(10px);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(40px, 5vw, 72px);
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px 7px 10px;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: var(--ink-900);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--muted);
}

.hero__badge svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.hero__title {
    margin-top: 26px;
    font-size: clamp(42px, 6.4vw, 82px);
    line-height: 0.99;
    letter-spacing: -0.042em;
}

.hero__title em {
    font-style: normal;
    color: var(--accent);
}

.hero__text {
    margin-top: 24px;
    max-width: 52ch;
    font-size: 17px;
    line-height: 1.7;
}

.hero__actions {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.hero__stats {
    margin-top: 52px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.stat__value {
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--paper);
    line-height: 1.1;
}

.stat__label {
    margin-top: 4px;
    font-size: 12.5px;
    color: var(--muted);
}

/* Hero media composition — asymmetric, not a plain boxed thumbnail */
.hero__media {
    position: relative;
}

.hero__media-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--line);
    aspect-ratio: 4 / 4.4;
}

.hero__media-main img,
.hero__media-main video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__media-card {
    position: absolute;
    left: -28px;
    bottom: 40px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 16px 36px rgba(11, 13, 16, 0.12);
    max-width: 280px;
}

.hero__media-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--paper);
}

.hero__media-card span {
    font-size: 12.5px;
    color: var(--muted);
}

@media (max-width: 991px) {
    .hero__inner {
        grid-template-columns: 1fr;
    }

    .hero__media {
        order: -1;
        max-width: 460px;
    }

    .hero__media-main {
        aspect-ratio: 16 / 10;
    }

    .hero__media-card {
        left: 16px;
        bottom: -22px;
    }

    .hero__stats {
        margin-top: 44px;
    }
}

@media (max-width: 520px) {
    .hero__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .hero__media-card {
        max-width: calc(100% - 32px);
    }
}

/* --------------------------------------------------------------------------
   10. About
   -------------------------------------------------------------------------- */
.about__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(40px, 5vw, 76px);
    align-items: center;
}

.about__media {
    position: relative;
    padding-bottom: 56px;
    padding-right: 40px;
}

.about__media-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--line);
    aspect-ratio: 4 / 3.6;
}

.about__media-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__media-sub {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 52%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 14px 30px rgba(11, 13, 16, 0.12);
}

.about__media-sub img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__years {
    position: absolute;
    top: 22px;
    left: -18px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: var(--radius);
    background: var(--accent);
    color: #fff;
    box-shadow: 0 12px 26px rgba(224, 18, 56, 0.25);
}

.about__years strong {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
}

.about__years span {
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.checklist {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 32px;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    color: var(--paper);
}

.checklist svg {
    width: 15px;
    height: 15px;
    color: var(--accent);
    flex: none;
    stroke-width: 2.5;
}

@media (max-width: 991px) {
    .about__grid {
        grid-template-columns: 1fr;
    }

    .about__media {
        max-width: 460px;
    }
}

@media (max-width: 560px) {
    .checklist {
        grid-template-columns: 1fr;
    }

    .about__years {
        left: 10px;
        padding: 12px 16px;
    }

    .about__years strong {
        font-size: 27px;
    }
}

/* --------------------------------------------------------------------------
   11. Facilities (Workshop / Warehouse)
   -------------------------------------------------------------------------- */
.facilities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 56px;
}

.facility {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Both cards must reserve exactly the same media height, otherwise the
   shorter one ends up with a large dead gap above its CTA. */
.facility__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ink-900);
    flex: none;
}

.facility__media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.facility__body {
    padding: 30px clamp(22px, 3vw, 34px) clamp(28px, 3vw, 34px);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.facility__title {
    font-size: 25px;
}

.facility__body p {
    margin-top: 12px;
    font-size: 15.5px;
}

.facility__list {
    margin: 22px 0 28px;
    display: grid;
    gap: 11px;
}

.facility__list li {
    display: flex;
    gap: 11px;
    font-size: 14.5px;
    color: var(--muted);
}

.facility__list svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex: none;
    margin-top: 3px;
    stroke-width: 2.25;
}

.facility__cta {
    margin-top: auto;
    align-self: flex-start;
}

/* Warehouse carousel — Swiper, restyled to match the design system */
.facility__swiper {
    position: absolute;
    inset: 0;
    height: 100%;
}

.facility__swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Swiper's own pagination bullets → our flat accent dashes */
.facility__swiper .swiper-pagination {
    bottom: 14px;
    display: flex;
    justify-content: center;
    gap: 7px;
    line-height: 0;
}

.facility__swiper .swiper-pagination-bullet {
    width: 22px;
    height: 3px;
    margin: 0 !important;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    transition: background-color 0.25s var(--ease);
}

.facility__swiper .swiper-pagination-bullet-active {
    background: var(--accent);
}

.carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    color: var(--paper);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
        color 0.2s var(--ease);
}

.carousel__btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.carousel__btn svg {
    width: 18px;
    height: 18px;
}

.carousel__btn--prev {
    left: 14px;
}

.carousel__btn--next {
    right: 14px;
}

.carousel__dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 7px;
}

.carousel__dots button {
    width: 22px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.6);
    transition: background-color 0.25s var(--ease);
}

.carousel__dots button[aria-current="true"] {
    background: var(--accent);
}

@media (max-width: 900px) {
    .facilities {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   12. Diagnostics — technical spec sheet
   -------------------------------------------------------------------------- */
.spec {
    margin-top: 56px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--ink-950);
}

.spec__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.spec__item {
    position: relative;
    padding: 26px 24px 28px;
    border-right: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    transition: background-color 0.3s var(--ease);
}

.spec__item:hover {
    background: var(--ink-900);
}

.spec__item::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
}

.spec__item:hover::after {
    transform: scaleX(1);
}

.spec__index {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--faint);
}

.spec__icon {
    margin: 16px 0 18px;
    color: var(--steel);
}

.spec__icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
}

.spec__item:hover .spec__icon {
    color: var(--accent);
}

.spec__name {
    font-family: var(--font-display);
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--paper);
}

.spec__desc {
    margin-top: 8px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--muted);
}

.spec__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: 26px clamp(22px, 3vw, 32px);
    background: var(--ink-900);
    border-top: 1px solid var(--line-soft);
}

.spec__footer p {
    font-size: 15px;
    max-width: 60ch;
}

@media (max-width: 1100px) {
    .spec__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .spec__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .spec__grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   13. Services — bento grid
   -------------------------------------------------------------------------- */
.services {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.service {
    padding: 28px 26px 30px;
    display: flex;
    flex-direction: column;
}

.service__title {
    margin-top: 20px;
    font-size: 18px;
}

.service p {
    margin-top: 10px;
    font-size: 14.5px;
    line-height: 1.62;
}

/* The fleet card is the premium one — wider, accent-bordered */
.service--feature {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(224, 18, 56, 0.06), rgba(224, 18, 56, 0.01) 60%),
        var(--ink-850);
    border-color: rgba(224, 18, 56, 0.28);
}

.service--feature:hover {
    border-color: rgba(224, 18, 56, 0.5);
}

.service--feature .service__title {
    font-size: 21px;
}

.service__tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: flex-start;
    margin-bottom: 18px;
    padding: 5px 11px;
    border-radius: 100px;
    border: 1px solid rgba(224, 18, 56, 0.3);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

.service__cta {
    margin-top: 20px;
}

@media (max-width: 1100px) {
    .services {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .services {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .service--feature {
        grid-column: span 2;
    }
}

@media (max-width: 520px) {
    .services {
        grid-template-columns: 1fr !important;
    }

    .service--feature {
        grid-column: span 1;
    }
}

/* --------------------------------------------------------------------------
   14. Fleet feature band
   -------------------------------------------------------------------------- */
.fleet {
    position: relative;
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: var(--ink-900);
}

.fleet__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(40px, 5vw, 72px);
    align-items: center;
}

.fleet__media {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--line);
    aspect-ratio: 16 / 11;
}

.fleet__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fleet__list {
    margin: 28px 0 32px;
    display: grid;
    gap: 14px;
}

.fleet__list li {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    font-size: 15.5px;
    color: var(--muted);
}

.fleet__list svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex: none;
    margin-top: 3px;
    stroke-width: 2;
}

@media (max-width: 900px) {
    .fleet__grid {
        grid-template-columns: 1fr;
    }

    .fleet__media {
        order: -1;
    }
}

/* --------------------------------------------------------------------------
   15. Pricing
   -------------------------------------------------------------------------- */
/* Recoloured low-poly facet pattern (originally from Haikei, remapped from
   its stock pink/blue/purple palette into the site's own red/white tints) —
   full-bleed, very low opacity, faded at both edges so it reads as texture
   behind the cards rather than a pattern competing with them. */
.section--facet {
    position: relative;
    overflow: hidden;
}

.section__facet-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
    pointer-events: none;
}

.section--facet .container {
    position: relative;
    z-index: 1;
}

.plans {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    /* stretch, not start — otherwise each card is content-height and the
       shorter plans' CTAs float mid-card instead of lining up along the bottom */
    align-items: stretch;
}

.plan {
    padding: 32px 28px 34px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.plan--recommended {
    border-color: rgba(224, 18, 56, 0.35);
    background: linear-gradient(180deg, rgba(224, 18, 56, 0.05), transparent 42%), var(--ink-850);
    box-shadow: 0 16px 40px rgba(11, 13, 16, 0.08);
}

.plan__flag {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 20px;
    padding: 5px 12px;
    border-radius: 100px;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.plan__name {
    margin-top: 20px;
    font-size: 22px;
}

.plan__inherits {
    margin-top: 10px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.05em;
    color: var(--accent);
}

.plan__group {
    margin-top: 26px;
}

.plan__group-title {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--faint);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line-soft);
}

.plan__group ul {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.plan__group li {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--muted);
}

.plan__group svg {
    width: 15px;
    height: 15px;
    flex: none;
    margin-top: 4px;
    color: var(--accent);
    stroke-width: 2.5;
}

/* Gap goes on the group above, never as padding on the button itself —
   padding here would make the button taller and push its label off-centre. */
.plan__group:last-of-type {
    padding-bottom: 30px;
}

.plan__cta {
    margin-top: auto;
}

@media (max-width: 980px) {
    .plans {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-inline: auto;
    }
}

/* --------------------------------------------------------------------------
   16. Why choose us
   -------------------------------------------------------------------------- */
.reasons__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(40px, 5vw, 72px);
    align-items: center;
}

.reasons__list {
    margin-top: 34px;
    display: grid;
    gap: 14px;
}

.reason {
    display: flex;
    gap: 18px;
    padding: 22px;
}

.reason h3 {
    font-size: 17px;
}

.reason p {
    margin-top: 7px;
    font-size: 14.5px;
    line-height: 1.62;
}

.reasons__media {
    position: relative;
    padding-bottom: 22%;
}

.reasons__media-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--line);
    aspect-ratio: 4 / 3.4;
}

.reasons__media-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reasons__media-sub {
    position: absolute;
    right: 8%;
    bottom: 0;
    width: 54%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 14px 30px rgba(11, 13, 16, 0.12);
}

.reasons__media-sub img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991px) {
    .reasons__grid {
        grid-template-columns: 1fr;
    }

    .reasons__media {
        max-width: 460px;
        order: -1;
    }
}

/* --------------------------------------------------------------------------
   17. Portfolio + lightbox
   -------------------------------------------------------------------------- */
.gallery {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 200px;
    gap: 18px;
}

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--ink-900);
    cursor: pointer;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.gallery__item:hover img {
    transform: scale(1.05);
}

.gallery__item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery__item:nth-child(4) {
    grid-column: span 2;
}

.gallery__caption {
    display: block;
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 30px 18px 16px;
    background: linear-gradient(180deg, transparent, rgba(11, 13, 16, 0.85));
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

@media (max-width: 900px) {
    .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 170px;
    }
}

@media (max-width: 520px) {
    .gallery {
        grid-template-columns: 1fr;
    }

    .gallery__item:nth-child(1),
    .gallery__item:nth-child(4) {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* GLightbox theming — dark backdrop, accent controls, our type */
.glightbox-clean .gcontainer {
    background: rgba(11, 13, 16, 0.94);
}

.glightbox-clean .gslide-media {
    box-shadow: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.glightbox-clean .gslide-description {
    background: transparent;
    text-align: center;
}

.glightbox-clean .gslide-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.glightbox-clean .gslide-desc {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.62);
}

.glightbox-clean .gnext,
.glightbox-clean .gprev,
.glightbox-clean .gclose {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    opacity: 1;
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.glightbox-clean .gnext:hover,
.glightbox-clean .gprev:hover,
.glightbox-clean .gclose:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.glightbox-clean .gnext svg,
.glightbox-clean .gprev svg,
.glightbox-clean .gclose svg {
    width: 17px;
    fill: #fff;
}

/* --------------------------------------------------------------------------
   18. Contact
   -------------------------------------------------------------------------- */
.contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(36px, 4.5vw, 64px);
    align-items: start;
}

.contact__list {
    margin-top: 34px;
    display: grid;
    gap: 12px;
}

.contact__row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
}

.contact__row-label {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--faint);
}

.contact__row-value {
    margin-top: 5px;
    font-size: 15px;
    color: var(--paper);
    line-height: 1.5;
}

a.contact__row-value:hover {
    color: var(--accent);
}

.contact__socials {
    margin-top: 22px;
    display: flex;
    gap: 10px;
}

.contact__socials a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--line);
    color: var(--paper);
    transition: all 0.25s var(--ease);
}

.contact__socials a:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.contact__socials svg {
    width: 18px;
    height: 18px;
}

.stat-callout {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
}

.stat-callout img {
    width: 62px;
    height: 62px;
    border-radius: 10px;
    object-fit: cover;
    flex: none;
    border: 1px solid var(--line);
}

/* Form */
.form {
    padding: clamp(26px, 3.4vw, 40px);
}

.form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field {
    display: block;
    margin-bottom: 16px;
}

.field__label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--paper);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 13px 15px;
    background: var(--ink-900);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--paper);
    font-size: 15px;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
        background-color 0.2s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--faint);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(224, 18, 56, 0.14);
}

.field textarea {
    min-height: 128px;
    resize: vertical;
}

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B6472' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form__success {
    display: none;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(224, 18, 56, 0.3);
    background: rgba(224, 18, 56, 0.06);
}

.form__success.is-visible {
    display: flex;
}

.form__success svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex: none;
    margin-top: 2px;
}

.form__success strong {
    display: block;
    font-family: var(--font-display);
    color: var(--paper);
    font-size: 15px;
}

.form__success span {
    font-size: 14px;
    color: var(--muted);
}

.form__note {
    margin-top: 14px;
    font-size: 12.5px;
    color: var(--faint);
}

@media (max-width: 991px) {
    .contact__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.footer {
    position: relative;
    border-top: 1px solid var(--line);
    background: var(--ink-900);
    overflow: hidden;
}

.footer__inner {
    position: relative;
    z-index: 1;
    padding-top: clamp(56px, 6vw, 84px);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: clamp(32px, 4vw, 56px);
    padding-bottom: clamp(44px, 5vw, 64px);
}

.footer__logo img {
    height: 38px;
    width: auto;
}

.footer__about p {
    margin-top: 18px;
    max-width: 34ch;
    font-size: 14.5px;
}

.footer__socials {
    margin-top: 22px;
    display: flex;
    gap: 10px;
}

.footer__socials a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--paper);
    transition: all 0.25s var(--ease);
}

.footer__socials a:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.footer__socials svg {
    width: 17px;
    height: 17px;
}

.footer__title {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 20px;
}

.footer__links li + li {
    margin-top: 2px;
}

.footer__links a {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 7px 0;
    font-size: 14.5px;
    color: var(--muted);
    transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}

.footer__links svg {
    width: 13px;
    height: 13px;
    color: var(--accent);
    opacity: 0;
    max-width: 0;
    transition: all 0.25s var(--ease);
}

.footer__links a:hover {
    color: var(--paper);
    gap: 8px;
}

.footer__links a:hover svg {
    opacity: 1;
    max-width: 16px;
}

.footer__contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.55;
}

.footer__contact svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex: none;
    margin-top: 3px;
}

.footer__contact a:hover {
    color: var(--paper);
}

.footer__hours {
    padding: 18px 20px;
    display: flex;
    gap: 14px;
    align-items: center;
}

.footer__hours strong {
    display: block;
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--paper);
}

.footer__hours span {
    font-size: 13px;
    color: var(--muted);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    padding-block: 26px;
    border-top: 1px solid var(--line);
    font-size: 13.5px;
    color: var(--faint);
}

.footer__bottom a {
    color: var(--paper);
    font-weight: 500;
}

.footer__bottom a:hover {
    color: var(--accent);
}

.footer__payments {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 5px 9px;
}

@media (max-width: 900px) {
    .footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --------------------------------------------------------------------------
   19b. Shop
   -------------------------------------------------------------------------- */
.shop-head {
    padding-top: clamp(120px, 14vw, 168px);
}

.shop__filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.shop__filter {
    padding: 9px 18px;
    border-radius: 100px;
    border: 1px solid var(--line);
    background: transparent;
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--muted);
    transition: all 0.2s var(--ease);
}

.shop__filter:hover {
    border-color: rgba(224, 18, 56, 0.35);
    color: var(--paper);
}

.shop__filter.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.shop__count {
    text-align: center;
    font-size: 13px;
    color: var(--faint);
    margin-bottom: 32px;
}

.shop__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.shop__card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.shop__card[hidden] {
    display: none;
}

.shop__card-media {
    display: block;
    aspect-ratio: 1;
    background: var(--ink-900);
}

.shop__card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
}

.shop__card-body {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    border-top: 1px solid var(--line-soft);
}

.shop__card-title {
    font-size: 14px;
    line-height: 1.45;
    min-height: 40px;
}

.shop__card-title a {
    color: var(--paper);
    font-weight: 500;
}

.shop__card-title a:hover {
    color: var(--accent);
}

.shop__card-price {
    margin: 8px 0 14px;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--accent);
}

.shop__card .btn {
    margin-top: auto;
}

.shop__empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
}

@media (max-width: 1100px) {
    .shop__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .shop__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .shop__filters {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        margin-inline: calc(var(--gutter) * -1);
        padding-inline: var(--gutter);
    }

    .shop__filter {
        flex: none;
    }
}

@media (max-width: 480px) {
    .shop__grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   20. Floating quick-contact
   -------------------------------------------------------------------------- */
.quick-contact {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-contact a {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--paper);
    box-shadow: 0 10px 24px rgba(11, 13, 16, 0.12);
    transition: all 0.25s var(--ease);
}

.quick-contact a:hover {
    transform: translateY(-3px);
}

.quick-contact a.is-whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
}

.quick-contact a:not(.is-whatsapp):hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.quick-contact svg {
    width: 21px;
    height: 21px;
}

@media (max-width: 560px) {
    .quick-contact a {
        width: 44px;
        height: 44px;
    }
}
