/* Design System Variables */
:root {
    --color-background: #050505;
    --color-background-rgb: 5, 5, 5;
    --color-surface: #0D0D0D;
    --color-card: #121212;
    --color-card-hover: #181818;
    --color-border: #262626;
    --color-primary: #C99A2E;
    --color-primary-hover: #E3B03C;
    --color-primary-rgb: 201, 154, 46;
    --color-text: #FFFFFF;
    --color-text-muted: #AFAFAF;
    --color-text-passive: #777777;
    
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-quick: all 0.15s ease;
    --border-radius: 4px;
    --border-radius-lg: 8px;
}

.brand-card-fallback[hidden] {
    display: none !important;
}

.brand-card-fallback {
    display: grid;
    place-items: center;
    min-width: 4.5rem;
    min-height: 3rem;
    color: var(--color-primary);
    font-size: .85rem;
    font-weight: 900;
    letter-spacing: .12em;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-quick);
}

a:hover {
    color: var(--color-primary-hover);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Typography Helpers */
.title-gold {
    color: var(--color-primary);
}

.text-gold {
    color: var(--color-primary);
}

.section-title {
    font-size: 2.5rem;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title span {
    color: var(--color-primary);
}

.section-subtitle {
    display: block;
    color: var(--color-primary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 600;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(5, 5, 5, 0.85);
    transition: var(--transition-smooth);
}

/* Disable backdrop blur when editing elements, modals or drawers */
.quick-content-modal,
.edit-drawer,
.edit-drawer.side-drawer-mode,
.edit-drawer-overlay,
.inline-menu-modal,
.contact-modal-overlay {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.header-scrolled {
    padding: 0.5rem 0;
    background-color: rgba(5, 5, 5, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none;
    padding: 0;
    margin: 0;
    overflow: visible;
}

.logo-link img.site-logo-img {
    display: block;
    width: auto;
    height: clamp(52px, 4.5vw, 65px);
    max-width: min(180px, 30vw);
    object-fit: contain;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform-origin: center;
    transition: transform 280ms ease, filter 280ms ease;
    will-change: transform, filter;
}

.logo-link:hover img.site-logo-img {
    transform: translateY(-2px) scale(1.045);
    filter: drop-shadow(0 0 6px rgba(212, 165, 55, .30)) drop-shadow(0 0 14px rgba(212, 165, 55, .14));
}

.logo-link:focus-visible img.site-logo-img {
    outline: 2px solid var(--color-primary, #C99A2E);
    outline-offset: 4px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .logo-link img.site-logo-img {
        height: 46px;
        max-width: 180px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo-link img.site-logo-img {
        transition: none !important;
    }
    .logo-link:hover img.site-logo-img {
        transform: none !important;
    }
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: clamp(0.35rem, 1.2vw, 1.5rem);
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--color-text-muted);
    font-size: clamp(0.78rem, 0.9vw, 0.9rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.5rem 0.25rem;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-text);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-quick);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Header Dropdown Submenu Styles - Simple Elegant Dark Theme */
.nav-item-has-children {
    position: relative;
}
.nav-arrow {
    font-size: 0.7rem;
    margin-left: 0.35rem;
    transition: transform 0.2s ease;
    color: var(--site-primary, #ffb703);
}
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 210px;
    background: #121216;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0.4rem;
    margin: 0;
    list-style: none;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 1000;
}
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}
.nav-item-has-children:hover .nav-dropdown-menu,
.nav-item-has-children.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-item-has-children:hover .nav-arrow,
.nav-item-has-children.is-open .nav-arrow {
    transform: rotate(180deg);
}
.nav-dropdown-menu li {
    display: block;
}
.dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #e4e4e7;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.15s ease, color 0.15s ease;
}
.dropdown-link:hover {
    background: rgba(255, 183, 3, 0.12);
    color: var(--site-primary, #ffb703);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #000;
    border: 1px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 154, 46, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--color-primary);
    color: var(--color-text);
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--color-text);
    transition: var(--transition-quick);
}

/* Hero Section */
.hero {
    min-height: clamp(620px, 78svh, 820px);
    padding: 128px 0 52px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #030303;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(2, 2, 2, 0.98) 0%, rgba(2, 2, 2, 0.91) 30%, rgba(2, 2, 2, 0.38) 61%, rgba(2, 2, 2, 0.08) 100%);
}

.hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 25%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(3, 3, 3, 0.96));
}

.hero-background-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #030303;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: block;
}

.hero-responsive-signature {
    display: none;
}

.hero-content-wrap {
    width: min(48%, 620px);
    min-width: 580px;
}

.hero-title {
    max-width: 15ch;
    font-size: clamp(3.15rem, 4.25vw, 4.75rem);
    line-height: 0.98;
    margin-bottom: 1.35rem;
    text-transform: uppercase;
    text-wrap: balance;
}

.hero-title .title-gold {
    display: block;
    margin-top: 0.12em;
}

.hero-title-line {
    display: block;
}

.hero-description {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 1.8rem;
    max-width: 470px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 2.3rem;
}

.hero-buttons .btn {
    min-width: 168px;
    gap: 0.7rem;
}

.hero-trust-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    border-top: 1px solid var(--color-border);
    padding-top: 1.25rem;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-value {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--color-primary);
    font-variant-numeric: tabular-nums;
}

.trust-label {
    font-size: 0.8rem;
    color: var(--color-text-passive);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-socials {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.15rem;
}

.hero-socials-label {
    color: #d0d0d0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.hero-social-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.hero-social-link {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d5d5d5;
    border: 1px solid transparent;
    border-radius: 50%;
    transition: color 210ms ease, border-color 210ms ease, transform 210ms ease;
}

.hero-social-link:hover,
.hero-social-link:focus-visible {
    color: var(--color-primary);
    border-color: rgba(var(--color-primary-rgb), 0.38);
    transform: scale(1.1);
    outline: none;
}

.hero-mobile-media.swiper {
    display: none;
}

.hero-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 550px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.hero-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.hero-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(t, transparent, rgba(5, 5, 5, 0.4));
    pointer-events: none;
}

/* Sections */
.section {
    padding: 5.25rem 0;
    border-bottom: 1px solid var(--color-border);
}

.services-section {
    padding-top: 4.5rem;
}

.bg-surface {
    background-color: var(--color-surface);
}

/* Service Grid & Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 1.5rem;
}

.service-card {
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-5px);
    background-color: var(--color-card-hover);
    border-color: rgba(201, 154, 46, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Premium Service Card Cover Media Header */
.service-card-media {
    position: relative;
    width: 100%;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(215, 167, 39, 0.3);
    background: #0a0a0a;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.3s ease;
}

.service-card-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(14, 14, 14, 0.88) 0%, rgba(14, 14, 14, 0.2) 65%, transparent 100%);
    pointer-events: none;
}

.service-card-media-icon {
    position: absolute;
    bottom: 0.65rem;
    left: 0.75rem;
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(14, 14, 14, 0.85);
    border: 1px solid rgba(215, 167, 39, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary, #d7a727);
    font-size: 1.3rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
}

.service-card:hover .service-card-media {
    border-color: rgba(215, 167, 39, 0.7);
    box-shadow: 0 10px 28px rgba(215, 167, 39, 0.25);
}

.service-card:hover .service-card-media img {
    transform: scale(1.08);
}

.service-card:hover .service-card-media-icon {
    border-color: #d7a727;
    background: #d7a727;
    color: #111;
    transform: scale(1.08);
}

.service-icon {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    transition: transform 0.28s ease;
}

.service-card--tachometer .service-title {
    padding-right: 7rem;
}

.service-card--tachometer:hover,
.service-card--tachometer:focus-within,
.service-card--tachometer:focus-visible {
    border-color: var(--color-primary);
    outline: none;
}

.service-card--tachometer:hover .service-icon,
.service-card--tachometer:focus-within .service-icon,
.service-card--tachometer:focus-visible .service-icon {
    transform: translateY(-2px);
}

/* Compact analog tachometer */
.tachometer {
    --tachometer-idle-angle: -78.57deg;
    --tachometer-redline-angle: 104deg;
    flex: 0 0 auto;
    color: #fff;
    pointer-events: none;
}

.tachometer--service {
    position: absolute;
    z-index: 1;
    top: 1rem;
    right: 0.95rem;
    width: 118px;
    height: 82px;
    padding: 3px;
    opacity: 0.94;
    border-radius: 52% 52% 8px 8px / 62% 62% 8px 8px;
    background: linear-gradient(180deg, rgba(14, 14, 14, 0.78), rgba(8, 8, 8, 0.18));
}

.tachometer__svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.tachometer__bezel,
.tachometer__arc,
.tachometer__redline,
.tachometer__inner-detail {
    fill: none;
    stroke: #343434;
    stroke-width: 1.4;
    stroke-linecap: round;
}

.tachometer__bezel {
    stroke: #202020;
    stroke-width: 3.5;
}

.tachometer__redline {
    stroke: #742329;
    stroke-width: 3.2;
}

.tachometer__minor-ticks line {
    stroke: #686868;
    stroke-width: 0.85;
    stroke-linecap: round;
}

.tachometer__minor-ticks .tachometer__major-tick {
    stroke: #ededed;
    stroke-width: 1.45;
}

.tachometer__minor-ticks .tachometer__tick-red {
    stroke: #8b3035;
}

.tachometer__labels text {
    fill: #c4c4c4;
    font-family: var(--font-primary);
    font-size: 8px;
    font-weight: 700;
    text-anchor: middle;
}

.tachometer__labels .tachometer__label-red {
    fill: #9e3a3e;
}

.tachometer__unit {
    fill: #6c6c6c;
    font-family: var(--font-primary);
    font-size: 5.5px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.tachometer__inner-detail {
    stroke: #242424;
    stroke-width: 1;
}

.tachometer__needle {
    transform: rotate(var(--tachometer-idle-angle));
    transform-origin: 70px 68px;
    transform-box: view-box;
    transition: transform 900ms cubic-bezier(0.22, 0.61, 0.26, 1);
    will-change: transform;
}

.tachometer__needle path {
    fill: var(--color-primary);
}

.tachometer__hub-ring {
    fill: #292929;
    stroke: #5a5a5a;
    stroke-width: 0.9;
}

.tachometer__needle .tachometer__hub {
    fill: #101010;
    stroke: #373737;
    stroke-width: 0.7;
}

.service-card--tachometer:hover .tachometer__needle,
.service-card--tachometer:focus-within .tachometer__needle,
.service-card--tachometer:focus-visible .tachometer__needle,
.service-card--tachometer:active .tachometer__needle,
.service-card--tachometer.is-touch-revving .tachometer__needle {
    transform: rotate(var(--tachometer-redline-angle));
    transition-duration: 760ms;
    transition-timing-function: cubic-bezier(0.2, 0.72, 0.22, 1.12);
}

.service-card--tachometer:has(.service-link:focus-visible) .tachometer--service {
    opacity: 1;
}

/* Pop & Bangs: compact twin-exhaust accent, isolated to its service slug. */
.service-card--pop-bangs {
    transition: transform 240ms ease, background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.service-card--pop-bangs .service-title {
    padding-right: 5.5rem;
}

.service-card--pop-bangs:is(:hover, :focus-within, :active) {
    transform: translateY(-3px);
    border-color: var(--color-primary);
}

.popbang-exhaust {
    position: absolute;
    z-index: 1;
    top: 1.05rem;
    right: 0.8rem;
    width: 96px;
    height: 44px;
    pointer-events: none;
}

.popbang-exhaust__svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.popbang-exhaust__pipes {
    transform-origin: 45px 24px;
}

.popbang-exhaust__metal {
    fill: #303236;
    stroke: #151619;
    stroke-width: 1.3;
}

.popbang-exhaust__highlight {
    fill: none;
    stroke: rgba(229, 211, 168, 0.42);
    stroke-width: 1;
    stroke-linecap: round;
}

.popbang-exhaust__rim {
    fill: #45484d;
    stroke: #777a7d;
    stroke-width: 0.8;
}

.popbang-exhaust__opening {
    fill: #090a0b;
    stroke: #222428;
    stroke-width: 0.7;
}

.popbang-flame {
    opacity: 0;
    transform: scaleX(0.15) scaleY(0.5);
    transform-box: view-box;
    transform-origin: 44px 18px;
}

.popbang-flame--lower {
    transform-origin: 44px 32px;
}

.popbang-flame-outer {
    fill: rgba(180, 48, 20, 0.8);
}

.popbang-flame-middle {
    fill: rgba(238, 126, 25, 0.9);
}

.popbang-flame-core {
    fill: rgba(255, 225, 128, 0.96);
}

.service-card--pop-bangs:is(:hover, :focus-within, :active) .popbang-flame {
    animation: popbang-flame-burst 620ms ease-out both;
}

.service-card--pop-bangs:is(:hover, :focus-within, :active) .popbang-flame--lower {
    animation-delay: 45ms;
}

.service-card--pop-bangs:is(:hover, :focus-within, :active) .popbang-exhaust__pipes {
    animation: popbang-exhaust-recoil 620ms ease-out both;
}

/* AdBlue: compact tank, pump and shut-off state, isolated to its service. */
.service-card--adblue {
    transition: transform 240ms ease, background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.service-card--adblue .service-title {
    padding-right: 6.2rem;
}

.service-card--adblue:is(:hover, :focus-within, :active) {
    transform: translateY(-3px);
    border-color: var(--color-primary);
}

.adblue-effect {
    position: absolute;
    z-index: 1;
    top: 0.85rem;
    right: 0.65rem;
    width: 110px;
    height: 59px;
    opacity: 0.88;
    pointer-events: none;
    transition: opacity 300ms ease;
}

.service-card--adblue:is(:hover, :focus-within, :active) .adblue-effect {
    opacity: 1;
}

.adblue-effect__svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.adblue-tank {
    fill: #292b2f;
    stroke: #64676b;
    stroke-width: 1.25;
    stroke-linejoin: round;
}

.adblue-tank__cap {
    fill: #36393d;
}

.adblue-tank__detail {
    fill: none;
    stroke: #44474b;
    stroke-width: 0.75;
}

.adblue-fluid {
    fill: rgba(186, 200, 202, 0.38);
    transform-box: fill-box;
    transform-origin: center bottom;
    transition: opacity 520ms ease 160ms, transform 520ms ease 160ms;
}

.adblue-fluid__surface {
    fill: none;
    stroke: rgba(220, 227, 226, 0.62);
    stroke-width: 0.9;
    stroke-linecap: round;
}

.adblue-line {
    fill: none;
    stroke: #aeb2b3;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-dasharray: 3 2;
    opacity: 0.72;
    transition: opacity 420ms ease 170ms;
}

.adblue-pump {
    transform-box: fill-box;
    transform-origin: center;
}

.adblue-pump__body {
    fill: #303338;
    stroke: #6b6e72;
    stroke-width: 1.15;
    stroke-linejoin: round;
    transition: opacity 380ms ease 250ms;
}

.adblue-pump__rotor {
    fill: #1b1c1f;
    stroke: #7a7d80;
    stroke-width: 0.9;
}

.adblue-pump__active {
    fill: none;
    stroke: rgba(220, 224, 221, 0.72);
    stroke-width: 0.8;
    stroke-linecap: round;
    opacity: 0.78;
    transition: opacity 360ms ease 260ms;
}

.adblue-drop {
    fill: rgba(205, 218, 218, 0.72);
    stroke: rgba(235, 238, 235, 0.55);
    stroke-width: 0.55;
    transform-box: fill-box;
    transform-origin: center;
    transition: opacity 420ms ease 180ms, transform 520ms ease 180ms;
}

.adblue-drop--2 {
    transition-delay: 250ms;
}

.adblue-warning {
    fill: rgba(201, 154, 46, 0.13);
    stroke: #b88629;
    stroke-width: 0.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
}

.adblue-off-indicator {
    opacity: 0;
    transform: scale(0.78);
    transform-box: fill-box;
    transform-origin: center;
    transition: opacity 260ms ease 440ms, transform 260ms ease 440ms;
}

.adblue-off-indicator rect {
    fill: rgba(201, 154, 46, 0.12);
    stroke: var(--color-primary);
    stroke-width: 0.8;
}

.adblue-off-indicator text {
    fill: var(--color-primary);
    font-family: var(--font-primary);
    font-size: 5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-anchor: middle;
}

.service-card--adblue:is(:hover, :focus-within, :active) .adblue-pump {
    animation: adblue-pump-recoil 420ms ease-out both;
}

.service-card--adblue:is(:hover, :focus-within, :active) .adblue-warning {
    animation: adblue-pump-warning 620ms ease-out both;
}

.service-card--adblue:is(:hover, :focus-within, :active) .adblue-line {
    opacity: 0.13;
}

.service-card--adblue:is(:hover, :focus-within, :active) .adblue-fluid {
    opacity: 0.42;
    transform: scaleY(0.88);
}

.service-card--adblue:is(:hover, :focus-within, :active) .adblue-drop {
    opacity: 0;
    transform: translate(5px, 7px);
}

.service-card--adblue:is(:hover, :focus-within, :active) :is(.adblue-pump__body, .adblue-pump__active) {
    opacity: 0.34;
}

.service-card--adblue:is(:hover, :focus-within, :active) .adblue-off-indicator {
    opacity: 1;
    transform: scale(1);
}

@keyframes adblue-pump-recoil {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-1px); }
    38% { transform: translateX(1px); }
    56% { transform: translateX(-1px); }
    74% { transform: translateX(0); }
}

@keyframes adblue-pump-warning {
    0%, 100% { opacity: 0; transform: scale(0.82); }
    10% { opacity: 0.9; transform: scale(1); }
    38% { opacity: 0.9; transform: scale(1); }
    58% { opacity: 0; transform: scale(0.9); }
}

@keyframes popbang-flame-burst {
    0%, 100% { opacity: 0; transform: scaleX(0.15) scaleY(0.5); }
    12% { opacity: 0.95; transform: scaleX(0.88) scaleY(0.96); }
    28% { opacity: 0; transform: scaleX(0.42) scaleY(0.68); }
    42% { opacity: 0; transform: scaleX(0.18) scaleY(0.5); }
    55% { opacity: 0.82; transform: scaleX(0.68) scaleY(0.82); }
    76% { opacity: 0; transform: scaleX(0.3) scaleY(0.6); }
}

@keyframes popbang-exhaust-recoil {
    0%, 100% { transform: translateX(0); }
    14%, 57% { transform: translateX(2px); }
    30%, 72% { transform: translateX(0); }
}

/* DPF: particulate purge and clean-flow accent, isolated to the DPF service. */
.service-card--dpf {
    transition: transform 240ms ease, background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.service-card--dpf .service-title {
    padding-right: 6rem;
}

.service-card--dpf:is(:hover, :focus-within, :active) {
    transform: translateY(-3px);
    border-color: var(--color-primary);
}

.dpf-effect {
    position: absolute;
    z-index: 1;
    top: 0.9rem;
    right: 0.7rem;
    width: 106px;
    height: 54px;
    pointer-events: none;
}

.dpf-effect__svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.dpf-filter-body {
    fill: #292b2e;
    stroke: #62656a;
    stroke-width: 1.4;
    stroke-linejoin: round;
}

.dpf-filter-body__inner {
    fill: #17181a;
    stroke: #3b3e42;
    stroke-width: 0.8;
}

.dpf-filter-grid {
    fill: none;
    stroke: #4d5054;
    stroke-width: 0.75;
    opacity: 0.68;
}

.dpf-filter-grid--clean,
.dpf-filter-edge {
    opacity: 0;
}

.dpf-filter-grid--clean {
    stroke: rgba(201, 154, 46, 0.82);
}

.dpf-filter-edge {
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 1.35;
    stroke-linejoin: round;
}

.dpf-particle {
    fill: #888b8f;
    opacity: 0.82;
    transform-box: fill-box;
    transform-origin: center;
}

.dpf-flow-in,
.dpf-flow-out {
    fill: none;
    stroke: #73767a;
    stroke-width: 1.2;
    stroke-linecap: round;
}

.dpf-flow-in {
    opacity: 0.42;
}

.dpf-flow-out {
    opacity: 0.24;
    transform-box: fill-box;
    transform-origin: center;
}

.service-card--dpf:is(:hover, :focus-within, :active) .dpf-particle {
    animation: dpf-particle-purge 660ms cubic-bezier(0.22, 0.66, 0.3, 1) both;
}

.service-card--dpf:is(:hover, :focus-within, :active) .dpf-particle--2 { animation-delay: 45ms; }
.service-card--dpf:is(:hover, :focus-within, :active) .dpf-particle--3 { animation-delay: 90ms; }
.service-card--dpf:is(:hover, :focus-within, :active) .dpf-particle--4 { animation-delay: 125ms; }
.service-card--dpf:is(:hover, :focus-within, :active) .dpf-particle--5 { animation-delay: 145ms; }
.service-card--dpf:is(:hover, :focus-within, :active) .dpf-particle--6 { animation-delay: 180ms; }

.service-card--dpf:is(:hover, :focus-within, :active) .dpf-flow-out {
    animation: dpf-clean-flow 780ms ease-out both;
}

.service-card--dpf:is(:hover, :focus-within, :active) .dpf-filter-grid {
    opacity: 0.25;
}

.service-card--dpf:is(:hover, :focus-within, :active) :is(.dpf-filter-grid--clean, .dpf-filter-edge) {
    opacity: 1;
}

@keyframes dpf-particle-purge {
    0% { opacity: 0.82; transform: translateX(0); }
    38% { opacity: 0.72; transform: translateX(7px); }
    100% { opacity: 0; transform: translateX(25px); }
}

@keyframes dpf-clean-flow {
    0% { opacity: 0.24; transform: translateX(-3px); }
    45% { opacity: 0.9; transform: translateX(2px); }
    100% { opacity: 0.78; transform: translateX(5px); }
}

/* EGR: valve shut-off and clean-air path, isolated to the EGR service. */
.service-card--egr {
    transition: transform 240ms ease, background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.service-card--egr .service-title {
    padding-right: 6.2rem;
}

.service-card--egr:is(:hover, :focus-within, :active) {
    transform: translateY(-3px);
    border-color: var(--color-primary);
}

.egr-effect {
    position: absolute;
    z-index: 1;
    top: 0.85rem;
    right: 0.65rem;
    width: 110px;
    height: 59px;
    opacity: 0.88;
    pointer-events: none;
    transition: opacity 300ms ease;
}

.service-card--egr:is(:hover, :focus-within, :active) .egr-effect {
    opacity: 1;
}

.egr-effect__svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.egr-manifold,
.egr-exhaust-line,
.egr-return-pipe,
.egr-valve__body {
    fill: #25272a;
    stroke: #5b5e62;
    stroke-width: 1.3;
    stroke-linejoin: round;
}

.egr-manifold path + path {
    fill: none;
    stroke: #45484c;
    stroke-width: 0.8;
}

.egr-exhaust-line,
.egr-return-pipe {
    fill: none;
    stroke-linecap: round;
}

.egr-return-flow {
    fill: none;
    stroke: rgba(137, 74, 62, 0.86);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.72;
    transition: opacity 520ms ease, transform 520ms ease;
}

.egr-clean-flow {
    fill: none;
    stroke: rgba(221, 221, 218, 0.66);
    stroke-width: 1.3;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.42;
    transition: opacity 650ms ease, transform 650ms ease, stroke 520ms ease;
}

.egr-clean-flow__arrow {
    stroke-width: 1.15;
}

.egr-valve-flap {
    fill: none;
    stroke: #a6a8aa;
    stroke-width: 2;
    stroke-linecap: round;
    transform-box: view-box;
    transform-origin: 58px 36px;
    transition: transform 440ms cubic-bezier(0.22, 0.7, 0.28, 1), stroke 440ms ease;
}

.egr-valve__pivot {
    fill: #17181a;
    stroke: #797c80;
    stroke-width: 0.7;
}

.egr-dirty-particle {
    fill: #8a6860;
    opacity: 0.74;
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 560ms ease, opacity 480ms ease;
}

.egr-dirty-particle--2 {
    transition-delay: 55ms;
}

.egr-dirty-particle--3 {
    transition-delay: 105ms;
}

.egr-shut-indicator {
    fill: rgba(201, 154, 46, 0.13);
    stroke: var(--color-primary);
    stroke-width: 0.9;
    stroke-linecap: round;
    opacity: 0;
    transform: scale(0.75);
    transform-box: fill-box;
    transform-origin: center;
    transition: opacity 320ms ease 260ms, transform 320ms ease 260ms;
}

.service-card--egr:is(:hover, :focus-within, :active) .egr-valve-flap {
    transform: rotate(82deg);
    stroke: var(--color-primary);
}

.service-card--egr:is(:hover, :focus-within, :active) .egr-return-flow {
    opacity: 0;
    transform: translateX(7px);
}

.service-card--egr:is(:hover, :focus-within, :active) .egr-dirty-particle {
    opacity: 0;
    transform: translate(10px, 4px);
}

.service-card--egr:is(:hover, :focus-within, :active) .egr-clean-flow {
    opacity: 0.96;
    transform: translateX(5px);
    stroke: var(--color-primary);
}

.service-card--egr:is(:hover, :focus-within, :active) .egr-shut-indicator {
    opacity: 0.82;
    transform: scale(1);
}

/* ECU UNLOCK: microchip, security access, red icon, and shackle unlock animation */
.service-card--ecu-unlock {
    transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), background-color 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}

.service-card--ecu-unlock .service-title {
    padding-right: 6.5rem;
}

.service-card--ecu-unlock .service-icon {
    color: #ff3b30;
    transition: transform 0.3s ease, color 0.3s ease, filter 0.3s ease;
}

.service-card--ecu-unlock:is(:hover, :focus-within, :active) {
    transform: translateY(-5px);
    border-color: rgba(255, 59, 48, 0.65);
    box-shadow: 0 10px 30px rgba(255, 59, 48, 0.2);
}

.service-card--ecu-unlock:is(:hover, :focus-within, :active) .service-icon {
    color: #ff453a;
    transform: scale(1.12);
    filter: drop-shadow(0 0 8px rgba(255, 59, 48, 0.5));
}

.ecu-unlock-effect {
    position: absolute;
    z-index: 1;
    top: 0.85rem;
    right: 0.65rem;
    width: 115px;
    height: 65px;
    opacity: 0.85;
    pointer-events: none;
    transition: opacity 300ms ease, transform 300ms ease;
}

.service-card--ecu-unlock:is(:hover, :focus-within, :active) .ecu-unlock-effect {
    opacity: 1;
    transform: scale(1.04);
}

.ecu-unlock-effect__svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.ecu-trace {
    fill: none;
    stroke: #3a3d42;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 350ms ease, opacity 350ms ease;
}

.ecu-bus-line {
    fill: none;
    stroke: #444850;
    stroke-width: 1;
    stroke-dasharray: 2 2;
}

.ecu-trace--pulse {
    stroke: rgba(255, 59, 48, 0.4);
    stroke-dasharray: 4 3;
    transition: stroke 350ms ease;
}

.service-card--ecu-unlock:is(:hover, :focus-within, :active) .ecu-trace {
    stroke: rgba(255, 59, 48, 0.65);
}

.service-card--ecu-unlock:is(:hover, :focus-within, :active) .ecu-trace--pulse {
    stroke: #ff3b30;
    animation: ecu-data-flow 1.2s linear infinite;
}

@keyframes ecu-data-flow {
    0% { stroke-dashoffset: 14; }
    100% { stroke-dashoffset: 0; }
}

.ecu-chip__base {
    fill: #1a1c20;
    stroke: #454950;
    stroke-width: 1.3;
    transition: stroke 300ms ease, fill 300ms ease;
}

.ecu-chip__core {
    fill: #111215;
    stroke: #ff3b30;
    stroke-width: 1;
    stroke-dasharray: 60;
    stroke-dashoffset: 0;
    transition: stroke 300ms ease, fill 300ms ease;
}

.ecu-chip__pins {
    fill: none;
    stroke: #666a72;
    stroke-width: 1.1;
    stroke-linecap: round;
    transition: stroke 300ms ease;
}

.service-card--ecu-unlock:is(:hover, :focus-within, :active) .ecu-chip__base {
    stroke: rgba(255, 59, 48, 0.7);
    fill: #221a1b;
}

.service-card--ecu-unlock:is(:hover, :focus-within, :active) .ecu-chip__core {
    fill: rgba(255, 59, 48, 0.15);
    stroke: #ff3b30;
}

.service-card--ecu-unlock:is(:hover, :focus-within, :active) .ecu-chip__pins {
    stroke: #ff3b30;
}

.ecu-chip__text {
    font-family: var(--font-heading, system-ui, sans-serif);
    font-size: 6.5px;
    font-weight: 800;
    fill: #e1e3e6;
    letter-spacing: 0.5px;
}

.ecu-chip__subtext {
    font-family: var(--font-heading, system-ui, sans-serif);
    font-size: 5.5px;
    font-weight: 700;
    fill: #ff3b30;
    letter-spacing: 0.8px;
    transition: fill 300ms ease;
}

.service-card--ecu-unlock:is(:hover, :focus-within, :active) .ecu-chip__subtext {
    fill: #34c759;
}

.ecu-lock__body {
    fill: #2c2f36;
    stroke: #ff3b30;
    stroke-width: 1.2;
    transition: stroke 350ms ease, fill 350ms ease;
}

.ecu-lock__shackle {
    fill: none;
    stroke: #ff3b30;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform-origin: 39px 24px;
    transform-box: view-box;
    transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1), stroke 350ms ease;
}

.ecu-lock__keyhole,
.ecu-lock__keyhole-stem {
    fill: #ff3b30;
    stroke: #ff3b30;
    stroke-width: 1;
    transition: stroke 350ms ease, fill 350ms ease;
}

.service-card--ecu-unlock:is(:hover, :focus-within, :active) .ecu-lock__shackle {
    transform: translateY(-4px) rotate(-22deg);
    stroke: #34c759;
}

.service-card--ecu-unlock:is(:hover, :focus-within, :active) .ecu-lock__body {
    stroke: #34c759;
    fill: rgba(52, 199, 89, 0.12);
}

.service-card--ecu-unlock:is(:hover, :focus-within, :active) :is(.ecu-lock__keyhole, .ecu-lock__keyhole-stem) {
    fill: #34c759;
    stroke: #34c759;
}

.ecu-status-led {
    fill: #ff3b30;
    transition: fill 300ms ease, filter 300ms ease;
}

.service-card--ecu-unlock:is(:hover, :focus-within, :active) .ecu-status-led {
    fill: #34c759;
    filter: drop-shadow(0 0 5px #34c759);
}

/* MULTIMAP / MAPSWITCH: multi-calibration slot selection, toggle switch, red icon, and map hover transition */
.service-card--multimap {
    transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), background-color 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}

.service-card--multimap .service-title {
    padding-right: 6.8rem;
}

.service-card--multimap .service-icon {
    color: #ff3b30;
    transition: transform 0.3s ease, color 0.3s ease, filter 0.3s ease;
}

.service-card--multimap:is(:hover, :focus-within, :active) {
    transform: translateY(-5px);
    border-color: rgba(255, 59, 48, 0.65);
    box-shadow: 0 10px 30px rgba(255, 59, 48, 0.2);
}

.service-card--multimap:is(:hover, :focus-within, :active) .service-icon {
    color: #ff453a;
    transform: scale(1.12);
    filter: drop-shadow(0 0 8px rgba(255, 59, 48, 0.5));
}

.multimap-effect {
    position: absolute;
    z-index: 1;
    top: 0.85rem;
    right: 0.65rem;
    width: 120px;
    height: 65px;
    opacity: 0.88;
    pointer-events: none;
    transition: opacity 300ms ease, transform 300ms ease;
}

.service-card--multimap:is(:hover, :focus-within, :active) .multimap-effect {
    opacity: 1;
    transform: scale(1.04);
}

.multimap-effect__svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.multimap-trace {
    fill: none;
    stroke: #3a3d42;
    stroke-width: 1.2;
    stroke-linecap: round;
    transition: stroke 350ms ease;
}

.multimap-bus-line {
    fill: none;
    stroke: #444850;
    stroke-width: 1;
    stroke-dasharray: 2 2;
    transition: stroke 350ms ease;
}

.multimap-toggle__track {
    fill: #1d1f24;
    stroke: #454950;
    stroke-width: 1.2;
    transition: stroke 300ms ease;
}

.multimap-toggle__thumb {
    fill: #ff3b30;
    transition: transform 380ms cubic-bezier(0.34, 1.56, 0.64, 1), fill 350ms ease;
    transform-box: view-box;
    transform-origin: center;
}

.service-card--multimap:is(:hover, :focus-within, :active) .multimap-toggle__thumb {
    transform: translateY(12px);
    fill: #34c759;
}

.multimap-slot__bg {
    fill: #191b1f;
    stroke: #3a3d44;
    stroke-width: 1;
    transition: stroke 300ms ease, fill 300ms ease;
}

.multimap-slot__dot {
    fill: #555962;
    transition: fill 300ms ease;
}

.multimap-slot__label {
    font-family: var(--font-heading, system-ui, sans-serif);
    font-size: 5.5px;
    font-weight: 800;
    fill: #8a8e96;
    transition: fill 300ms ease;
}

.multimap-slot__sub {
    font-family: var(--font-heading, system-ui, sans-serif);
    font-size: 5px;
    font-weight: 700;
    fill: #666a74;
    letter-spacing: 0.3px;
    transition: fill 300ms ease;
}

.multimap-slot--1 .multimap-slot__bg {
    stroke: rgba(255, 59, 48, 0.7);
    fill: rgba(255, 59, 48, 0.1);
}
.multimap-slot--1 .multimap-slot__dot { fill: #ff3b30; }
.multimap-slot--1 .multimap-slot__label { fill: #ffffff; }
.multimap-slot--1 .multimap-slot__sub { fill: #ff3b30; }

.service-card--multimap:is(:hover, :focus-within, :active) .multimap-slot--1 .multimap-slot__bg {
    stroke: #3a3d44;
    fill: #191b1f;
}
.service-card--multimap:is(:hover, :focus-within, :active) .multimap-slot--1 .multimap-slot__dot { fill: #555962; }
.service-card--multimap:is(:hover, :focus-within, :active) .multimap-slot--1 .multimap-slot__label { fill: #8a8e96; }
.service-card--multimap:is(:hover, :focus-within, :active) .multimap-slot--1 .multimap-slot__sub { fill: #666a74; }

.service-card--multimap:is(:hover, :focus-within, :active) .multimap-slot--2 .multimap-slot__bg {
    stroke: #34c759;
    fill: rgba(52, 199, 89, 0.12);
}
.service-card--multimap:is(:hover, :focus-within, :active) .multimap-slot--2 .multimap-slot__dot { fill: #34c759; }
.service-card--multimap:is(:hover, :focus-within, :active) .multimap-slot--2 .multimap-slot__label { fill: #ffffff; }
.service-card--multimap:is(:hover, :focus-within, :active) .multimap-slot--2 .multimap-slot__sub { fill: #34c759; }

.service-card--multimap:is(:hover, :focus-within, :active) .multimap-trace {
    stroke: rgba(52, 199, 89, 0.7);
}

@media (prefers-reduced-motion: reduce) {
    .tachometer__needle {
        transition: none;
    }

    .service-card--pop-bangs,
    .popbang-flame,
    .popbang-exhaust__pipes {
        animation: none !important;
        transition: none;
    }

    .service-card--pop-bangs:hover .popbang-flame,
    .service-card--pop-bangs:focus-within .popbang-flame {
        opacity: 0.5;
        transform: scaleX(0.42) scaleY(0.68);
    }

    .service-card--dpf,
    .dpf-particle,
    .dpf-flow-out {
        animation: none !important;
        transition: none;
    }

    .service-card--dpf:hover .dpf-filter-grid,
    .service-card--dpf:focus-within .dpf-filter-grid {
        opacity: 0.25;
    }

    .service-card--dpf:hover .dpf-filter-grid--clean,
    .service-card--dpf:focus-within .dpf-filter-grid--clean,
    .service-card--dpf:hover .dpf-filter-edge,
    .service-card--dpf:focus-within .dpf-filter-edge {
        opacity: 1;
    }

    .service-card--dpf:hover .dpf-flow-out,
    .service-card--dpf:focus-within .dpf-flow-out {
        opacity: 0.78;
        transform: none;
    }

    .service-card--egr,
    .egr-effect,
    .egr-valve-flap,
    .egr-return-flow,
    .egr-clean-flow,
    .egr-dirty-particle,
    .egr-shut-indicator {
        transition: none !important;
    }

    .service-card--egr:hover .egr-return-flow,
    .service-card--egr:focus-within .egr-return-flow,
    .service-card--egr:hover .egr-dirty-particle,
    .service-card--egr:focus-within .egr-dirty-particle {
        opacity: 0;
        transform: none;
    }

    .service-card--egr:hover .egr-clean-flow,
    .service-card--egr:focus-within .egr-clean-flow {
        opacity: 0.96;
        transform: none;
        stroke: var(--color-primary);
    }

    .service-card--adblue,
    .adblue-effect,
    .adblue-fluid,
    .adblue-line,
    .adblue-pump,
    .adblue-pump__body,
    .adblue-pump__active,
    .adblue-drop,
    .adblue-warning,
    .adblue-off-indicator {
        animation: none !important;
        transition: none !important;
    }

    .service-card--adblue:hover .adblue-line,
    .service-card--adblue:focus-within .adblue-line {
        opacity: 0.13;
    }

    .service-card--adblue:hover .adblue-off-indicator,
    .service-card--adblue:focus-within .adblue-off-indicator {
        opacity: 1;
        transform: scale(1);
    }

    .service-card--adblue:hover .adblue-effect,
    .service-card--adblue:focus-within .adblue-effect {
        opacity: 0.88;
    }

    .service-card--adblue:hover .adblue-fluid,
    .service-card--adblue:focus-within .adblue-fluid,
    .service-card--adblue:hover .adblue-drop,
    .service-card--adblue:focus-within .adblue-drop {
        opacity: 1;
        transform: none;
    }

    .service-card--adblue:hover .adblue-pump__body,
    .service-card--adblue:focus-within .adblue-pump__body {
        opacity: 1;
    }

    .service-card--adblue:hover .adblue-pump__active,
    .service-card--adblue:focus-within .adblue-pump__active {
        opacity: 0.78;
    }
}

.service-title {
    font-size: 1.15rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.28;
    word-break: break-word;
}

.service-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-link i {
    margin-left: 0.5rem;
    transition: var(--transition-quick);
}

.service-link:hover i {
    transform: translateX(3px);
}

/* Statistics Strip */
.stats-strip {
    padding: 3rem 0;
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-icon {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Project Cards */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 2rem;
}

.project-card {
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.project-card:hover {
    border-color: rgba(201, 154, 46, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.project-media {
    position: relative;
    padding-top: 60%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.project-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img {
    transform: scale(1.025);
}

.project-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--color-primary);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 2px;
}

.project-content {
    padding: 1.5rem;
}

.projects-grid--featured {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.projects-grid--featured .project-card {
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.projects-grid--featured .project-media {
    padding-top: 0;
    aspect-ratio: 16 / 10;
}

.projects-grid--featured .project-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.05rem;
}

.projects-grid--featured .project-category {
    top: 0.7rem;
    left: 0.7rem;
    font-size: 0.68rem;
}

.projects-grid--featured .project-title {
    font-size: 1.05rem;
    margin-bottom: 0.55rem;
}

.projects-grid--featured .project-desc {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 2.8em;
    margin-bottom: 1rem;
    font-size: 0.86rem;
    line-height: 1.4;
}

.projects-grid--featured .project-content .btn {
    margin-top: auto;
    font-size: 0.76rem;
}

.gallery-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.gallery-actions .btn {
    gap: 0.65rem;
}

.project-title {
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.project-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-features {
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-top: 0.2rem;
}

.feature-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Contact Grid & Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 4rem;
}

.contact-info-list {
    display: grid;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1.25rem;
}

.contact-info-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-top: 0.25rem;
}

.contact-info-title {
    font-size: 0.8rem;
    color: var(--color-text-passive);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.contact-info-value {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-text);
}

.contact-form {
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    padding: 3rem;
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    color: var(--color-text-muted);
}

.form-control {
    width: 100%;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 0.85rem 1rem;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    border-radius: var(--border-radius);
    transition: var(--transition-quick);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 5px rgba(201, 154, 46, 0.2);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.checkbox-control {
    margin-top: 0.3rem;
    accent-color: var(--color-primary);
}

.checkbox-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.field-validation-error {
    color: #ff4a4a;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

/* Map Section */
.map-section {
    padding: 0;
    border-bottom: 1px solid var(--color-border);
}

.map-container {
    height: 450px;
    width: 100%;
    background-color: #000;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: invert(90%) hue-rotate(180deg) grayscale(100%);
}

/* Footer */
.site-footer {
    background-color: #000000;
    border-top: 1px solid var(--color-border);
    padding: 5rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    border-radius: var(--border-radius);
    transition: var(--transition-quick);
}

.social-icon-link:hover {
    color: #000;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.75rem;
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.25s ease;
    position: relative;
}

.footer-link::before {
    content: "›";
    font-size: 1.1rem;
    line-height: 1;
    color: var(--color-primary);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-link:hover {
    color: var(--color-primary);
    transform: translateX(6px);
    text-shadow: 0 0 12px rgba(201, 154, 46, 0.35);
}

.footer-link:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-whatsapp-card {
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.whatsapp-card-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.whatsapp-card-btn {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-passive);
    font-size: 0.85rem;
}

/* Alert Boxes */
.alert {
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
}

.alert-success {
    background-color: rgba(201, 154, 46, 0.1);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.alert-danger {
    background-color: rgba(255, 74, 74, 0.1);
    border: 1px solid #ff4a4a;
    color: #ff4a4a;
}

.contact-feedback {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    width: 100%;
    margin-bottom: 1.25rem;
    padding: 1rem 1.1rem;
    border: 1px solid;
    border-radius: var(--border-radius);
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.5;
    white-space: pre-line;
}

.contact-feedback[hidden] {
    display: none;
}

.contact-feedback i {
    flex: 0 0 auto;
    margin-top: .1rem;
    font-size: 1.1rem;
}

.contact-feedback--success {
    color: #e0bd68;
    border-color: rgba(201, 154, 46, .72);
    background: rgba(201, 154, 46, .11);
}

.contact-feedback--danger {
    color: #ff8080;
    border-color: rgba(255, 74, 74, .65);
    background: rgba(255, 74, 74, .09);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--color-primary);
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 90;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.25rem;
        right: 1rem;
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--color-primary-hover);
    color: #000;
    transform: translateY(-3px);
}

/* Administrative Toolbar & Inline Edit Overlay */
.admin-toolbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #000000;
    border-bottom: 2px solid var(--color-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    font-size: 0.85rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.admin-toolbar-brand {
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--color-primary);
}

.admin-toolbar-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.admin-btn {
    padding: 0.4rem 0.9rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: var(--transition-quick);
}

.admin-btn-primary {
    background-color: var(--color-primary);
    color: #000;
}

.admin-btn-primary:hover {
    background-color: var(--color-primary-hover);
}

.admin-btn-secondary {
    background-color: #222;
    color: #fff;
    border: 1px solid #333;
}

.admin-btn-secondary:hover {
    background-color: #333;
}

/* Offset body & header whenever admin toolbar is visible */
body.admin-logged-in {
    padding-top: 50px !important;
}

body.admin-logged-in .site-header {
    top: 50px !important;
}

/* Inline Editable Highlight overlay */
.editable-active .editable-field {
    cursor: pointer;
    transition: var(--transition-quick);
}

/* Preserve absolute layout for background media containers in edit mode */
.editable-active .page-hero__media,
.editable-active .hero-background-media {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.editable-active .editable-field:hover {
    outline: 1px dashed var(--color-primary) !important;
    background-color: rgba(201, 154, 46, 0.05) !important;
}

.edit-pencil-btn {
    display: none;
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--color-primary);
    color: #000;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    border: none;
}

.editable-active .editable-field:hover .edit-pencil-btn {
    display: flex;
}

body.editable-active .edit-pencil-btn {
    display: flex;
}

.edit-pencil-btn--badge {
    width: auto !important;
    height: auto !important;
    padding: 0.4rem 0.85rem !important;
    border-radius: 30px !important;
    background: rgba(13, 14, 20, 0.92) !important;
    border: 1px solid #ef233c !important;
    color: #ffffff !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.88), 0 0 12px rgba(239, 35, 60, 0.3) !important;
    z-index: 45 !important;
    cursor: pointer !important;
    text-transform: none !important;
    letter-spacing: 0.02em !important;
    top: auto !important;
    bottom: 10px !important;
    right: 10px !important;
    left: auto !important;
}

.edit-pencil-btn--badge:hover {
    background: #ef233c !important;
    color: #ffffff !important;
    transform: scale(1.04) !important;
    box-shadow: 0 6px 24px rgba(239, 35, 60, 0.55) !important;
}

.edit-pencil-btn--badge i {
    color: #ef233c !important;
    font-size: 0.9rem !important;
}

.edit-pencil-btn--badge:hover i {
    color: #ffffff !important;
}

/* Centered Viewport Drawer / Dialog for Inline Edit Form */
.edit-drawer {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -46%) scale(0.96) !important;
    width: min(560px, 94vw) !important;
    max-height: 88vh !important;
    background-color: #141418 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.88) !important;
    z-index: 12000 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

.edit-drawer.open {
    transform: translate(-50%, -50%) scale(1) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Side Drawer Mode for Background Image & Section Editing */
.edit-drawer.side-drawer-mode {
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    bottom: 0 !important;
    height: 100vh !important;
    width: min(480px, 94vw) !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
    transform: translateX(100%) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
}

.edit-drawer.side-drawer-mode.open {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.edit-drawer-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    z-index: 11999 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.edit-drawer-overlay.open {
    opacity: 1 !important;
    visibility: visible !important;
}

.edit-drawer-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.edit-drawer-title {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
}

.edit-drawer-close {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-quick);
}

.edit-drawer-close:hover {
    color: var(--color-text);
}

.edit-drawer-body {
    padding: 1.5rem;
    flex-grow: 1;
    overflow-y: auto;
}

.edit-drawer-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    gap: 1rem;
}

.edit-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(3px);
    z-index: 9999;
    display: none;
}

.edit-drawer-overlay.open {
    display: block;
}

/* Media Library Selector Styles */
.media-select-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid var(--color-border);
    padding: 0.5rem;
    background-color: var(--color-surface);
    margin-top: 0.5rem;
}

.media-select-item {
    cursor: pointer;
    border: 2px solid transparent;
    overflow: hidden;
    position: relative;
    padding-top: 100%;
}

.media-select-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-select-item:hover, .media-select-item.selected {
    border-color: var(--color-primary);
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Color Presets styles */
.color-presets-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0.5rem 0;
}

.color-preset-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.color-preset-circle:hover {
    transform: scale(1.15) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
}

/* RESPONSIVE LAYOUTS */

/* 1440px and up */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }
}

/* 1024px & Tablets landscape */
@media (max-width: 1024px) {
    .hero-title {
        font-size: clamp(3rem, 5.2vw, 3.8rem);
    }
    .hero-content-wrap {
        width: 54%;
        min-width: 440px;
    }
    .hero-background-media {
        background-position: 64% bottom;
    }
    .hero::before {
        background: linear-gradient(90deg, rgba(2, 2, 2, 0.98) 0%, rgba(2, 2, 2, 0.9) 40%, rgba(2, 2, 2, 0.3) 72%, rgba(2, 2, 2, 0.08) 100%);
    }
    .about-grid, .contact-grid {
        gap: 3rem;
    }
    .projects-grid--featured {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* 768px & Tablets portrait */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--color-background);
        border-top: 1px solid var(--color-border);
        flex-direction: column;
        justify-content: flex-start;
        padding: 4rem 2rem;
        transition: var(--transition-smooth);
        z-index: 999;
    }

    .nav-active .main-nav {
        left: 0;
    }

    /* Shift nav offset when admin mode active */
    body.admin-mode-active .main-nav {
        top: 130px;
        height: calc(100vh - 130px);
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .hero {
        min-height: auto;
        padding: 124px 0 48px;
    }

    .hero-content-wrap {
        width: min(78%, 560px);
        min-width: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        margin: 0 0 1.7rem;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .hero-trust-info {
        max-width: 520px;
    }

    .hero-background-media {
        background-position: 66% bottom;
    }

    .hero-responsive-signature {
        width: max-content;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        margin: 1.25rem 0 0 auto;
        padding-right: .25rem;
        line-height: 1;
        text-align: right;
    }

    .hero-responsive-signature span {
        margin-bottom: .3rem;
        color: #d6d6d6;
        font-size: .58rem;
        letter-spacing: .08em;
    }

    .hero-responsive-signature strong {
        color: var(--color-primary);
        font-size: 1rem;
        letter-spacing: .025em;
    }

    .hero::before {
        background: linear-gradient(90deg, rgba(2, 2, 2, 0.98) 0%, rgba(2, 2, 2, 0.91) 54%, rgba(2, 2, 2, 0.52) 78%, rgba(2, 2, 2, 0.25) 100%);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-media {
        order: -1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .edit-drawer {
        width: 100%;
        right: -100%;
    }
}

/* Public listing/detail pages and section navigation */
html {
    scroll-behavior: smooth;
}

.anchor-section {
    scroll-margin-top: 96px;
}

.anchor-section--targeted {
    animation: anchor-section-highlight 650ms ease-out both;
}

@keyframes anchor-section-highlight {
    0% { box-shadow: inset 0 2px 0 rgba(201, 154, 46, 0); }
    35% { box-shadow: inset 0 2px 0 rgba(201, 154, 46, 0.75); }
    100% { box-shadow: inset 0 2px 0 rgba(201, 154, 46, 0); }
}

.nav-link.is-active {
    color: var(--color-primary);
}

.nav-link.is-active::after {
    width: 100%;
}

.container-wide {
    max-width: 1520px;
}

.page-hero {
    padding: 9.5rem 0 4.5rem;
    border-bottom: 1px solid var(--color-border);
    background:
        radial-gradient(circle at 80% 25%, rgba(201, 154, 46, 0.09), transparent 32%),
        linear-gradient(135deg, #050505, #101010);
}

.page-hero--compact {
    padding-bottom: 3.75rem;
}

.page-hero h1 {
    max-width: 900px;
    margin: 0.4rem 0 1rem;
    font-size: clamp(2.3rem, 5vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
    text-transform: uppercase;
}

.page-hero p {
    max-width: 720px;
    color: var(--color-text-muted);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.7;
}

.page-hero--managed {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(520px, 50vw, 720px);
    padding: 10rem 0 5.5rem;
    overflow: hidden;
    background: #070707;
}

.page-hero--managed-compact {
    min-height: clamp(460px, 44vw, 620px);
    padding: 9rem 0 5rem;
}

.page-hero__media,
.page-hero__media img,
.page-hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.page-hero__media {
    z-index: -2;
    display: block;
}

.page-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--page-hero-position, center 50%);
    transition: object-position 0.25s ease;
}

.page-hero__shade {
    z-index: -1;
    background-color: rgba(0, 0, 0, var(--page-hero-overlay, 0.70));
    background: linear-gradient(180deg, rgba(0, 0, 0, calc(var(--page-hero-overlay, 0.70) * 0.7)) 0%, rgba(0, 0, 0, var(--page-hero-overlay, 0.70)) 100%);
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.page-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-inline: max(16px, 3vw);
}

.page-hero--managed h1 {
    max-width: 960px;
    margin: 0.4rem 0 0.85rem;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.9);
}

.page-hero--managed p {
    max-width: 780px;
    margin-inline: auto;
    color: #eaeaea;
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    line-height: 1.65;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
}

.page-hero--managed .breadcrumb {
    justify-content: center;
    margin-bottom: 0.75rem;
}

/* Page-Specific Image Positioning & Shade Overrides */
[data-page-key="vehicle-brands"].page-hero--managed .page-hero__media img {
    object-position: var(--page-hero-position, center 48%);
}

[data-page-key="about"].page-hero--managed {
    min-height: clamp(520px, 50vw, 720px);
}

[data-page-key="about"].page-hero--managed .page-hero__media img {
    object-position: var(--page-hero-position, center 58%);
}

[data-page-key="projects"].page-hero--managed {
    min-height: clamp(520px, 50vw, 720px);
}

[data-page-key="projects"].page-hero--managed .page-hero__media img {
    object-position: var(--page-hero-position, center 50%);
}

[data-page-key="blog"].page-hero--managed {
    min-height: clamp(520px, 50vw, 720px);
}

[data-page-key="blog"].page-hero--managed .page-hero__media img {
    object-position: var(--page-hero-position, center 50%);
}

[data-page-key="service-default"].page-hero--managed {
    min-height: clamp(500px, 48vw, 680px);
}

[data-page-key="service-default"].page-hero--managed .page-hero__media img {
    object-position: var(--page-hero-position, center 50%);
}

[data-page-key="contact"].page-hero--managed {
    min-height: clamp(500px, 48vw, 680px);
}

[data-page-key="contact"].page-hero--managed .page-hero__media img {
    object-position: var(--page-hero-position, center 48%);
}

/* Hero Media Breakpoint Positioning */
@media (max-width: 1200px) {
    .page-hero--managed {
        min-height: clamp(460px, 46vw, 600px);
        padding: 9rem 0 4.5rem;
    }
}

@media (max-width: 992px) {
    .page-hero--managed {
        min-height: clamp(400px, 48vw, 500px);
        padding: 7.5rem 0 3.5rem;
    }
    .page-hero--managed h1 {
        font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    }
    [data-page-key="about"].page-hero--managed .page-hero__media img {
        object-position: 30% 55% !important;
    }
    [data-page-key="vehicle-brands"].page-hero--managed .page-hero__media img {
        object-position: center 42% !important;
    }
}

@media (max-width: 768px) {
    .page-hero--managed {
        min-height: clamp(340px, 50vh, 440px);
        padding: 6.5rem 1rem 3rem;
    }
    .page-hero--managed-compact {
        min-height: clamp(310px, 46vh, 390px);
        padding: 5.5rem 1rem 2.5rem;
    }
    .page-hero--managed h1 {
        font-size: clamp(1.5rem, 5.5vw, 2.2rem);
        margin: 0.25rem 0 0.6rem;
    }
    .page-hero--managed p {
        font-size: 0.875rem;
        line-height: 1.5;
        max-width: 94%;
    }
    [data-page-key="vehicle-brands"].page-hero--managed .page-hero__media img {
        object-position: center 38% !important;
    }
    [data-page-key="about"].page-hero--managed .page-hero__media img {
        object-position: 22% 55% !important;
    }
}

@media (max-width: 480px) {
    .page-hero--managed {
        min-height: 320px;
        padding: 5.5rem 0.75rem 2.25rem;
    }
    .page-hero--managed h1 {
        font-size: 1.45rem;
        letter-spacing: -0.02em;
    }
    .page-hero--managed p {
        font-size: 0.825rem;
    }
}

.service-hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    padding: 1.5rem 20px 0;
    background: var(--color-background);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
    color: var(--color-text-passive);
    font-size: 0.82rem;
    list-style: none;
}

.breadcrumb a {
    color: var(--color-text-muted);
}

.breadcrumb a:hover {
    color: var(--color-primary);
}

.listing-section {
    padding-top: 3.25rem;
}

.listing-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.filter-chip {
    padding: 0.58rem 0.9rem;
    border: 1px solid var(--color-border);
    border-radius: 2px;
    color: var(--color-text-muted);
    background: var(--color-card);
    font-size: 0.78rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.055em;
}

.filter-chip:hover,
.filter-chip.is-active {
    color: #070707;
    border-color: var(--color-primary);
    background: var(--color-primary);
}

.listing-search {
    display: flex;
    flex: 0 1 390px;
    gap: 0.6rem;
}

.listing-search .form-control {
    min-width: 0;
}

.listing-search .btn {
    flex: 0 0 48px;
    padding-inline: 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.portfolio-grid .project-card,
.home-blog-grid .project-card,
.related-grid .project-card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
}

.portfolio-grid .project-content,
.home-blog-grid .project-content,
.related-grid .project-content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.portfolio-grid .service-link,
.home-blog-grid .service-link,
.related-grid .service-link {
    margin-top: auto;
}

.project-title a {
    color: inherit;
}

.project-title,
.project-desc {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.project-title { -webkit-line-clamp: 2; }
.project-desc { -webkit-line-clamp: 3; }

.card-meta {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--color-text-passive);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.media-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    color: #eee;
    background: linear-gradient(145deg, #111, #1b1b1b);
    font-weight: 800;
    letter-spacing: 0.12em;
}

.media-placeholder span {
    color: var(--color-primary);
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 2.75rem;
}

.pagination a {
    display: grid;
    min-width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    background: var(--color-card);
}

.pagination a:hover,
.pagination a.is-active {
    border-color: var(--color-primary);
    color: #050505;
    background: var(--color-primary);
}

.empty-state {
    padding: 5rem 1.5rem;
    border: 1px solid var(--color-border);
    background: var(--color-card);
    text-align: center;
}

.empty-state i {
    display: block;
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-size: 2.5rem;
}

.empty-state h2 { margin-bottom: 0.75rem; }
.empty-state p { margin-bottom: 1.5rem; color: var(--color-text-muted); }

.detail-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
}

.project-detail-hero-copy{max-width:850px;padding:clamp(1rem,4vw,3rem) 0}.project-detail-hero-copy h1{max-width:900px;margin:.8rem 0 1rem;font-size:clamp(2.25rem,6vw,5rem);line-height:1.02}.project-detail-hero-copy p{max-width:720px;margin:0;color:#e1e1e1;font-size:clamp(1rem,1.8vw,1.25rem);line-height:1.65}.project-detail-badge{display:inline-flex;padding:.45rem .7rem;border:1px solid rgba(201,154,46,.55);background:rgba(10,10,10,.55);color:var(--color-primary);font-size:.72rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.project-detail-feature{overflow:hidden;width:100%;max-height:680px;margin:0 0 clamp(2.5rem,6vw,5rem);border:1px solid rgba(201,154,46,.28);border-radius:var(--border-radius);background:var(--color-card)}.project-detail-feature img{display:block;width:100%;max-height:680px;object-fit:cover}.project-detail-actions{display:flex;justify-content:center;margin-top:3rem}

.detail-cover {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border: 1px solid rgba(201, 154, 46, 0.35);
    border-radius: var(--border-radius);
    background: var(--color-card);
}

.detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: start;
    gap: clamp(2rem, 5vw, 5rem);
}

.rich-content {
    width: 100%;
    max-width: 820px;
    color: var(--color-text-muted);
    font-size: 1.04rem;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.rich-content h2,
.rich-content h3 {
    margin: 2.6rem 0 1rem;
    color: var(--color-text);
    line-height: 1.25;
}

.rich-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.rich-content h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
.rich-content p, .rich-content ul, .rich-content ol { margin-bottom: 1.35rem; }
.rich-content ul, .rich-content ol { padding-left: 1.35rem; }
.rich-content li { margin-bottom: 0.55rem; }
.rich-content img { max-width: 100%; height: auto; }

.detail-aside {
    position: sticky;
    top: 110px;
}

.info-card {
    padding: 1.65rem;
    border: 1px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: var(--border-radius);
    background: var(--color-card);
}

.info-card dl { margin: 1.25rem 0 1.5rem; }
.info-card dl div { padding: 0.9rem 0; border-bottom: 1px solid var(--color-border); }
.info-card dt { margin-bottom: 0.25rem; color: var(--color-text-passive); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.09em; }
.info-card dd { margin: 0; color: var(--color-text); font-weight: 600; }
.info-card .btn { width: 100%; }

.detail-gallery { margin-top: 3.5rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.gallery-item { overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--color-border); border-radius: var(--border-radius); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 280ms ease; }
.gallery-item:hover img { transform: scale(1.025); }
.related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.home-blog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.home-blog-grid .project-media {
    padding-top: 0;
    aspect-ratio: 16 / 10;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Requested service-card breakpoints. */
.services-grid { grid-template-columns: 1fr; }

@media (min-width: 768px) {
    .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
    .service-card { height: 100%; padding: 2rem 1.35rem; }
}

@media (min-width: 1200px) {
    .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
}

@media (min-width: 1440px) {
    .services-section .container { max-width: 1520px; }
    .services-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 1199px) {
    .portfolio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
    .listing-toolbar { align-items: stretch; flex-direction: column; }
    .listing-search { flex-basis: auto; max-width: 520px; }
    .detail-hero-grid, .detail-layout { grid-template-columns: 1fr; }
    .detail-cover { max-width: 760px; }
    .detail-aside { position: static; }
    .info-card { max-width: 620px; }
    .home-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .page-hero { padding: 7.5rem 0 3rem; }
    .page-hero--managed,
    .page-hero--managed-compact {
        min-height: clamp(360px, 105vw, 460px);
        padding: 7rem 0 3rem;
    }
    .portfolio-grid, .home-blog-grid, .related-grid { grid-template-columns: 1fr; }
    .listing-search { max-width: none; }
    .gallery-grid { grid-template-columns: 1fr; }
}

/* Seven-item navigation needs the mobile drawer before links collide. */
@media (max-width: 1180px) {
    .hamburger { display: block; }
    .d-none-mobile { display: none !important; }
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100dvh - 80px);
        padding: 2.5rem 1.5rem;
        overflow-y: auto;
        border-top: 1px solid var(--color-border);
        background: rgba(5, 5, 5, 0.98);
        transition: left 260ms ease;
    }
    .nav-active .main-nav { left: 0; }
    .nav-list { width: 100%; flex-direction: column; align-items: center; gap: 1.25rem; }

    .nav-item-has-children {
        width: 100%;
        text-align: center;
    }
    .nav-item-has-children .nav-dropdown-menu {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        box-shadow: none !important;
        background: #141419 !important;
        border: 1px solid rgba(255, 183, 3, 0.3) !important;
        border-radius: 8px !important;
        margin-top: 0.65rem !important;
        margin-bottom: 0.65rem !important;
        padding: 0.5rem !important;
        display: none !important;
        opacity: 0;
        visibility: hidden;
        transform: none !important;
        transition: none !important;
    }
    .nav-item-has-children.is-open .nav-dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .anchor-section--targeted { animation: none; box-shadow: inset 0 2px 0 rgba(201, 154, 46, 0.5); }
    .gallery-item img { transition: none; }
}

/* 430px, 375px, 320px & Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding-inline: 1.25rem;
    }
    .hero {
        padding: 112px 0 40px;
    }
    .hero-content-wrap {
        width: 100%;
    }
    .hero-title {
        max-width: 10.5ch;
        font-size: clamp(2.35rem, 12vw, 3.25rem);
    }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .btn {
        width: 100%;
    }
    .hero-trust-info {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.55rem;
    }
    .trust-value {
        font-size: 1.25rem;
    }
    .trust-label {
        font-size: 0.62rem;
        line-height: 1.35;
    }
    .hero-socials {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.25rem;
    }
    .hero-background-media {
        background-position: 70% bottom;
        opacity: 0.68;
    }
    .hero::before {
        background: linear-gradient(90deg, rgba(2, 2, 2, 0.97) 0%, rgba(2, 2, 2, 0.84) 64%, rgba(2, 2, 2, 0.56) 100%);
    }
    .service-card {
        padding: 2rem 1.35rem;
    }
    .tachometer--service {
        width: 90px;
        height: 64px;
        right: 0.7rem;
    }
    .service-card--tachometer .service-title {
        padding-right: 5.2rem;
    }
    .service-card--pop-bangs .service-title {
        padding-right: 4.8rem;
    }
    .popbang-exhaust {
        width: 82px;
        height: 38px;
        right: 0.45rem;
    }
    .service-card--dpf .service-title {
        padding-right: 5rem;
    }
    .dpf-effect {
        width: 88px;
        height: 46px;
        right: 0.4rem;
    }
    .service-card--egr .service-title {
        padding-right: 5rem;
    }
    .egr-effect {
        width: 90px;
        height: 50px;
        right: 0.35rem;
        opacity: 0.8;
    }
    .service-card--adblue .service-title {
        padding-right: 5rem;
    }
    .adblue-effect {
        width: 90px;
        height: 50px;
        right: 0.35rem;
        opacity: 0.8;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 599px) {
    .projects-grid--featured {
        grid-template-columns: 1fr;
    }
}

@media (hover: none), (pointer: coarse) {
    .service-card--tachometer .tachometer__needle {
        transition: transform 820ms cubic-bezier(0.22, 0.61, 0.26, 1);
    }

    .service-card--tachometer:active .tachometer__needle,
    .service-card--tachometer.is-touch-revving .tachometer__needle {
        transition-duration: 760ms;
        transition-timing-function: cubic-bezier(0.2, 0.72, 0.22, 1.12);
    }
}

/* Popular Brands Slider Styling */
.brands-section {
    background-color: #08080a;
    padding: 4.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

.brands-section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.brands-slider-outer {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3.2rem;
}

.brands-slider-container {
    width: 100%;
    overflow: hidden;
    padding: 0.5rem 0;
}

.brands-swiper {
    width: 100%;
    overflow: hidden;
}

.brands-swiper .swiper-wrapper {
    align-items: center;
}

.brand-slide {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d0d11;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    width: 100%;
    height: 105px;
    padding: 1rem 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.brand-card:hover {
    border-color: var(--site-primary, #ffb703);
    background: #14141a;
}

.brand-card-logo {
    max-width: 82%;
    max-height: 55px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    transition: filter 0.3s ease;
}

.home-brand-logo--light {
    filter: brightness(0) invert(1);
}

.brand-card:hover .home-brand-logo--light {
    filter: brightness(0) saturate(100%) invert(78%) sepia(58%) saturate(1200%) hue-rotate(358deg) brightness(101%) contrast(98%);
}

/* Custom Side Navigation Arrows */
.brands-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(18, 18, 24, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.brands-nav-btn:hover {
    background: var(--site-primary, #ffb703);
    border-color: var(--site-primary, #ffb703);
    color: #000000;
    box-shadow: 0 6px 20px rgba(255, 183, 3, 0.4);
    transform: translateY(-50%) scale(1.08);
}

.brands-nav-btn:focus-visible {
    outline: 2px solid var(--site-primary, #ffb703);
    outline-offset: 2px;
}

.brands-nav-prev {
    left: 0;
}

.brands-nav-next {
    right: 0;
}

@media (max-width: 768px) {
    .brands-slider-outer {
        padding: 0 2.5rem;
    }
    .brands-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
    .brand-card {
        height: 90px;
        padding: 0.75rem 1rem;
    }
}

.popular-brand-text {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
}

@media (max-width: 1200px) {
    .popular-brands-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
@media (max-width: 768px) {
    .popular-brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Service detail */
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.service-hero-mark {
    display: grid;
    min-height: 300px;
    place-items: center;
    border: 1px solid rgba(201, 154, 46, 0.3);
    background: linear-gradient(145deg, #0d0d0d, #161616);
}

.service-hero-mark i {
    color: var(--color-primary);
    font-size: clamp(5rem, 12vw, 9rem);
    opacity: 0.72;
}

.process-panel {
    margin-top: 3.5rem;
    padding-top: 0.25rem;
    border-top: 1px solid var(--color-border);
}

.process-list {
    display: grid;
    gap: 1rem;
    padding: 0 !important;
    list-style: none;
}

.process-list li {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--color-border);
    background: var(--color-card);
}

.process-list li > span {
    color: var(--color-primary);
    font-weight: 800;
}

.process-list strong { display: block; margin-bottom: 0.25rem; color: var(--color-text); }
.process-list p { margin: 0; font-size: 0.93rem; }

.service-cta-card > i {
    display: block;
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-size: 2.5rem;
}

.service-cta-card h2 { margin: 0.45rem 0 0.75rem; font-size: 1.35rem; }
.service-cta-card p { margin-bottom: 1.25rem; color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.65; }

.service-list-grid,
.service-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.service-list-grid .service-card,
.service-related-grid .service-card {
    display: flex;
    height: 100%;
    min-width: 0;
    flex-direction: column;
}

.service-list-grid .service-link,
.service-related-grid .service-link { margin-top: auto; }

/* Blog listing: 5 / 4 / 3 / 2 / 1 requested breakpoints */
.blog-card-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.1rem;
}

.blog-card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    background: var(--color-card);
    transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.blog-card:hover,
.blog-card:focus-within {
    transform: translateY(-3px);
    border-color: rgba(201, 154, 46, 0.6);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.28);
}

.blog-card-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #111;
}

.blog-card-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.blog-card:hover .blog-card-media > img { transform: scale(1.025); }

.blog-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1rem;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
    color: var(--color-text-passive);
    font-size: 0.68rem;
    text-transform: uppercase;
}

.blog-card h2 {
    display: -webkit-box;
    min-height: 2.7em;
    margin-bottom: 0.6rem;
    overflow: hidden;
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.blog-card h2 a { color: inherit; }

.blog-card p {
    display: -webkit-box;
    margin-bottom: 1rem;
    overflow: hidden;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.blog-card .service-link { margin-top: auto; font-size: 0.76rem; }

/* Modern Enterprise Blog Details Layout Styles */
.blog-detail-wrapper {
    background-color: #030303;
    color: var(--color-text);
    padding-bottom: 5rem;
}

.blog-detail-hero {
    position: relative;
    padding: 8.5rem 0 4rem;
    background: #070707;
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.blog-detail-hero .breadcrumb {
    justify-content: flex-start;
    margin-bottom: 1.25rem;
}

.blog-detail-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    background: rgba(201, 154, 46, 0.12);
    border: 1px solid rgba(201, 154, 46, 0.25);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.blog-detail-hero h1 {
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 1.25rem;
    letter-spacing: -0.025em;
    text-transform: none;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.9);
}

.blog-detail-hero .lead-summary {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.65;
    color: #d1d1d6;
    max-width: 900px;
    margin-bottom: 1.75rem;
}

.blog-detail-meta-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.blog-detail-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.blog-detail-meta-item i {
    color: var(--color-primary);
}

/* Main 2-Column Layout Grid */
.blog-detail-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    padding-top: 3rem;
}

/* Left Column: Article Main Content */
.blog-article-main {
    min-width: 0;
}

.blog-featured-cover {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    margin-bottom: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: #09090b;
}

.blog-featured-cover img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

/* Rich Content Typography */
.blog-rich-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #e0e0e4;
}

.blog-rich-content p {
    margin-bottom: 1.6rem;
    color: #e0e0e4;
}

.blog-rich-content h2, 
.blog-rich-content h3 {
    color: #ffffff;
    font-weight: 800;
    margin: 2.5rem 0 1rem;
    line-height: 1.25;
    letter-spacing: -0.015em;
    padding-left: 0.85rem;
    border-left: 3px solid var(--color-primary);
}

.blog-rich-content h2 {
    font-size: 1.65rem;
}

.blog-rich-content h3 {
    font-size: 1.35rem;
}

.blog-rich-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 1.75rem;
    background: rgba(201, 154, 46, 0.05);
    border-left: 4px solid var(--color-primary);
    border-radius: 0 8px 8px 0;
    font-size: 1.1rem;
    font-style: italic;
    color: #ffffff;
}

.blog-rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    margin: 2rem 0;
}

.blog-rich-content ul, 
.blog-rich-content ol {
    margin: 1.25rem 0 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.blog-rich-content li {
    color: #e0e0e4;
}

/* Article Tags & Share Section */
.blog-article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.blog-share-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.blog-share-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-passive);
    margin-right: 0.5rem;
}

.blog-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: #0c0c0e;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-share-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(201, 154, 46, 0.08);
}

.blog-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-tag-pill {
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    background: #0c0c0e;
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    font-size: 0.775rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-tag-pill:hover {
    border-color: var(--color-primary);
    background: rgba(201, 154, 46, 0.1);
}

/* Previous / Next Article Navigation */
.blog-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.blog-nav-card {
    background: #09090c;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.25rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.blog-nav-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    background: #0e0e12;
}

.blog-nav-card.next {
    text-align: right;
}

.blog-nav-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.blog-nav-card.next .blog-nav-label {
    justify-content: flex-end;
}

.blog-nav-title {
    font-size: 0.925rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Right Sidebar Styling */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-sidebar-widget {
    background: #08080a;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 1.5rem;
}

.blog-sidebar-title {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #ffffff;
    margin-bottom: 1.25rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-sidebar-title i {
    color: var(--color-primary);
}

.sidebar-posts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-post-item {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.sidebar-post-item:hover {
    transform: translateX(3px);
}

.sidebar-post-thumb {
    width: 64px;
    height: 64px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
    background: #111;
}

.sidebar-post-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.sidebar-post-title {
    font-size: 0.825rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.sidebar-post-item:hover .sidebar-post-title {
    color: var(--color-primary);
}

.sidebar-post-date {
    font-size: 0.7rem;
    color: var(--color-text-passive);
}

/* Sidebar CTA Card */
.sidebar-cta-card {
    background: linear-gradient(135deg, rgba(201, 154, 46, 0.12) 0%, rgba(15, 15, 18, 0.95) 100%);
    border: 1px solid rgba(201, 154, 46, 0.3);
    border-radius: 10px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

.sidebar-cta-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(201, 154, 46, 0.15);
    border: 1px solid rgba(201, 154, 46, 0.3);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.sidebar-cta-h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.sidebar-cta-p {
    font-size: 0.825rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.45;
}

.sidebar-cta-btn {
    width: 100%;
    margin-top: 0.5rem;
}

/* Responsive Breakdown */
@media (max-width: 992px) {
    .blog-detail-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .blog-nav-grid {
        grid-template-columns: 1fr;
    }
    .blog-nav-card.next {
        text-align: left;
    }
    .blog-nav-card.next .blog-nav-label {
        justify-content: flex-start;
    }
}

@media (max-width: 1499px) {
    .blog-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1199px) {
    .blog-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .service-list-grid, .service-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
    .blog-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-list-grid, .service-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 599px) {
    .blog-card-grid, .service-list-grid, .service-related-grid { grid-template-columns: 1fr; }
    .article-navigation { grid-template-columns: 1fr; }
    .article-navigation a.next { text-align: left; }
    .detail-actions { align-items: stretch; flex-direction: column; }
    .detail-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .blog-card, .blog-card-media > img { transition: none; }
}

/* Glassmorphic Contact Success Modal */
.contact-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 3, 3, 0.85);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 350ms cubic-bezier(0.4, 0, 0.2, 1), visibility 350ms ease;
    padding: 1.5rem;
}

.contact-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.contact-modal-card {
    background: linear-gradient(145deg, #121215 0%, #08080a 100%);
    border: 1px solid rgba(201, 154, 46, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(201, 154, 46, 0.2);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    position: relative;
    transform: scale(0.92) translateY(20px);
    transition: transform 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-modal-overlay.open .contact-modal-card {
    transform: scale(1) translateY(0);
}

.contact-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--color-text-passive, #888);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color 200ms ease, transform 200ms ease;
}

.contact-modal-close:hover {
    color: var(--color-primary, #C99A2E);
    transform: rotate(90deg);
}

.contact-modal-icon-wrap {
    position: relative;
    width: 76px;
    height: 76px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-modal-icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(201, 154, 46, 0.15);
    border: 1px solid rgba(201, 154, 46, 0.4);
    animation: modalPulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes modalPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 0.4; }
}

.contact-modal-icon {
    font-size: 3.2rem;
    color: var(--color-primary, #C99A2E);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(201, 154, 46, 0.5));
}

.contact-modal-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: var(--color-primary, #C99A2E);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.contact-modal-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 0.85rem;
    letter-spacing: 0.5px;
}

.contact-modal-text {
    font-size: 0.95rem;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.8rem;
}

.contact-modal-btn {
    min-width: 160px;
    padding: 0.85rem 2rem;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

/* Global CMS Toast Notification */
.cms-toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 10500;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.cms-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.4rem;
    background: rgba(14, 14, 18, 0.94);
    border: 1px solid rgba(201, 154, 46, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), opacity 300ms ease;
}

.cms-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.cms-toast.is-visible {
    transform: translateX(0);
    opacity: 1;
}

/* Modern Showcase & Case Study Layout Styles (Project & Service) */
.showcase-detail-wrapper {
    background-color: #030303;
    color: var(--color-text);
    padding-bottom: 5rem;
}

.showcase-detail-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    padding-top: 3rem;
}

.showcase-main-column {
    min-width: 0;
}

.showcase-cover-box {
    position: relative;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    margin-bottom: 2.5rem;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
    background: #09090b;
}

.showcase-cover-box img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    display: block;
}

/* Info Cards / Meta Box */
.showcase-info-widget {
    background: #08080b;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.showcase-info-title {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.showcase-info-title i {
    color: var(--color-primary);
}

.showcase-spec-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.showcase-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.showcase-spec-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.showcase-spec-row dt {
    color: var(--color-text-muted);
    font-weight: 600;
}

.showcase-spec-row dd {
    color: #ffffff;
    font-weight: 700;
    margin: 0;
    text-align: right;
}

/* Process Panel Grid */
.service-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 2.5rem 0;
}

.service-process-card {
    background: #08080a;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-process-card:hover {
    transform: translateY(-3px);
    border-color: rgba(201, 154, 46, 0.5);
}

.service-process-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: rgba(201, 154, 46, 0.25);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.service-process-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.service-process-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 992px) {
    .showcase-detail-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .service-process-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   ANLAŞMALI DİSTRİBÜTÖRLERİMİZ - PREMIUM MOTORSPORT VITRIN TASARIMI
   ========================================================================== */
.home-distributors-section {
    background: radial-gradient(circle at 50% 0%, rgba(230, 57, 70, 0.07) 0%, rgba(10, 10, 14, 0.98) 70%), #0a0a0e;
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

.dist-admin-manage-bar {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    z-index: 20;
}

.dist-admin-btn {
    background: rgba(230, 57, 70, 0.15) !important;
    border: 1px solid rgba(230, 57, 70, 0.4) !important;
    color: #ffffff !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    padding: 0.4rem 0.9rem !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    transition: all 0.2s ease !important;
}
.dist-admin-btn:hover {
    background: rgba(230, 57, 70, 0.3) !important;
    border-color: #e63946 !important;
}

.dist-container {
    max-width: 1280px !important;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Header Typography */
.dist-header {
    text-align: center;
    margin-bottom: 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dist-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.25);
    color: #e63946;
    padding: 0.38rem 1rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}
.dist-subtitle i {
    font-size: 0.85rem;
    color: #e63946;
}

.dist-title {
    font-size: clamp(2.2rem, 3.8vw, 3rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.dist-title-accent-line {
    width: 48px;
    height: 3px;
    background: #e63946;
    border-radius: 2px;
    margin: 0.2rem auto 1.25rem;
    box-shadow: 0 0 10px rgba(230, 57, 70, 0.5);
}

.dist-description {
    max-width: 720px;
    margin: 0 auto;
    color: #a1a1aa;
    font-size: 1.025rem;
    line-height: 1.65;
}

/* Grid Layout */
.dist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    width: 100%;
}

.dist-grid--single {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin: 0 auto;
}

.dist-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1140px;
    margin: 0 auto;
}

/* Distributor Card Design */
.dist-card {
    background: linear-gradient(180deg, #15151b 0%, #101014 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.dist-card:hover {
    transform: translateY(-6px);
    border-color: rgba(230, 57, 70, 0.45);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), 0 0 25px rgba(230, 57, 70, 0.12);
}

.dist-card-edit-pencil {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 25;
    background: #e63946 !important;
    color: #ffffff !important;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.6);
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.dist-card-edit-pencil:hover {
    transform: scale(1.1);
    background: #ff4d5a !important;
}

/* Banner Header & Image */
.dist-card-banner {
    height: 230px;
    position: relative;
    overflow: hidden;
    background: #181822;
}

.dist-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.dist-card:hover .dist-banner-img {
    transform: scale(1.04);
}

.dist-fallback-hero {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.15) 0%, rgba(18, 18, 24, 0.98) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    position: absolute;
    inset: 0;
}
.dist-fallback-hero i {
    font-size: 3.5rem;
    color: #e63946;
    opacity: 0.7;
}
.dist-fallback-hero span {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 0.5rem;
    color: #ffffff;
}

.dist-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #15151b 0%, rgba(21, 21, 27, 0.4) 60%, transparent 100%);
    pointer-events: none;
}

/* Floating Brand Logo Badge */
.dist-logo-badge {
    position: absolute;
    bottom: 1.1rem;
    left: 1.25rem;
    background: rgba(12, 12, 16, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.6rem 1.25rem;
    height: 60px;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    transition: border-color 0.3s ease;
}

.dist-card:hover .dist-logo-badge {
    border-color: rgba(230, 57, 70, 0.5);
}

.dist-logo-img {
    max-height: 40px;
    max-width: 155px;
    object-fit: contain;
    display: block;
}

.dist-logo-fallback {
    font-size: 1.1rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Card Body */
.dist-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.dist-card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.dist-card-title {
    font-size: 1.55rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.dist-badge-authorized {
    font-size: 0.7rem;
    font-weight: 800;
    color: #ffffff;
    background: rgba(230, 57, 70, 0.18);
    border: 1px solid rgba(230, 57, 70, 0.4);
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    letter-spacing: 0.05em;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.dist-badge-authorized i {
    color: #e63946;
}

/* Trust Points */
.dist-trust-points {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.dist-trust-item {
    font-size: 0.82rem;
    color: #e4e4e7;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.dist-trust-item i {
    color: #e63946;
    font-size: 0.9rem;
}

.dist-card-desc {
    color: #a1a1aa;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.6rem;
    flex-grow: 1;
}

/* Footer & Action Buttons */
.dist-card-footer {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.dist-btn-secondary {
    font-size: 0.82rem;
    font-weight: 800;
    color: #a1a1aa;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease, transform 0.2s ease;
}
.dist-btn-secondary:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.dist-btn-primary {
    background: #e63946 !important;
    color: #ffffff !important;
    padding: 0.65rem 1.35rem !important;
    font-weight: 800 !important;
    font-size: 0.825rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    border-radius: 8px !important;
    border: none !important;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(230, 57, 70, 0.35) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    transition: all 0.25s ease !important;
}
.dist-btn-primary:hover {
    background: #ff3b4b !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.5) !important;
}

/* Bottom Action */
.dist-bottom-action {
    text-align: center;
    margin-top: 3.5rem;
}

.dist-bottom-btn {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    padding: 0.85rem 2.2rem !important;
    font-weight: 800 !important;
    font-size: 0.88rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: all 0.25s ease !important;
}
.dist-bottom-btn:hover {
    background: rgba(230, 57, 70, 0.15) !important;
    border-color: #e63946 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .dist-grid--two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .home-distributors-section {
        padding: 4rem 0;
    }
    .dist-grid, .dist-grid--two, .dist-grid--single {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    .dist-card-banner {
        height: 190px;
    }
    .dist-card-body {
        padding: 1.25rem;
    }
    .dist-card-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .dist-card-title {
        font-size: 1.35rem;
    }
    .dist-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    .dist-btn-primary {
        justify-content: center;
    }
}

.cms-toast--success .cms-toast-icon {
    color: var(--color-primary, #C99A2E);
    font-size: 1.3rem;
}

.cms-toast--error {
    border-color: rgba(239, 68, 68, 0.5);
}

.cms-toast--error .cms-toast-icon {
    color: #ef4444;
    font-size: 1.3rem;
}
.cms-atomic-block{width:min(100% - 2rem,1200px);margin-inline:auto;padding-block:.75rem}.cms-atomic-button{padding-block:1rem}.cms-atomic-heading{margin:0;color:var(--site-heading)}.cms-atomic-heading--small{font-size:1.35rem}.cms-atomic-heading--normal{font-size:2rem}.cms-atomic-heading--large{font-size:2.75rem}.cms-atomic-heading--xlarge{font-size:clamp(2.7rem,6vw,4.5rem)}.cms-atomic-text{color:var(--site-text);line-height:1.75}.cms-atomic-image img{display:block;width:100%;height:auto;border-radius:8px}.cms-atomic-image.cms-align-center{margin-inline:auto}.cms-atomic-image.cms-align-right{margin-left:auto;margin-right:1rem}.cms-atomic-width--25{max-width:25%}.cms-atomic-width--33{max-width:33.333%}.cms-atomic-width--50{max-width:50%}.cms-atomic-width--66{max-width:66.666%}.cms-atomic-width--75{max-width:75%}.cms-atomic-width--100,.cms-atomic-width--auto{max-width:1200px}.cms-atomic-divider{border:0;border-top:1px solid color-mix(in srgb,var(--site-text) 28%,transparent)}.cms-atomic-spacer--compact{height:1rem}.cms-atomic-spacer--normal{height:2rem}.cms-atomic-spacer--large{height:4rem}.cms-atomic-spacer--xlarge{height:6rem}@media(max-width:760px){.cms-atomic-image{max-width:100%!important}.cms-atomic-spacer--xlarge{height:4rem}}

/* Responsive Mobile Layout & Hero Background Fixes */
@media (max-width: 768px) {
    .vehicle-catalog-page .filters-container {
        padding: 1rem !important;
        margin: 1.5rem 0 !important;
        overflow-x: hidden !important;
    }

    .vehicle-catalog-page .letter-filter-scroll {
        max-width: 100% !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        gap: 0.35rem !important;
        overflow-x: visible !important;
    }

    .vehicle-catalog-page .letter-btn {
        padding: 0.35rem 0.6rem !important;
        font-size: 0.78rem !important;
        min-width: 32px !important;
        text-align: center !important;
    }

    .brand-accordion-card .brand-card-header {
        padding: 0.85rem !important;
    }

    .cms-hero-slider-btn, .cms-page-bg-btn {
        top: 1.25rem !important;
        right: 1.25rem !important;
        font-size: 0.75rem !important;
        padding: 0.45rem 1rem !important;
    }
}

/* Responsive hero composition: desktop remains governed by the rules above. */
@media (max-width: 1024px) {
    .hero {
        min-height: 0;
        padding: 7.75rem 0 3rem;
        display: block;
        align-items: stretch;
        background: #030303;
    }

    .hero::before,
    .hero::after,
    .hero-slider-bg-container {
        display: none;
    }

    .hero-content-wrap {
        width: 100%;
        min-width: 0;
    }

    .hero .hero-title.display-title {
        max-width: 14ch;
        margin: 0 0 1.1rem;
        font-size: clamp(36px, 9vw, 52px) !important;
        line-height: .98 !important;
        text-align: left;
        text-wrap: balance;
    }

    .hero .hero-description.body-large {
        max-width: 360px;
        margin: 0 0 1.35rem;
        font-size: 16px !important;
        line-height: 1.6 !important;
        text-align: left;
    }

    .hero-mobile-media.swiper {
        display: block;
        width: 100%;
        height: clamp(300px, 50vw, 520px);
        margin: 0 0 1rem;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: 12px;
        background: #090909;
        box-shadow: 0 20px 48px rgba(0, 0, 0, .38);
    }

    .hero-mobile-media .swiper-wrapper,
    .hero-mobile-media .swiper-slide {
        height: 100%;
    }

    .hero-mobile-media img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .hero-mobile-media .swiper-pagination {
        bottom: .75rem;
        display: flex;
        justify-content: center;
        gap: .35rem;
    }

    .hero-mobile-media .swiper-pagination-bullet {
        width: 7px;
        height: 7px;
        margin: 0 !important;
        background: rgba(255, 255, 255, .7);
        opacity: .55;
    }

    .hero-mobile-media .swiper-pagination-bullet-active {
        width: 22px;
        border-radius: 999px;
        background: var(--color-primary);
        opacity: 1;
    }

    .hero-buttons {
        width: min(100%, 760px);
        margin: 0 0 2rem;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: .7rem;
    }

    .hero-buttons .btn {
        width: 100%;
        min-height: 56px;
        justify-content: center;
    }

    .hero-trust-info {
        width: min(100%, 760px);
        max-width: none;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        padding-top: 1.35rem;
    }

    .hero-trust-info .trust-item {
        min-width: 0;
        padding-inline: clamp(.4rem, 2vw, 1.25rem);
        text-align: center;
    }

    .hero-trust-info .trust-item:first-child {
        padding-left: 0;
    }

    .hero-trust-info .trust-item:last-child {
        padding-right: 0;
    }

    .hero-trust-info .trust-item + .trust-item {
        border-left: 1px solid var(--color-border);
    }

    .hero-socials {
        width: min(100%, 760px);
    }

    .page-hero--managed,
    .page-hero--managed-compact {
        min-height: 0;
        padding: 0 0 2.75rem;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        overflow: hidden;
        background: #070707;
    }

    .page-hero--managed > .container {
        order: 1;
        width: 100%;
        padding-top: 7.75rem;
        padding-bottom: 1.5rem;
    }

    .page-hero--managed .page-hero__content {
        align-items: flex-start;
        text-align: left;
    }

    .page-hero--managed .breadcrumb {
        justify-content: flex-start;
    }

    .page-hero--managed h1,
    .blog-detail-hero h1 {
        max-width: 14ch;
        margin: .4rem 0 .9rem;
        font-size: clamp(36px, 9vw, 52px);
        line-height: .98;
        text-align: left;
        text-shadow: none;
    }

    .page-hero--managed p,
    .blog-detail-hero .lead-summary {
        max-width: 360px;
        margin: 0;
        font-size: 16px;
        line-height: 1.6;
        text-align: left;
        text-shadow: none;
    }

    .page-hero--managed .page-hero__media {
        position: relative;
        inset: auto;
        order: 2;
        z-index: 0;
        width: min(calc(100% - 3rem), 1320px);
        height: clamp(300px, 48vw, 500px);
        margin: 0 auto;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: 12px;
        background: #090909;
        box-shadow: 0 20px 48px rgba(0, 0, 0, .34);
    }

    .page-hero--managed .page-hero__media img {
        position: static;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: var(--page-hero-position, center);
    }

    .page-hero--managed .page-hero__shade {
        display: none;
    }

    .blog-detail-meta-bar {
        max-width: 760px;
        margin-top: 1.25rem;
    }

    .distributor-hero__mobile-media {
        display: block;
        width: 100%;
        height: clamp(300px, 48vw, 500px);
        margin: 0 0 1rem;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: 12px;
        background: #090909;
        box-shadow: 0 20px 48px rgba(0, 0, 0, .34);
    }

    .distributor-hero__mobile-media img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .distributor-hero {
        min-height: 0 !important;
        padding: 7.75rem 0 3rem !important;
        display: block !important;
    }

    .distributor-hero__background,
    .distributor-hero__overlay {
        display: none;
    }

    .distributor-hero__copy {
        width: 100%;
    }

    .distributor-hero__title {
        max-width: 14ch;
        font-size: clamp(36px, 9vw, 52px) !important;
        line-height: .98 !important;
    }

    .distributor-hero__description {
        max-width: 360px !important;
        margin-bottom: 1.35rem !important;
        font-size: 16px !important;
        line-height: 1.6 !important;
    }

    .distributor-hero__actions {
        width: min(100%, 760px);
        display: flex !important;
        flex-direction: column;
        gap: .7rem !important;
    }

    .distributor-hero__actions .btn {
        width: 100%;
        min-height: 56px;
        justify-content: center;
    }
}

@media (min-width: 1025px) {
    .distributor-hero__mobile-media {
        display: none;
    }
}

@media (max-width: 767px) {
    .header-container {
        height: 76px;
        gap: 1rem;
    }

    .logo-link {
        min-width: 0;
        max-width: calc(100% - 60px);
    }

    .logo-link img.site-logo-img {
        max-width: min(180px, calc(100vw - 104px));
        height: 44px;
    }

    .hamburger {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        padding: 8px;
    }

    .main-nav {
        top: 76px;
        width: 100vw;
        max-width: 100vw;
        height: calc(100dvh - 76px);
        padding: 2rem 1.25rem;
        overflow-x: hidden;
        overscroll-behavior: contain;
    }

    .hero {
        padding: 6.75rem 0 2.5rem;
    }

    .hero-mobile-media.swiper,
    .distributor-hero__mobile-media,
    .page-hero--managed .page-hero__media {
        height: clamp(230px, 66vw, 340px);
    }

    .hero-trust-info .trust-item {
        padding-inline: .45rem;
    }

    .trust-value {
        font-size: clamp(1.2rem, 6vw, 1.55rem);
    }

    .trust-label {
        font-size: clamp(.56rem, 2.5vw, .7rem);
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .page-hero--managed > .container {
        padding-top: 6.75rem;
        padding-bottom: 1.35rem;
    }

    .page-hero--managed .page-hero__media {
        width: calc(100% - 2.5rem);
    }

    .distributor-hero {
        padding-top: 6.75rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-mobile-media .swiper-wrapper {
        transition-duration: 0ms !important;
    }
}
/* Premium distributor cards */
.dist-card--premium { border:1px solid rgba(239,43,62,.28); background:#0b0b0f; overflow:hidden; transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease; }
.dist-card--premium:hover { transform:translateY(-4px); border-color:rgba(239,43,62,.7); box-shadow:0 22px 55px rgba(0,0,0,.48),0 0 28px rgba(239,43,62,.12); }
.dist-card--premium .dist-card-banner { min-height:310px; aspect-ratio:16/8; overflow:hidden; }
.dist-card--premium .dist-banner-img { width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease; }
.dist-card--premium:hover .dist-banner-img { transform:scale(1.02); }
.dist-card-eyebrow { display:inline-flex;align-items:center;margin-bottom:.85rem;color:#ef2b3e;font-size:.72rem;font-weight:900;letter-spacing:.16em; }
.dist-premium-features { display:flex;flex-wrap:wrap;gap:.55rem;margin:1rem 0 1.35rem; }
.dist-premium-features span { padding:.48rem .7rem;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.025);border-radius:6px;color:#d4d4d8;font-size:.75rem;font-weight:700; }
.dist-premium-features i { color:#ef2b3e;margin-right:.25rem; }
.dist-card--premium .dist-card-footer i { transition:transform .2s ease; }
.dist-card--premium .dist-card-footer a:hover i { transform:translateX(4px); }
@media (max-width:767px) { .dist-card--premium .dist-card-banner{min-height:220px;aspect-ratio:4/3}.dist-card-footer{flex-direction:column;align-items:stretch}.dist-card-footer a{text-align:center;justify-content:center}.dist-premium-features span{flex:1 1 140px} }
@media (prefers-reduced-motion:reduce) { .dist-card--premium,.dist-banner-img,.dist-card-footer i{transition:none!important}.dist-card--premium:hover,.dist-card--premium:hover .dist-banner-img{transform:none!important} }

/* Reference-matched distributor showcase */
.home-distributors-section { position:relative;overflow:hidden;background:radial-gradient(circle at 50% 22%,rgba(239,43,62,.055),transparent 40%),#070709;padding:5rem 0 4rem; }
.home-distributors-section::before,.home-distributors-section::after { content:"";position:absolute;top:8%;bottom:7%;width:1px;background:linear-gradient(transparent,#d91931,transparent);opacity:.55;transform:rotate(-42deg);pointer-events:none; }
.home-distributors-section::before { left:5%; }.home-distributors-section::after { right:5%;transform:rotate(42deg); }
.home-distributors-section .dist-container { max-width:1420px;position:relative;z-index:1; }
.home-distributors-section .dist-header { max-width:860px;margin:0 auto 2.2rem;text-align:center; }
.home-distributors-section .dist-subtitle { display:inline-flex;align-items:center;gap:.55rem;width:auto;padding:.55rem 1rem;border:1px solid rgba(239,43,62,.6);border-radius:999px;background:rgba(17,9,12,.75);color:#f0364b!important;font-size:.7rem;letter-spacing:.09em; }
.home-distributors-section .dist-title { margin:.95rem 0 .5rem;font-size:clamp(2rem,4vw,3.25rem);line-height:1;text-shadow:0 3px 18px rgba(0,0,0,.6); }
.home-distributors-section .dist-title .title-gold { color:#ef233c!important; }
.home-distributors-section .dist-title-accent-line { width:58px;height:3px;margin:.9rem auto 1rem;background:#ef233c;box-shadow:0 0 18px rgba(239,35,60,.45); }
.home-distributors-section .dist-description { max-width:800px;margin:auto;color:#a9a9b1;font-size:.95rem;line-height:1.65; }
.home-distributors-section .dist-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem; }
.home-distributors-section .dist-card--premium { position:relative;min-height:500px;border-radius:8px;border:1px solid rgba(239,43,62,.48);background:#08090c;isolation:isolate; }
.home-distributors-section .dist-card--premium::after { content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(5,6,8,.99) 0%,rgba(5,6,8,.94) 37%,rgba(5,6,8,.54) 67%,rgba(5,6,8,.22) 100%); }
.home-distributors-section .dist-card-banner { position:absolute;inset:0;min-height:0;aspect-ratio:auto;z-index:-2; }
.home-distributors-section .dist-banner-img { width:100%;height:100%;object-fit:cover;object-position:center; }
.home-distributors-section .dist-banner-overlay { display:none; }
.home-distributors-section .dist-fallback-hero { position:absolute;inset:0;background:linear-gradient(120deg,#090a0d,#17181e); }
.home-distributors-section .dist-logo-badge { position:absolute;left:2rem;top:4.7rem;width:210px;height:86px;padding:0;background:transparent;border:0;box-shadow:none;display:flex;align-items:center;justify-content:flex-start; }
.home-distributors-section .dist-logo-img { max-width:205px;max-height:82px;object-fit:contain;filter:none; }
.home-distributors-section .dist-logo-fallback { color:#fff;font-size:1.8rem;font-weight:950;line-height:1;letter-spacing:-.04em;text-align:left; }
.home-distributors-section .dist-card-number { position:absolute;top:1.3rem;left:1.55rem;z-index:3;display:flex;align-items:center;gap:.7rem;color:#ef233c;font-size:.75rem;font-weight:800; }
.home-distributors-section .dist-card-number i { display:block;width:30px;height:1px;background:#ef233c; }
.home-distributors-section .dist-card-body { position:relative;z-index:2;width:64%;min-height:500px;padding:11.2rem 1.55rem 1.4rem;display:flex;flex-direction:column;background:transparent; }
.home-distributors-section .dist-card-eyebrow { position:absolute;top:1.35rem;right:-48%;color:#ddd;letter-spacing:.3em;font-size:.61rem;white-space:nowrap; }
.home-distributors-section .dist-card-header-row { display:block;border-top:1px solid rgba(255,255,255,.16);padding-top:.85rem; }
.home-distributors-section .dist-card-title { font-size:.72rem;letter-spacing:.28em;color:#bfc0c6;margin:0;text-transform:uppercase; }
.home-distributors-section .dist-card-desc { margin:.85rem 0 1rem;max-width:400px;color:#d1d1d5;font-size:.88rem;line-height:1.65;overflow-wrap:anywhere;word-break:break-word; }
.home-distributors-section .dist-trust-points { position:absolute;left:1.55rem;right:-54%;bottom:5.4rem;display:grid;grid-template-columns:repeat(3,1fr);gap:.7rem;margin:0; }
.home-distributors-section .dist-trust-item { min-height:48px;padding:.55rem .65rem;border:1px solid rgba(255,255,255,.16);border-radius:5px;background:rgba(8,9,12,.78);display:flex;align-items:center;gap:.5rem;color:#f1f1f3;font-size:.68rem;font-weight:750;white-space:nowrap; }
.home-distributors-section .dist-trust-item i { color:#ef233c;font-size:1rem; }
.home-distributors-section .dist-card-footer { position:absolute;left:1.55rem;right:-54%;bottom:1.4rem;display:grid;grid-template-columns:1fr 1fr;gap:.75rem;padding-top:0;border:0; }
.home-distributors-section .dist-card-footer a,.home-distributors-section .dist-card-footer .btn { min-height:48px;padding:.65rem 1rem;border-radius:5px;display:flex;align-items:center;justify-content:center;gap:.6rem;font-size:.73rem;font-weight:850;text-transform:none; }
.home-distributors-section .dist-btn-secondary { color:#fff;background:linear-gradient(135deg,#f32640,#d9152d);border:1px solid #f32640; }
.home-distributors-section .dist-btn-primary { color:#fff;background:rgba(7,8,10,.68);border:1px solid rgba(255,255,255,.18);box-shadow:none; }
.dist-brand-strip { margin:2.2rem auto 0;max-width:880px;text-align:center; }
.dist-brand-strip-title { display:flex;align-items:center;gap:1rem;color:#9c9da5;font-size:.58rem;font-weight:800;letter-spacing:.28em;white-space:nowrap; }
.dist-brand-strip-title span { height:1px;flex:1;background:linear-gradient(90deg,transparent,rgba(255,255,255,.25)); }.dist-brand-strip-title span:last-child{background:linear-gradient(90deg,rgba(255,255,255,.25),transparent)}
.dist-brand-strip-logos { display:grid;grid-template-columns:repeat(5,1fr);align-items:center;margin:1.2rem 0;color:#b7b8be; }
.dist-brand-strip-logos strong { padding:.5rem 1rem;border-right:1px solid rgba(255,255,255,.18);font-size:1rem;letter-spacing:.04em;filter:grayscale(1);transition:color .2s ease; }.dist-brand-strip-logos strong:last-child{border:0}.dist-brand-strip-logos strong:hover{color:#fff}
.home-distributors-section .dist-bottom-action { margin-top:.6rem; }.home-distributors-section .dist-bottom-btn{min-width:290px;border:1px solid rgba(255,255,255,.23);background:#0a0b0e;color:#fff;border-radius:5px;font-size:.72rem;}
@media (max-width:1100px){.home-distributors-section .dist-grid{grid-template-columns:1fr}.home-distributors-section .dist-card--premium{min-height:470px}.home-distributors-section .dist-card-body{min-height:470px;width:58%}.home-distributors-section .dist-trust-points,.home-distributors-section .dist-card-footer{right:-68%}}
@media (max-width:700px){.home-distributors-section{padding:3.5rem 0}.home-distributors-section .dist-card--premium{min-height:620px}.home-distributors-section .dist-card--premium::after{background:linear-gradient(180deg,rgba(5,6,8,.35),rgba(5,6,8,.97) 48%)}.home-distributors-section .dist-card-banner{height:270px;bottom:auto}.home-distributors-section .dist-card-body{width:100%;min-height:620px;padding:18rem 1rem 1rem}.home-distributors-section .dist-logo-badge{left:1rem;top:4rem}.home-distributors-section .dist-card-eyebrow{top:1.25rem;right:1rem}.home-distributors-section .dist-trust-points{left:1rem;right:1rem;bottom:6.8rem;grid-template-columns:1fr}.home-distributors-section .dist-trust-item{min-height:36px}.home-distributors-section .dist-card-footer{left:1rem;right:1rem;bottom:1rem}.dist-brand-strip-title{white-space:normal;line-height:1.7}.dist-brand-strip-title span{display:none}.dist-brand-strip-logos{grid-template-columns:repeat(2,1fr)}.dist-brand-strip-logos strong{border:0;border-bottom:1px solid rgba(255,255,255,.1)} }

/* Flow-based distributor card layout */
.home-distributors-section .dist-card--premium{display:grid;min-height:540px;overflow:hidden;isolation:isolate}
.dist-card-media{position:absolute;inset:0;z-index:-2;display:block}.dist-card-media img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;transition:transform .3s ease}
.dist-card-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(4,5,8,.98) 0%,rgba(4,5,8,.88) 43%,rgba(4,5,8,.24) 100%)}
.dist-card-content{display:grid;grid-template-rows:auto auto auto auto 1fr auto auto;align-content:stretch;width:100%;min-width:0;padding:1.35rem 1.5rem 1.4rem}
.dist-card-kicker{display:flex;justify-content:space-between;align-items:center;color:#ef233c;font-size:.7rem;letter-spacing:.25em}.dist-card-kicker span{display:flex;align-items:center;gap:.65rem}.dist-card-kicker i{display:block;width:30px;height:1px;background:#ef233c}.dist-card-kicker strong{color:#d1d1d5;font-size:.62rem;white-space:nowrap}
.dist-card-logo{height:94px;width:230px;margin-top:1.45rem;display:flex;align-items:center}.dist-card-logo img{max-width:230px;max-height:88px;object-fit:contain;filter:none;}.dist-card-logo strong{font-size:2rem;line-height:1;color:#fff;text-transform:uppercase}
.dist-card-content h3{margin:.35rem 0 .5rem;color:#fff;font-size:1.25rem;font-weight:900;text-transform:uppercase;overflow-wrap:anywhere;word-break:break-word;}.dist-card-subtitle{display:block;padding-top:.7rem;border-top:1px solid rgba(255,255,255,.16);color:#b7b8be;font-size:.68rem;font-weight:750;letter-spacing:.25em;text-transform:uppercase;overflow-wrap:anywhere;word-break:break-word;}
.dist-card-content>p{max-width:410px;margin:.8rem 0 1.2rem;color:#d0d0d5;font-size:.86rem;line-height:1.65;overflow-wrap:anywhere;word-break:break-word;}
.dist-card-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;margin-top:auto}.dist-card-features span{min-height:48px;padding:.5rem;border:1px solid rgba(255,255,255,.16);border-radius:5px;background:rgba(7,8,10,.72);display:flex;align-items:center;gap:.45rem;color:#fff;font-size:.67rem;font-weight:700}.dist-card-features i{color:#ef233c;font-size:1rem;flex:none}
.dist-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:.65rem;margin-top:.75rem}.dist-card-actions a{min-height:46px;padding:.65rem .8rem;border-radius:5px;display:flex;align-items:center;justify-content:center;gap:.5rem;color:#fff;text-decoration:none;font-size:.72rem;font-weight:800;text-align:center;transition:border-color .2s,box-shadow .2s,background .2s}.dist-action-primary{background:linear-gradient(135deg,#f32640,#d9152d);border:1px solid #f32640}.dist-action-secondary{background:rgba(7,8,10,.78);border:1px solid rgba(255,255,255,.2)}.dist-action-official{grid-column:1/-1;background:rgba(7,8,10,.88);border:1px solid rgba(239,35,60,.55)}.dist-action-official:hover{border-color:#ef233c;box-shadow:0 0 18px rgba(239,35,60,.18)}
.dist-card--premium:hover .dist-card-media img{transform:scale(1.02)}
.distributor-admin-preview{display:block;width:100%;max-height:130px;object-fit:cover;margin:.4rem 0 .7rem;border:1px solid rgba(255,255,255,.12);border-radius:6px}
@media(max-width:700px){.home-distributors-section .dist-card--premium{display:grid;min-height:unset}.dist-card-media{position:relative;inset:auto;z-index:0;height:auto;min-height:230px;aspect-ratio:16/10}.dist-card-shade{z-index:1;height:230px;background:linear-gradient(180deg,rgba(4,5,8,.12),rgba(4,5,8,.88))}.dist-card-content{z-index:2;margin-top:-66px;padding:0 1rem 1rem;grid-template-rows:auto auto auto auto auto auto auto}.dist-card-kicker{order:-2;padding:.8rem 0}.dist-card-logo{height:70px;width:190px;margin:.25rem 0}.dist-card-logo img{max-width:185px;max-height:68px}.dist-card-content h3{font-size:1.1rem}.dist-card-content>p{margin-bottom:1rem}.dist-card-features{grid-template-columns:1fr;margin:0}.dist-card-features span{min-height:38px}.dist-card-actions{grid-template-columns:1fr 1fr}.dist-card-actions a{white-space:normal}.dist-action-official{grid-column:1/-1}}
@media(max-width:360px){.dist-card-actions{grid-template-columns:1fr}.dist-action-official{grid-column:auto}.dist-card-kicker strong{letter-spacing:.12em}.dist-card-content{padding-left:.8rem;padding-right:.8rem}}

/* Distributor proportions and responsive refinements */
.home-distributors-section .dist-header{max-width:820px;margin-inline:auto}.home-distributors-section .dist-title{font-size:clamp(1.75rem,3.2vw,2.7rem);line-height:1.12}.home-distributors-section .dist-description{font-size:clamp(.9rem,1.2vw,1rem);line-height:1.65}.dist-card-media picture{display:block;width:100%;height:100%}
.distributor-detail-premium .row{row-gap:2.25rem}.distributor-hero__side-media{margin:0;border:1px solid rgba(239,35,60,.35);border-radius:14px;overflow:hidden;box-shadow:0 24px 55px rgba(0,0,0,.52);aspect-ratio:4/3}.distributor-hero__side-media img{display:block;width:100%;height:100%;object-fit:cover}.distributor-hero__copy{min-width:0}.distributor-hero__title{font-size:clamp(2rem,3.6vw,3.25rem)!important}.distributor-hero__description{font-size:clamp(1rem,1.4vw,1.12rem)!important}.distributor-about h2,.distributor-categories h2,.distributor-brands h2{font-size:clamp(1.55rem,2.5vw,2.15rem)!important}
@media(max-width:700px){.home-distributors-section{padding:3rem 0}.home-distributors-section .dist-container{padding-inline:14px}.home-distributors-section .dist-grid{gap:1.25rem}.home-distributors-section .dist-card--premium{border-radius:10px}.dist-card-media{height:185px;min-height:185px;aspect-ratio:auto}.dist-card-shade{height:185px}.dist-card-content{margin-top:-34px;padding:0 .95rem 1rem}.dist-card-kicker{gap:.5rem}.dist-card-kicker strong{font-size:.56rem;letter-spacing:.18em;white-space:normal;text-align:right}.dist-card-logo{width:155px;height:58px;margin:.15rem 0}.dist-card-logo img{max-width:150px;max-height:55px}.dist-card-logo strong{font-size:1.35rem}.dist-card-content h3{font-size:1rem;margin:.25rem 0 .45rem}.dist-card-subtitle{font-size:.61rem;line-height:1.5;letter-spacing:.2em}.dist-card-content>p{font-size:.8rem;line-height:1.58;margin:.65rem 0 .85rem}.dist-card-features{gap:.45rem}.dist-card-features span{min-height:36px;font-size:.64rem;padding:.45rem .55rem}.dist-card-actions{gap:.5rem;margin-top:.6rem}.dist-card-actions a{min-height:42px;font-size:.67rem;padding:.55rem}.dist-brand-strip{margin-top:1.5rem}.distributor-detail-premium{min-height:auto!important;padding:5.25rem 0 3rem!important}.distributor-detail-premium .container{padding-inline:18px}.distributor-hero__visual-column{order:-1}.distributor-hero__side-media{max-width:520px;margin:0 auto;aspect-ratio:16/10;border-radius:10px}.distributor-hero__actions{display:grid!important;grid-template-columns:1fr}.distributor-hero__actions .btn{width:100%;justify-content:center}.distributor-about,.distributor-categories{padding:3.5rem 0!important}.distributor-rich-description{font-size:.96rem!important;line-height:1.7!important}}
@media(max-width:380px){.dist-card-media,.dist-card-shade{height:165px;min-height:165px}.dist-card-content{margin-top:-26px}.dist-card-actions{grid-template-columns:1fr}.dist-action-official{grid-column:auto}.home-distributors-section .dist-title{font-size:1.55rem}.distributor-hero__title{font-size:1.8rem!important}}

/* Distributor detail page */
.distributor-detail-premium{min-height:520px!important;padding:6.25rem 0 5.25rem!important}.distributor-detail-premium:after{content:"";position:absolute;inset:auto 0 0;height:1px;background:linear-gradient(90deg,transparent,#ef233c,transparent)}.distributor-detail-eyebrow{display:block;margin-bottom:.85rem;color:#ef233c;font-size:.7rem;font-weight:900;letter-spacing:.18em}.distributor-hero__side-media{max-height:340px}.distributor-hero-trust{position:absolute;z-index:3;right:0;bottom:0;left:0}.distributor-hero-trust>div{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid rgba(255,255,255,.12);background:rgba(5,5,8,.78);backdrop-filter:blur(10px)}.distributor-hero-trust span{display:flex;justify-content:center;align-items:center;gap:.55rem;min-height:56px;border-right:1px solid rgba(255,255,255,.1);color:#ddd;font-size:.72rem;font-weight:750}.distributor-hero-trust span:last-child{border:0}.distributor-hero-trust i{color:#ef233c}.distributor-about .row>.col-lg-5{order:-1}.distributor-intro-media{max-width:520px}.distributor-image-placeholder{min-height:230px;display:grid;place-content:center;justify-items:center;gap:.6rem;border:1px dashed #ef233c;border-radius:12px;background:#111;color:#aaa}.distributor-image-placeholder i{font-size:2rem;color:#ef233c}.distributor-categories .container>div:last-child{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:.8rem!important}.distributor-cat-card{padding:1.2rem!important;border-radius:8px!important}.distributor-brands .container>div:last-child{gap:.65rem!important}.distributor-features{padding:3rem 0!important}.distributor-gallery img{aspect-ratio:16/10}.btn-outline-danger.is-pending{border-color:#ef233c;background:#ef233c22;color:#ff6677}
@media(max-width:900px){.distributor-categories .container>div:last-child{grid-template-columns:repeat(2,minmax(0,1fr))!important}.distributor-hero-trust{position:relative;margin-top:2rem}.distributor-detail-premium{padding-bottom:0!important}.distributor-hero-trust>div{grid-template-columns:repeat(2,1fr)}}

/* Distributor Admin Card Toolbar */
.dist-card-admin-bar {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 50;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.dist-admin-chip {
    background: rgba(10, 11, 15, 0.88);
    border: 1px solid rgba(239, 35, 60, 0.6);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    backdrop-filter: blur(4px);
}
.dist-admin-chip i {
    color: #ef233c;
    font-size: 0.82rem;
}
.dist-admin-chip:hover {
    background: #ef233c;
    border-color: #ef233c;
    color: #ffffff;
    transform: translateY(-1px);
}
.dist-admin-chip:hover i {
    color: #ffffff;
}

@media(max-width:700px){body.visual-editor-active{padding-top:48px!important}.visual-toolbar{height:auto;min-height:48px;padding:.35rem .5rem;gap:.35rem;overflow-x:auto}.visual-toolbar__exit{white-space:nowrap;font-size:.7rem}.visual-toolbar__actions{gap:.25rem}.visual-toolbar button{padding:.42rem .5rem;font-size:.68rem;white-space:nowrap}.visual-toolbar button span{display:none}.visual-page-canvas{padding-top:48px}.distributor-detail-premium{padding-top:4.75rem!important}.distributor-hero__visual-column{order:0}.distributor-hero__side-media{max-height:none}.distributor-hero-trust span{min-height:48px;padding:.5rem;font-size:.64rem;text-align:center}.distributor-categories .container>div:last-child{grid-template-columns:1fr!important}.distributor-about .row>.col-lg-5{order:0}.distributor-image-placeholder{min-height:180px}.distributor-gallery .container>div:last-child{grid-template-columns:1fr!important}.distributor-cta{padding:3rem 0!important}}

/* Distributor typography aligned with the other homepage sections */
.home-distributors-section .dist-subtitle{font-size:.875rem;line-height:1.5}.home-distributors-section .dist-title{font-size:clamp(2rem,3.5vw,2.75rem)}.home-distributors-section .dist-description{font-size:1rem;line-height:1.75}.dist-card-kicker{font-size:.8rem}.dist-card-kicker strong{font-size:.72rem;line-height:1.45}.dist-card-content h3{font-size:1.5rem;line-height:1.2}.dist-card-subtitle{font-size:.78rem;line-height:1.55}.dist-card-content>p{font-size:1rem;line-height:1.7}.dist-card-features span{font-size:.78rem;line-height:1.4}.dist-card-actions a{font-size:.82rem;line-height:1.35}.dist-brand-strip-title{font-size:.68rem;line-height:1.6}.dist-brand-strip-logos strong{font-size:1.05rem}
@media(max-width:700px){.home-distributors-section .dist-subtitle{font-size:.75rem}.home-distributors-section .dist-title{font-size:clamp(1.75rem,8vw,2.15rem)}.home-distributors-section .dist-description{font-size:.94rem}.dist-card-kicker{font-size:.76rem}.dist-card-kicker strong{font-size:.66rem}.dist-card-content h3{font-size:1.25rem}.dist-card-subtitle{font-size:.7rem}.dist-card-content>p{font-size:.92rem;line-height:1.65}.dist-card-features span{min-height:42px;font-size:.75rem}.dist-card-actions a{min-height:46px;font-size:.76rem}.dist-card-content{padding-right:1.1rem;padding-left:1.1rem}}
@media(max-width:380px){.dist-card-content h3{font-size:1.15rem}.dist-card-content>p{font-size:.88rem}.dist-card-actions a{font-size:.73rem}}

/* Independent desktop/mobile card background editors */
.home-distributors-section .dist-card-media{z-index:0}.home-distributors-section .dist-card-shade{z-index:1;pointer-events:none}.home-distributors-section .dist-card-content{position:relative;z-index:2;pointer-events:none}.home-distributors-section .dist-card-content a,.home-distributors-section .dist-card-content .editable-field{pointer-events:auto}.dist-desktop-bg-editor,.dist-mobile-bg-editor{position:absolute!important;z-index:8;right:12px;display:none;width:32px;height:32px;place-items:center;border:1px solid #ef233c;border-radius:50%;background:#101014;color:#ef233c}.dist-desktop-bg-editor{top:12px}.dist-mobile-bg-editor{top:52px}.dist-desktop-bg-editor>.edit-pencil-btn,.dist-mobile-bg-editor>.edit-pencil-btn{display:flex!important;inset:0;width:32px;height:32px;background:transparent;color:#ef233c}.dist-desktop-bg-editor>i,.dist-mobile-bg-editor>i{display:none}.editable-active .dist-desktop-bg-editor,.editable-active .dist-mobile-bg-editor{display:grid}

/* Central Quick Edit Prompt Modal */
.quick-edit-prompt-modal {
    position: fixed;
    inset: 0;
    z-index: 100050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.quick-edit-prompt-modal.is-open {
    opacity: 1;
    visibility: visible;
    display: flex !important;
}
.quick-edit-prompt-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
}
.quick-edit-prompt-dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 460px;
    background: #14151b;
    border: 1px solid rgba(239, 35, 60, 0.45);
    border-radius: 18px;
    padding: 2.25rem 2rem;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(239, 35, 60, 0.2);
    transform: scale(0.9);
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.quick-edit-prompt-modal.is-open .quick-edit-prompt-dialog {
    transform: scale(1);
}
.quick-edit-prompt-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 1.25rem;
}
.quick-edit-prompt-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(239, 35, 60, 0.12);
    border: 2px solid #ef233c;
    color: #ef233c;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 22px rgba(239, 35, 60, 0.3);
}
.quick-edit-prompt-close {
    position: absolute;
    top: -0.75rem;
    right: -0.5rem;
    background: transparent;
    border: none;
    color: #888;
    font-size: 1.65rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem 0.5rem;
    transition: color 0.2s;
}
.quick-edit-prompt-close:hover {
    color: #fff;
}
.quick-edit-prompt-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.quick-edit-prompt-desc {
    font-size: 0.93rem;
    color: #b0b5c0;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}
.quick-edit-prompt-desc strong {
    color: #ffb703;
}
.quick-edit-prompt-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.btn-activate-quick-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: linear-gradient(135deg, #ef233c 0%, #d90429 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.9rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(239, 35, 60, 0.35);
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-activate-quick-edit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(239, 35, 60, 0.55);
    background: linear-gradient(135deg, #ff2a4b 0%, #ef233c 100%);
}
.btn-close-quick-edit-prompt {
    width: 100%;
    padding: 0.65rem 1rem;
    background: transparent;
    color: #888;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-close-quick-edit-prompt:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.05);
}

