/* ============================================================
   TRG — TopRacing Garage  |  Stylesheet (Figma-matched)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Expanded:wght@400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --blue:        #0065ac;
  --blue-light:  #80b2d6;
  --blue-mid:    #1a5781;
  --blue-900:    #001422;
  --ink:         #111827;   /* dark gradient start */
  --ink-2:       #2b3957;   /* dark gradient end */
  --white:       #ffffff;
  --tint-white:  #fafafa;
  --grey-100:    #fdfdfd;
  --grey-200:    #f5f5f5;
  --grey-300:    #dfdfdf;
  --dark-grey:   #333333;
  --grey-2:      #898989;

  --font-display: 'Archivo Expanded', 'Archivo', sans-serif;
  --font-body:    'Poppins', sans-serif;

  --maxw: 1280px;
  --grad: linear-gradient(to top, var(--ink) 25%, var(--ink-2) 91%);
  --grad-r: linear-gradient(90deg, var(--ink), #424242 50%, var(--blue));
  --shadow-card: 4px 4px 10px rgba(0,0,0,.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--dark-grey);
  background: var(--white);
  line-height: 1.25;
  font-size: 16px;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); color: var(--blue-900); font-weight: 700; line-height: 1.1; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.t-hero { font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 64px; text-transform: uppercase; }
.t-h2   { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 48px; text-transform: uppercase; }
.t-h3   { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 40px; text-transform: uppercase; }
.t-h4   { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 32px; text-transform: uppercase; }
.t-h5   { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 24px; text-transform: uppercase; }
.t-h6   { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 20px; text-transform: uppercase; }
.t-eyebrow { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 20px; color: var(--blue-900); text-transform: uppercase; }
.t-body { font-family: var(--font-body); font-weight: 400; font-size: 16px; line-height: 20px; color: var(--dark-grey); }
.t-body-lg { font-family: var(--font-body); font-weight: 600; font-size: 18px; line-height: 20px; }
.t-body-sm { font-family: var(--font-body); font-weight: 400; font-size: 14px; line-height: 16px; color: var(--dark-grey); }
.t-caption { font-family: var(--font-body); font-weight: 400; font-size: 12px; line-height: 16px; }
.link-blue { color: var(--blue); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px; line-height: 20px;
  text-transform: uppercase; padding: 14px 20px; border-radius: 6px;
  border: 1px solid transparent; transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--blue); border-color: var(--blue-light); color: #fff; }
.btn-primary:hover { background: #00578f; }
.btn-outline { background: #fff; border-color: var(--blue-900); color: var(--blue-900); }
.btn-outline:hover { background: var(--blue-900); color: #fff; }
.btn-sm { padding: 12px 24px; font-weight: 500; font-size: 12px; line-height: 16px; letter-spacing: .04em; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  filter: drop-shadow(0 4px 5px rgba(0,0,0,.1));
}
.header-inner {
  position: relative; border-bottom: 4px solid var(--blue-900);
  background: var(--grey-200);
}
.header-inner::before {
  content: ''; position: absolute; inset: 0;
  background: url('assets/img/header-bg.png') center/cover;
  opacity: .5; pointer-events: none;
}
.nav {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 80px; gap: 20px;
}
/* logo */
.logo { position: relative; display: block; width: 132px; height: 31px; flex-shrink: 0; }
.logo .pc { position: absolute; }
.logo .pc img { width: 100%; height: 100%; display: block; }
.logo .m1 { top: 29.24%; right: 72.6%; bottom: 58.89%; left: 22.93%; }
.logo .m2 { top: 0; right: 33.45%; bottom: 0; left: 0; }
.logo .m3 { top: 0.24%; right: 2.18%; bottom: 36.11%; left: 59.74%; }
.logo .tr { top: 80.25%; right: 56.63%; bottom: 0; left: 0.13%; }
.logo .ga { top: 80.25%; right: 0; bottom: 0; left: 69.02%; }
.logo.invert img { filter: brightness(0) invert(1); }

.nav-menu { display: flex; align-items: center; gap: 50px; padding-left: 30px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a, .nav-drop-toggle {
  font-family: var(--font-display); font-weight: 500; font-size: 12px; line-height: 16px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--blue-900);
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
}
.nav-menu > li > a:hover, .nav-drop-toggle:hover { color: var(--blue); }
.nav-menu .active > a { color: var(--blue); }
.nav-drop-toggle .caret { width: 9px; height: 6px; transition: transform .2s; }
.has-drop:hover .caret { transform: rotate(180deg); }
.nav-drop {
  position: absolute; top: calc(100% + 14px); left: -16px; min-width: 210px;
  background: #fff; border: 1px solid var(--grey-300); border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,.14); padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease;
}
.has-drop:hover .nav-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop a {
  display: block; padding: 9px 12px; border-radius: 5px;
  font-family: var(--font-display); font-weight: 500; font-size: 12px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--blue-900);
}
.nav-drop a:hover { background: var(--grey-200); color: var(--blue); }
.nav-drop .sep { height: 1px; background: var(--grey-300); margin: 6px 4px; }

.nav-right { display: flex; align-items: center; gap: 18px; }
.social { display: flex; align-items: center; gap: 5px; }
.social a { width: 27px; height: 27px; display: block; }
.social a:hover { opacity: .7; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--blue-900); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding: 130px 130px 80px; text-align: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: url('assets/img/hero-bg.jpg') center top/cover no-repeat;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(255,255,255,.8) 15%, #fff 40%);
}
.hero > * { position: relative; z-index: 2; }
.hero-eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 32px; color: var(--blue-900); text-transform: uppercase; }
.hero-title { font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 64px; text-transform: uppercase; }
.hero-sub { max-width: 730px; margin: 8px auto 0; font-family: var(--font-body); font-size: 16px; line-height: 20px; color: var(--dark-grey); }
.hero-cars { width: 860px; max-width: 100%; margin: 28px auto 36px; }
.hero-cars img { width: 100%; }
.hero-stats { display: flex; justify-content: center; }
.hero-stat {
  width: 280px; height: 80px; background: var(--grey-200); border: 2px solid #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  text-align: center; padding: 20px; color: var(--blue-900);
}
.hero-stat:first-child { border-radius: 10px 0 0 10px; }
.hero-stat:last-child { border-radius: 0 10px 10px 0; }
.hero-stat b { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 20px; text-transform: uppercase; }
.hero-stat span { font-family: var(--font-body); font-weight: 400; font-size: 14px; line-height: 16px; }
.hero-btns { display: flex; gap: 12px; justify-content: center; margin-top: 20px; }
.hero-btns .btn { width: 216px; }

/* ============================================================
   SECTION 2 — CAR BLOCKS (GT-R / Huracan)
   ============================================================ */
.carblocks { background: #fff; padding: 70px 110px; display: flex; flex-direction: column; align-items: center; gap: 60px; }
.car-block {
  position: relative; width: 1060px; max-width: 100%; border-radius: 20px;
  border: 2px solid #fff; overflow: hidden; box-shadow: var(--shadow-card);
  background: var(--grey-200);
}
.car-block::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: url('assets/img/card-bg.png') center/cover;
  opacity: .25;
}
.car-block > * { position: relative; z-index: 1; }
.car-block-top { display: flex; gap: 80px; align-items: center; justify-content: center; padding: 48px 55px 0; }
.car-block-info { width: 483px; flex-shrink: 0; }
.car-block-info .kicker { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 20px; color: var(--blue-900); text-transform: uppercase; }
.car-block-info .title { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 48px; text-transform: uppercase; margin: 4px 0 4px; }
.car-block-info .desc { font-family: var(--font-body); font-size: 16px; line-height: 20px; color: var(--dark-grey); margin-bottom: 30px; }
.car-block-img { width: 355px; flex-shrink: 0; }
.car-block-img img { width: 100%; }

/* HP scale */
.hp-label { font-family: var(--font-body); font-weight: 600; font-size: 18px; line-height: 20px; color: var(--blue-900); text-transform: uppercase; margin-bottom: 14px; }
.hp-nums { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 6px; }
.hp-nums span { font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 16px; color: var(--blue-900); }
.hp-nums span.mid { color: var(--dark-grey); }
.hp-nums span.hi { color: var(--blue-mid); }
.hp-nums span.peak { color: var(--blue); }
.hp-bar { height: 5px; border-radius: 9999px; background: var(--grad-r); }
.hp-stages { display: flex; justify-content: space-between; margin-top: 8px; }
.hp-stages span { font-family: var(--font-body); font-weight: 500; font-size: 12px; line-height: 15px; color: var(--dark-grey); }

/* feature band */
.car-feats { background: var(--tint-white); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 55px; margin-top: 36px; }
.car-feat { display: flex; gap: 16px; align-items: flex-start; }
.feat-ico { flex-shrink: 0; width: 50px; height: 50px; border-radius: 6px; background: var(--grad); display: grid; place-items: center; }
.feat-ico img { width: 24px; height: 24px; filter: brightness(0) invert(1); }
.car-feat b { display: block; font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 20px; color: var(--blue-900); text-transform: uppercase; }
.car-feat p { font-family: var(--font-body); font-size: 14px; line-height: 16px; color: var(--dark-grey); max-width: 200px; margin-top: 4px; }
.car-feat a { color: var(--blue); font-weight: 600; text-decoration: underline; }

/* bottom button bar */
.car-block-btn {
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-900); color: #fff; height: 48px;
  font-family: var(--font-display); font-weight: 500; font-size: 14px; text-transform: uppercase;
  box-shadow: 0 0 6.6px rgba(196,228,255,.5);
}
.car-block-btn:hover { background: #002a47; }
.btn-loadmore { width: 200px; }

/* ============================================================
   BRANDS
   ============================================================ */
.brands { background: var(--grey-200); padding: 87px 0 0; text-align: center; }
.brands-head .eyebrow { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 20px; color: var(--blue-900); letter-spacing: .04em; text-transform: uppercase; }
.brands-head h2 { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 48px; text-transform: uppercase; margin-top: 2px; }
.brands-head p { max-width: 900px; margin: 16px auto 0; font-family: var(--font-body); font-size: 16px; line-height: 20px; color: var(--dark-grey); }
.brands-grid { display: grid; grid-template-columns: repeat(3, 280px); gap: 16px; justify-content: center; margin: 40px auto 0; }
.brand-card { height: 140px; background: #fff; border: 1px solid var(--grey-300); border-radius: 6px; display: grid; place-items: center; padding: 10px 20px; }
.brand-card img { max-height: 80px; max-width: 220px; width: auto; object-fit: contain; }
.brand-card.motec img { background: #000; border: 1.5px solid #e2231a; border-radius: 6px; padding: 8px 14px; max-height: 56px; }
.brand-card .ecutek { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: #1a1a1a; }
.brand-card .ecutek b { color: var(--blue); }
/* strip */
.brands-strip { overflow: hidden; margin-top: 56px; padding: 24px 0; background: var(--grey-200); border-top: 1px solid var(--grey-300); }
.strip-track { display: flex; gap: 64px; align-items: center; width: max-content; animation: scroll-x 28s linear infinite; }
.strip-track span { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: #b8bec6; filter: grayscale(1); white-space: nowrap; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ============================================================
   CUSTOM TUNED — MAXIMUM PERFORMANCE
   ============================================================ */
.custom-tuned { position: relative; overflow: hidden; padding: 60px 600px 60px 120px; }
.custom-tuned::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 32%; right: 0; z-index: 0;
  background: url('assets/img/dyno-workshop.jpg') center/cover no-repeat;
}
.custom-tuned::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, #fff 42%, rgba(255,255,255,.3) 70%);
}
.custom-tuned > * { position: relative; z-index: 2; }
.ct-kicker { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 20px; color: var(--blue-900); text-transform: uppercase; }
.ct-title { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 40px; text-transform: uppercase; margin: 4px 0; }
.ct-desc { max-width: 490px; font-family: var(--font-body); font-size: 16px; line-height: 20px; color: var(--dark-grey); text-align: justify; }
.ct-card {
  position: relative; width: 488px; max-width: 100%; margin-top: 40px; border: 2px solid #fff;
  border-radius: 20px; padding: 30px; overflow: hidden; box-shadow: var(--shadow-card); background: var(--grey-200);
}
.ct-card::before { content: ''; position: absolute; inset: 0; background: url('assets/img/card-bg.png') center/cover; opacity: .25; }
.ct-card > * { position: relative; }
.ct-card h4 { font-family: var(--font-body); font-weight: 600; font-size: 18px; line-height: 20px; color: var(--ink); text-transform: uppercase; margin-bottom: 22px; }
.ct-item { display: flex; gap: 10px; align-items: center; margin-top: 18px; }
.ct-item img { width: 20px; height: 20px; flex-shrink: 0; }
.ct-item p { font-family: var(--font-body); font-size: 14px; line-height: 16px; color: var(--dark-grey); }

/* ============================================================
   BLOG — FROM THE GARAGE
   ============================================================ */
.fromgarage { position: relative; background: #fff; padding: 60px 0; text-align: center; }
.fromgarage::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, transparent 0 24px, rgba(0,0,0,.025) 24px 25px),
                    repeating-linear-gradient(0deg, transparent 0 24px, rgba(0,0,0,.025) 24px 25px);
}
.fromgarage > * { position: relative; }
.fromgarage h2 { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 40px; text-transform: uppercase; }
.fromgarage .sub { max-width: 900px; margin: 6px auto 0; font-family: var(--font-body); font-size: 16px; line-height: 20px; color: var(--dark-grey); }
.blog-row { display: flex; gap: 16px; justify-content: center; margin: 30px 0; flex-wrap: wrap; }
.blog-card { width: 300px; height: 350px; background: #fff; border: 2px solid var(--grey-200); border-radius: 11px; overflow: hidden; text-align: left; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(0,0,0,.12); }
.blog-thumb { height: 171px; overflow: hidden; flex-shrink: 0; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-info { padding: 20px 30px 30px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.blog-meta { display: flex; gap: 8px; align-items: center; }
.blog-tag { background: var(--ink); color: #fff; font-family: var(--font-body); font-weight: 500; font-size: 10px; line-height: 16px; padding: 2px 8px; border-radius: 10px; }
.blog-date { font-family: var(--font-body); font-weight: 500; font-size: 12px; color: var(--grey-2); }
.blog-info h3 { font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 20px; color: var(--ink); text-transform: uppercase; }
.blog-info p { font-family: var(--font-body); font-size: 14px; line-height: 16px; color: var(--dark-grey); flex: 1; }
.blog-more { font-family: var(--font-display); font-weight: 500; font-size: 10px; color: var(--blue); text-transform: uppercase; display: inline-flex; gap: 5px; align-items: center; }
.blog-more::after { content: '›'; font-size: 14px; }
/* blog page featured + pagination */
.featured { max-width: 1140px; margin: 0 auto; padding: 36px 80px 0; }
.featured-img { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 21/9; box-shadow: var(--shadow-card); background: var(--grey-200); }
.featured-img img { width: 100%; height: 100%; object-fit: cover; }
.fc-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: rgba(0,8,16,.45); color: #fff; display: grid; place-items: center; font-size: 20px; transition: background .2s; }
.fc-arrow:hover { background: var(--blue); }
.fc-arrow.prev { left: 16px; } .fc-arrow.next { right: 16px; }
.recent { background: var(--grey-200); }
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 34px; }
.pagination a { min-width: 34px; height: 34px; padding: 0 8px; border-radius: 6px; display: grid; place-items: center; font-family: var(--font-body); font-size: 14px; color: var(--dark-grey); border: 1px solid var(--grey-300); background: #fff; }
.pagination a.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.pagination a:hover:not(.active) { border-color: var(--blue); color: var(--blue); }
@media (max-width:860px){ .featured { padding: 24px 22px 0; } .featured-img { aspect-ratio: 16/10; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer-dyno { position: relative; overflow: hidden; padding: 320px 160px 40px; text-align: center; }
.footer-dyno::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: url('assets/img/footer-dyno-bg.jpg') center top/cover no-repeat;
}
.footer-dyno::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 33%, var(--grey-100) 46%);
}
.footer-dyno > * { position: relative; z-index: 2; }
.footer-dyno .gtr-white { position: absolute; top: -25px; left: 50%; transform: translateX(-50%); width: 504px; max-width: 90%; z-index: 2; }
.fd-titles { position: relative; display: inline-block; margin-bottom: 40px; }
.fd-titles .small1 { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 24px; color: var(--ink); text-transform: uppercase; }
.fd-titles .big { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 48px; text-transform: uppercase; }
.fd-titles .small2 { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 24px; color: var(--ink); text-transform: uppercase; }

.visit-card { width: 600px; max-width: 100%; margin: 0 auto; }
.visit-card .vc-head { background: var(--grey-200); border: 1px solid var(--blue-900); border-radius: 6px 6px 0 0; padding: 12px; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); text-transform: uppercase; }
.visit-card .vc-mid { display: flex; }
.visit-card .vc-logo { width: 225px; flex-shrink: 0; height: 87px; background: var(--grad); border: 1px solid var(--blue-900); display: grid; place-items: center; }
.visit-card .vc-logo .logo { width: 131px; height: 30px; }
.visit-card .vc-addr { flex: 1; height: 87px; background: var(--grey-200); border: 1px solid var(--blue-900); border-left: none; display: flex; align-items: center; gap: 14px; padding: 12px 24px; }
.visit-card .vc-addr p { font-family: var(--font-body); font-weight: 500; font-size: 14px; line-height: 16px; color: var(--dark-grey); }
.visit-card .vc-hours { display: flex; justify-content: space-between; background: var(--grey-200); border: 1px solid var(--blue-900); border-top: none; border-radius: 0 0 6px 6px; padding: 12px 40px; font-family: var(--font-body); font-weight: 500; font-size: 14px; color: var(--dark-grey); }

.footer-main { position: relative; overflow: hidden; background: var(--grey-100); display: flex; gap: 120px; justify-content: center; padding: 60px 120px; }
.footer-main::before { content: ''; position: absolute; inset: 0; background: url('assets/img/footer-bg.jpg') center/cover; opacity: .35; }
.footer-main > * { position: relative; }
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-brand .logo { width: 213px; height: 50px; }
.footer-brand p { max-width: 309px; font-family: var(--font-body); font-size: 14px; line-height: 16px; color: var(--dark-grey); text-align: justify; }
.footer-social { display: flex; gap: 6px; }
.footer-social a { width: 30px; height: 30px; }
.footer-social a:hover { opacity: .7; }
.footer-col h4 { font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 20px; color: var(--ink); margin-bottom: 8px; text-transform: none; }
.footer-links { display: flex; gap: 8px; }
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-family: var(--font-body); font-size: 14px; line-height: 16px; color: var(--dark-grey); width: 122px; }
.footer-links a:hover, .footer-links a.active { color: var(--blue); }
.footer-contact { display: flex; flex-direction: column; gap: 20px; }
.footer-contact .loc p { font-family: var(--font-body); font-size: 14px; line-height: 16px; color: var(--dark-grey); max-width: 230px; margin-top: 6px; }
.footer-contact .ph b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 20px; color: var(--ink); }
.footer-contact .ph span { font-family: var(--font-body); font-size: 14px; line-height: 16px; color: var(--dark-grey); }
.footer-bottom { background: var(--ink); color: #fff; }
.footer-bottom .fb-inner { max-width: var(--maxw); margin: 0 auto; height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 99px; font-family: var(--font-body); font-size: 12px; line-height: 16px; }
.footer-bottom .fb-legal { display: flex; gap: 40px; }

/* ============================================================
   INTERIOR PAGES (light theme, consistent system)
   ============================================================ */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 80px; }
.section { padding: 70px 0; }
.page-hero { background: var(--grey-200); border-bottom: 1px solid var(--grey-300); padding: 56px 0; text-align: center; }
.page-hero .breadcrumb { font-family: var(--font-body); font-size: 13px; color: var(--grey-2); margin-bottom: 12px; }
.page-hero .breadcrumb a:hover { color: var(--blue); }
.page-hero h1 { margin: 0 auto; max-width: 820px; font-size: 44px; line-height: 1.06; text-transform: uppercase; }
.statband { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; background: var(--grad); color: #fff; border-radius: 16px; padding: 44px 30px; }
.statband .num { font-family: var(--font-display); font-weight: 800; font-size: 44px; color: #fff; line-height: 1; }
.statband .num span { color: var(--blue-light); }
.statband .lbl { font-family: var(--font-body); font-size: 13px; color: rgba(255,255,255,.72); margin-top: 8px; }
@media (max-width:860px){ .statband { grid-template-columns: 1fr 1fr; } }
.page-hero p { max-width: 640px; margin: 14px auto 0; font-family: var(--font-body); font-size: 16px; line-height: 22px; color: var(--dark-grey); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.section-head p { margin-top: 14px; font-family: var(--font-body); color: var(--dark-grey); line-height: 22px; }
.grid { display: grid; gap: 16px; }

/* car page hero */
.car-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.car-hero img { width: 100%; }
.car-hero .specs { display: flex; gap: 30px; margin-top: 22px; flex-wrap: wrap; }
.car-hero .specs .num { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--blue-900); }
.car-hero .specs .lbl { font-family: var(--font-body); font-size: 12px; color: var(--grey-2); }

/* parts page */
.parts-hero { background: var(--grey-200); }
.parts-hero .ph-inner { max-width: var(--maxw); margin: 0 auto; padding: 40px 80px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.parts-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: 1.12; text-transform: uppercase; }
.parts-hero p { font-family: var(--font-body); font-size: 14px; line-height: 20px; color: var(--dark-grey); max-width: 440px; margin-top: 10px; }
.parts-hero .ph-car { width: 360px; max-width: 42%; }
.breadcrumb-bar { border-top: 1px solid var(--grey-300); border-bottom: 1px solid var(--grey-300); background: #fff; }
.breadcrumb-bar .bc { max-width: var(--maxw); margin: 0 auto; padding: 14px 80px; font-family: var(--font-body); font-size: 13px; color: var(--grey-2); }
.breadcrumb-bar .bc a:hover { color: var(--blue); }
.breadcrumb-bar .bc .cur { color: var(--blue); }

.parts-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; padding: 50px 0; }
.parts-sidebar { background: #fff; }
.parts-title { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-900); margin-bottom: 14px; }
.cat-list li { margin-bottom: 2px; }
.cat-list button { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 11px 14px; border-radius: 6px; font-family: var(--font-body); font-size: 13px; color: var(--dark-grey); transition: background .15s; }
.cat-list button .arr { opacity: .45; font-size: 12px; }
.cat-list button:hover { background: var(--grey-200); }
.cat-list button.active { background: var(--blue); color: #fff; }
.cat-list button.active .arr { opacity: .85; }

.pcat-grid, .prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcat-card { border: 1px solid var(--grey-300); border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; transition: all .2s ease; }
.pcat-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.pcat-photo, .prod-photo { aspect-ratio: 4/3; background: var(--grey-200); display: grid; place-items: center; position: relative; overflow: hidden; }
.pcat-photo .ic, .prod-photo .ic { font-size: 46px; opacity: .55; z-index: 1; }
.pcat-photo::after, .prod-photo::after { content: 'TRG'; position: absolute; font-family: var(--font-display); font-weight: 800; font-size: 42px; color: rgba(0,20,34,.05); letter-spacing: -.03em; }
.pcat-name { padding: 16px 12px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 13px; line-height: 1.3; text-transform: uppercase; color: var(--blue-900); }
.prod-card { border: 1px solid var(--grey-300); border-radius: 10px; overflow: hidden; background: #fff; }
.prod-info { padding: 14px; }
.prod-info h5 { font-family: var(--font-body); font-weight: 600; font-size: 13px; line-height: 1.35; color: var(--blue-900); min-height: 34px; }
.prod-enquire { display: block; text-align: center; margin-top: 12px; border: 1px solid var(--blue-900); border-radius: 6px; padding: 9px; font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--blue-900); transition: all .15s; }
.prod-enquire:hover { background: var(--blue-900); color: #fff; }
.is-hidden { display: none !important; }
@media (max-width: 1024px) { .parts-hero .ph-inner { padding: 30px 32px; } .breadcrumb-bar .bc { padding: 12px 32px; } }
@media (max-width: 860px) {
  .parts-hero .ph-inner { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
  .parts-hero .ph-car { width: 70%; max-width: 240px; }
  .breadcrumb-bar .bc { padding: 12px 22px; }
  .pcat-grid, .prod-grid { grid-template-columns: 1fr 1fr; }
}

/* services page */
.svc-hero { background: var(--grey-200); position: relative; overflow: hidden; }
.svc-hero .sh-inner { max-width: var(--maxw); margin: 0 auto; padding: 54px 80px; position: relative; z-index: 1; }
.svc-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: 40px; text-transform: uppercase; }
.svc-hero p { font-family: var(--font-body); font-size: 14px; line-height: 20px; color: var(--dark-grey); max-width: 480px; margin-top: 10px; }
.svc-hero .wm { position: absolute; right: 40px; top: 50%; transform: translateY(-50%); font-family: var(--font-display); font-weight: 800; font-size: 96px; color: rgba(0,20,34,.06); letter-spacing: -.04em; z-index: 0; pointer-events: none; }
.svc-rows { display: flex; flex-direction: column; gap: 32px; }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.svc-row .svc-img { border-radius: 14px; overflow: hidden; aspect-ratio: 16/10; box-shadow: var(--shadow-card); }
.svc-row.rev .svc-img { order: -1; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-txt h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; text-transform: uppercase; color: var(--blue-900); margin-bottom: 10px; }
.svc-txt p { font-family: var(--font-body); font-size: 15px; line-height: 22px; color: var(--dark-grey); }
@media (max-width: 860px) {
  .svc-hero .sh-inner { padding: 40px 22px; } .svc-hero .wm { font-size: 56px; opacity: .5; }
  .svc-row { grid-template-columns: 1fr; gap: 18px; } .svc-row.rev .svc-img { order: 0; }
}

/* services (legacy cards used on About) */
.svc-grid { grid-template-columns: repeat(3, 1fr); }
.svc-card { background: #fff; border: 1px solid var(--grey-300); border-radius: 12px; padding: 30px; transition: all .2s ease; }
.svc-card:hover { box-shadow: var(--shadow-card); transform: translateY(-4px); }
.svc-card .sico { width: 54px; height: 54px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 24px; margin-bottom: 16px; }
.svc-card h4 { font-size: 20px; margin-bottom: 8px; }
.svc-card p { font-family: var(--font-body); font-size: 15px; line-height: 22px; color: var(--dark-grey); }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; counter-reset: step; }
.step { padding-top: 16px; }
.step::before { counter-increment: step; content: counter(step,decimal-leading-zero); font-family: var(--font-display); font-weight: 800; font-size: 40px; color: rgba(0,101,172,.2); display: block; margin-bottom: 8px; }
.step h5 { font-size: 16px; margin-bottom: 8px; }
.step p { font-family: var(--font-body); font-size: 14px; line-height: 20px; color: var(--dark-grey); }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { width: 100%; border-radius: 16px; box-shadow: var(--shadow-card); }
.split h2 { margin-bottom: 16px; }
.split p { font-family: var(--font-body); color: var(--dark-grey); line-height: 22px; margin-bottom: 14px; }
.feature-list { display: grid; gap: 12px; margin: 20px 0; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-family: var(--font-body); font-size: 15px; }
.feature-list .ico { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 6px; background: rgba(0,101,172,.12); color: var(--blue); display: grid; place-items: center; font-weight: 700; font-size: 13px; }

/* visit page */
.visit-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.gallery { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; }
.gallery a.wide { grid-column: span 2; aspect-ratio: 16/8; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery a:hover img { transform: scale(1.05); }
.video-thumb { position: relative; }
.video-thumb .play { position: absolute; inset: 0; margin: auto; width: 70px; height: 70px; border-radius: 50%; background: rgba(0,101,172,.92); display: grid; place-items: center; }
.video-thumb .play::after { content: ''; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.contact-card { background: #fff; border: 1px solid var(--grey-300); border-radius: 12px; padding: 30px; position: sticky; top: 90px; }
.contact-card h4 { margin-bottom: 18px; }
.contact-row { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--grey-200); }
.contact-row:last-of-type { border-bottom: none; }
.contact-row .ico { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 8px; background: var(--grey-200); display: grid; place-items: center; font-size: 16px; }
.contact-row b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--blue-900); }
.contact-row span { font-family: var(--font-body); font-size: 14px; color: var(--dark-grey); }
.map-embed { border-radius: 12px; overflow: hidden; margin-top: 24px; border: 1px solid var(--grey-300); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(0,8,16,.92); display: none; place-items: center; padding: 40px; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; }
.lightbox .close { position: absolute; top: 24px; right: 30px; color: #fff; font-size: 40px; line-height: 1; }

/* article */
.article { max-width: 760px; margin: 0 auto; }
.article-hero img { width: 100%; border-radius: 16px; margin-bottom: 32px; box-shadow: var(--shadow-card); }
.article h2 { margin: 36px 0 14px; }
.article h3 { margin: 28px 0 12px; }
.article p { font-family: var(--font-body); margin-bottom: 18px; color: #444; font-size: 17px; line-height: 1.75; }
.article ul.bullets { margin: 0 0 18px; display: grid; gap: 10px; }
.article ul.bullets li { position: relative; padding-left: 24px; font-family: var(--font-body); color: #444; }
.article ul.bullets li::before { content: ''; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.article blockquote { border-left: 4px solid var(--blue); padding: 4px 0 4px 22px; margin: 26px 0; font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--blue-900); }
.tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.tag { font-family: var(--font-body); font-size: 12px; padding: 6px 14px; border-radius: 100px; background: var(--grey-200); color: var(--grey-2); }

/* cta band */
.cta-band { background: var(--grad); color: #fff; border-radius: 16px; padding: 50px; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { font-family: var(--font-body); color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 24px; line-height: 22px; }
.cta-band .hero-btns { justify-content: center; }

/* ============================================================
   CAR DETAIL PAGE (GT-R, Huracan, etc.)
   ============================================================ */
.car-page-hero { text-align: center; padding: 70px 80px 40px; }
.car-page-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: 1.05; text-transform: uppercase; }
.car-page-hero .lede { max-width: 640px; margin: 14px auto 0; font-family: var(--font-body); font-size: 16px; line-height: 22px; color: var(--dark-grey); }
.car-page-hero .car-photo { max-width: 720px; margin: 30px auto 0; }
.car-page-hero .car-photo img { width: 100%; filter: drop-shadow(0 40px 40px rgba(0,0,0,.25)); }

.statement { max-width: 880px; margin: 0 auto; padding: 20px 80px 40px; text-align: center; }
.statement p { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1.28; text-transform: uppercase; color: var(--blue-900); }
.statement .hl { color: var(--blue); }

.photo-row { max-width: 1000px; margin: 0 auto; padding: 0 80px 70px; display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.photo-row .ph { aspect-ratio: 16/11; border-radius: 12px; overflow: hidden; background: var(--grey-200); }
.photo-row .ph img { width: 100%; height: 100%; object-fit: cover; }

/* tuning stages */
.tuning2 { background: var(--grey-200); padding: 70px 0; }
.tuning2 .t-head { text-align: center; margin-bottom: 40px; }
.stage-layout { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: stretch; }
.stage-list { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--grey-300); border-radius: 12px; overflow: hidden; }
.stage-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--grey-200); text-align: left; transition: background .15s; position: relative; }
.stage-btn:last-child { border-bottom: none; }
.stage-btn .sname { font-family: var(--font-display); font-weight: 600; font-size: 14px; text-transform: uppercase; color: var(--blue-900); letter-spacing: .02em; }
.stage-btn .shp { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--blue); }
.stage-btn::after { content: ''; position: absolute; left: 20px; right: 20px; bottom: 8px; height: 2px; background: linear-gradient(90deg, var(--blue), transparent); opacity: .25; }
.stage-btn:hover { background: var(--grey-200); }
.stage-btn.active { background: var(--grad); }
.stage-btn.active .sname, .stage-btn.active .shp { color: #fff; }
.stage-btn.active::after { display: none; }

.dyno-panel { background: #fff; border: 1px solid var(--grey-300); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; }
.dyno-panel .dp-title { font-family: var(--font-display); font-weight: 700; font-size: 14px; text-transform: uppercase; color: var(--blue-900); text-align: center; letter-spacing: .04em; margin-bottom: 16px; }
.dyno-pills { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 18px; }
.pill { border-radius: 8px; padding: 10px 14px; color: #fff; }
.pill .pl { font-family: var(--font-body); font-weight: 500; font-size: 11px; line-height: 1.3; opacity: .9; }
.pill .pv { font-family: var(--font-display); font-weight: 800; font-size: 18px; line-height: 1.1; }
.pill .pv small { font-size: 11px; font-weight: 600; }
.pill.torque { background: var(--blue); }
.pill.whp { background: var(--blue-900); }
.pill.crank { background: var(--orange); }
.dyno-chart { flex: 1; min-height: 300px; }
.dyno-chart svg { width: 100%; height: auto; display: block; }
.legend-panel { background: var(--grad); color: #fff; border-radius: 12px; padding: 22px 28px; text-align: center; margin-top: 24px; }
.legend-panel h4 { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 16px; text-transform: uppercase; margin-bottom: 8px; }
.legend-panel p { font-family: var(--font-body); font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.85); max-width: 760px; margin: 0 auto; }

/* parts & upgrades brand grid (car pages) */
.parts-upgrades { padding: 70px 0; text-align: center; }
.parts-upgrades .pu-kicker { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.parts-upgrades h2 { font-family: var(--font-display); font-weight: 700; font-size: 32px; text-transform: uppercase; margin-top: 4px; }
.parts-upgrades .pu-sub { max-width: 700px; margin: 14px auto 0; font-family: var(--font-body); font-size: 15px; line-height: 22px; color: var(--dark-grey); }
.pu-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; max-width: 980px; margin: 40px auto 0; }
.pu-grid .pu-card { height: 110px; background: #fff; border: 1px solid var(--grey-300); border-radius: 8px; display: grid; place-items: center; padding: 14px; }
.pu-grid .pu-card img { max-height: 56px; max-width: 150px; object-fit: contain; }
.pu-note { margin-top: 28px; font-family: var(--font-body); font-size: 13px; color: var(--grey-2); }
.pu-note a { color: var(--blue); font-weight: 600; text-decoration: underline; }

@media (max-width: 1024px) {
  .stage-layout { grid-template-columns: 1fr; }
  .stage-list { flex-direction: row; flex-wrap: wrap; }
  .stage-btn { flex: 1 1 22%; flex-direction: column; align-items: flex-start; gap: 4px; }
  .pu-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 860px) {
  .car-page-hero, .statement, .photo-row { padding-left: 22px; padding-right: 22px; }
  .statement p { font-size: 22px; }
  .car-page-hero h1 { font-size: 34px; }
  .photo-row { grid-template-columns: 1fr; }
  .dyno-pills { grid-template-columns: 1fr; }
  .pu-grid { grid-template-columns: repeat(2,1fr); }
}

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1320px) {
  .nav { padding: 10px 32px; }
  .hero { padding: 90px 32px 70px; }
  .carblocks { padding: 60px 32px; }
  .car-block { width: 100%; }
  .custom-tuned { padding: 60px 40px; }
  .custom-tuned::before { left: 45%; }
  .footer-main { padding: 60px 40px; gap: 48px; }
  .footer-dyno { padding: 240px 40px 40px; }
}
@media (max-width: 1024px) {
  .nav-menu { gap: 28px; padding-left: 16px; }
  .hero-title { font-size: 44px; line-height: 50px; }
  .car-block-top { flex-direction: column; gap: 30px; padding: 36px 30px 0; }
  .car-block-info, .car-block-img { width: 100%; }
  .car-feats { flex-direction: column; align-items: flex-start; gap: 20px; }
  .car-feat p { max-width: none; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .parts-layout { grid-template-columns: 1fr; }
  .parts-sidebar { position: static; }
  .footer-main { flex-wrap: wrap; }
  .svc-grid, .parts-grid { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px) {
  .nav-menu, .nav-right .social { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu.open { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 12px 24px; border-bottom: 1px solid var(--grey-300); z-index: 50; }
  .nav-menu.open > li { width: 100%; padding: 8px 0; }
  .nav-menu.open .nav-drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: 12px; }
  .hero { padding: 70px 22px 60px; }
  .hero-title { font-size: 34px; line-height: 40px; }
  .hero-eyebrow { font-size: 18px; }
  .hero-stats { flex-direction: column; align-items: center; }
  .hero-stat { width: 280px; border-radius: 0 !important; }
  .hero-btns { flex-direction: column; align-items: center; }
  .custom-tuned { padding: 40px 22px; }
  .custom-tuned::before { opacity: .25; left: 0; }
  .custom-tuned::after { background: rgba(255,255,255,.7); }
  .ct-card, .ct-desc { width: 100%; max-width: 100%; }
  .split, .car-hero, .visit-layout { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .footer-main { flex-direction: column; gap: 32px; }
  .footer-bottom .fb-inner { flex-direction: column; gap: 8px; height: auto; padding: 12px 22px; text-align: center; }
  .container { padding: 0 22px; }
  .section { padding: 48px 0; }
  .brands-grid { grid-template-columns: 1fr; }
  .svc-grid, .parts-grid, .steps { grid-template-columns: 1fr; }
  .visit-card .vc-mid { flex-direction: column; }
  .visit-card .vc-logo, .visit-card .vc-addr { width: 100%; }
}
