:root {
    --hcode-color-background: #ffffff;
    --hcode-color-surface: #f4f7f5;
    --hcode-color-text: #20262b;
    --hcode-color-text-muted: #68747d;
    --hcode-color-primary: #15466f;
    --hcode-color-primary-hover: #0f3558;
    --hcode-color-accent: #43a64b;
    --hcode-color-accent-hover: #348b3c;
    --hcode-color-dark: #102f49;
    --hcode-color-dark-soft: #184b73;
    --hcode-color-line: #dce4df;
    --hcode-container: 1200px;
    --hcode-radius-sm: 2px;
    --hcode-radius-md: 4px;
    --hcode-radius-lg: 6px;
    --hcode-font-regular: 400;
    --hcode-font-medium: 500;
    --hcode-font-semibold: 600;
    --hcode-font-bold: 700;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--hcode-color-background); color: var(--hcode-color-text); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.hcode-site { min-width: 0; overflow: clip; }
.hcode-container { width: min(calc(100% - 48px), var(--hcode-container)); margin-inline: auto; }
.hcode-section { padding-block: 96px; }
.hcode-section--surface { background: var(--hcode-color-surface); }
.hcode-content-narrow { max-width: 880px; }

.hcode-site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--hcode-color-line); backdrop-filter: blur(10px); }
.hcode-header-inner { min-height: 84px; display: flex; align-items: center; gap: 32px; }
.hcode-header-brand { flex: 0 0 auto; }
.hcode-brand-link { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.hcode-brand-mark { width: 36px; height: 36px; display: inline-grid; place-items: center; background: var(--hcode-color-primary); color: #fff; border-radius: var(--hcode-radius-sm); }
.hcode-brand-name { font-size: 18px; font-weight: var(--hcode-font-bold); letter-spacing: -.02em; }
.custom-logo-link { display: block; }
.custom-logo { width: 170px; max-height: 62px; object-fit: contain; object-position: left center; }
.hcode-main-navigation { margin-left: auto; }
.hcode-navigation-list { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.hcode-navigation-list li { margin: 0; }
.hcode-navigation-link { font-size: 14px; font-weight: var(--hcode-font-medium); text-decoration: none; }
.hcode-navigation-link:hover { color: var(--hcode-color-primary); }
.hcode-header-actions { display: flex; align-items: center; gap: 12px; }
.hcode-header-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: var(--hcode-font-medium); text-decoration: none; white-space: nowrap; }
.hcode-header-phone i { color: var(--hcode-color-primary); }
.hcode-menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; font-size: 20px; cursor: pointer; }

.hcode-button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 24px; border: 0; border-radius: 3px; font-size: 14px; font-weight: var(--hcode-font-semibold); line-height: 1; text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.hcode-button--primary { background: var(--hcode-color-primary); color: #fff; }
.hcode-button--primary:hover { background: var(--hcode-color-primary-hover); }
.hcode-button:active { transform: translateY(1px); }
.hcode-text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: var(--hcode-font-semibold); text-decoration: none; }
.hcode-text-link i, .hcode-service-link i { transition: transform .2s ease; }
.hcode-text-link:hover i, .hcode-service-link:hover i { transform: translateX(4px); }

.hcode-hero { position: relative; min-height: 680px; display: flex; align-items: center; background: #fff; overflow: hidden; }
.hcode-hero::after { content: ''; position: absolute; top: 0; right: 0; width: 38%; height: 100%; background: var(--hcode-color-dark); }
.hcode-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; padding-block: 74px; }
.hcode-hero-content { max-width: 680px; }
.hcode-eyebrow { margin: 0 0 18px; display: flex; align-items: center; gap: 12px; color: var(--hcode-color-text-muted); font-size: 12px; font-weight: var(--hcode-font-semibold); letter-spacing: .14em; }
.hcode-eyebrow > span { width: 36px; height: 2px; background: var(--hcode-color-primary); }
.hcode-hero-title { margin: 0; max-width: 760px; font-size: clamp(44px, 5.5vw, 76px); line-height: .98; letter-spacing: -.045em; font-weight: var(--hcode-font-bold); }
.hcode-hero-description { max-width: 640px; margin: 28px 0 0; color: var(--hcode-color-text-muted); font-size: 18px; line-height: 1.65; }
.hcode-hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; }
.hcode-hero-metrics { display: flex; gap: 46px; margin-top: 58px; }
.hcode-hero-metrics div { display: grid; gap: 2px; }
.hcode-hero-metrics strong { font-size: 24px; line-height: 1.2; font-weight: var(--hcode-font-bold); }
.hcode-hero-metrics span { color: var(--hcode-color-text-muted); font-size: 12px; }
.hcode-hero-visual { min-height: 470px; display: flex; align-items: center; justify-content: flex-end; color: #fff; }
.hcode-hero-visual-panel { width: min(100%, 480px); min-height: 420px; display: flex; flex-direction: column; justify-content: space-between; padding: 34px; border-top: 1px solid rgba(255,255,255,.24); border-bottom: 1px solid rgba(255,255,255,.24); }
.hcode-hero-visual-topline { display: flex; justify-content: space-between; color: rgba(255,255,255,.56); font-size: 11px; letter-spacing: .16em; }
.hcode-hero-car { align-self: center; color: #fff; font-size: clamp(120px, 15vw, 220px); line-height: 1; }
.hcode-hero-visual-specs { display: flex; justify-content: space-between; gap: 12px; color: rgba(255,255,255,.78); font-size: 11px; letter-spacing: .08em; }
.hcode-hero-visual-specs span { display: inline-flex; align-items: center; gap: 7px; }

.hcode-category-strip { border-top: 1px solid var(--hcode-color-line); border-bottom: 1px solid var(--hcode-color-line); }
.hcode-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.hcode-category-item { min-width: 0; min-height: 160px; display: grid; grid-template-columns: 34px 1fr auto; gap: 18px; align-items: start; padding: 34px 24px; }
.hcode-category-item + .hcode-category-item { border-left: 1px solid var(--hcode-color-line); }
.hcode-category-item > i:first-child { color: var(--hcode-color-primary); font-size: 25px; }
.hcode-category-item > i:last-child { color: #a7aaad; font-size: 14px; }
.hcode-category-item h2 { margin: -4px 0 6px; font-size: 16px; line-height: 1.3; font-weight: var(--hcode-font-semibold); }
.hcode-category-item p { margin: 0; color: var(--hcode-color-text-muted); font-size: 13px; line-height: 1.55; }

.hcode-section-heading { display: grid; grid-template-columns: 1.5fr .7fr; align-items: end; gap: 80px; margin-bottom: 54px; }
.hcode-section-heading--compact { grid-template-columns: 1fr; }
.hcode-section-heading > p { margin: 0 0 4px; color: var(--hcode-color-text-muted); }
.hcode-heading-lg { margin: 0; font-size: clamp(34px, 4vw, 50px); line-height: 1.06; letter-spacing: -.035em; font-weight: var(--hcode-font-bold); }

.hcode-services-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0 34px; }
.hcode-service-card { position: relative; min-width: 0; padding: 34px 0 30px 66px; border-top: 1px solid var(--hcode-color-line); }
.hcode-service-icon { position: absolute; top: 34px; left: 0; width: 44px; color: var(--hcode-color-primary); font-size: 24px; }
.hcode-service-card h3 { margin: 0 0 9px; font-size: 20px; line-height: 1.2; font-weight: var(--hcode-font-semibold); }
.hcode-service-card p { margin: 0; min-height: 50px; color: var(--hcode-color-text-muted); font-size: 14px; }
.hcode-service-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; font-size: 13px; font-weight: var(--hcode-font-semibold); text-decoration: none; }

.hcode-parts-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 86px; align-items: start; }
.hcode-parts-intro { position: sticky; top: 120px; }
.hcode-parts-intro > p:not(.hcode-eyebrow) { margin: 25px 0; color: var(--hcode-color-text-muted); }
.hcode-parts-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.hcode-part-item { min-height: 230px; padding: 34px; border-top: 1px solid var(--hcode-color-line); }
.hcode-part-item:nth-child(odd) { padding-left: 0; padding-right: 38px; }
.hcode-part-item:nth-child(even) { border-left: 1px solid var(--hcode-color-line); }
.hcode-part-icon { display: block; margin-bottom: 40px; color: var(--hcode-color-primary); font-size: 26px; }
.hcode-part-item h3 { margin: 0 0 9px; font-size: 20px; font-weight: var(--hcode-font-semibold); }
.hcode-part-item p { margin: 0; color: var(--hcode-color-text-muted); font-size: 14px; }

.hcode-technical-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 88px; }
.hcode-technical-board { min-height: 520px; display: grid; align-content: center; background: var(--hcode-color-dark); padding: 50px; color: #fff; }
.hcode-tech-line { min-height: 92px; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.16); }
.hcode-tech-line:first-child { border-top: 1px solid rgba(255,255,255,.16); }
.hcode-tech-line span { color: rgba(255,255,255,.42); font-size: 11px; }
.hcode-tech-line strong { font-size: 14px; font-weight: var(--hcode-font-semibold); letter-spacing: .12em; }
.hcode-tech-line i { color: var(--hcode-color-primary); font-size: 27px; }
.hcode-feature-list { margin-top: 38px; }
.hcode-feature-item { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding-block: 22px; border-top: 1px solid var(--hcode-color-line); }
.hcode-feature-item > span { color: var(--hcode-color-primary); font-size: 12px; font-weight: var(--hcode-font-semibold); }
.hcode-feature-item h3 { margin: -3px 0 4px; font-size: 18px; font-weight: var(--hcode-font-semibold); }
.hcode-feature-item p { margin: 0; color: var(--hcode-color-text-muted); font-size: 14px; }

.hcode-process { padding-top: 30px; }
.hcode-process-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.hcode-process-item { min-width: 0; padding: 28px 28px 0; border-top: 2px solid var(--hcode-color-dark); }
.hcode-process-item:first-child { padding-left: 0; }
.hcode-process-item:last-child { padding-right: 0; }
.hcode-process-item > span { display: block; margin-bottom: 46px; color: var(--hcode-color-primary); font-size: 12px; font-weight: var(--hcode-font-semibold); }
.hcode-process-item h3 { margin: 0 0 6px; font-size: 19px; font-weight: var(--hcode-font-semibold); }
.hcode-process-item p { margin: 0; color: var(--hcode-color-text-muted); font-size: 14px; }

.hcode-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin-bottom: 24px; }
.hcode-form-field { display: grid; gap: 7px; }
.hcode-form-field--full { grid-column: 1 / -1; }
.hcode-form-field label { font-size: 12px; font-weight: var(--hcode-font-semibold); }
.hcode-form-control { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--hcode-color-line); border-radius: 3px; background: #fff; color: var(--hcode-color-text); font-size: 15px; font-style: normal; }
.hcode-form-control--textarea { min-height: 124px; padding-block: 14px; resize: vertical; }
.hcode-form-control:focus { outline: 2px solid rgba(21,70,111,.14); border-color: var(--hcode-color-primary); }
.hcode-form-status { margin-bottom: 18px; padding: 12px 14px; border-left: 3px solid var(--hcode-color-text); background: var(--hcode-color-surface); font-size: 14px; }
.hcode-form-status--success { border-left-color: #2f7d32; }
.hcode-form-status--error { border-left-color: var(--hcode-color-primary); }

.hcode-site-footer { background: var(--hcode-color-dark); color: #fff; padding-top: 72px; }
.hcode-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr .7fr; gap: 64px; }
.hcode-brand-link--footer { color: #fff; }
.hcode-footer-logo { margin-bottom: 18px; }
.hcode-footer-logo .custom-logo-link { display: inline-block; background: #fff; padding: 6px; }
.hcode-footer-logo .custom-logo { width: auto; height: 74px; max-width: 150px; object-fit: contain; }
.hcode-footer-brand p, .hcode-site-footer p { color: rgba(255,255,255,.58); font-size: 14px; }
.hcode-footer-title { margin: 0 0 20px; font-size: 14px; font-weight: var(--hcode-font-semibold); }
.hcode-footer-list, .hcode-footer-menu { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.hcode-footer-list li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; color: rgba(255,255,255,.62); font-size: 13px; }
.hcode-footer-list i { color: var(--hcode-color-primary); }
.hcode-footer-menu a { color: rgba(255,255,255,.62); font-size: 13px; text-decoration: none; }
.hcode-footer-bottom { margin-top: 58px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.42); font-size: 12px; }

.hcode-entry h1 { margin-top: 0; }
.hcode-entry-content { color: var(--hcode-color-text-muted); }

@media (max-width: 1080px) {
    .hcode-header-phone { display: none; }
    .hcode-navigation-list { gap: 18px; }
    .hcode-hero-inner { gap: 40px; }
    .hcode-hero-title { font-size: clamp(42px, 5.5vw, 62px); }
    .hcode-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .hcode-category-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--hcode-color-line); }
    .hcode-category-item:nth-child(4) { border-top: 1px solid var(--hcode-color-line); }
}

@media (max-width: 900px) {
    .hcode-header-cta { display: none; }
    .hcode-menu-toggle { display: inline-grid; place-items: center; }
    .hcode-main-navigation { display: none; position: absolute; top: 84px; left: 0; right: 0; margin: 0; background: #fff; border-bottom: 1px solid var(--hcode-color-line); }
    .hcode-main-navigation--open { display: block; }
    .hcode-navigation-list { display: grid; gap: 0; width: min(calc(100% - 48px), var(--hcode-container)); margin-inline: auto; }
    .hcode-navigation-list a { display: block; padding-block: 15px; border-bottom: 1px solid var(--hcode-color-line); }
    .hcode-header-actions { margin-left: auto; }
    .hcode-hero::after { display: none; }
    .hcode-hero-inner { grid-template-columns: 1fr; padding-block: 64px 50px; }
    .hcode-hero-visual { min-height: auto; justify-content: stretch; color: #fff; }
    .hcode-hero-visual-panel { width: 100%; min-height: 340px; background: var(--hcode-color-dark); }
    .hcode-hero-car { font-size: 160px; }
    .hcode-section-heading { grid-template-columns: 1fr; gap: 20px; }
    .hcode-services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .hcode-parts-layout, .hcode-technical-grid, .hcode-appointment-grid { grid-template-columns: 1fr; gap: 54px; }
    .hcode-parts-intro { position: static; }
    .hcode-process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 42px; }
    .hcode-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 640px) {
    .hcode-container { width: calc(100% - 40px); }
    .hcode-section { padding-block: 64px; }
    .hcode-header-inner { min-height: 72px; }
    .custom-logo { width: 145px; }
    .hcode-main-navigation { top: 72px; }
    .hcode-navigation-list { width: calc(100% - 40px); }
    .hcode-hero { min-height: auto; }
    .hcode-hero-inner { padding-top: 50px; }
    .hcode-hero-title { font-size: clamp(40px, 12vw, 54px); }
    .hcode-hero-description { font-size: 16px; }
    .hcode-hero-actions { align-items: flex-start; flex-direction: column; }
    .hcode-hero-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; width: 100%; }
    .hcode-hero-metrics strong { font-size: 20px; }
    .hcode-hero-visual-panel { min-height: 270px; padding: 24px; }
    .hcode-hero-car { font-size: 105px; }
    .hcode-hero-visual-specs { font-size: 9px; }
    .hcode-category-grid { grid-template-columns: 1fr; }
    .hcode-category-item, .hcode-category-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--hcode-color-line); }
    .hcode-category-item:first-child { border-top: 0; }
    .hcode-services-grid { grid-template-columns: 1fr; }
    .hcode-service-card { padding-left: 58px; }
    .hcode-parts-grid { grid-template-columns: 1fr; }
    .hcode-part-item, .hcode-part-item:nth-child(odd), .hcode-part-item:nth-child(even) { min-height: 0; padding: 28px 0; border-left: 0; }
    .hcode-part-icon { margin-bottom: 28px; }
    .hcode-technical-board { min-height: 420px; padding: 24px; }
    .hcode-process-grid { grid-template-columns: 1fr; }
    .hcode-process-item { padding-inline: 0; }
    .hcode-process-item > span { margin-bottom: 28px; }
    .hcode-appointment-form-wrap { padding: 26px 20px; }
    .hcode-form-grid { grid-template-columns: 1fr; }
    .hcode-form-field--full { grid-column: auto; }
    .hcode-footer-grid { grid-template-columns: 1fr; gap: 38px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* v0.2 catalog and detail layouts */
.hcode-appointment-lead { max-width: 480px; margin: 24px 0 0; color: rgba(255,255,255,.62); }
.hcode-part-code { display: block; margin: -18px 0 8px; color: var(--hcode-color-text-muted); font-size: 11px; font-weight: var(--hcode-font-semibold); letter-spacing: .08em; }
.hcode-part-item h3 a { text-decoration: none; }
.hcode-part-meta-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 20px; font-size: 12px; font-weight: var(--hcode-font-semibold); text-decoration: none; }
.hcode-part-meta-link i { color: var(--hcode-color-primary); }

.hcode-page-hero { padding-block: 78px; border-bottom: 1px solid var(--hcode-color-line); background: var(--hcode-color-surface); }
.hcode-page-hero-inner { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 70px; }
.hcode-page-hero-inner > p { margin: 0 0 5px; color: var(--hcode-color-text-muted); }

.hcode-service-archive-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 64px 48px; }
.hcode-service-archive-item { min-width: 0; }
.hcode-archive-media { display: block; overflow: hidden; background: var(--hcode-color-surface); }
.hcode-archive-media img { width: 100%; aspect-ratio: 1.36 / 1; object-fit: cover; transition: transform .3s ease; }
.hcode-archive-media:hover img { transform: scale(1.02); }
.hcode-service-archive-body { padding-top: 24px; }
.hcode-archive-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; color: var(--hcode-color-text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.hcode-archive-kicker i { color: var(--hcode-color-primary); font-size: 16px; }
.hcode-service-archive-body h2 { margin: 13px 0 10px; font-size: 26px; line-height: 1.18; font-weight: var(--hcode-font-semibold); }
.hcode-service-archive-body h2 a { text-decoration: none; }
.hcode-service-archive-body > p { margin: 0; color: var(--hcode-color-text-muted); }

.hcode-catalog-filter { margin-bottom: 34px; padding-bottom: 30px; border-bottom: 1px solid var(--hcode-color-line); }
.hcode-fitment-filter-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 18px; border-bottom: 2px solid var(--hcode-color-dark); }
.hcode-fitment-filter-heading > div { display: grid; gap: 2px; }
.hcode-fitment-filter-heading span { color: var(--hcode-color-primary); font-size: 10px; font-weight: var(--hcode-font-semibold); letter-spacing: .14em; }
.hcode-fitment-filter-heading strong { font-size: 20px; font-weight: var(--hcode-font-semibold); }
.hcode-fitment-filter-heading > i { color: #b7babd; font-size: 32px; }
.hcode-vehicle-filter-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-top: 22px; }
.hcode-catalog-filter-grid { display: grid; grid-template-columns: 1.25fr .8fr .8fr auto; align-items: end; gap: 14px; margin-top: 22px; }
.hcode-filter-field { display: grid; gap: 7px; min-width: 0; }
.hcode-filter-field label { font-size: 12px; font-weight: var(--hcode-font-semibold); }
.hcode-catalog-filter .hcode-button { white-space: nowrap; }
.hcode-catalog-filter-actions { display: flex; align-items: center; gap: 14px; }
.hcode-filter-reset { color: var(--hcode-color-text-muted); font-size: 12px; font-weight: var(--hcode-font-semibold); text-decoration: none; }
.hcode-filter-reset:hover { color: var(--hcode-color-primary); }
.hcode-selected-vehicle { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 16px; margin-bottom: 40px; padding: 18px 0; border-top: 1px solid var(--hcode-color-line); border-bottom: 1px solid var(--hcode-color-line); }
.hcode-selected-vehicle-icon { width: 42px; height: 42px; display: grid; place-items: center; background: var(--hcode-color-dark); color: #fff; border-radius: var(--hcode-radius-sm); }
.hcode-selected-vehicle > div:nth-child(2) { display: grid; gap: 1px; }
.hcode-selected-vehicle > div:nth-child(2) span { color: var(--hcode-color-text-muted); font-size: 10px; font-weight: var(--hcode-font-semibold); letter-spacing: .08em; text-transform: uppercase; }
.hcode-selected-vehicle > div:nth-child(2) strong { font-size: 14px; font-weight: var(--hcode-font-semibold); }
.hcode-catalog-result-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; color: var(--hcode-color-text-muted); font-size: 12px; }
.hcode-catalog-result-bar span:last-child { display: inline-flex; align-items: center; gap: 7px; color: var(--hcode-color-text); }
.hcode-catalog-result-bar i, .hcode-fitment-match i { color: var(--hcode-color-primary); }
.hcode-part-archive-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 52px 28px; }
.hcode-part-archive-item { min-width: 0; }
.hcode-part-archive-media { min-height: 240px; display: grid; place-items: center; overflow: hidden; background: var(--hcode-color-surface); text-decoration: none; }
.hcode-part-archive-media img { width: 100%; aspect-ratio: 1.28 / 1; object-fit: cover; transition: transform .3s ease; }
.hcode-part-archive-media:hover img { transform: scale(1.02); }
.hcode-part-archive-media > span { color: #b4b7ba; font-size: 72px; }
.hcode-part-archive-body { padding-top: 20px; }
.hcode-part-archive-topline { display: flex; justify-content: space-between; gap: 16px; color: var(--hcode-color-text-muted); font-size: 11px; }
.hcode-part-archive-topline span:last-child { color: var(--hcode-color-primary); font-weight: var(--hcode-font-semibold); }
.hcode-fitment-match { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; color: var(--hcode-color-text-muted); font-size: 11px; }
.hcode-part-archive-body h2 { margin: 8px 0 8px; font-size: 20px; line-height: 1.25; font-weight: var(--hcode-font-semibold); }
.hcode-part-archive-body h2 a { text-decoration: none; }
.hcode-part-codes { display: flex; flex-wrap: wrap; gap: 7px 16px; margin-bottom: 10px; color: var(--hcode-color-text-muted); font-size: 11px; }
.hcode-part-archive-body > p { margin: 0; color: var(--hcode-color-text-muted); font-size: 14px; }

.hcode-detail-hero { padding-block: 82px; border-bottom: 1px solid var(--hcode-color-line); }
.hcode-detail-hero--part { background: var(--hcode-color-surface); }
.hcode-detail-hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 78px; }
.hcode-detail-heading { min-width: 0; }
.hcode-detail-icon { margin-bottom: 24px; color: var(--hcode-color-primary); font-size: 34px; }
.hcode-detail-lead { max-width: 600px; margin: 24px 0 0; color: var(--hcode-color-text-muted); font-size: 17px; }
.hcode-detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 32px; }
.hcode-detail-meta { display: inline-flex; align-items: center; gap: 8px; color: var(--hcode-color-text-muted); font-size: 13px; }
.hcode-detail-meta i { color: var(--hcode-color-primary); }
.hcode-detail-media { margin: 0; overflow: hidden; }
.hcode-detail-media img { width: 100%; aspect-ratio: 1.35 / 1; object-fit: cover; }
.hcode-detail-technical { min-height: 430px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 42px; background: var(--hcode-color-dark); color: #fff; }
.hcode-detail-technical i { font-size: clamp(100px,12vw,180px); }
.hcode-detail-technical span { color: rgba(255,255,255,.46); font-size: 11px; letter-spacing: .18em; }
.hcode-detail-content-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(260px,.55fr); gap: 90px; align-items: start; }
.hcode-entry-content { font-size: 17px; }
.hcode-entry-content > *:first-child { margin-top: 0; }
.hcode-entry-content h2, .hcode-entry-content h3 { color: var(--hcode-color-text); line-height: 1.2; }
.hcode-detail-aside { padding-top: 22px; border-top: 2px solid var(--hcode-color-dark); }
.hcode-detail-aside-index { color: var(--hcode-color-primary); font-size: 12px; font-weight: var(--hcode-font-semibold); }
.hcode-detail-aside h2 { margin: 32px 0 16px; font-size: 20px; font-weight: var(--hcode-font-semibold); }
.hcode-detail-aside ol { display: grid; gap: 12px; margin: 0; padding-left: 20px; color: var(--hcode-color-text-muted); font-size: 14px; }

.hcode-part-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 30px 0; border-top: 1px solid var(--hcode-color-line); }
.hcode-part-facts > div { padding: 15px 0; border-bottom: 1px solid var(--hcode-color-line); }
.hcode-part-facts > div:nth-child(even) { padding-left: 24px; }
.hcode-part-facts dt { color: var(--hcode-color-text-muted); font-size: 11px; }
.hcode-part-facts dd { margin: 3px 0 0; font-size: 14px; font-weight: var(--hcode-font-semibold); }
.hcode-fitment-table-wrap { overflow-x: auto; }
.hcode-fitment-table { width: 100%; border-collapse: collapse; text-align: left; }
.hcode-fitment-table th, .hcode-fitment-table td { padding: 16px 18px; border-bottom: 1px solid var(--hcode-color-line); }
.hcode-fitment-table th { color: var(--hcode-color-text-muted); font-size: 11px; font-weight: var(--hcode-font-semibold); letter-spacing: .06em; }
.hcode-fitment-table td { font-size: 14px; }
.hcode-fitment-action { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: var(--hcode-font-semibold); text-decoration: none; white-space: nowrap; }
.hcode-fitment-action i { color: var(--hcode-color-primary); }

.hcode-pagination { margin-top: 56px; }
.hcode-pagination .nav-links, .hcode-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hcode-pagination a, .hcode-pagination .current { min-width: 40px; height: 40px; display: inline-grid; place-items: center; padding-inline: 10px; border: 1px solid var(--hcode-color-line); text-decoration: none; font-size: 13px; }
.hcode-pagination .current { border-color: var(--hcode-color-dark); background: var(--hcode-color-dark); color: #fff; }
.hcode-empty-state { padding-block: 80px; text-align: center; }
.hcode-empty-state i { color: #b8bbbe; font-size: 54px; }
.hcode-empty-state h2 { margin: 18px 0 0; font-size: 22px; font-weight: var(--hcode-font-semibold); }
.hcode-empty-state p { margin: 10px auto 0; max-width: 520px; color: var(--hcode-color-text-muted); font-size: 14px; }
.hcode-appointment-context { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 13px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--hcode-color-line); }
.hcode-appointment-context > i { color: var(--hcode-color-primary); font-size: 20px; }
.hcode-appointment-context > div { display: grid; gap: 1px; }
.hcode-appointment-context span { color: var(--hcode-color-text-muted); font-size: 10px; font-weight: var(--hcode-font-semibold); letter-spacing: .08em; text-transform: uppercase; }
.hcode-appointment-context strong { font-size: 14px; font-weight: var(--hcode-font-semibold); }
.hcode-generic-list { display: grid; gap: 34px; }
.hcode-generic-list-item { padding-bottom: 34px; border-bottom: 1px solid var(--hcode-color-line); }
.hcode-generic-list-item h2 { margin: 0 0 10px; font-size: 24px; font-weight: var(--hcode-font-semibold); }
.hcode-generic-list-item h2 a { text-decoration: none; }
.hcode-generic-list-item p { margin: 0; color: var(--hcode-color-text-muted); }

@media (max-width: 900px) {
    .hcode-page-hero-inner, .hcode-detail-hero-grid, .hcode-detail-content-grid { grid-template-columns: 1fr; gap: 42px; }
    .hcode-service-archive-grid { gap: 48px 28px; }
    .hcode-vehicle-filter-grid, .hcode-catalog-filter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .hcode-catalog-filter-actions { align-self: end; }
    .hcode-part-archive-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 640px) {
    .hcode-page-hero { padding-block: 58px; }
    .hcode-service-archive-grid, .hcode-part-archive-grid, .hcode-vehicle-filter-grid, .hcode-catalog-filter-grid { grid-template-columns: 1fr; }
    .hcode-selected-vehicle { grid-template-columns: auto minmax(0,1fr); }
    .hcode-selected-vehicle .hcode-text-link { grid-column: 1 / -1; }
    .hcode-catalog-result-bar { align-items: flex-start; flex-direction: column; }
    .hcode-catalog-filter-actions { align-items: flex-start; flex-direction: column; }
    .hcode-service-archive-body h2 { font-size: 22px; }
    .hcode-detail-hero { padding-block: 58px; }
    .hcode-detail-technical { min-height: 280px; }
    .hcode-part-facts { grid-template-columns: 1fr; }
    .hcode-part-facts > div:nth-child(even) { padding-left: 0; }
    .hcode-fitment-table { min-width: 620px; }
}

@media (prefers-reduced-motion: reduce) {
    .hcode-archive-media img,
    .hcode-part-archive-media img,
    .hcode-text-link i,
    .hcode-service-link i { transition: none !important; }
}

/* v0.4 page templates, Customizer media and hero slider */
.hcode-eyebrow--light { color: rgba(255,255,255,.72); }
.hcode-text-link--light { color: #fff; }

.hcode-hero-slider { position: relative; min-height: 720px; overflow: hidden; background: var(--hcode-color-dark); color: #fff; }
.hcode-hero-slides { position: relative; min-height: 720px; }
.hcode-hero-slide { position: absolute; inset: 0; min-height: 720px; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.hcode-hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hcode-hero-slide-media, .hcode-hero-slide-shade { position: absolute; inset: 0; }
.hcode-hero-slide-media img { width: 100%; height: 100%; object-fit: cover; }
.hcode-hero-slide-shade { background: rgba(8,33,54,.70); }
.hcode-hero-slide-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 28px; padding-right: max(24px, calc((100vw - var(--hcode-container)) / 2)); background: var(--hcode-color-dark); color: rgba(255,255,255,.16); }
.hcode-hero-slide-placeholder i { font-size: clamp(130px,22vw,330px); }
.hcode-hero-slide-placeholder span { font-size: 11px; letter-spacing: .18em; }
.hcode-hero-slide-inner { position: relative; z-index: 2; min-height: 720px; display: flex; align-items: center; padding-top: 60px; padding-bottom: 160px; }
.hcode-hero-slider .hcode-hero-content { width: min(100%,720px); }
.hcode-hero-slider .hcode-hero-title { color: #fff; }
.hcode-hero-slider .hcode-hero-description { color: rgba(255,255,255,.74); }
.hcode-hero-slider-ui { position: absolute; z-index: 5; left: 50%; bottom: 36px; transform: translateX(-50%); display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; color: #fff; }
.hcode-hero-slider .hcode-hero-metrics { margin: 0; }
.hcode-hero-slider .hcode-hero-metrics span { color: rgba(255,255,255,.58); }
.hcode-hero-controls { display: flex; align-items: center; gap: 12px; }
.hcode-hero-controls > button { width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.34); background: transparent; color: #fff; cursor: pointer; }
.hcode-hero-dots { display: flex; align-items: center; gap: 7px; }
.hcode-hero-dots button { width: 24px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.32); cursor: pointer; }
.hcode-hero-dots button.is-active { background: var(--hcode-color-primary); }
.hcode-hero-slider--single .hcode-hero-controls { display: none; }

.hcode-category-item > a { color: #a7aaad; font-size: 14px; text-decoration: none; }
.hcode-category-item > a:hover { color: var(--hcode-color-primary); }
.hcode-section-inline-media { margin: 36px 0 0; overflow: hidden; }
.hcode-section-inline-media img { width: 100%; aspect-ratio: 1.6 / 1; object-fit: cover; }
.hcode-technical-media { margin: 0; overflow: hidden; }
.hcode-technical-media img { width: 100%; aspect-ratio: 1 / .86; object-fit: cover; }
.hcode-appointment-media { margin: 32px 0 0; overflow: hidden; }
.hcode-appointment-media img { width: 100%; aspect-ratio: 1.6 / 1; object-fit: cover; }

.hcode-page-hero { position: relative; overflow: hidden; }
.hcode-page-hero-content { position: relative; z-index: 2; max-width: 980px; }
.hcode-page-hero-content > p:last-child { max-width: 680px; margin: 22px 0 0; color: var(--hcode-color-text-muted); font-size: 17px; }
.hcode-page-hero--image { min-height: 430px; display: flex; align-items: flex-end; border-bottom: 0; background: var(--hcode-color-dark); color: #fff; }
.hcode-page-hero-media, .hcode-page-hero-shade { position: absolute; inset: 0; }
.hcode-page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hcode-page-hero-shade { background: rgba(8,33,54,.66); }
.hcode-page-hero--image .hcode-page-hero-content > p:last-child { color: rgba(255,255,255,.72); }

.hcode-about-page-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 80px; }
.hcode-about-page-content > p:not(.hcode-eyebrow) { max-width: 620px; color: var(--hcode-color-text-muted); font-size: 17px; }
.hcode-about-page-content .hcode-entry-content { margin-top: 28px; }
.hcode-about-page-media img { width: 100%; aspect-ratio: 1.25 / 1; object-fit: cover; }
.hcode-about-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; }
.hcode-about-feature-item { min-width: 0; padding: 30px 34px 0; border-top: 2px solid var(--hcode-color-dark); }
.hcode-about-feature-item:first-child { padding-left: 0; }
.hcode-about-feature-item:last-child { padding-right: 0; }
.hcode-about-feature-item > span { display: block; margin-bottom: 34px; color: var(--hcode-color-primary); font-size: 12px; font-weight: var(--hcode-font-semibold); }
.hcode-about-feature-item h2 { margin: 0 0 8px; font-size: 20px; font-weight: var(--hcode-font-semibold); }
.hcode-about-feature-item p { margin: 0; color: var(--hcode-color-text-muted); font-size: 14px; }

.hcode-contact-page-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; border-top: 1px solid var(--hcode-color-line); }
.hcode-contact-page-item { min-width: 0; display: grid; align-content: start; gap: 8px; padding: 30px 28px; color: inherit; text-decoration: none; }
.hcode-contact-page-item + .hcode-contact-page-item { border-left: 1px solid var(--hcode-color-line); }
.hcode-contact-page-item i { margin-bottom: 16px; color: var(--hcode-color-primary); font-size: 24px; }
.hcode-contact-page-item span { color: var(--hcode-color-text-muted); font-size: 11px; font-weight: var(--hcode-font-semibold); letter-spacing: .06em; text-transform: uppercase; }
.hcode-contact-page-item strong { overflow-wrap: anywhere; font-size: 15px; font-weight: var(--hcode-font-semibold); }
.hcode-contact-page-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.hcode-contact-page-content { max-width: 880px; margin-top: 64px; }

.hcode-footer-column { min-width: 0; }
.hcode-footer-widget + .hcode-footer-widget { margin-top: 28px; }
.hcode-footer-widget ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hcode-footer-widget a { color: rgba(255,255,255,.66); text-decoration: none; }
.hcode-footer-widget a:hover { color: #fff; }
.hcode-footer-list a { color: rgba(255,255,255,.62); text-decoration: none; }

@media (max-width: 900px) {
    .hcode-hero-slider, .hcode-hero-slides, .hcode-hero-slide, .hcode-hero-slide-inner { min-height: 660px; }
    .hcode-hero-slider-ui { align-items: flex-start; flex-direction: column; }
    .hcode-about-page-grid { grid-template-columns: 1fr; gap: 46px; }
    .hcode-about-feature-grid { grid-template-columns: 1fr; }
    .hcode-about-feature-item { padding: 28px 0; border-top-width: 1px; }
    .hcode-contact-page-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .hcode-contact-page-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--hcode-color-line); }
    .hcode-contact-page-item:nth-child(4) { border-top: 1px solid var(--hcode-color-line); }
}

@media (max-width: 640px) {
    .hcode-hero-slider, .hcode-hero-slides, .hcode-hero-slide, .hcode-hero-slide-inner { min-height: 690px; }
    .hcode-hero-slide-inner { align-items: flex-start; padding-top: 78px; padding-bottom: 190px; }
    .hcode-hero-slider-ui { bottom: 26px; }
    .hcode-hero-slider .hcode-hero-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
    .hcode-hero-slider .hcode-hero-metrics strong { font-size: 18px; }
    .hcode-hero-controls > button { width: 38px; height: 38px; }
    .hcode-page-hero--image { min-height: 360px; }
    .hcode-contact-page-grid { grid-template-columns: 1fr; }
    .hcode-contact-page-item + .hcode-contact-page-item, .hcode-contact-page-item:nth-child(3), .hcode-contact-page-item:nth-child(4) { border-left: 0; border-top: 1px solid var(--hcode-color-line); }
    .hcode-contact-page-actions { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    .hcode-hero-slide { transition: none !important; }
}

/* v0.5 inner pages, breadcrumb and reusable CTA */
.hcode-breadcrumb { margin-bottom: 30px; }
.hcode-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 0; padding: 0; list-style: none; }
.hcode-breadcrumb li { display: inline-flex; align-items: center; gap: 9px; color: var(--hcode-color-text-muted); font-size: 12px; }
.hcode-breadcrumb li + li::before { content: '/'; color: var(--hcode-color-line); }
.hcode-breadcrumb a { color: inherit; text-decoration: none; }
.hcode-breadcrumb a:hover { color: var(--hcode-color-primary); }
.hcode-breadcrumb--light li { color: rgba(255,255,255,.62); }
.hcode-breadcrumb--light li + li::before { color: rgba(255,255,255,.3); }
.hcode-page-hero-content .hcode-breadcrumb + .hcode-eyebrow { margin-top: 0; }

.hcode-page-cta { position: relative; overflow: hidden; padding-block: 72px; background: var(--hcode-color-dark); color: #fff; }
.hcode-page-cta-media { position: absolute; inset: 0; }
.hcode-page-cta-media::after { content: ''; position: absolute; inset: 0; background: rgba(12,12,12,.76); }
.hcode-page-cta-media img { width: 100%; height: 100%; object-fit: cover; }
.hcode-page-cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 56px; }
.hcode-page-cta-copy { max-width: 760px; }
.hcode-page-cta-copy h2 { margin: 0; max-width: 700px; font-size: clamp(30px,4vw,46px); line-height: 1.08; font-weight: var(--hcode-font-bold); }
.hcode-page-cta-copy > p:last-child { max-width: 650px; margin: 16px 0 0; color: rgba(255,255,255,.68); }
.hcode-page-cta .hcode-button { flex: 0 0 auto; }

.hcode-service-archive-grid .hcode-service-archive-item,
.hcode-part-archive-grid .hcode-part-archive-item { position: relative; }
.hcode-service-archive-body > p,
.hcode-part-archive-body > p { line-height: 1.65; }
.hcode-detail-hero-grid > * { min-width: 0; }
.hcode-entry-content > :first-child { margin-top: 0; }
.hcode-entry-content > :last-child { margin-bottom: 0; }

@media (max-width: 900px) {
    .hcode-page-cta-inner { align-items: flex-start; flex-direction: column; gap: 30px; }
}

@media (max-width: 640px) {
    .hcode-breadcrumb { margin-bottom: 24px; }
    .hcode-page-cta { padding-block: 56px; }
    .hcode-page-cta-copy h2 { font-size: 30px; }
}


/* v0.6 content pages, CF7 integration and service appointment sidebar */
.hcode-archive-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .7fr);
    align-items: end;
    gap: 72px;
    margin-bottom: 54px;
}
.hcode-archive-intro > p {
    margin: 0 0 4px;
    color: var(--hcode-color-text-muted);
    font-size: 15px;
    line-height: 1.75;
}
.hcode-archive-intro .hcode-heading-lg { margin-bottom: 0; }

.hcode-fitment-filter-heading p {
    max-width: 620px;
    margin: 5px 0 0;
    color: var(--hcode-color-text-muted);
    font-size: 12px;
    line-height: 1.55;
}

.hcode-about-stats {
    border-top: 1px solid var(--hcode-color-line);
    border-bottom: 1px solid var(--hcode-color-line);
}
.hcode-about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hcode-about-stat {
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 34px 36px;
}
.hcode-about-stat:first-child { padding-left: 0; }
.hcode-about-stat:last-child { padding-right: 0; }
.hcode-about-stat + .hcode-about-stat { border-left: 1px solid var(--hcode-color-line); }
.hcode-about-stat strong {
    color: var(--hcode-color-primary);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1;
    font-weight: var(--hcode-font-bold);
}
.hcode-about-stat span {
    color: var(--hcode-color-text-muted);
    font-size: 13px;
}
.hcode-about-feature-item h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: var(--hcode-font-semibold);
}

.hcode-contact-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    align-items: start;
    gap: 80px;
}
.hcode-contact-main,
.hcode-contact-aside { min-width: 0; }
.hcode-contact-main .hcode-section-heading { margin-bottom: 34px; }
.hcode-contact-main .hcode-section-heading p:last-child {
    max-width: 680px;
    margin: 14px 0 0;
    color: var(--hcode-color-text-muted);
}
.hcode-contact-form-panel { max-width: 820px; }
.hcode-contact-aside {
    position: sticky;
    top: 116px;
    padding-top: 22px;
    border-top: 2px solid var(--hcode-color-dark);
}
.hcode-contact-aside-heading > span {
    color: var(--hcode-color-primary);
    font-size: 10px;
    font-weight: var(--hcode-font-semibold);
    letter-spacing: .13em;
}
.hcode-contact-aside-heading h2 {
    margin: 9px 0 0;
    font-size: 24px;
    line-height: 1.2;
    font-weight: var(--hcode-font-semibold);
}
.hcode-contact-aside-list {
    display: grid;
    margin-top: 28px;
    border-top: 1px solid var(--hcode-color-line);
}
.hcode-contact-aside-list > a,
.hcode-contact-aside-list > div {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 14px;
    padding: 20px 0;
    border-bottom: 1px solid var(--hcode-color-line);
    color: inherit;
    text-decoration: none;
}
.hcode-contact-aside-list i {
    margin-top: 3px;
    color: var(--hcode-color-primary);
}
.hcode-contact-aside-list span {
    display: grid;
    gap: 4px;
    color: var(--hcode-color-text-muted);
    font-size: 11px;
}
.hcode-contact-aside-list strong {
    overflow-wrap: anywhere;
    color: var(--hcode-color-text);
    font-size: 14px;
    font-weight: var(--hcode-font-semibold);
}
.hcode-contact-aside-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 28px;
}
.hcode-contact-native-message {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 20px;
    padding: 24px 0;
    border-top: 1px solid var(--hcode-color-line);
    border-bottom: 1px solid var(--hcode-color-line);
}
.hcode-contact-native-message > i {
    color: var(--hcode-color-primary);
    font-size: 28px;
}
.hcode-contact-native-message h3 {
    margin: 0 0 6px;
    font-size: 19px;
    font-weight: var(--hcode-font-semibold);
}
.hcode-contact-native-message p {
    margin: 0;
    color: var(--hcode-color-text-muted);
    line-height: 1.65;
}

.hcode-cf7-form label,
.hcode-quick-form label {
    display: grid;
    gap: 8px;
    min-width: 0;
    color: var(--hcode-color-text);
    font-size: 12px;
    font-weight: var(--hcode-font-semibold);
}
.hcode-cf7-form .wpcf7-form-control-wrap { display: block; }
.hcode-cf7-form .hcode-form-control { margin-top: 8px; font-weight: var(--hcode-font-regular); }
.hcode-cf7-form--quick { display: grid; gap: 14px; }
.hcode-cf7-form--quick .hcode-button { width: 100%; margin-top: 4px; }
.hcode-cf7-form .wpcf7-not-valid-tip {
    margin-top: 5px;
    color: var(--hcode-color-primary);
    font-size: 11px;
    font-weight: var(--hcode-font-regular);
}
.hcode-cf7-form + .wpcf7-response-output,
.wpcf7 form .wpcf7-response-output {
    margin: 18px 0 0;
    padding: 12px 0;
    border: 0;
    border-top: 1px solid var(--hcode-color-line);
    color: var(--hcode-color-text);
    font-size: 12px;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output { border-color: var(--hcode-color-line); }

.hcode-service-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 390px);
    align-items: start;
    gap: 84px;
}
.hcode-service-single-main { min-width: 0; }
.hcode-service-single-main .hcode-entry-content {
    font-size: 16px;
    line-height: 1.78;
}
.hcode-service-single-main .hcode-entry-content h2 {
    margin: 42px 0 16px;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.18;
    font-weight: var(--hcode-font-semibold);
}
.hcode-service-single-main .hcode-entry-content ul,
.hcode-service-single-main .hcode-entry-content ol { padding-left: 22px; }
.hcode-service-single-main .hcode-entry-content li + li { margin-top: 8px; }
.hcode-service-single-sidebar {
    position: sticky;
    top: 112px;
    min-width: 0;
}
.hcode-quick-appointment {
    padding-top: 22px;
    border-top: 3px solid var(--hcode-color-primary);
}
.hcode-quick-appointment-heading > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--hcode-color-primary);
    font-size: 10px;
    font-weight: var(--hcode-font-semibold);
    letter-spacing: .11em;
    text-transform: uppercase;
}
.hcode-quick-appointment-heading h2 {
    margin: 10px 0 8px;
    font-size: 25px;
    line-height: 1.15;
    font-weight: var(--hcode-font-semibold);
}
.hcode-quick-appointment-heading p {
    margin: 0 0 22px;
    color: var(--hcode-color-text-muted);
    font-size: 13px;
    line-height: 1.6;
}
.hcode-quick-form {
    display: grid;
    gap: 14px;
}
.hcode-quick-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.hcode-quick-form .hcode-button { width: 100%; margin-top: 4px; }
.hcode-service-sidebar-contact {
    display: grid;
    gap: 9px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--hcode-color-line);
}
.hcode-service-sidebar-contact > span {
    color: var(--hcode-color-text-muted);
    font-size: 10px;
    font-weight: var(--hcode-font-semibold);
    letter-spacing: .08em;
    text-transform: uppercase;
}
.hcode-service-sidebar-contact a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--hcode-color-text);
    font-size: 16px;
    font-weight: var(--hcode-font-semibold);
    text-decoration: none;
}
.hcode-service-sidebar-contact a i { color: var(--hcode-color-primary); }

.hcode-service-process {
    margin-top: 64px;
    padding-top: 42px;
    border-top: 1px solid var(--hcode-color-line);
}
.hcode-service-process > h2 {
    max-width: 720px;
    margin: 0 0 30px;
    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.12;
    font-weight: var(--hcode-font-semibold);
}
.hcode-service-process ol {
    margin: 0;
    padding: 0;
    list-style: none;
}
.hcode-service-process li {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 20px;
    padding: 22px 0;
    border-top: 1px solid var(--hcode-color-line);
}
.hcode-service-process li > span {
    color: var(--hcode-color-primary);
    font-size: 12px;
    font-weight: var(--hcode-font-semibold);
}
.hcode-service-process li strong {
    font-size: 16px;
    font-weight: var(--hcode-font-semibold);
}
.hcode-service-process li p {
    margin: 5px 0 0;
    color: var(--hcode-color-text-muted);
    font-size: 13px;
    line-height: 1.6;
}
.hcode-service-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
.hcode-service-related-item { min-width: 0; }
.hcode-service-related-media {
    display: block;
    overflow: hidden;
}
.hcode-service-related-media img {
    width: 100%;
    aspect-ratio: 1.45 / 1;
    object-fit: cover;
    transition: transform .3s ease;
}
.hcode-service-related-media:hover img { transform: scale(1.02); }
.hcode-service-related-item h3 {
    margin: 18px 0 8px;
    font-size: 20px;
    line-height: 1.25;
    font-weight: var(--hcode-font-semibold);
}
.hcode-service-related-item h3 a { text-decoration: none; }
.hcode-service-related-item p {
    margin: 0;
    color: var(--hcode-color-text-muted);
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .hcode-contact-workspace,
    .hcode-service-single-layout {
        grid-template-columns: 1fr;
        gap: 54px;
    }
    .hcode-contact-aside,
    .hcode-service-single-sidebar {
        position: static;
        top: auto;
    }
    .hcode-contact-aside { max-width: 680px; }
    .hcode-service-single-sidebar { max-width: 680px; }
}

@media (max-width: 768px) {
    .hcode-archive-intro {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 18px;
        margin-bottom: 40px;
    }
    .hcode-about-stats-grid { grid-template-columns: 1fr; }
    .hcode-about-stat { padding: 24px 0; }
    .hcode-about-stat + .hcode-about-stat {
        border-top: 1px solid var(--hcode-color-line);
        border-left: 0;
    }
    .hcode-service-related-grid { grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 520px) {
    .hcode-quick-form-row { grid-template-columns: 1fr; }
    .hcode-contact-aside-actions { align-items: flex-start; flex-direction: column; }
}

/* Service content media */
.hcode-service-content-media {
    margin: 40px 0 0;
}

.hcode-service-content-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--hcode-radius-md, 4px);
}

.hcode-section-wide-media {
    margin: 0 0 48px;
    overflow: hidden;
    border-radius: var(--hcode-radius-lg, 6px);
}

.hcode-section-wide-media img,
.hcode-page-inline-media img,
.hcode-contact-aside-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hcode-section-wide-media img {
    aspect-ratio: 12 / 4.8;
}

.hcode-section-wide-media--process img {
    aspect-ratio: 12 / 4.2;
}

.hcode-page-inline-media {
    margin-top: 56px;
    margin-bottom: -24px;
    overflow: hidden;
    border-radius: var(--hcode-radius-lg, 6px);
}

.hcode-page-inline-media img {
    aspect-ratio: 12 / 4.4;
}

.hcode-contact-aside-media {
    margin: 0 0 28px;
    overflow: hidden;
    border-radius: var(--hcode-radius-md, 4px);
}

.hcode-contact-aside-media img {
    aspect-ratio: 4 / 2.8;
}

@media (max-width: 767px) {
    .hcode-section-wide-media {
        margin-bottom: 32px;
    }

    .hcode-section-wide-media img,
    .hcode-section-wide-media--process img,
    .hcode-page-inline-media img {
        aspect-ratio: 4 / 3;
    }

    .hcode-page-inline-media {
        margin-top: 32px;
        margin-bottom: -8px;
    }
}


/* Service sidebar navigation and manual vehicle selection */
.hcode-service-sidebar-services,
.hcode-service-sidebar-contact {
    display: grid;
    gap: 14px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--hcode-color-line);
}
.hcode-service-sidebar-label {
    color: var(--hcode-color-text-muted);
    font-size: 10px;
    font-weight: var(--hcode-font-semibold);
    letter-spacing: .08em;
    text-transform: uppercase;
}
.hcode-service-sidebar-services ul { margin: 0; padding: 0; list-style: none; }
.hcode-service-sidebar-services li + li { border-top: 1px solid var(--hcode-color-line); }
.hcode-service-sidebar-services a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    color: var(--hcode-color-text);
    font-size: 14px;
    font-weight: var(--hcode-font-medium);
    text-decoration: none;
}
.hcode-service-sidebar-services a i { color: var(--hcode-color-primary); font-size: 11px; transition: transform .2s ease; }
.hcode-service-sidebar-services a:hover i { transform: translateX(3px); }
.hcode-service-sidebar-contact { gap: 12px; }
.hcode-service-sidebar-contact a,
.hcode-service-sidebar-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--hcode-color-text);
    font-size: 14px;
    line-height: 1.55;
    text-decoration: none;
}
.hcode-service-sidebar-contact a i,
.hcode-service-sidebar-contact-row i { width: 17px; margin-top: 3px; color: var(--hcode-color-primary); text-align: center; }
.hcode-vehicle-other-field { align-self: end; }
.hcode-vehicle-other-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    cursor: pointer;
    font-size: 13px;
    font-weight: var(--hcode-font-medium);
}
.hcode-vehicle-other-toggle input,
.hcode-vehicle-other .wpcf7-list-item input { width: 17px; height: 17px; margin: 0; accent-color: var(--hcode-color-primary); }
.hcode-vehicle-custom-field[hidden] { display: none !important; }
.hcode-vehicle-custom-field { animation: hcodeVehicleFieldIn .18s ease; }
@keyframes hcodeVehicleFieldIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* Çözüm Otomotiv corporate layer */
.hcode-eyebrow > span { background: var(--hcode-color-accent); }
.hcode-category-item > i:first-child,
.hcode-tech-line i,
.hcode-service-sidebar-contact a i,
.hcode-service-sidebar-contact-row i { color: var(--hcode-color-accent); }
.hcode-header-social {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    color: var(--hcode-color-primary);
    text-decoration: none;
    font-size: 17px;
}
.hcode-header-social:hover { color: var(--hcode-color-accent); }
.hcode-footer-socials { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.hcode-footer-socials a {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.16);
    text-decoration: none;
}
.hcode-footer-socials a:hover { color: var(--hcode-color-accent); }

/* Specialist brands */
.hcode-brands { padding-block: 82px; }
.hcode-brands-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 72px;
}
.hcode-brands-content { min-width: 0; }
.hcode-section-lead { max-width: 680px; margin: 24px 0 0; color: var(--hcode-color-text-muted); font-size: 17px; line-height: 1.7; }
.hcode-brand-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}
.hcode-brand-specialties li { display: inline-flex; align-items: center; gap: 8px; font-weight: var(--hcode-font-semibold); }
.hcode-brand-specialties li i { color: var(--hcode-color-accent); font-size: 11px; }
.hcode-brands-media { margin: 0; padding: 26px 28px; background: #fff; }
.hcode-brands-media img { width: 100%; height: auto; object-fit: contain; }

/* Castrol Auto Service */
.hcode-castrol { background: var(--hcode-color-surface); }
.hcode-castrol-grid {
    display: grid;
    grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
    align-items: center;
    gap: 88px;
}
.hcode-castrol-media { margin: 0; max-width: 470px; }
.hcode-castrol-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center; }
.hcode-castrol-content { max-width: 650px; }
.hcode-castrol-points { display: grid; gap: 0; margin: 32px 0 34px; }
.hcode-castrol-points > div {
    display: grid;
    grid-template-columns: 26px minmax(0,1fr);
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid var(--hcode-color-line);
}
.hcode-castrol-points > div:last-child { border-bottom: 1px solid var(--hcode-color-line); }
.hcode-castrol-points i { color: var(--hcode-color-accent); }

/* Booking and form components — isolated layouts, no shared grid leakage. */
.hcode-home-booking { background: var(--hcode-color-surface); }
.hcode-home-booking__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 54px;
    margin-bottom: 34px;
}
.hcode-home-booking__copy { max-width: 720px; }
.hcode-home-booking__copy > p:not(.hcode-eyebrow) { max-width: 650px; margin: 20px 0 0; color: var(--hcode-color-text-muted); font-size: 16px; line-height: 1.7; }
.hcode-home-booking__location { display: flex; align-items: flex-start; gap: 10px; max-width: 660px; margin-top: 20px; color: var(--hcode-color-text-muted); font-size: 13px; line-height: 1.55; }
.hcode-home-booking__location i { margin-top: 3px; color: var(--hcode-color-accent); }
.hcode-home-booking__actions { display: grid; grid-template-columns: repeat(2,minmax(180px,1fr)); gap: 10px; flex: 0 0 auto; }
.hcode-booking-action {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: var(--hcode-font-semibold);
    transition: transform .2s ease, background-color .2s ease;
}
.hcode-booking-action:hover { transform: translateY(-1px); }
.hcode-booking-action i { width: 22px; font-size: 20px; text-align: center; }
.hcode-booking-action span { display: grid; gap: 2px; }
.hcode-booking-action small { color: rgba(255,255,255,.72); font-size: 9px; font-weight: var(--hcode-font-medium); letter-spacing: .09em; text-transform: uppercase; }
.hcode-booking-action--phone { background: var(--hcode-color-primary); }
.hcode-booking-action--phone:hover { background: var(--hcode-color-primary-hover); }
.hcode-booking-action--whatsapp { background: var(--hcode-color-accent); }
.hcode-booking-action--whatsapp:hover { background: var(--hcode-color-accent-hover); }

/* Main appointment form */
.hcode-booking-panel { padding: 36px 38px; background: #fff; border-radius: 6px; }
.hcode-booking-form { margin: 0; }
.hcode-booking-form__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 24px; align-items: start; }
.hcode-booking-field { min-width: 0; display: grid; gap: 7px; margin: 0; }
.hcode-booking-field label,
.hcode-booking-field > span:first-child { color: var(--hcode-color-text); font-size: 12px; font-weight: var(--hcode-font-semibold); line-height: 1.4; }
.hcode-booking-field--full { grid-column: 1 / -1; }
.hcode-booking-control,
.hcode-cf7-form--appointment input.hcode-booking-control,
.hcode-cf7-form--appointment select.hcode-booking-control,
.hcode-cf7-form--appointment textarea.hcode-booking-control {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 54px;
    margin: 0;
    padding: 0 15px;
    border: 1px solid #dfe5e2;
    border-radius: 4px;
    background: #f7f9f8;
    color: var(--hcode-color-text);
    font: inherit;
    font-size: 14px;
    font-weight: var(--hcode-font-regular);
    outline: 0;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.hcode-booking-control:hover { border-color: #cbd5d0; }
.hcode-booking-control:focus { border-color: var(--hcode-color-primary); background: #fff; box-shadow: 0 0 0 3px rgba(21,70,111,.07); }
.hcode-booking-control--textarea,
.hcode-cf7-form--appointment textarea.hcode-booking-control { min-height: 118px; padding-block: 13px; resize: vertical; }
.hcode-booking-other { grid-column: 1 / -1; padding: 12px 14px; background: #f7f9f8; border-radius: 4px; }
.hcode-booking-check { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: var(--hcode-color-text); cursor: pointer; font-size: 13px; font-weight: var(--hcode-font-medium); line-height: 1.4; }
.hcode-booking-check input,
.hcode-booking-check .wpcf7-list-item input { width: 17px; height: 17px; margin: 0; accent-color: var(--hcode-color-accent); }
.hcode-booking-check .wpcf7-list-item { margin: 0; }
.hcode-booking-form__footer { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 28px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--hcode-color-line); }
.hcode-booking-form__notice { max-width: 620px; color: var(--hcode-color-text-muted); font-size: 12px; line-height: 1.6; }
.hcode-booking-form__submit { justify-self: end; }
.hcode-booking-form__submit .hcode-button,
.hcode-booking-form__submit input[type='submit'],
.hcode-cf7-form--appointment input.wpcf7-submit { width: auto; min-width: 220px; margin: 0; }

/* Service sidebar quick booking */
.hcode-quick-booking-form { display: grid; gap: 9px; margin: 0; }
.hcode-quick-booking-field { min-width: 0; display: grid; gap: 5px; margin: 0; }
.hcode-quick-booking-field label,
.hcode-quick-booking-field > span:first-child { color: var(--hcode-color-text); font-size: 11px; font-weight: var(--hcode-font-semibold); line-height: 1.35; }
.hcode-quick-booking-control,
.hcode-cf7-form--quick input.hcode-quick-booking-control,
.hcode-cf7-form--quick select.hcode-quick-booking-control {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 0 11px;
    border: 1px solid #dfe5e2;
    border-radius: 3px;
    background: #fff;
    color: var(--hcode-color-text);
    font: inherit;
    font-size: 13px;
    font-weight: var(--hcode-font-regular);
    outline: 0;
}
.hcode-quick-booking-control:focus { border-color: var(--hcode-color-primary); box-shadow: 0 0 0 3px rgba(21,70,111,.06); }
.hcode-quick-booking-form__dates { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.hcode-quick-booking-other { padding: 8px 10px; background: var(--hcode-color-surface); border-radius: 3px; }
.hcode-quick-booking-check { display: inline-flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--hcode-color-text-muted); font-size: 11px; line-height: 1.4; cursor: pointer; }
.hcode-quick-booking-check input,
.hcode-quick-booking-check .wpcf7-list-item input { width: 15px; height: 15px; margin: 1px 0 0; accent-color: var(--hcode-color-accent); }
.hcode-quick-booking-check .wpcf7-list-item { margin: 0; }
.hcode-quick-booking-form__submit,
.hcode-cf7-form--quick input.wpcf7-submit { width: 100%; margin: 5px 0 0; }

/* Contact form */
.hcode-contact-form-panel { width: 100%; max-width: none; }
.hcode-contact-message-form { width: 100%; margin: 0; }
.hcode-contact-message-form__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 20px; align-items: start; }
.hcode-contact-message-field { min-width: 0; display: grid; gap: 7px; margin: 0; }
.hcode-contact-message-field label,
.hcode-contact-message-field > span:first-child { color: var(--hcode-color-text); font-size: 12px; font-weight: var(--hcode-font-semibold); }
.hcode-contact-message-field--full { grid-column: 1 / -1; }
.hcode-contact-message-control,
.hcode-cf7-form--contact input.hcode-contact-message-control,
.hcode-cf7-form--contact select.hcode-contact-message-control,
.hcode-cf7-form--contact textarea.hcode-contact-message-control { display: block; width: 100%; min-width: 0; min-height: 54px; margin: 0; padding: 0 14px; border: 1px solid #dfe5e2; border-radius: 4px; background: #fff; color: var(--hcode-color-text); font: inherit; font-size: 14px; font-weight: var(--hcode-font-regular); outline: 0; }
.hcode-contact-message-control:focus { border-color: var(--hcode-color-primary); box-shadow: 0 0 0 3px rgba(21,70,111,.06); }
.hcode-contact-message-control--textarea,
.hcode-cf7-form--contact textarea.hcode-contact-message-control { min-height: 150px; padding-block: 13px; resize: vertical; }
.hcode-contact-message-form__actions { display: flex; justify-content: flex-end; margin-top: 18px; }
.hcode-contact-message-form__actions input[type='submit'] { width: auto; min-width: 180px; }

/* Feedback form */
.hcode-feedback { background: #fff; }
.hcode-feedback-grid { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); align-items: stretch; gap: 64px; }
.hcode-feedback-content { min-width: 0; }
.hcode-feedback-media { margin: 32px 0 0; overflow: hidden; }
.hcode-feedback-media img { width: 100%; aspect-ratio: 1.5 / 1; object-fit: cover; }
.hcode-feedback-form-wrap { min-width: 0; height: 100%; padding: 32px; border-radius: 6px; background: var(--hcode-color-surface); }
.hcode-feedback-message-form { width: 100%; margin: 0; }
.hcode-feedback-message-form__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 20px; align-items: start; }
.hcode-feedback-message-field { min-width: 0; display: grid; gap: 7px; margin: 0; }
.hcode-feedback-message-field label,
.hcode-feedback-message-field > span:first-child { color: var(--hcode-color-text); font-size: 12px; font-weight: var(--hcode-font-semibold); }
.hcode-feedback-message-field--full { grid-column: 1 / -1; }
.hcode-feedback-message-control,
.hcode-cf7-form--feedback input.hcode-feedback-message-control,
.hcode-cf7-form--feedback select.hcode-feedback-message-control,
.hcode-cf7-form--feedback textarea.hcode-feedback-message-control { display: block; width: 100%; min-width: 0; min-height: 52px; margin: 0; padding: 0 14px; border: 1px solid #dfe5e2; border-radius: 4px; background: #fff; color: var(--hcode-color-text); font: inherit; font-size: 14px; font-weight: var(--hcode-font-regular); outline: 0; }
.hcode-feedback-message-control:focus { border-color: var(--hcode-color-primary); box-shadow: 0 0 0 3px rgba(21,70,111,.06); }
.hcode-feedback-message-control--textarea,
.hcode-cf7-form--feedback textarea.hcode-feedback-message-control { min-height: 170px; padding-block: 13px; resize: vertical; }
.hcode-feedback-message-form__actions { display: flex; justify-content: flex-end; margin-top: 18px; }
.hcode-feedback-message-form__actions input[type='submit'] { width: auto; min-width: 180px; }

/* Contact Form 7: normalize only structural wrappers; submit buttons are excluded from width rules. */
.hcode-cf7-host .wpcf7,
.hcode-cf7-host .wpcf7-form,
.hcode-cf7-form { width: 100%; margin: 0; }
.hcode-cf7-form p { margin: 0; }
.hcode-cf7-form .wpcf7-form-control-wrap { display: block; width: 100%; min-width: 0; }
.hcode-cf7-form input:not([type='submit']):not([type='checkbox']):not([type='radio']),
.hcode-cf7-form select,
.hcode-cf7-form textarea { width: 100%; max-width: none; }
.hcode-cf7-form .wpcf7-not-valid-tip { margin-top: 5px; color: #b42318; font-size: 11px; font-weight: var(--hcode-font-medium); }

@media (max-width: 1024px) {
    .hcode-home-booking__head { align-items: flex-start; flex-direction: column; gap: 28px; }
    .hcode-home-booking__actions { width: 100%; max-width: 520px; }
    .hcode-feedback-grid { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 767px) {
    .hcode-home-booking__actions { grid-template-columns: 1fr; }
    .hcode-booking-panel { padding: 24px 20px; }
    .hcode-booking-form__grid,
    .hcode-contact-message-form__grid,
    .hcode-feedback-message-form__grid { grid-template-columns: 1fr; }
    .hcode-booking-field--full,
    .hcode-contact-message-field--full,
    .hcode-feedback-message-field--full { grid-column: auto; }
    .hcode-booking-form__footer { grid-template-columns: 1fr; gap: 16px; }
    .hcode-booking-form__submit { justify-self: stretch; }
    .hcode-booking-form__submit .hcode-button,
    .hcode-booking-form__submit input[type='submit'] { width: 100%; min-width: 0; }
    .hcode-quick-booking-form__dates { grid-template-columns: 1fr; }
    .hcode-feedback-form-wrap { padding: 24px 20px; }
    .hcode-contact-message-form__actions,
    .hcode-feedback-message-form__actions { justify-content: stretch; }
    .hcode-contact-message-form__actions input[type='submit'],
    .hcode-feedback-message-form__actions input[type='submit'] { width: 100%; }
}

/* Brand banner between Services and Castrol. Keep the supplied artwork uncropped. */
.hcode-service-brand-banner-wrap { padding-bottom: 28px; }
.hcode-service-brand-banner { margin: 0 auto; width: min(100%,1233px); background: #fff; }
.hcode-service-brand-banner img { display: block; width: 100%; height: auto; object-fit: contain; }

/* Instagram gallery */
.hcode-instagram-gallery { background: var(--hcode-color-surface); }
.hcode-instagram-gallery__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 42px; margin-bottom: 34px; }
.hcode-instagram-gallery__head > div { max-width: 720px; }
.hcode-instagram-gallery__head p:not(.hcode-eyebrow) { margin: 18px 0 0; color: var(--hcode-color-text-muted); line-height: 1.7; }
.hcode-instagram-gallery__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); grid-auto-rows: 210px; gap: 10px; }
.hcode-instagram-gallery__item { position: relative; min-width: 0; overflow: hidden; background: #dfe5e1; text-decoration: none; }
.hcode-instagram-gallery__item--featured { grid-column: span 2; grid-row: span 2; }
.hcode-instagram-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.hcode-instagram-gallery__item:hover img { transform: scale(1.025); }
.hcode-instagram-gallery__overlay { position: absolute; inset: auto 0 0; display: flex; align-items: center; gap: 9px; padding: 32px 15px 14px; color: #fff; background: linear-gradient(to top,rgba(0,0,0,.62),rgba(0,0,0,0)); font-size: 12px; font-weight: var(--hcode-font-semibold); }
.hcode-instagram-gallery__overlay i { font-size: 17px; }

/* Expertise strip is informational, not clickable. */
.hcode-category-item { grid-template-columns: 34px minmax(0,1fr); }

@media (max-width: 1024px) {
    .hcode-home-booking__head { align-items: flex-start; flex-direction: column; gap: 28px; }
    .hcode-home-booking__actions { width: 100%; max-width: 520px; }
    .hcode-booking-form__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .hcode-feedback-grid { grid-template-columns: 1fr; gap: 44px; }
    .hcode-instagram-gallery__grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 767px) {
    .hcode-home-booking__actions { grid-template-columns: 1fr 1fr; }
    .hcode-booking-action { min-width: 0; padding-inline: 12px; }
    .hcode-booking-panel { padding: 22px 18px; }
    .hcode-booking-form__grid,
    .hcode-contact-message-form__grid,
    .hcode-feedback-message-form__grid { grid-template-columns: 1fr; }
    .hcode-booking-field--full,
    .hcode-contact-message-field--full,
    .hcode-feedback-message-field--full { grid-column: auto; }
    .hcode-booking-form__footer { align-items: stretch; flex-direction: column; }
    .hcode-booking-form__footer .hcode-button { width: 100%; }
    .hcode-quick-booking-form__dates { grid-template-columns: 1fr; }
    .hcode-feedback-form-wrap { padding: 22px 18px; }
    .hcode-instagram-gallery__head { align-items: flex-start; flex-direction: column; }
    .hcode-instagram-gallery__grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: 170px; }
    .hcode-instagram-gallery__item--featured { grid-column: span 2; grid-row: span 2; }
}

/* Service cards use real business photography when available */
.hcode-service-card-media { display: block; overflow: hidden; margin-bottom: 20px; }
.hcode-service-card-media img { width: 100%; aspect-ratio: 1.42 / 1; object-fit: cover; transition: transform .3s ease; }
.hcode-service-card-media:hover img { transform: scale(1.025); }
.hcode-service-card-body { min-width: 0; }
.hcode-service-card--media { padding: 30px 0; }
.hcode-service-card--media .hcode-service-card-body { padding-right: 8px; }


/* v0.14.0 responsive section, parts grid and footer map corrections */
.hcode-home-booking__location { text-decoration: none; }
.hcode-home-booking__location:hover { color: var(--hcode-color-primary); }

.hcode-parts-benefit-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; }
.hcode-parts-benefit-grid .hcode-about-feature-item { padding: 28px 22px 0; }
.hcode-parts-benefit-grid .hcode-about-feature-item:first-child { padding-left: 0; }
.hcode-parts-benefit-grid .hcode-about-feature-item:last-child { padding-right: 0; }
.hcode-parts-benefit-grid .hcode-about-feature-item > span { margin-bottom: 24px; }

.hcode-footer-map { padding-bottom: 58px; }
.hcode-footer-map__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 18px; }
.hcode-footer-map__head > div { display: grid; gap: 4px; }
.hcode-footer-map__head span { color: rgba(255,255,255,.56); font-size: 10px; font-weight: var(--hcode-font-semibold); letter-spacing: .08em; text-transform: uppercase; }
.hcode-footer-map__head strong { color: #fff; font-size: 22px; font-weight: var(--hcode-font-semibold); }
.hcode-footer-map__head > a { display: inline-flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; font-size: 13px; font-weight: var(--hcode-font-semibold); }
.hcode-footer-map__head > a span { color: inherit; font-size: inherit; letter-spacing: 0; text-transform: none; }
.hcode-footer-map__head > a:hover { color: var(--hcode-color-accent); }
.hcode-footer-map__frame { overflow: hidden; min-height: 310px; background: rgba(255,255,255,.08); }
.hcode-footer-map__frame iframe { display: block; width: 100%; height: 310px; border: 0; }

@media (max-width: 1024px) {
    .hcode-brands-grid { grid-template-columns: 1fr; gap: 34px; }
    .hcode-brands-media { width: 100%; max-width: 760px; padding: 0; }
    .hcode-castrol-grid { grid-template-columns: 1fr; align-items: start; gap: 36px; }
    .hcode-castrol-media { width: min(100%,320px); max-width: 320px; margin: 0; }
    .hcode-castrol-content { max-width: 720px; }
    .hcode-parts-benefit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 34px 28px; }
    .hcode-parts-benefit-grid .hcode-about-feature-item,
    .hcode-parts-benefit-grid .hcode-about-feature-item:first-child,
    .hcode-parts-benefit-grid .hcode-about-feature-item:last-child { padding: 24px 0 0; }
}

@media (max-width: 767px) {
    .hcode-brands { padding-block: 60px; }
    .hcode-brands-grid { grid-template-columns: 1fr; gap: 26px; }
    .hcode-brands-media { margin-top: 2px; padding: 0; background: transparent; }
    .hcode-brands-media img { width: 100%; height: auto; }
    .hcode-brand-specialties { gap: 8px 16px; margin-top: 22px; }

    .hcode-castrol { padding-block: 60px; }
    .hcode-castrol-grid { display: block; }
    .hcode-castrol-media { display: none; }
    .hcode-castrol-content { max-width: none; }
    .hcode-castrol-points { margin: 24px 0 28px; }

    .hcode-parts-benefit-grid { grid-template-columns: 1fr; gap: 0; }
    .hcode-parts-benefit-grid .hcode-about-feature-item,
    .hcode-parts-benefit-grid .hcode-about-feature-item:first-child,
    .hcode-parts-benefit-grid .hcode-about-feature-item:last-child { padding: 24px 0; }

    .hcode-footer-map { padding-bottom: 42px; }
    .hcode-footer-map__head { align-items: flex-start; flex-direction: column; gap: 12px; }
    .hcode-footer-map__head strong { font-size: 19px; }
    .hcode-footer-map__frame, .hcode-footer-map__frame iframe { height: 260px; min-height: 260px; }
}
