/*
  AUTOVANTA / Automotive Aftermarket Supply — standalone visual system
  Direction: road-tested engineering, fleet readiness, warehouse precision.
  Designed to sit after the shared site.css without borrowing another vertical's palette.
*/
:root{
  --auto-ink:#111921;
  --auto-night:#18252e;
  --auto-blue:#1d4f68;
  --auto-cyan:#58b7c6;
  --auto-signal:#e76f3d;
  --auto-amber:#e8b455;
  --auto-steel:#5a6b75;
  --auto-paper:#f5f7f6;
  --auto-silver:#e1e8e8;
  --auto-line:#cfdadc;
  --auto-white:#fff;
  --auto-radius:4px;
  --auto-shadow:0 20px 58px rgba(16,32,41,.14);
}

body.site-body{
  background:var(--auto-paper);
  color:var(--auto-ink);
  --ink:var(--auto-ink);
  --paper:var(--auto-paper);
  --muted:#60717a;
  --gold:var(--auto-signal);
  --line:var(--auto-line);
  --teal:var(--auto-blue);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,"PingFang SC",sans-serif;
}
body.site-body .topbar{
  background:var(--auto-night); color:#dfe9eb; border-bottom:2px solid var(--auto-signal);
  letter-spacing:.11em; font-size:10px; text-transform:uppercase;
}
body.site-body header{background:rgba(245,247,246,.95);border-bottom:1px solid var(--auto-line);backdrop-filter:blur(16px)}
body.site-body .navrow{min-height:84px}
body.site-body .brand-logo{width:238px!important;filter:drop-shadow(0 7px 13px rgba(14,36,47,.16))}
body.site-body .navrow nav{gap:21px}
body.site-body .navrow nav a{color:#263b45;font-size:11px;letter-spacing:.1em;text-transform:uppercase}
body.site-body .navrow nav a:hover{color:var(--auto-signal)}
body.site-body .btn{border-radius:3px;padding:14px 24px;font-size:11px;letter-spacing:.11em;text-transform:uppercase;transition:transform .2s ease,background .2s ease,box-shadow .2s ease}
body.site-body .btn:hover{transform:translateY(-2px)}
body.site-body .btn.gold{background:var(--auto-signal);border-color:var(--auto-signal);box-shadow:0 7px 19px rgba(231,111,61,.2)}
body.site-body .btn.gold:hover{background:#b9522b;border-color:#b9522b}
body.site-body .text-link{color:var(--auto-blue);border-color:var(--auto-signal)}
body.site-body .eyebrow{color:var(--auto-signal);font-weight:800;letter-spacing:.2em;text-transform:uppercase;font-size:10px}
body.site-body h1,body.site-body h2,body.site-body h3{color:var(--auto-ink);letter-spacing:-.035em;font-weight:600}
body.site-body h1 em,body.site-body h2 em{color:var(--auto-signal);font-style:normal}
body.site-body .section{padding:108px 0}
body.site-body .section.soft{background:#eaf0f0}
body.site-body .section.dark{background:var(--auto-night);color:#edf5f5}
body.site-body .section.dark h2,body.site-body .section.dark h3{color:#f6fbfa}
body.site-body .section.dark p{color:#c0d0d4}
body.site-body .feature-grid article,body.site-body .card,body.site-body .callout{border-radius:var(--auto-radius);box-shadow:0 12px 30px rgba(16,32,41,.06)}
body.site-body .hero-photo,body.site-body .side-photo,body.site-body .card-image,body.site-body .product-card-media,body.site-body .visual-tile,body.site-body .rfq-visual{background:#cdd8da;overflow:hidden}
body.site-body .hero-photo img,body.site-body .side-photo img,body.site-body .card-image img,body.site-body .product-card-media img,body.site-body .visual-tile img,body.site-body .rfq-visual img{width:100%;height:100%!important;object-fit:cover;object-position:center;display:block}

/* A restrained road-grid texture; no gradients over product photography. */
.auto-road-surface{background-color:#d7e0e1;background-image:linear-gradient(90deg,rgba(255,255,255,.48) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.35) 1px,transparent 1px);background-size:44px 44px}
.auto-metal-surface{background:linear-gradient(110deg,#3a4a52 0%,#bac7c9 24%,#6e8089 46%,#e9eeee 67%,#4c606b 100%)}
.auto-tread-surface{background-color:#293942;background-image:repeating-linear-gradient(130deg,rgba(255,255,255,.09) 0 2px,transparent 2px 15px),repeating-linear-gradient(40deg,transparent 0 18px,rgba(0,0,0,.16) 18px 21px)}

/* Home: a low horizon, controlled orange signal and clear 16:9 product crop. */
body.page-home .hero{padding:82px 0 48px;background:radial-gradient(circle at 80% 22%,rgba(88,183,198,.26),transparent 26%),linear-gradient(118deg,#101b23 0%,#1b303c 58%,#245b68 100%);color:#f5fbfb;position:relative;overflow:hidden}
body.page-home .hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,10,13,.58),transparent 62%),repeating-linear-gradient(90deg,rgba(255,255,255,.055) 0 1px,transparent 1px 96px);pointer-events:none}
body.page-home .hero:after{content:"";position:absolute;right:-10%;bottom:25px;width:65%;height:1px;background:linear-gradient(90deg,transparent,var(--auto-signal),transparent);transform:rotate(-7deg);box-shadow:0 -18px 0 rgba(255,255,255,.13),0 18px 0 rgba(255,255,255,.1);pointer-events:none}
body.page-home .hero-grid{position:relative;z-index:1;min-height:560px;align-items:center}
body.page-home .hero h1,body.page-home .hero h2,body.page-home .hero p,body.page-home .hero .lead{color:#f5fbfb}
body.page-home .hero h1{font-size:clamp(3.1rem,6.5vw,6.8rem);line-height:.94;font-weight:650;max-width:760px}
body.page-home .hero .eyebrow{color:var(--auto-amber)}
body.page-home .hero-photo{border:1px solid rgba(255,255,255,.32);border-radius:4px 34px 4px 34px;box-shadow:0 30px 76px rgba(0,11,18,.35);transform:rotate(1.4deg);aspect-ratio:1.28}
body.page-home .hero-photo:after{content:"FITMENT / TRACEABILITY / READY STOCK";position:absolute;bottom:16px;left:18px;padding:8px 11px;background:rgba(17,25,33,.8);color:#d9edef;font-size:9px;letter-spacing:.2em}
body.page-home .proof-row{border-color:rgba(255,255,255,.27);color:#c4d3d7;gap:28px}
body.page-home .proof-row b{color:var(--auto-amber)}
body.page-home .visual-section{padding:50px 0 105px;background:var(--auto-paper)}
body.page-home .visual-strip{grid-template-columns:1.25fr 1fr 1fr;gap:13px}
body.page-home .visual-tile{aspect-ratio:1.5;border:1px solid #c5d1d3;box-shadow:var(--auto-shadow);position:relative}
body.page-home .visual-tile:first-child{transform:translateY(22px)}
body.page-home .visual-tile:last-child{transform:translateY(-16px)}
body.page-home .visual-tile:before{content:"";position:absolute;inset:10px;border:1px solid rgba(255,255,255,.55);pointer-events:none;z-index:1}
body.page-home .category-grid{grid-template-columns:repeat(4,1fr);gap:1px;background:var(--auto-line);border:1px solid var(--auto-line)}
body.page-home .category-card{background:#fff;border-radius:0;padding:26px;min-height:154px;position:relative;transition:.2s ease}
body.page-home .category-card:after{content:"↗";position:absolute;right:19px;top:19px;color:var(--auto-signal);font-size:20px}
body.page-home .category-card:hover{background:var(--auto-night);color:#fff;transform:translateY(-4px);z-index:2;box-shadow:var(--auto-shadow)}
body.page-home .category-card:hover b,body.page-home .category-card:hover span{color:#fff}

/* Product catalog: short, repeatable 4:3 tiles that keep the SKU visible. */
body.page-products.page-index .page-hero,body.page-products.page-group .page-hero{background:linear-gradient(110deg,#e7eef0,#f7f9f8 52%,#dce7e8);border-bottom:1px solid var(--auto-line)}
body.page-products.page-index .hero-photo,body.page-products.page-group .hero-photo{border-radius:4px;box-shadow:var(--auto-shadow);border-left:7px solid var(--auto-signal);aspect-ratio:1.45}
body.page-products.page-index .category-grid{grid-template-columns:repeat(4,1fr);gap:10px;background:none;border:0}
body.page-products.page-index .category-card{background:#fff;border:1px solid var(--auto-line);padding:20px;border-radius:3px;min-height:120px}
body.page-products.page-index .category-card:hover{border-color:var(--auto-signal);box-shadow:0 10px 24px rgba(231,111,61,.12)}
body.page-products.page-index .product-grid{grid-template-columns:repeat(4,1fr);gap:15px;align-items:start}
body.page-products.page-index .product-card{border:1px solid var(--auto-line);background:#fff;border-radius:3px;overflow:hidden;box-shadow:none;transition:.25s ease}
body.page-products.page-index .product-card:nth-child(4n+2){transform:translateY(18px)}
body.page-products.page-index .product-card:hover{transform:translateY(-8px);box-shadow:var(--auto-shadow);border-color:var(--auto-signal)}
body.page-products.page-index .product-card:nth-child(4n+2):hover{transform:translateY(10px)}
body.page-products.page-index .product-card-media{aspect-ratio:4/3}
body.page-products.page-index .product-card>div{padding:19px}
body.page-products.page-index .product-card h3{font:600 1.23rem/1.14 Inter,sans-serif}
body.page-products.page-detail .page-hero{background:linear-gradient(122deg,#101a22,#1e3945 65%,#2f6873);color:#fff}
body.page-products.page-detail .page-hero h1,body.page-products.page-detail .page-hero p,body.page-products.page-detail .page-hero .lead{color:#fff}
body.page-products.page-detail .page-hero .eyebrow{color:var(--auto-amber)}
body.page-products.page-detail .hero-photo{border-radius:4px 34px 4px 34px;border:1px solid rgba(255,255,255,.32);aspect-ratio:1.22}
body.page-products.page-detail .spec-grid{grid-template-columns:repeat(4,1fr);gap:1px;background:var(--auto-line);border:1px solid var(--auto-line)}
body.page-products.page-detail .spec-grid>div{background:#fff;padding:24px;min-height:120px}
body.page-products.page-detail .spec-grid b{color:var(--auto-blue);font-size:1.55rem}

/* Solutions: procurement problems become project cards with orange readiness bars. */
body.page-solutions .page-hero{background:linear-gradient(120deg,#13232c,#1c4957 62%,#2d7781);color:#fff}
body.page-solutions .page-hero h1,body.page-solutions .page-hero p,body.page-solutions .page-hero .lead{color:#fff}
body.page-solutions .page-hero .eyebrow{color:var(--auto-amber)}
body.page-solutions .hero-photo{border-radius:4px;box-shadow:0 24px 60px rgba(5,17,23,.35);aspect-ratio:1.35}
body.page-solutions .solution-grid{grid-template-columns:repeat(3,1fr);gap:13px}
body.page-solutions .solution-grid article,.solution-grid .feature-card{background:#fff;border:1px solid var(--auto-line);border-top:4px solid var(--auto-signal);border-radius:3px;padding:26px;min-height:270px;position:relative}
body.page-solutions .solution-grid article:nth-child(3n+2){border-top-color:var(--auto-cyan);transform:translateY(20px)}
body.page-solutions .solution-grid article:before{content:"AFTERMARKET / USE CASE";font-size:9px;letter-spacing:.18em;color:var(--auto-steel)}
body.page-solutions.page-detail .page-hero{background:linear-gradient(130deg,#111e26,#1f6573)}
body.page-solutions.page-detail .solution-points{grid-template-columns:1fr 1fr;gap:0;border-top:1px solid var(--auto-line)}
body.page-solutions.page-detail .solution-points li{padding:17px 23px;border-bottom:1px solid var(--auto-line);border-left:3px solid var(--auto-signal)}
body.page-solutions.page-detail .workflow-grid{grid-template-columns:repeat(5,1fr);gap:1px;background:var(--auto-line)}
body.page-solutions.page-detail .workflow-step{background:#fff;border:0;border-radius:0;padding:23px;min-height:205px}
body.page-solutions.page-detail .workflow-step:nth-child(even){background:#eaf0f0}

/* Supply network: five factory nodes and a clear route to export. */
body.page-factory-network .page-hero{background:#e8eff0;border-left:9px solid var(--auto-signal)}
body.page-factory-network .hero-photo{border-radius:4px 30px 4px 30px;aspect-ratio:1.35}
body.page-factory-network .feature-grid{grid-template-columns:repeat(5,1fr);gap:1px;background:var(--auto-night);counter-reset:network}
body.page-factory-network .feature-grid article{background:#fff;border:0;border-radius:0;padding:23px;min-height:270px;position:relative;box-shadow:none}
body.page-factory-network .feature-grid article:before{counter-increment:network;content:"0" counter(network);display:block;color:var(--auto-signal);font:700 2.25rem/1 Georgia,serif;margin-bottom:30px}
body.page-factory-network .feature-grid article:nth-child(even){background:#edf3f3}
body.page-factory-network .feature-grid article:hover{background:var(--auto-night);color:#fff}
body.page-factory-network .feature-grid article:hover h3{color:#fff}
body.page-factory-network .side-photo{border-radius:4px;box-shadow:var(--auto-shadow);aspect-ratio:1.1}

/* Quality dossier: evidence hierarchy and audit-friendly spacing. */
body.page-quality .page-hero{background:linear-gradient(110deg,#e9f0f0,#fff);border-bottom:1px solid var(--auto-line)}
body.page-quality .hero-photo{border:10px solid #fff;box-shadow:var(--auto-shadow);border-radius:3px;aspect-ratio:1.35}
body.page-quality .feature-grid{grid-template-columns:repeat(4,1fr);gap:12px}
body.page-quality .feature-grid article{background:#fff;border:1px solid var(--auto-line);border-radius:3px;padding:24px;box-shadow:none;min-height:225px}
body.page-quality .feature-grid article:nth-child(4n+1){border-top:5px solid var(--auto-signal)}
body.page-quality .feature-grid article:nth-child(4n+2){border-top:5px solid var(--auto-cyan)}
body.page-quality .feature-grid article:nth-child(4n+3){border-top:5px solid var(--auto-blue)}
body.page-quality .feature-grid article:nth-child(4n+4){border-top:5px solid var(--auto-amber)}
body.page-quality .checklist{display:grid;grid-template-columns:repeat(2,1fr);gap:0 30px;border-top:1px solid var(--auto-line)}
body.page-quality .checklist li{padding:17px 0;border-bottom:1px solid var(--auto-line);list-style:none}
body.page-quality .checklist li:before{content:"✓";color:var(--auto-signal);font-weight:800;margin-right:12px}

/* Procurement: a control-room sequence for samples, inspection, shipping and reorder. */
body.page-procurement-process .page-hero{background:var(--auto-night);color:#fff}
body.page-procurement-process .page-hero h1,body.page-procurement-process .page-hero p,body.page-procurement-process .page-hero .lead{color:#fff}
body.page-procurement-process .page-hero .eyebrow{color:var(--auto-amber)}
body.page-procurement-process .hero-photo{border-radius:4px;filter:saturate(.88) contrast(1.06);aspect-ratio:1.35}
body.page-procurement-process .workflow-grid{grid-template-columns:repeat(4,1fr);gap:1px;background:var(--auto-line)}
body.page-procurement-process .workflow-step{background:#fff;border:0;border-top:5px solid var(--auto-signal);border-radius:0;padding:26px;min-height:205px;box-shadow:none}
body.page-procurement-process .workflow-step:nth-child(even){border-top-color:var(--auto-cyan);background:#eaf0f0}
body.page-procurement-process .workflow-step .eyebrow{font-size:1.55rem;color:var(--auto-blue)}
body.page-procurement-process .feature-grid{grid-template-columns:repeat(4,1fr);gap:12px}
body.page-procurement-process .feature-grid article{background:#fff;border:1px solid var(--auto-line);border-radius:3px;padding:22px;box-shadow:none}

/* RFQ and contact: high contrast intake with clear B2B fields. */
body.page-request-a-quote .page-hero{background:radial-gradient(circle at 74% 20%,rgba(88,183,198,.32),transparent 28%),var(--auto-night);color:#fff}
body.page-request-a-quote .page-hero h1,body.page-request-a-quote .page-hero p,body.page-request-a-quote .page-hero .lead{color:#fff}
body.page-request-a-quote .page-hero .eyebrow{color:var(--auto-amber)}
body.page-request-a-quote .hero-photo{border-radius:4px 32px 4px 32px;border:1px solid rgba(255,255,255,.3);aspect-ratio:1.28}
body.page-request-a-quote .rfq-form{background:#fff;border:1px solid var(--auto-line);border-top:5px solid var(--auto-signal);border-radius:3px;padding:34px;box-shadow:var(--auto-shadow)}
body.page-request-a-quote .rfq-form input,body.page-request-a-quote .rfq-form select,body.page-request-a-quote .rfq-form textarea{border-radius:2px;border:1px solid #c4d1d4;background:#fbfdfd}
body.page-request-a-quote .form-aside .callout{background:#e8f0f0;border:0;border-left:4px solid var(--auto-amber);border-radius:0}
body.page-contact .page-hero{background:#e8f0f0}

/* Blog/editorial: compact cards and a readable long-form article measure. */
body.page-blog .page-hero{background:linear-gradient(105deg,#e8f0f0,#f5f7f6);border-bottom:1px solid var(--auto-line)}
body.page-blog .hero-photo{border-radius:3px;box-shadow:var(--auto-shadow);aspect-ratio:1.4}
body.page-blog .blog-grid{grid-template-columns:repeat(4,1fr);gap:14px}
body.page-blog .blog-grid .link-card{border:1px solid var(--auto-line);border-radius:3px;background:#fff;box-shadow:none;overflow:hidden;transition:.2s ease}
body.page-blog .blog-grid .link-card:hover{transform:translateY(-6px);border-color:var(--auto-signal);box-shadow:0 14px 30px rgba(231,111,61,.13)}
body.page-blog .blog-grid .card-image{aspect-ratio:1.52}
body.page-blog .blog-grid .link-card>div{padding:18px}
body.page-blog.page-detail .article-hero{background:var(--auto-night);color:#fff}
body.page-blog.page-detail .article-hero h1,body.page-blog.page-detail .article-hero p,body.page-blog.page-detail .article-hero .lead{color:#fff}
body.page-blog.page-detail .article-hero .eyebrow{color:var(--auto-amber)}
body.page-blog.page-detail .article-hero .hero-photo{border-radius:4px 32px 4px 32px;aspect-ratio:1.35}
body.page-blog.page-detail .article-content{max-width:920px}
body.page-blog.page-detail .article-section{padding:0 0 44px 27px;margin-bottom:44px;border-left:3px solid var(--auto-signal)}
body.page-blog.page-detail .article-section h2{font-size:clamp(1.8rem,3vw,2.7rem)}
body.page-blog.page-detail .article-aside{border-top:3px solid var(--auto-signal);background:#e8f0f0;padding:20px;border-radius:0}

/* Automotive-specific modules available to future template sections. */
.auto-fitment-map{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--auto-line);border:1px solid var(--auto-line);overflow:hidden}
.auto-fitment-zone{background:#fff;min-height:160px;padding:24px;position:relative;overflow:hidden}
.auto-fitment-zone:after{content:"";position:absolute;width:140px;height:140px;right:-48px;bottom:-56px;border:1px solid var(--auto-cyan);border-radius:50%;box-shadow:0 0 0 17px rgba(88,183,198,.1),0 0 0 36px rgba(88,183,198,.06)}
.auto-fitment-zone:nth-child(2):after{border-color:var(--auto-signal)}
.auto-fitment-zone b{position:relative;z-index:1;display:block;color:var(--auto-blue);font:700 1.42rem/1.1 Georgia,serif;margin-bottom:12px}
.auto-test-rail{display:grid;grid-template-columns:repeat(5,1fr);background:var(--auto-night);overflow:hidden}
.auto-test-rail>div{padding:22px;border-right:1px solid rgba(255,255,255,.18);color:#e6f1f1}
.auto-test-rail>div:last-child{border-right:0}
.auto-test-rail b{display:block;color:var(--auto-amber);font:700 25px Georgia,serif;margin-bottom:8px}
.auto-spec-note{padding:22px 26px;border-left:4px solid var(--auto-signal);background:#e8f0f0;border-radius:0 3px 3px 0}
.auto-buyer-matrix{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--auto-line);border:1px solid var(--auto-line)}
.auto-buyer-matrix>div{background:#fff;padding:22px;min-height:148px}
.auto-buyer-matrix>div:nth-child(even){background:#edf3f3}
.auto-sku-ribbon{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:15px 20px;background:var(--auto-night);color:#e6f1f1;border-left:5px solid var(--auto-signal)}
.auto-sku-ribbon b{color:var(--auto-amber);font-size:1.2rem}
.auto-standards-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--auto-line)}
.auto-standards-table th,.auto-standards-table td{padding:15px 17px;border-bottom:1px solid var(--auto-line);text-align:left;vertical-align:top}
.auto-standards-table th{color:var(--auto-blue);font-size:11px;letter-spacing:.1em;text-transform:uppercase;background:#eaf0f0}
.auto-standards-table tr:last-child td{border-bottom:0}
.auto-route-line{height:12px;border-radius:99px;background:linear-gradient(90deg,var(--auto-signal) 0 16%,var(--auto-blue) 16% 53%,var(--auto-cyan) 53% 78%,var(--auto-amber) 78%);box-shadow:0 0 0 7px rgba(29,79,104,.08)}

@media(max-width:1000px){
  body.page-home .hero-grid{grid-template-columns:1fr;gap:40px}
  body.page-home .hero-photo{transform:none;max-width:760px}
  body.page-home .category-grid,body.page-products.page-index .category-grid{grid-template-columns:repeat(2,1fr)}
  body.page-products.page-index .product-grid,body.page-solutions .solution-grid{grid-template-columns:repeat(2,1fr)}
  body.page-factory-network .feature-grid,body.page-quality .feature-grid,body.page-procurement-process .feature-grid,body.page-procurement-process .workflow-grid{grid-template-columns:repeat(2,1fr)}
  body.page-solutions.page-detail .workflow-grid{grid-template-columns:repeat(2,1fr)}
  .auto-fitment-map{grid-template-columns:repeat(2,1fr)}
  .auto-test-rail{grid-template-columns:repeat(3,1fr)}
  .auto-test-rail>div:nth-child(3){border-right:0}
  .auto-buyer-matrix{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:720px){
  body.site-body .brand-logo{width:201px!important}
  body.site-body .section{padding:70px 0}
  body.site-body .topbar{font-size:9px;padding:7px 16px}
  body.site-body .topbar span:last-child{display:none}
  body.page-home .hero{padding:56px 0 26px}
  body.page-home .hero-grid{min-height:0}
  body.page-home .hero h1{font-size:clamp(3rem,14vw,5.2rem)}
  body.page-home .visual-strip{grid-template-columns:1fr}
  body.page-home .visual-tile,body.page-home .visual-tile:first-child,body.page-home .visual-tile:last-child{aspect-ratio:16/9;transform:none}
  body.page-home .category-grid,body.page-products.page-index .category-grid,body.page-products.page-index .product-grid,body.page-solutions .solution-grid,body.page-factory-network .feature-grid,body.page-quality .feature-grid,body.page-procurement-process .feature-grid,body.page-procurement-process .workflow-grid,body.page-blog .blog-grid{grid-template-columns:1fr}
  body.page-products.page-index .product-card:nth-child(4n+2),body.page-products.page-index .product-card:nth-child(4n+2):hover{transform:none}
  body.page-solutions.page-detail .solution-points,body.page-quality .checklist{grid-template-columns:1fr}
  .auto-fitment-map,.auto-test-rail,.auto-buyer-matrix{grid-template-columns:1fr}
  .auto-test-rail>div,.auto-test-rail>div:nth-child(3){border-right:0;border-bottom:1px solid rgba(255,255,255,.18)}
  .auto-test-rail>div:last-child{border-bottom:0}
  .auto-standards-table{display:block;overflow-x:auto;white-space:nowrap}
}
