/*
Theme Name: Elite Power Transmissions
Theme URI: https://www.elitepowertransmissions.co.uk
Author: Elite Power Transmissions
Description: Bold, mobile-first industrial theme for Elite Power Transmissions. Requires the free ACF (Advanced Custom Fields) plugin for editable homepage sections, product fields, and page content.
Version: 2.11.8
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ept
*/

/* =============================================
   ROOT / RESET
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --red:      #ea0001;
  --black:    #111111;
  --offwhite: #f5f5f5;
  --border:   #e2e2e2;
  --text:     #111111;
  --muted:    #777777;
}
html { scroll-behavior: smooth; font-size: 16px; overflow-x: clip; }
body { font-family: "Inter", sans-serif; color: var(--text); background: #fff; overflow-x: clip; line-height: 1.6; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; }
ul   { list-style: none; }

/* =============================================
   UTILITY
   ============================================= */
.container { max-width: 1340px; margin: 0 auto; padding: 0 2.5rem; }
.section-wrap { padding: 3.5rem 0; }
.section-wrap-alt { padding: 3.5rem 0; background: var(--offwhite); }
.section-wrap-dark { padding: 3.5rem 0; background: var(--black); }

.sec-eyebrow { font-family: "Inter", sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.sec-title { font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 34px; text-transform: uppercase; color: var(--text); line-height: 1; letter-spacing: 0.5px; }
.sec-title span { color: var(--red); }
.sec-title-wh { color: #fff; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 1.75rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--border); }
.sec-head-dark { border-bottom-color: #222; }
.view-all { font-family: "Rajdhani", sans-serif; font-size: 13px; color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; text-decoration: none; display: flex; align-items: center; gap: 4px; white-space: nowrap; transition: gap 0.2s ease, color 0.2s ease; }
.view-all i { transition: transform 0.2s ease; }
.view-all:hover { gap: 8px; }
.view-all:hover i { transform: translateX(3px); }
.view-all-wh { color: #ccc; }

/* =============================================
   BUTTONS
   ============================================= */
.btn-red, .btn-blk, .btn-outline-wh, .btn-outline-blk {
  font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 15px;
  letter-spacing: 1px; text-transform: uppercase; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
  text-decoration: none; border: none; padding: 11px 28px 11px 20px;
  position: relative; overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.22s ease,
              background-color 0.22s ease,
              color 0.22s ease,
              border-color 0.22s ease;
  will-change: transform;
}
/* Icon nudges forward on hover */
.btn-red i, .btn-blk i, .btn-outline-wh i, .btn-outline-blk i {
  transition: transform 0.22s cubic-bezier(0.22,1,0.36,1);
}
.btn-red:hover i, .btn-blk:hover i,
.btn-outline-wh:hover i, .btn-outline-blk:hover i {
  transform: translateX(3px);
}
/* Sheen sweep — a light streak that crosses the button on hover */
.btn-red::after, .btn-blk::after,
.btn-outline-wh::after, .btn-outline-blk::after {
  content: "";
  position: absolute; top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  pointer-events: none;
}
.btn-red:hover::after, .btn-blk:hover::after,
.btn-outline-wh:hover::after, .btn-outline-blk:hover::after {
  left: 130%;
}

.btn-red { background: var(--red); color: #fff; clip-path: polygon(0 0,calc(100% - 10px) 0,100% 50%,calc(100% - 10px) 100%,0 100%); }
.btn-red:hover { background: #ff1a1b; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(234,0,1,0.35); }
.btn-red:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(234,0,1,0.3); }

.btn-blk { background: var(--black); color: #fff; clip-path: polygon(10px 0,100% 0,calc(100% - 10px) 100%,0 100%); }
.btn-blk:hover { background: var(--red); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.3); }
.btn-blk:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(0,0,0,0.25); }

.btn-outline-wh { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.55); clip-path: polygon(10px 0,100% 0,calc(100% - 10px) 100%,0 100%); }
.btn-outline-wh:hover { background: #fff; color: var(--black); border-color: #fff; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.25); }
.btn-outline-wh:active { transform: translateY(0); }

.btn-outline-blk { background: transparent; color: var(--black); border: 2px solid var(--black); clip-path: polygon(10px 0,100% 0,calc(100% - 10px) 100%,0 100%); }
.btn-outline-blk:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(234,0,1,0.28); }
.btn-outline-blk:active { transform: translateY(0); }

.btn-sm { font-size: 13px; padding: 7px 18px 7px 12px; }

/* =============================================
   NAV / HEADER
   ============================================= */
.site-header { background: #fff; border-bottom: 3px solid var(--red); position: sticky; top: 0; z-index: 200; }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 120px;
  width: 100%;
  padding: 0 2.5rem;
}
.nav-logo img { height: 100px; width: auto; }
.nav-links { display: flex; gap: 2rem; align-items: center; flex: 1; justify-content: center; padding: 0 2rem; }
.nav-links a { font-family: "Rajdhani", sans-serif; font-size: 16px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #444; text-decoration: none; position: relative; padding-bottom: 3px; transition: color 0.2s ease; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform 0.25s ease; }
.nav-links a:hover::after, .nav-links .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:hover, .nav-links .current-menu-item > a { color: var(--red); }
.nav-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-phone { font-family: "Rajdhani", sans-serif; font-size: 16px; font-weight: 600; color: var(--black); display: flex; align-items: center; gap: 6px; text-decoration: none; white-space: nowrap; }
.nav-phone i { color: var(--red); }
.nav-toggle { display: none; background: var(--black); border: none; width: 46px; height: 42px; cursor: pointer; align-items: center; justify-content: center; clip-path: polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%); flex-shrink: 0; }
.nav-toggle i { font-size: 24px; color: #fff; }

/* Mobile menu panel */
.mobile-nav { display: none; background: var(--black); max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.mobile-nav.open { max-height: 700px; }
.mobile-nav ul { padding: 0; }
.mobile-nav li { border-bottom: 1px solid #1f1f1f; }
.mobile-nav a { display: block; padding: 16px 1.5rem; color: #eee; font-family: "Rajdhani", sans-serif; font-size: 17px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; }
.mobile-nav a:hover, .mobile-nav .current-menu-item > a { color: var(--red); }
.mobile-nav-cta { padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 10px; }
.mobile-nav-cta .btn-red { justify-content: center; }
.mobile-nav-cta .nav-phone { color: #fff; padding: 10px; border: 1px solid #2a2a2a; justify-content: center; }

/* =============================================
   HERO
   ============================================= */
.hero { display: grid; grid-template-columns: 1fr 1fr; height: 520px; background: var(--black); overflow: hidden; }
.hero-left { padding: 3.5rem 3.5rem 3.5rem 2.5rem; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.hero-left::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--red); clip-path: polygon(0 0,100% 4%,100% 96%,0 100%); z-index: 2; }
.hero-left::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 68%; z-index: -1; pointer-events: none; background-image: linear-gradient(to right, transparent calc(100% - 2px), rgba(255,255,255,0.06) calc(100% - 2px)); background-size: calc(100% / 8) 100%; background-repeat: repeat; transform: skewX(-4.4deg); transform-origin: top right; -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 30%, #000 88%); mask-image: linear-gradient(to right, transparent 0%, transparent 30%, #000 88%); }
/* Hero line texture: adapt line COUNT to width so spacing stays ~even (~32px) instead of stretching */
@media (min-width: 850px)  { .hero-left::after { background-size: calc(100% / 9) 100%; } }
@media (min-width: 1000px) { .hero-left::after { background-size: calc(100% / 11) 100%; } }
@media (min-width: 1150px) { .hero-left::after { background-size: calc(100% / 12) 100%; } }
@media (min-width: 1300px) { .hero-left::after { background-size: calc(100% / 14) 100%; } }
@media (min-width: 1500px) { .hero-left::after { background-size: calc(100% / 16) 100%; } }
@media (min-width: 1750px) { .hero-left::after { background-size: calc(100% / 18) 100%; } }
@media (max-width: 768px)  { .hero-left::after { background-size: calc(100% / 14) 100%; } }
@media (max-width: 480px)  { .hero-left::after { background-size: calc(100% / 9) 100%; } }
.hero-eyebrow { font-family: "Rajdhani", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--red); margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; }
.hero-eyebrow::before { content: ""; display: block; width: 28px; height: 2px; background: var(--red); }
.hero-h1 { font-family: "Rajdhani", sans-serif; font-weight: 700; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.5px; }
.hero-h1 .line1 { font-size: 52px; display: block; color: #fff; }
.hero-h1 .line2 { font-size: 52px; display: block; color: var(--red); }
.hero-h1 .line3 { display: block; font-size: 23px; font-weight: 500; color: rgba(255,255,255,0.45); text-transform: none; letter-spacing: 0; font-style: italic; margin-top: 6px; }
.hero-divider { width: 44px; height: 3px; background: var(--red); margin: 1.5rem 0; clip-path: polygon(6px 0,100% 0,calc(100% - 6px) 100%,0 100%); }
.hero-body { color: rgba(255,255,255,0.6); font-size: 14px; max-width: 380px; line-height: 1.8; margin-bottom: 2rem; }
.hero-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-btns .btn-red, .hero-btns .btn-outline-wh { justify-content: center; min-width: 0; clip-path: polygon(0 0,calc(100% - 10px) 0,100% 50%,calc(100% - 10px) 100%,0 100%); }
.hero-right { position: relative; overflow: hidden; display: grid; grid-template-rows: 1fr 120px; clip-path: polygon(40px 0,100% 0,100% 100%,0 100%); margin-left: -40px; }
.hero-img-main { position: relative; overflow: hidden; }
.hero-img-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.hero-img-main .hero-img-placeholder { position: absolute; inset: 0; background: #1a1a1a; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; color: #2a2a2a; }
.hero-img-main .hero-img-placeholder i { font-size: 64px; }

/* Hero slider (rotating gallery) */
.hero-slider { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease-in-out; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.92; transform: scale(1.05); transition: transform 6s ease-out; }
.hero-slide.is-active img { transform: scale(1); }
.hero-slider-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hero-dot { width: 26px; height: 4px; border: none; padding: 0; background: rgba(255,255,255,0.35); cursor: pointer; transition: background 0.25s ease, width 0.25s ease; clip-path: polygon(3px 0,100% 0,calc(100% - 3px) 100%,0 100%); }
.hero-dot:hover { background: rgba(255,255,255,0.6); }
.hero-dot.is-active { background: var(--red); width: 34px; }
.hero-mini-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #000; }
.hero-mini { position: relative; overflow: hidden; }
.hero-mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.hero-mini-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.45); display: flex; align-items: flex-end; padding: 8px 12px; }
.hero-mini-label { font-family: "Rajdhani", sans-serif; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #fff; }

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar { background: var(--red); display: grid; grid-template-columns: repeat(4,1fr); }
.stat { padding: 1.25rem 1.5rem; border-right: 1px solid rgba(255,255,255,0.2); display: flex; flex-direction: column; align-items: center; text-align: center; }
.stat:last-child { border-right: none; }
.stat-num { font-family: "Rajdhani", sans-serif; font-size: 32px; font-weight: 700; color: #fff; line-height: 1; }
.stat-num span { color: rgba(0,0,0,0.3); }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 3px; }
.stat-sub { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* Product category navigation tiles */
.prod-cats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); background: var(--red); }
.prod-cat { padding: 1.6rem 1.75rem; display: flex; align-items: center; gap: 1rem; text-decoration: none; border-right: 1px solid rgba(0,0,0,0.15); transition: background .2s; }
.prod-cat:last-child { border-right: none; }
.prod-cat:hover { background: var(--black); }
.prod-cat-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: color .2s; }
.prod-cat-icon i { font-size: 36px; color: rgba(255,255,255,0.9); transition: color .2s; }
.prod-cat:hover .prod-cat-icon i { color: var(--red); }
.prod-cat-name { font-family: "Rajdhani",sans-serif; font-size: 20px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.5px; flex: 1; min-width: 0; line-height: 1.1; }
.prod-cat-arrow { color: rgba(0,0,0,0.3); font-size: 20px; flex-shrink: 0; transition: transform .2s, color .2s; }
.prod-cat:hover .prod-cat-arrow { transform: translateX(5px); color: #fff; }

/* =============================================
   CATEGORY STRIP
   ============================================= */
.cats { display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid var(--border); }
.cat { padding: 15px 18px; display: flex; align-items: center; gap: 13px; border-right: 1px solid var(--border); background: #fff; text-decoration: none; transition: background 0.2s ease, transform 0.2s ease; position: relative; }
.cat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); transform: scaleY(0); transform-origin: center; transition: transform 0.2s ease; }
.cat:last-child { border-right: none; }
.cat:hover { background: var(--offwhite); }
.cat:hover::before { transform: scaleY(1); }
.cat-icon { width: 42px; height: 38px; background: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; clip-path: polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%); transition: transform 0.2s ease; }
.cat:hover .cat-icon { transform: translateX(2px); }
.cat-icon i { font-size: 19px; color: #fff; }
.cat-name { font-family: "Rajdhani", sans-serif; font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--black); }
.cat-sub { font-size: 11px; color: #999; }

/* =============================================
   PRODUCT CARDS
   ============================================= */
.products-grid, .motors-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.pcard { background: #fff; border: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s ease, border-color 0.25s ease; }
.pcard:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(0,0,0,0.12); border-color: #ccc; }
.pcard-img { height: 200px; overflow: hidden; position: relative; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.pcard:hover .pcard-img img { transform: scale(1.06); }
.pcard-img-placeholder { width: 100%; height: 100%; background: #f0f0f0; display: flex; align-items: center; justify-content: center; color: #ccc; }
.pcard-img-placeholder i { font-size: 52px; }
.pcard-badge { position: absolute; top: 0; left: 0; background: var(--red); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; padding: 5px 14px 5px 8px; font-family: "Rajdhani", sans-serif; clip-path: polygon(0 0,calc(100% - 10px) 0,100% 50%,calc(100% - 10px) 100%,0 100%); }
.pcard-badge-blk { background: var(--black); }
.pcard-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.pcard-info-link { display: block; text-decoration: none; color: inherit; }
.pcard-cat { font-size: 10px; color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px; }
.pcard-name { font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 20px; color: var(--black); margin-bottom: 5px; line-height: 1.2; }
.pcard-desc { font-size: 12px; color: #888; margin-bottom: 12px; line-height: 1.6; }
.pcard-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.chip { background: var(--offwhite); border: 1px solid var(--border); padding: 3px 8px; font-family: "Rajdhani", sans-serif; font-size: 12px; font-weight: 600; color: #555; display: flex; align-items: center; gap: 4px; clip-path: polygon(4px 0,100% 0,calc(100% - 4px) 100%,0 100%); }
.chip i { font-size: 11px; color: var(--red); }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 12px; margin-top: auto; }
.avail-in  { display: flex; align-items: center; gap: 5px; font-family: "Rajdhani", sans-serif; font-size: 13px; font-weight: 600; color: #2a8a2a; }
.avail-ltd { display: flex; align-items: center; gap: 5px; font-family: "Rajdhani", sans-serif; font-size: 13px; font-weight: 600; color: #b06000; }
.avail-in i, .avail-ltd i { font-size: 14px; }

/* Single product page */
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--border); overflow: hidden; margin-bottom: 2.5rem; }
.product-hero-col1 { display: flex; flex-direction: column; }
.product-hero-img { flex: 1; overflow: hidden; min-height: 380px; position: relative; background: #f0f0f0; }
.product-hero-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.product-hero-content { padding: 2.75rem; display: flex; flex-direction: column; justify-content: flex-start; border-left: 1px solid var(--border); }
.product-hero-content h1 { font-family: "Rajdhani", sans-serif; font-size: 36px; font-weight: 700; text-transform: uppercase; margin-bottom: 0.5rem; line-height: 1.1; }
.product-desc { font-size: 14px; color: #666; line-height: 1.8; margin-bottom: 1.5rem; }
.motor-key-features { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 12px 1.5rem; background: var(--black); border-top: 1px solid var(--border); }
.motor-kf-label { font-family: "Rajdhani", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--red); white-space: nowrap; margin-right: 6px; }
.motor-kf-item { font-family: "Rajdhani", sans-serif; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); padding: 3px 10px; white-space: nowrap; }
.product-specs-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.product-specs-table th, .product-specs-table td { padding: 8px 10px; font-size: 13px; text-align: left; border-bottom: 1px solid var(--border); }
.product-specs-table th { font-family: "Rajdhani", sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--black); width: 40%; background: var(--offwhite); }
.product-specs-table td { color: #555; }
.product-downloads { margin-bottom: 1.5rem; }
.download-link { display: inline-flex; align-items: center; gap: 6px; font-family: "Rajdhani", sans-serif; font-size: 14px; font-weight: 600; color: var(--red); text-decoration: none; margin-right: 1rem; }
.download-link:hover { text-decoration: underline; }

/* =============================================
   FEATURE SPLIT (Repair & Rewind)
   ============================================= */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); overflow: hidden; }
.feat-img { overflow: hidden; min-height: 300px; position: relative; background: #e4e4e4; }
.feat-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.feat-img .feat-img-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #bbb; }
.feat-img .feat-img-placeholder i { font-size: 80px; }
.feat-content { background: #fff; padding: 2.75rem; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--border); }
.red-rule { width: 48px; height: 4px; background: var(--red); margin-bottom: 16px; clip-path: polygon(6px 0,100% 0,calc(100% - 6px) 100%,0 100%); }
.feat-content h2, .feat-content h3 { font-family: "Rajdhani", sans-serif; font-size: 32px; font-weight: 700; text-transform: uppercase; color: var(--black); margin-bottom: 1rem; line-height: 1.1; }
.feat-content p { font-size: 14px; color: #666; line-height: 1.8; margin-bottom: 1.25rem; }
.feat-list { list-style: none; margin-bottom: 1.5rem; }
.feat-list li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #333; margin-bottom: 9px; }
.feat-list li i { color: var(--red); font-size: 15px; flex-shrink: 0; }

/* =============================================
   WHY CARDS
   ============================================= */
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.why-card { background: #fff; border: 1px solid var(--border); padding: 22px; position: relative; overflow: hidden; transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s ease; }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,0.1); }
.why-card::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--red); clip-path: polygon(0 0,calc(100% - 14px) 0,100% 100%,0 100%); transform: scaleX(0.4); transform-origin: left; transition: transform 0.3s ease; }
.why-card:hover::after { transform: scaleX(1); }
.why-icon { width: 48px; height: 44px; background: var(--red); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; clip-path: polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%); transition: transform 0.25s ease; }
.why-card:hover .why-icon { transform: scale(1.08) rotate(-3deg); }
.why-icon i { font-size: 22px; color: #fff; }
.why-title { font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 18px; text-transform: uppercase; color: var(--black); margin-bottom: 7px; }
.why-body { font-size: 13px; color: #777; line-height: 1.7; }

/* =============================================
   INDUSTRY CARDS
   ============================================= */
/* Repair process steps */
.repair-services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 3rem; }
.repair-card { background: #fff; border: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s ease; }
.repair-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,0.1); }
.repair-card-img { height: 200px; overflow: hidden; position: relative; background: #111; flex-shrink: 0; }
.repair-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.repair-card:hover .repair-card-img img { transform: scale(1.05); }
.repair-card-img .motor-banner-slider { height: 100%; }
.repair-card-img .motor-banner-slide { height: 100%; }
.repair-card-img .motor-banner-slide img { height: 100%; }
.repair-card-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #1a1a1a; color: var(--red); font-size: 48px; }
.repair-card-body { padding: 20px 22px; display: flex; flex-direction: column; flex: 1; border-top: 3px solid var(--red); }
.repair-card-icon { width: 40px; height: 40px; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 12px; clip-path: polygon(0 0,calc(100% - 8px) 0,100% 50%,calc(100% - 8px) 100%,0 100%); }
.repair-card-title { font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 19px; text-transform: uppercase; color: var(--black); margin-bottom: 8px; }
.repair-card-desc { font-size: 13px; color: #666; line-height: 1.6; margin: 0; }

.repair-process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.repair-step { padding: 1.5rem 1.75rem; border-right: 1px solid var(--border); position: relative; }
.repair-step:last-child { border-right: none; }
.repair-step-num { font-family: "Rajdhani", sans-serif; font-size: 42px; font-weight: 700; color: var(--red); opacity: 0.18; line-height: 1; margin-bottom: 8px; }

.ind-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.ind-card { background: #fff; border: 1px solid var(--border); overflow: hidden; transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s ease; }
.ind-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,0.1); }
.ind-img { height: 130px; overflow: hidden; position: relative; border-bottom: 3px solid var(--red); background: #eee; }
.ind-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ind-card:hover .ind-img img { transform: scale(1.08); }
.ind-img-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); transition: background 0.25s ease; }
.ind-card:hover .ind-img-overlay { background: rgba(234,0,1,0.2); }
.ind-text { padding: 14px 15px; }
.ind-name { font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 16px; text-transform: uppercase; color: var(--black); margin-bottom: 4px; }
.ind-desc { font-size: 12px; color: #999; line-height: 1.5; }
.ind-cta-note { margin-top: 20px; text-align: center; font-size: 14px; color: #666; }
.ind-cta-note a { color: var(--red); text-decoration: none; font-weight: 600; }
.ind-cta-note a:hover { text-decoration: underline; }

/* =============================================
   BRANDS
   ============================================= */
.brands-strip { background: var(--black); padding: 2.5rem 2.5rem; }
.brands-label { font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: #333; text-align: center; margin-bottom: 1.25rem; }
.brands-row { display: flex; align-items: center; justify-content: center; gap: 180px; max-width: 1340px; margin: 0 auto; }
.brand-pill { background: #fff; padding: 10px 14px; width: 160px; height: 68px; display: flex; align-items: center; justify-content: center; font-family: "Rajdhani", sans-serif; font-size: 20px; font-weight: 700; letter-spacing: 1px; color: var(--black); text-transform: uppercase; text-decoration: none; clip-path: polygon(14px 0,100% 0,calc(100% - 14px) 100%,0 100%); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.brand-pill img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-pill:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.4); }

/* =============================================
   CTA BAND
   ============================================= */
.cta-band { background: var(--red); padding: 2.75rem 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: 32%; top: 0; bottom: 0; width: 50px; background: rgba(0,0,0,0.1); clip-path: polygon(0 0,100% 0,100% 100%,14px 100%); }
.cta-band::after  { content: ""; position: absolute; right: 34%; top: 0; bottom: 0; width: 26px; background: rgba(0,0,0,0.06); clip-path: polygon(0 0,100% 0,100% 100%,8px 100%); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; position: relative; z-index: 1; }
.cta-band h2 { font-family: "Rajdhani", sans-serif; font-size: 36px; font-weight: 700; text-transform: uppercase; color: #fff; line-height: 1; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.8); font-size: 14px; }
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* =============================================
   BLOG
   ============================================= */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.blog-card { background: #fff; border: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column; }
.blog-card-img { height: 200px; overflow: hidden; position: relative; border-bottom: 1px solid var(--border); background: #f0f0f0; flex-shrink: 0; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.blog-date { font-size: 11px; color: #999; text-transform: uppercase; letter-spacing: 1px; }
.blog-cat-tag { font-size: 10px; color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; }
.blog-card-title { font-family: "Rajdhani", sans-serif; font-size: 20px; font-weight: 700; color: var(--black); line-height: 1.2; margin-bottom: 8px; text-decoration: none; display: block; }
.blog-card-title:hover { color: var(--red); }
.blog-excerpt { font-size: 13px; color: #777; line-height: 1.7; margin-bottom: 14px; flex: 1; }
.blog-card-foot { display: flex; justify-content: flex-end; border-top: 1px solid var(--border); padding-top: 12px; margin-top: auto; }

/* Single post */
.single-post-header { padding: 3rem 0 2rem; border-bottom: 1px solid var(--border); margin-bottom: 2rem; }
.single-post-header h1 { font-family: "Rajdhani", sans-serif; font-size: 42px; font-weight: 700; text-transform: uppercase; color: var(--black); line-height: 1.1; margin-bottom: 1rem; }
.post-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.post-meta span { font-size: 12px; color: #999; display: flex; align-items: center; gap: 5px; }
.post-meta i { color: var(--red); }
.post-featured-img { margin-bottom: 2.5rem; max-height: 480px; overflow: hidden; }
.post-featured-img img { width: 100%; height: 480px; object-fit: cover; }
.post-content { max-width: 760px; }
.post-content p { font-size: 15px; line-height: 1.85; color: #444; margin-bottom: 1.25rem; }
.post-content h2, .post-content h3 { font-family: "Rajdhani", sans-serif; font-weight: 700; text-transform: uppercase; color: var(--black); margin: 1.75rem 0 0.75rem; }
.post-content h2 { font-size: 28px; }
.post-content h3 { font-size: 22px; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.post-content li { font-size: 15px; color: #444; line-height: 1.8; margin-bottom: 4px; }
.post-content img { margin: 1.5rem 0; border: 1px solid var(--border); }
.post-content blockquote { border-left: 4px solid var(--red); padding: 1rem 1.5rem; margin: 1.5rem 0; background: var(--offwhite); }
.post-content blockquote p { color: #555; font-style: italic; margin: 0; }

/* Blog sidebar */
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; align-items: start; }
.sidebar-widget { background: #fff; border: 1px solid var(--border); padding: 20px; margin-bottom: 20px; }
.widget-title { font-family: "Rajdhani", sans-serif; font-size: 16px; font-weight: 700; text-transform: uppercase; color: var(--black); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.recent-post-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); text-decoration: none; }
.recent-post-item:last-child { border-bottom: none; }
.recent-post-thumb { width: 60px; height: 50px; overflow: hidden; flex-shrink: 0; background: #f0f0f0; }
.recent-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-post-title { font-family: "Rajdhani", sans-serif; font-size: 14px; font-weight: 600; color: var(--black); line-height: 1.3; }
.recent-post-title:hover { color: var(--red); }
.recent-post-date { font-size: 11px; color: #999; margin-top: 3px; }
.cat-list li { border-bottom: 1px solid var(--border); }
.cat-list a { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 13px; color: #555; text-decoration: none; }
.cat-list a:hover { color: var(--red); }
.cat-list a span { background: var(--offwhite); font-size: 11px; padding: 2px 7px; color: #999; }

/* =============================================
   CONTACT PAGE
   ============================================= */
/* About page */
.about-body { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin-bottom: 2.5rem; }
.about-body--text-only { grid-template-columns: 1fr; }
.about-body--text-only .about-body-text { max-width: 820px; }
.about-body-text { font-size: 16px; color: #333; line-height: 1.85; }
.about-body-text p { margin-bottom: 1.5rem; }
.about-body-text p:first-of-type { font-size: 18px; color: #111; line-height: 1.75; font-weight: 400; padding-left: 1.25rem; border-left: 3px solid var(--red); margin-bottom: 1.75rem; }
.about-body-img img { width: 100%; display: block; }
.about-img-caption { font-size: 11px; color: #aaa; font-style: italic; margin-top: 8px; }
.about-details-strip { display: flex; border: 1px solid var(--border); border-top: 3px solid var(--red); margin-bottom: 2.5rem; }
.about-detail { flex: 1; padding: 1.5rem 1.75rem; border-right: 1px solid var(--border); }
.about-detail:last-child { border-right: none; }
.about-detail-label { display: block; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.about-detail-value { display: block; font-family: "Rajdhani", sans-serif; font-weight: 600; font-size: 17px; color: var(--black); line-height: 1.3; }
.about-cta { background: var(--black); padding: 2.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.about-cta-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.about-cta-heading { font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 26px; color: #fff; margin: 0; }
.about-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.about-stats { display: grid; grid-template-columns: repeat(4,1fr); background: var(--black); margin-bottom: 2.5rem; }
.about-stat { padding: 2rem 1.5rem; text-align: center; border-right: 1px solid #242424; }
.about-stat:last-child { border-right: none; }
.about-stat-value { font-family: "Rajdhani", sans-serif; font-size: 40px; font-weight: 700; color: var(--red); line-height: 1; margin-bottom: 8px; }
.about-stat-label { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #aaa; }
.about-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-bottom: 2.5rem; }
.about-link-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--red); padding: 22px; text-decoration: none; transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s ease; }
.about-link-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,0.1); }
.about-link-title { font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 18px; text-transform: uppercase; color: var(--black); margin: 12px 0 6px; }
.about-link-desc { font-size: 13px; color: #666; line-height: 1.6; flex: 1; margin: 0 0 14px; }
.about-link-arrow { color: var(--red); font-size: 18px; transition: transform 0.25s ease; }
.about-link-card:hover .about-link-arrow { transform: translateX(4px); }

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info-block { margin-bottom: 2rem; }
.contact-info-block h3 { font-family: "Rajdhani", sans-serif; font-size: 22px; font-weight: 700; text-transform: uppercase; color: var(--black); margin-bottom: 1rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.contact-detail-icon { width: 40px; height: 36px; background: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; clip-path: polygon(6px 0,100% 0,calc(100% - 6px) 100%,0 100%); }
.contact-detail-icon i { font-size: 18px; color: #fff; }
.contact-detail-text { flex: 1; min-width: 0; }
.contact-detail-text strong { font-family: "Rajdhani", sans-serif; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #999; display: block; margin-bottom: 3px; }
.contact-detail-text span, .contact-detail-text a { font-size: 14px; color: #333; line-height: 1.5; text-decoration: none; display: block; }
.contact-detail-text a:hover { color: var(--red); }
.contact-map { border: 1px solid var(--border); overflow: hidden; margin-top: 1.5rem; }
.contact-map iframe, .contact-map .map-placeholder { width: 100%; height: 520px; border: none; display: block; background: #e4e4e4; }
.map-placeholder { display: flex; align-items: center; justify-content: center; color: #bbb; flex-direction: column; gap: 8px; }
.map-placeholder i { font-size: 40px; }

/* Contact form wrapper */
.contact-form-wrap { background: var(--offwhite); border: 1px solid var(--border); padding: 2rem; }
.contact-form-wrap h3 { font-family: "Rajdhani", sans-serif; font-size: 24px; font-weight: 700; text-transform: uppercase; color: var(--black); margin-bottom: 1.25rem; }
/* WPForms / CF7 base overrides */
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="tel"],
.wpcf7-form textarea, .wpcf7-form select,
.wpforms-field input, .wpforms-field textarea, .wpforms-field select {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border); font-family: "Inter", sans-serif;
  font-size: 14px; background: #fff; color: var(--black); margin-bottom: 12px; border-radius: 0;
}
.wpcf7-form textarea, .wpforms-field textarea { min-height: 120px; resize: vertical; }
.wpcf7-submit, .wpforms-submit { background: var(--red) !important; color: #fff !important; font-family: "Rajdhani", sans-serif !important; font-weight: 700 !important; font-size: 15px !important; letter-spacing: 1px !important; text-transform: uppercase !important; border: none !important; padding: 11px 28px !important; cursor: pointer !important; clip-path: polygon(0 0,calc(100% - 10px) 0,100% 50%,calc(100% - 10px) 100%,0 100%); }

/* =============================================
   GENERAL PAGE CONTENT
   ============================================= */
.page-hero { background: var(--black); padding: 3rem 0; position: relative; overflow: hidden; margin-bottom: 0; }
.page-hero::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--red); }
.page-hero h1 { font-family: "Rajdhani", sans-serif; font-size: 48px; font-weight: 700; text-transform: uppercase; color: #fff; line-height: 1; margin-bottom: 0.5rem; }
.page-hero .page-hero-sub { color: rgba(255,255,255,0.5); font-size: 14px; font-style: italic; }
.page-content { max-width: 860px; }
.page-content p { font-size: 15px; line-height: 1.85; color: #444; margin-bottom: 1.25rem; }
.page-content h2, .page-content h3 { font-family: "Rajdhani", sans-serif; font-weight: 700; text-transform: uppercase; color: var(--black); margin: 2rem 0 0.75rem; }
.page-content h2 { font-size: 28px; }
.page-content h3 { font-size: 22px; }

/* Pagination */
.pagination { display: flex; gap: 6px; justify-content: center; padding: 2rem 0; }
.pagination a, .pagination span { font-family: "Rajdhani", sans-serif; font-size: 15px; font-weight: 600; padding: 8px 14px; border: 1px solid var(--border); color: var(--black); text-decoration: none; clip-path: polygon(6px 0,100% 0,calc(100% - 6px) 100%,0 100%); }
.pagination .current, .pagination a:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* =============================================
   FOOTER
   ============================================= */
.site-footer { background: var(--black); padding: 2.5rem 0 1.25rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid #1a1a1a; margin-bottom: 1.25rem; }
.ft-logo img { height: 70px; width: auto; margin-bottom: 14px; opacity: 0.88; }
.ft-brand p { font-size: 12px; color: #3a3a3a; line-height: 1.8; }
.ft-col-title { font-family: "Rajdhani", sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.ft-links li { margin-bottom: 9px; }
.ft-links a { color: #3a3a3a; font-size: 12px; text-decoration: none; }
.ft-links a:hover { color: #888; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 11px; color: #2a2a2a; }
.socials { display: flex; gap: 8px; }
.soc { width: 32px; height: 32px; border: 1px solid #1e1e1e; display: flex; align-items: center; justify-content: center; color: #333; font-size: 15px; text-decoration: none; clip-path: polygon(6px 0,100% 0,calc(100% - 6px) 100%,0 100%); transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease; }
.soc:hover { color: #fff; border-color: var(--red); background: var(--red); transform: translateY(-3px); }

/* =============================================
   MOTOR CONFIGURATOR
   ============================================= */
.motor-card .pcard-body { padding-bottom: 0; }
.motor-img-banner { height: 200px; position: relative; overflow: hidden; }

/* Rolling banner */
.motor-banner-slider { position: absolute; inset: 0; }
.motor-banner-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease-in-out; }
.motor-banner-slide.is-active { opacity: 1; }
.motor-banner-slide a,
.motor-banner-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.motor-banner-dots { position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; z-index: 2; }
.motor-banner-dot { box-sizing: content-box; width: 20px; height: 3px; border: none; padding: 10px 0; background-color: rgba(255,255,255,0.4); background-clip: content-box; cursor: pointer; transition: background-color 0.2s ease, width 0.2s ease; }
.motor-banner-dot.is-active { background-color: var(--red); width: 28px; }

/* Configurator attrs */
.motor-configurator { margin-top: 10px; }
.motor-attr-group { margin-bottom: 10px; }
.motor-attr-label { display: block; font-family: "Rajdhani", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #888; margin-bottom: 6px; }
.motor-attr-options { display: flex; flex-wrap: wrap; gap: 5px; }
.motor-opt-btn { font-family: "Rajdhani", sans-serif; font-size: 13px; font-weight: 600; color: #555; background: var(--offwhite); border: 1.5px solid var(--border); padding: 5px 11px; cursor: pointer; line-height: 1; transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease; clip-path: polygon(5px 0,100% 0,calc(100% - 5px) 100%,0 100%); }
.motor-opt-btn:hover { background: #e8e8e8; color: var(--black); border-color: #bbb; }
.motor-opt-btn.is-selected, .motor-opt-btn[aria-pressed="true"] { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-1px); }
.motor-attr-options-kw { display: grid; grid-template-columns: repeat(auto-fill, minmax(50px, 1fr)); gap: 5px; }
.motor-attr-options-kw .motor-opt-btn { font-size: 12px; padding: 5px 4px; text-align: center; width: 100%; clip-path: polygon(4px 0,100% 0,calc(100% - 4px) 100%,0 100%); }

/* CTA wrap */
.motor-cta-wrap { padding: 0 16px 16px; background: #fafafa; }
.motor-cta-wrap::before { content: ""; display: block; height: 1px; background: var(--border); margin: 0 -16px 16px; }

/* Configurator instruction line */
.motor-config-instruction {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: 12px; color: #777; line-height: 1.55;
  margin: 4px 0 14px; padding: 10px 12px;
  background: var(--offwhite); border-left: 3px solid var(--red);
}
.motor-config-instruction i { font-size: 15px; color: var(--red); flex-shrink: 0; margin-top: 1px; }

/* Spec ready strip — light red wash so it stands apart from the black help button */
.motor-spec-ready {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: #fff0f0; color: var(--black);
  border: 1px solid #f5c2c2; border-left: 4px solid var(--red);
  padding: 10px 13px; margin: 18px 0 8px;
  font-family: "Rajdhani", sans-serif;
  animation: ept-spec-in 0.25s ease;
}
.motor-spec-ready[hidden] { display: none; }
@keyframes ept-spec-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.motor-spec-ready-label { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); }
.motor-spec-ready-text { font-size: 14px; font-weight: 600; color: var(--black); flex: 1; }
.motor-spec-chips { width: 100%; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 4px; }
.motor-spec-meta { font-size: 12px; color: #555; white-space: nowrap; }
.motor-spec-meta-key { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #999; margin-right: 2px; }
.motor-spec-ie { font-weight: 700; color: #1a6e2e; background: rgba(26,110,46,0.1); padding: 1px 7px; }
.motor-enquire-avail { font-size: 10px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; padding: 3px 8px; font-family: "Inter", sans-serif; }
.motor-enquire-avail.stock  { background: rgba(42,138,42,0.15); color: #2a8a2a; }
.motor-enquire-avail.hours  { background: rgba(176,96,0,0.15);  color: #b06000; }
.motor-enquire-avail.order  { background: rgba(110,110,110,0.15); color: #666; }

/* Enquire button v2 — full width, matches .btn-red */
.motor-enquire-btn-v2 { width: 100%; justify-content: center; font-size: 14px; margin: 0; }
.motor-enquire-btn-v2[hidden] { display: none; }
.motor-enquire-btn-v2 span { flex: 0 1 auto; }
.motor-enquire-btn-v2 .ti-arrow-right { transition: transform 0.2s ease; }
.motor-enquire-btn-v2:hover .ti-arrow-right { transform: translateX(3px); }

/* "or" divider between routes */
.motor-cta-divider { display: flex; align-items: center; gap: 10px; margin: 12px 0; }
.motor-cta-divider::before, .motor-cta-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.motor-cta-divider span { font-family: "Rajdhani", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #aaa; }

/* Help button v2 — equal prominence, full width */
.motor-help-btn-v2 { width: 100%; justify-content: center; font-size: 14px; margin: 0; }
.motor-help-btn-v2 span { flex: 0 1 auto; }
.motor-help-btn-v2 .ti-arrow-right { transition: transform 0.2s ease; }
.motor-help-btn-v2:hover .ti-arrow-right { transform: translateX(3px); }

/* Full-page configurator tweaks */
.motor-configurator-full .motor-opt-btn { font-size: 14px; padding: 7px 14px; }
.motor-configurator-full .motor-attr-options-kw .motor-opt-btn { font-size: 13px; }
.motor-configurator-full .motor-attr-label { font-size: 12px; margin-bottom: 8px; }
.motor-configurator-full + .motor-cta-wrap { background: none; padding: 0; margin-top: 1.5rem; }
.motor-configurator-full + .motor-cta-wrap::before { display: none; }
.motor-configurator-full + .motor-cta-wrap .motor-enquire-btn-v2,
.motor-configurator-full + .motor-cta-wrap .motor-help-btn-v2 { font-size: 15px; }

/* More gap above spec bar — pushes it away from mounting options */
.motor-configurator { margin-bottom: 4px; }
.motor-attr-group:last-child { margin-bottom: 0; }
.pcard-body .motor-attr-group:last-child { margin-bottom: 16px; }

@media (max-width: 768px) {
  .motor-attr-options-kw { grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); }
}

/* =============================================
   MOTOR ENQUIRY MODAL
   ============================================= */
.motor-modal-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.7);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  animation: ept-fade-in 0.2s ease;
}
.motor-modal-backdrop[hidden] { display: none; }
@keyframes ept-fade-in { from { opacity: 0; } to { opacity: 1; } }

.motor-modal {
  background: #fff; width: 100%; max-width: 600px;
  max-height: 90vh; overflow-y: auto;
  padding: 2.5rem; position: relative;
  animation: ept-slide-up 0.25s cubic-bezier(0.22,1,0.36,1);
}
@keyframes ept-slide-up { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.motor-modal-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: var(--offwhite); border: 1px solid var(--border);
  width: 36px; height: 36px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  clip-path: polygon(6px 0,100% 0,calc(100% - 6px) 100%,0 100%);
  transition: background 0.2s ease;
}
.motor-modal-close:hover { background: var(--red); color: #fff; border-color: var(--red); }
.motor-modal-close i { font-size: 18px; }

.motor-modal-title {
  font-family: "Rajdhani", sans-serif; font-size: 28px; font-weight: 700;
  text-transform: uppercase; color: var(--black); margin-bottom: 0.5rem; line-height: 1.1;
}
.motor-modal-intro { font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 1.25rem; }

.motor-modal-spec-display {
  background: var(--black); padding: 12px 16px; margin-bottom: 1.5rem;
  clip-path: polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%);
}
.motor-modal-spec-display .spec-line {
  display: flex; gap: 8px; align-items: baseline;
  font-size: 13px; color: #aaa; margin-bottom: 3px;
}
.motor-modal-spec-display .spec-line:last-child { margin-bottom: 0; }
.motor-modal-spec-display .spec-key {
  font-family: "Rajdhani", sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; font-size: 11px;
  color: var(--red); min-width: 110px; flex-shrink: 0;
}
.motor-modal-spec-display .spec-val { color: #fff; font-weight: 500; }
.motor-modal-spec-display .spec-motor-name {
  font-family: "Rajdhani", sans-serif; font-size: 18px; font-weight: 700;
  color: #fff; margin-bottom: 10px;
}

.motor-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.motor-form-group { margin-bottom: 14px; }
.motor-form-label {
  display: block; font-family: "Rajdhani", sans-serif; font-size: 13px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--black); margin-bottom: 5px;
}
.req { color: var(--red); }
.motor-form-input {
  width: 100%; padding: 9px 12px; border: 1.5px solid var(--border);
  font-family: "Inter", sans-serif; font-size: 14px; color: var(--black);
  background: #fff; transition: border-color 0.2s ease;
}
.motor-form-input:focus { outline: none; border-color: var(--red); }
.motor-form-input.error { border-color: var(--red); }
.motor-form-textarea { resize: vertical; min-height: 100px; }
.motor-form-privacy { font-size: 11px; color: #aaa; line-height: 1.5; margin-bottom: 1.25rem; }
.motor-form-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.motor-form-status {
  margin-top: 1rem; padding: 12px 16px; font-size: 14px;
  clip-path: polygon(6px 0,100% 0,calc(100% - 6px) 100%,0 100%);
}
.motor-form-status.success { background: #e8f5e9; color: #2a6a2a; border-left: 4px solid #2a8a2a; }
.motor-form-status.error-msg { background: #fde8e8; color: #8a1a1a; border-left: 4px solid var(--red); }

/* ── ENQUIRY OVERLAY ── */
.enquiry-overlay {
  position: fixed; inset: 0; z-index: 1100;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.enquiry-overlay[hidden] { display: none; }
.enquiry-overlay-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,0.75);
  animation: ept-fade-in 0.2s ease;
}
.enquiry-overlay-panel {
  position: relative; z-index: 1; background: #fff;
  width: 100%; max-width: 680px; max-height: 90vh; overflow-y: auto;
  padding: 2.5rem; box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  animation: ept-slide-up 0.28s cubic-bezier(0.22,1,0.36,1);
}
.enquiry-overlay-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 1.75rem; gap: 1rem;
}
.enquiry-overlay-title {
  font-family: "Rajdhani", sans-serif; font-size: 30px; font-weight: 700;
  text-transform: uppercase; color: var(--black); line-height: 1.1; margin: 0;
}
.enquiry-overlay-title span { color: var(--red); }
.enquiry-overlay-close {
  flex-shrink: 0; background: var(--offwhite); border: 1px solid var(--border);
  width: 40px; height: 40px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  clip-path: polygon(6px 0,100% 0,calc(100% - 6px) 100%,0 100%);
  transition: background 0.2s ease, color 0.2s ease;
}
.enquiry-overlay-close:hover { background: var(--red); color: #fff; border-color: var(--red); }
.enquiry-overlay-close i { font-size: 20px; }
@media (max-width: 600px) {
  .enquiry-overlay-panel { padding: 1.5rem 1.25rem; max-height: 95vh; }
  .enquiry-overlay-title { font-size: 24px; }
}

/* Modal responsive */
@media (max-width: 600px) {
  .motor-form-row { grid-template-columns: 1fr; }
  .motor-modal { padding: 1.75rem 1.25rem; }
  .motor-form-actions { flex-direction: column; }
  .motor-form-actions .btn-red, .motor-form-actions .btn-outline-blk { width: 100%; justify-content: center; }
}
@media (max-width: 768px) {
  .motor-actions { flex-direction: column; }
  .motor-actions .btn-red, .motor-actions .btn-blk { justify-content: center; }
}

/* =============================================
   PRODUCTS LANDING PAGE
   ============================================= */
.product-category-block {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; min-height: 400px; border: 1px solid var(--border);
  overflow: hidden; margin-bottom: 0; position: relative;
}
.product-cat-title-link {
  text-decoration: none; color: inherit;
}
.product-cat-title-link::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
}
.product-cat-content .btn-red { position: relative; z-index: 2; }
.product-category-block-reverse { direction: rtl; }
.product-category-block-reverse > * { direction: ltr; }

.product-cat-img {
  position: relative; overflow: hidden; min-height: 360px;
}
.product-cat-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.product-category-block:hover .product-cat-img img { transform: scale(1.04); }
.product-cat-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.02) 100%);
  display: flex; align-items: flex-end; padding: 1.5rem;
}
.product-cat-icon-wrap {
  width: 52px; height: 48px; background: var(--red);
  display: flex; align-items: center; justify-content: center;
  clip-path: polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%);
}
.product-cat-icon-wrap i { font-size: 26px; color: #fff; }

.product-cat-content {
  background: #fff; padding: 2.5rem;
  display: flex; flex-direction: column; justify-content: center;
  border-left: 1px solid var(--border);
}
.product-category-block-reverse .product-cat-content { border-left: none; border-right: 1px solid var(--border); }
.product-cat-title {
  font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 32px;
  text-transform: uppercase; color: var(--black); line-height: 1; margin-bottom: 0.75rem;
}
.product-cat-desc { font-size: 14px; color: #666; line-height: 1.8; margin-bottom: 1.25rem; }

.product-cat-mini-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 0; }
.product-cat-mini-card { display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--border); overflow: hidden; transition: border-color 0.2s ease, transform 0.2s ease; }
.product-cat-mini-card:hover { border-color: var(--red); transform: translateY(-2px); }
.product-cat-mini-img { height: 60px; overflow: hidden; }
.product-cat-mini-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-cat-mini-name { font-family: "Rajdhani", sans-serif; font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--black); padding: 5px 7px; line-height: 1.3; }
.product-cat-mini-card:hover .product-cat-mini-name { color: var(--red); }

.product-cat-divider { border: none; border-top: 1px solid var(--border); margin: 0; }

@media (max-width: 900px) {
  .product-category-block, .product-category-block-reverse { grid-template-columns: 1fr; direction: ltr; }
  .product-cat-img { min-height: 240px; }
  .product-cat-content { border-left: none; border-top: 1px solid var(--border); border-right: none; }
  .product-cat-mini-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 480px) {
  .product-cat-mini-grid { grid-template-columns: 1fr 1fr; }
  .product-cat-content { padding: 1.75rem 1.25rem; }
}

/* =============================================
   404 */
.error-404 { text-align: center; padding: 6rem 0; }
.error-404 .error-num { font-family: "Rajdhani", sans-serif; font-size: 120px; font-weight: 700; color: var(--red); line-height: 1; margin-bottom: 1rem; }
.error-404 h2 { font-family: "Rajdhani", sans-serif; font-size: 28px; font-weight: 700; text-transform: uppercase; margin-bottom: 1rem; }
.error-404 p { color: #777; margin-bottom: 2rem; }

/* =============================================
   RESPONSIVE — TABLET ≤ 1024px
   ============================================= */
@media (max-width: 1024px) {
  .nav-inner { padding: 0 1.5rem; }
  .nav-links { gap: 1.25rem; padding: 0 1rem; }
  .hero-h1 .line1, .hero-h1 .line2 { font-size: 44px; }
  .products-grid, .motors-grid { grid-template-columns: repeat(2,1fr); }
  .brands-row { gap: 48px 56px; flex-wrap: wrap; }
  .hero-btns { gap: 8px; }
  .hero-btns .btn-red, .hero-btns .btn-outline-wh { padding: 9px 16px 9px 12px; font-size: 13px; gap: 5px; letter-spacing: 0.5px; }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .repair-services-grid { grid-template-columns: repeat(2,1fr); }
  .ind-grid { grid-template-columns: repeat(2,1fr); }
  .cats { grid-template-columns: repeat(2,1fr); }
  .cat:nth-child(2) { border-right: none; }
  .cat:nth-child(1), .cat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .blog-grid { grid-template-columns: repeat(2,1fr); }
  .blog-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .ft-brand { grid-column: 1 / -1; }
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .stat { border-bottom: 1px solid rgba(255,255,255,0.2); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: none; }
  .prod-cats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .prod-cat:nth-child(2) { border-right: none; }
  .prod-cat:nth-child(1), .prod-cat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.08); }
}

/* =============================================
   RESPONSIVE — MOBILE ≤ 768px
   ============================================= */
@media (max-width: 768px) {
  /* Nav */
  .nav-inner { height: 90px; padding: 0 1.25rem; }
  .nav-logo img { height: 70px; }
  .nav-links { display: none; }
  .nav-right .nav-phone { display: none; }
  .nav-right > .btn-red { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: block; }

  /* Hero: stack */
  .hero { grid-template-columns: 1fr; height: auto; }
  .hero-left { padding: 2.5rem 1.5rem; order: 1; }
  .hero-h1 .line1, .hero-h1 .line2 { font-size: 40px; }
  .hero-h1 .line3 { font-size: 18px; }
  .hero-body { max-width: 100%; }
  .hero-btns { grid-template-columns: 1fr; }
  .hero-btns .btn-red, .hero-btns .btn-outline-wh { justify-content: center; width: 100%; max-width: 100%; padding: 10px 16px; font-size: 14px; }
  .hero-right { order: 2; margin-left: 0; clip-path: none; grid-template-rows: 260px 100px; }

  /* Stats */
  .stats-bar { grid-template-columns: 1fr 1fr; }

  /* Cats */
  .cats { grid-template-columns: 1fr; }
  .cat { border-right: none; border-bottom: 1px solid var(--border); }
  .cat:last-child { border-bottom: none; }

  /* Section padding */
  .section-wrap, .section-wrap-alt, .section-wrap-dark { padding: 2.5rem 0; }
  .container { padding: 0 1.25rem; }
  .sec-title { font-size: 28px; }
  .sec-head { flex-wrap: wrap; gap: 8px; }

  /* Products */
  .products-grid, .motors-grid { grid-template-columns: 1fr; }

  /* Brands strip: wrap instead of one huge fixed-gap row (was overflowing → white bar) */
  .brands-strip { padding: 2rem 1.25rem; }
  .brands-row { gap: 24px 32px; flex-wrap: wrap; }

  /* Feature split */
  .feature-split { grid-template-columns: 1fr; }
  .feat-img { min-height: 220px; }
  .feat-content { padding: 1.75rem 1.25rem; border-left: none; border-top: 1px solid var(--border); }
  .feat-content h2, .feat-content h3 { font-size: 26px; }

  /* Product single */
  .product-hero { grid-template-columns: 1fr; }
  .product-hero-img { min-height: 260px; }
  .product-hero-content { border-left: none; border-top: 1px solid var(--border); padding: 1.5rem; }
  .product-hero-content h1 { font-size: 28px; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; }

  /* Repairs */
  .repair-services-grid { grid-template-columns: 1fr; }

  /* Industries */
  .ind-grid { grid-template-columns: 1fr; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }
  .single-post-header h1 { font-size: 30px; }
  .post-featured-img img { height: 240px; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; }

  /* About page */
  .about-body { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .about-stat { border-right: none; }
  .about-stat:nth-child(odd) { border-right: 1px solid #242424; }
  .about-stat:nth-child(-n+2) { border-bottom: 1px solid #242424; }
  .about-links { grid-template-columns: 1fr; }
  .about-details-strip { flex-direction: column; }
  .about-detail { border-right: none; border-bottom: 1px solid var(--border); }
  .about-detail:last-child { border-bottom: none; }
  .about-cta { flex-direction: column; align-items: flex-start; }

  /* Repairs process steps */
  .repair-process-steps { grid-template-columns: 1fr 1fr; }
  .repair-step { border-right: none; border-bottom: 1px solid var(--border); }
  .repair-step:nth-child(odd) { border-right: 1px solid var(--border); }
  .repair-step:last-child, .repair-step:nth-last-child(2):nth-child(odd) { border-bottom: none; }

  /* Motor configurator */
  .motor-attr-group:last-child { margin-bottom: 16px; }

  /* CTA */
  .cta-band { padding: 2rem 0; }
  .cta-band::before, .cta-band::after { display: none; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .cta-band h2 { font-size: 28px; }
  .cta-actions { width: 100%; flex-direction: column; }
  .cta-actions .btn-blk, .cta-actions .btn-outline-wh { justify-content: center; }

  /* Footer */
  .site-footer { padding: 2rem 0 1rem; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  /* Page hero */
  .page-hero h1 { font-size: 34px; }
}

/* =============================================
   RESPONSIVE — SMALL MOBILE ≤ 420px
   ============================================= */
@media (max-width: 420px) {
  .hero-h1 .line1, .hero-h1 .line2 { font-size: 34px; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat { border-right: none; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(4) { border-bottom: none; }
  .prod-cats { grid-template-columns: 1fr; }
  .prod-cat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .prod-cat:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .error-404 .error-num { font-size: 80px; }
}

/* =============================================
   PORTFOLIO
   ============================================= */
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.pf-card .pcard-img { height: 220px; }

/* Category filter pills */
.pf-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.75rem; }
.pf-filter-btn { font-family: "Rajdhani", sans-serif; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; padding: 6px 18px; border: 1px solid var(--border); background: #fff; color: #555; cursor: pointer; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.pf-filter-btn:hover { border-color: var(--red); color: var(--red); }
.pf-filter-btn.is-active { background: var(--red); color: #fff; border-color: var(--red); }

/* Date on archive cards and single page */
.pf-card-date { font-size: 11px; color: #aaa; display: flex; align-items: center; gap: 4px; }
.pf-card-date i { font-size: 12px; }
.pf-single-date { color: rgba(255,255,255,0.45); font-size: 13px; margin-top: 0.5rem; display: flex; align-items: center; gap: 5px; }
.pf-single-date i { font-size: 14px; }

/* Single portfolio post */
.pf-single-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; align-items: start; margin-bottom: 2rem; }
.pf-single-gallery { position: relative; overflow: hidden; }
.pf-gallery-slider { position: relative; overflow: hidden; height: 480px; }
.pf-single-img { width: 100%; max-height: 480px; object-fit: cover; display: block; }
.pf-single-meta { padding-top: 0.5rem; }
.pf-single-meta .pcard-cat { font-size: 11px; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 0.5rem; }
.pf-single-intro { font-size: 16px; line-height: 1.8; color: #333; margin-bottom: 1.5rem; }
.pf-single-content { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.pf-single-content p { line-height: 1.8; color: #444; margin-bottom: 1rem; }

/* Soft enquiry nudge */
.pf-single-nudge { display: flex; align-items: flex-start; gap: 10px; margin-top: 1.75rem; padding: 14px 16px; background: var(--offwhite); border-left: 3px solid var(--red); font-size: 14px; color: #555; line-height: 1.5; }
.pf-single-nudge i { font-size: 18px; color: var(--red); flex-shrink: 0; margin-top: 1px; }
.pf-nudge-link { background: none; border: none; padding: 0; color: var(--red); font-weight: 600; font-size: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color 0.2s; font-family: inherit; }
.pf-nudge-link:hover { text-decoration-color: var(--red); }

/* Related posts */
.pf-related { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.pf-related-heading { font-family: "Rajdhani", sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #999; margin-bottom: 12px; }
.pf-related-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; transition: color 0.2s; }
.pf-related-item:last-child { border-bottom: none; }
.pf-related-item:hover { color: var(--red); }
.pf-related-thumb { width: 56px; height: 56px; flex-shrink: 0; overflow: hidden; background: var(--offwhite); }
.pf-related-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.pf-related-item:hover .pf-related-thumb img { transform: scale(1.08); }
.pf-related-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #ccc; font-size: 20px; }
.pf-related-text { display: flex; flex-direction: column; gap: 2px; }
.pf-related-cat { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--red); }
.pf-related-title { font-family: "Rajdhani", sans-serif; font-size: 15px; font-weight: 600; line-height: 1.3; }

@media (max-width: 860px) { .pf-single-layout { grid-template-columns: 1fr; } .pf-gallery-slider { height: 300px; } }

/* Repair tile → Our Work link */
.repair-card-work-link { display: inline-flex; margin-top: 12px; font-size: 12px; }

@media (max-width: 900px) { .portfolio-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .portfolio-grid { grid-template-columns: 1fr; } .pf-gallery-slider { height: 260px; } }

/* Archive empty state */
.archive-empty { max-width: 560px; padding: 2rem 0; }
.archive-empty p { color: #555; line-height: 1.7; margin-bottom: 0.75rem; }
.archive-empty .btn-red { margin-top: 0.5rem; }

/* Accessibility */
a:focus-visible, button:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto !important; } }
