/*
Theme Name: DRIFF Heavy Parts — Escuro Corrigido
Theme URI: https://driffparts.com
Description: DRIFF five-category heavy parts lead-generation theme with secure private WordPress quote storage.
Version: 7.0.0
Author: DRIFF Performance LLC
Text Domain: driff-heavy-parts-dark
Requires PHP: 7.4
*/

:root{--bg:#08131f;--ink:#f9fbff;--muted:#a3afbb;--subtle:#8695a4;--border:#2c3a49;--card-bg:#0e1c2a;--card-shadow:0 10px 36px rgba(0,0,0,.08);--hero-bg:#06111b;--hero-text:#f9fbff;--hero-sub:#c4ccd4;--hero-border:rgba(255,255,255,.55);--hero-outline:rgba(4,18,26,.46);--hero-gradient:linear-gradient(90deg,#06111b 0%,rgba(6,17,27,.98) 32%,rgba(6,17,27,.4) 66%,rgba(6,17,27,.02) 100%);--hero-gradient-mobile:linear-gradient(180deg,#06111b 0%,rgba(6,17,27,.99) 39%,rgba(6,17,27,.28) 75%,rgba(6,17,27,.18) 100%);--eyebrow:#e5d7d0;--category-bg:#0b1824;--quote-bg:#081520;--quote-bg-opacity:.12;--quote-ink:#f8fbfd;--quote-muted:#acb9c5;--form-bg:#0f2232;--form-ink:#fafafa;--form-muted:#a6b9c6;--form-border:#405465;--input-bg:#1b3040;--input-border:#4a5b6b;--placeholder:#91a3b0;--reasons-bg:#09121c}

*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:82px}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer}img{max-width:100%;height:auto}.wrap{max-width:1220px;margin:0 auto;padding:0 34px}.site-header{position:relative;z-index:10;background:#f4f6f7;border-bottom:1px solid rgba(7,20,32,.1)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:35px;min-height:91px}.logo-link{width:197px;display:block;flex-shrink:0}.logo-link img{width:100%;height:73px;object-fit:contain;object-position:left center}.nav-items{display:flex;align-items:center;gap:30px;color:#101f2b;font-size:13px;font-weight:700}.nav-items>a:not(.button){opacity:.84}.nav-items>a:not(.button):hover{color:#f45718}.menu-toggle{display:none;background:transparent;border:0;color:#142131;font-size:27px}.button{display:inline-flex;align-items:center;justify-content:center;gap:13px;border-radius:9px;border:1px solid transparent;padding:16px 23px;font-size:14px;font-weight:800;line-height:1.2;transition:transform .2s,box-shadow .2s}.button:hover{transform:translateY(-2px)}.button-orange{background:#ff5815;border-color:#ff5815;color:#fff;box-shadow:0 6px 16px rgba(228,69,0,.16)}.button-orange:hover{background:#ef4710;box-shadow:0 9px 25px rgba(228,69,0,.23)}.button-outline{color:var(--hero-text);border-color:var(--hero-border);background:var(--hero-outline)}.nav-cta{white-space:nowrap}.hero{position:relative;min-height:615px;overflow:hidden;background:var(--hero-bg);color:var(--hero-text)}.hero::before{content:"";position:absolute;inset:0;z-index:1;background:var(--hero-gradient)}.hero-backdrop{position:absolute;right:0;top:0;height:100%;width:60%;background-image:url('assets/hero.webp');background-size:cover;background-position:center center;opacity:1}.hero-layout{position:relative;z-index:2;display:flex;align-items:center;min-height:615px}.hero-text{max-width:700px;padding:70px 0 76px}.eyebrow{display:flex;align-items:center;gap:12px;font-size:11px;letter-spacing:.16em;font-weight:900;color:var(--eyebrow);text-transform:uppercase}.small-line{display:inline-block;width:30px;height:3px;background:#ff5917;border-radius:4px}.hero h1{font-size:clamp(44px,5.1vw,70px);line-height:1.045;letter-spacing:-.065em;margin:23px 0 23px;font-weight:900;max-width:760px}.hero h1 em{font-style:normal;color:#ff611e}.hero h1 .ink-line{white-space:nowrap}.hero-text>p{max-width:565px;font-size:17px;line-height:1.65;color:var(--hero-sub);margin:0 0 30px}.hero-actions{display:flex;gap:11px;flex-wrap:wrap}.button-icon{font-size:17px}.hero-proof{display:flex;flex-wrap:wrap;gap:22px;margin-top:62px}.hero-proof span{font-size:12px;font-weight:650;color:var(--hero-sub)}.hero-proof b{color:#ff5d17;margin-right:8px;font-size:11px}.categories{padding:88px 0 86px;background:var(--category-bg)}.category-eyebrow{color:var(--muted)}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:28px;margin:15px 0 32px}.section-heading h2,.quote-intro h2,.reasons h2{font-size:clamp(35px,3.75vw,52px);line-height:1.12;letter-spacing:-.05em;margin:0;font-weight:850}.section-heading em,.quote-intro h2 em,.reasons em{font-style:normal;color:#fb5719}.section-heading p{max-width:505px;font-size:15px;line-height:1.6;color:var(--muted);margin:0}.cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.product-card{background:var(--card-bg);border:1px solid var(--border);border-radius:13px;overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--card-shadow);transition:transform .2s,border-color .2s}.product-card:hover{transform:translateY(-5px);border-color:rgba(255,100,30,.45)}.product-img{aspect-ratio:1/1;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}.product-img img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;transform:scale(.98)}.product-body{padding:20px 17px 21px;display:flex;flex:1;flex-direction:column}.product-body h3{font-size:16px;font-weight:850;letter-spacing:-.02em;line-height:1.25;margin:0 0 11px}.product-body p{font-size:12px;line-height:1.58;color:var(--muted);margin:0 0 18px}.examples{font-size:10px;color:var(--subtle);border-top:1px solid var(--border);padding:12px 0 4px;line-height:1.45}.card-quote{color:#ff5b16;margin-top:auto;padding-top:9px;font-size:12px;font-weight:850;display:flex;justify-content:space-between;align-items:center}.card-quote span{font-size:17px}.micro-note{font-size:11px;color:var(--subtle);margin:20px 0 0}.quote-section{background:var(--quote-bg);color:var(--quote-ink);padding:93px 0 92px;position:relative;overflow:hidden}.quote-section::before{content:"";position:absolute;left:0;bottom:0;width:48%;height:64%;background:linear-gradient(0deg,var(--quote-bg),transparent),url('assets/hero.webp') center/cover no-repeat;opacity:var(--quote-bg-opacity);pointer-events:none}.quote-layout{display:grid;grid-template-columns:minmax(0, .85fr) minmax(0,1.15fr);gap:74px;position:relative}.quote-intro h2{font-size:clamp(44px,5vw,64px);margin:18px 0 19px}.quote-intro>p{font-size:16px;line-height:1.65;color:var(--quote-muted);max-width:445px;margin-bottom:44px}.benefit{display:flex;gap:17px;align-items:flex-start;margin:26px 0}.benefit-mark{border:2px solid #ff5b14;color:#ff5b14;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-weight:900;font-size:20px;flex-shrink:0}.benefit h3{font-size:15px;margin:0 0 7px}.benefit p{font-size:12px;line-height:1.5;color:var(--quote-muted);max-width:300px;margin:0}.direct-contact{display:flex;flex-wrap:wrap;gap:11px 18px;margin-top:44px}.direct-contact p{flex-basis:100%;margin:0;color:var(--quote-muted);font-size:12px}.direct-contact a{font-weight:800;color:#ff5d18;font-size:13px}.form-panel{background:var(--form-bg);color:var(--form-ink);border:1px solid var(--form-border);border-radius:18px;padding:36px 34px;box-shadow:0 18px 52px rgba(0,0,0,.08)}.form-caption{color:#ff5a15;font-size:10px;font-weight:900;letter-spacing:.17em}.form-heading h3{font-size:27px;letter-spacing:-.045em;margin:9px 0 4px}.form-heading p{font-size:12px;color:var(--form-muted);margin:0 0 27px}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 14px}.field{display:flex;flex-direction:column;gap:7px}.field.full{margin-bottom:17px}.field label{font-size:11px;font-weight:800;color:var(--form-ink)}.field label span{color:#ff5b19}.field input,.field textarea{background:var(--input-bg);border:1px solid var(--input-border);border-radius:7px;color:var(--form-ink);width:100%;padding:12px 13px;outline:none;font-size:13px;line-height:1.45}.field textarea{resize:vertical;min-height:76px}.field input:focus,.field textarea:focus{border-color:#fb5b1d;box-shadow:0 0 0 3px rgba(255,92,20,.12)}.field input::placeholder,.field textarea::placeholder{color:var(--placeholder)}.honeypot{position:absolute;left:-9999px;opacity:0;pointer-events:none}.consent{display:flex;align-items:flex-start;gap:9px;font-size:10px;line-height:1.5;color:var(--form-muted);margin:19px 0}.consent input{margin:2px 0 0;accent-color:#ff5b16}.consent a{text-decoration:underline}.submit-button{width:100%;justify-content:center;font-size:15px}.form-disclaimer{color:var(--form-muted);font-size:10px;line-height:1.55;text-align:center;margin:15px 0 0}.notice{border-radius:8px;padding:13px 15px;font-size:13px;margin-bottom:15px}.notice.success{color:#0a583b;background:#d9f5e5}.notice.error{color:#7f2222;background:#fce5e5}.reasons{padding:82px 0;background:var(--reasons-bg)}.reasons-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:90px}.reasons h2{margin:18px 0}.reasons-grid>div>p{font-size:14px;line-height:1.6;color:var(--muted);max-width:460px}.reasons-points{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.reasons-points>div{border-left:1px solid var(--border);padding-left:20px}.reasons-points span{font-size:12px;color:#fa5b18;font-weight:900}.reasons-points h3{font-size:14px;margin:23px 0 10px}.reasons-points p{font-size:12px;line-height:1.55;color:var(--muted)}.footer{background:#eef2f5;color:#233142;padding:52px 0 16px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:30px}.footer-brand img{max-width:172px;height:72px;object-fit:contain;object-position:left}.footer-brand p{max-width:250px;font-size:12px;line-height:1.6;color:#657083}.footer h3{font-size:13px;margin:11px 0 20px}.footer a{display:block;font-size:12px;color:#4c5b6a;margin-bottom:11px}.footer a:hover,.footer-inquiry{color:#f35b1a!important}.footer p{font-size:12px;line-height:1.6;color:#657083}.footer-bottom{border-top:1px solid #d6dee5;margin-top:42px;padding-top:19px;display:flex;justify-content:space-between;gap:20px;color:#7b8594;font-size:10px;line-height:1.5}.fallback{min-height:55vh;padding-top:65px;padding-bottom:65px}.fallback h1{font-size:40px}
@media(max-width:1100px){.cards{grid-template-columns:repeat(3,minmax(0,1fr))}.quote-layout{gap:36px}.hero{min-height:580px}.hero-layout{min-height:580px}.hero-backdrop{width:65%}.nav-items{gap:18px}}
@media(max-width:780px){.wrap{padding:0 22px}.header-inner{min-height:70px}.logo-link{width:155px}.logo-link img{height:60px}.menu-toggle{display:block}.nav-items{display:none;position:absolute;top:69px;left:0;right:0;background:#f5f7f8;box-shadow:0 15px 20px rgba(5,18,27,.12);padding:19px 22px;flex-direction:column;align-items:stretch;gap:18px;color:#122334}.nav-items.open{display:flex}.hero,.hero-layout{min-height:680px}.hero-layout{align-items:flex-start}.hero-backdrop{width:100%;height:66%;bottom:0;top:auto;opacity:.78;background-position:center}.hero::before{background:var(--hero-gradient-mobile)}.hero-text{padding:50px 0 230px}.hero h1{font-size:clamp(42px,9.1vw,64px)}.hero-text>p{font-size:14px;max-width:490px}.hero-proof{margin-top:32px;gap:11px 19px}.hero-proof span{font-size:10px}.section-heading{display:block}.section-heading h2{margin-bottom:15px}.section-heading p{max-width:none}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.categories{padding:65px 0}.quote-layout{grid-template-columns:1fr}.quote-section{padding:65px 0}.quote-intro>p{margin-bottom:30px}.quote-section::before{width:100%;opacity:calc(var(--quote-bg-opacity) * .4)}.quote-intro h2{font-size:52px}.benefit{margin:16px 0}.reasons{padding:60px 0}.reasons-grid{grid-template-columns:1fr;gap:30px}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}.footer-bottom{display:block}.footer-bottom>span{display:block;margin-bottom:10px}}
@media(max-width:480px){.hero,.hero-layout{min-height:660px}.hero-text{padding-top:38px}.hero h1{font-size:42px}.hero h1 .ink-line{white-space:normal}.hero-actions{gap:9px}.hero-actions .button{font-size:12px;padding:13px 15px}.hero-proof{margin-top:28px}.hero-backdrop{height:57%;background-position:55% center}.cards{grid-template-columns:1fr}.product-card{display:grid;grid-template-columns:132px minmax(0,1fr);align-items:stretch;min-height:165px}.product-img{height:100%;aspect-ratio:auto}.product-body{padding:17px 14px}.product-body h3{font-size:15px}.product-body p{font-size:11px;margin-bottom:10px}.examples{display:none}.section-heading h2{font-size:39px}.field-grid{grid-template-columns:1fr}.form-panel{padding:25px 20px}.reasons-points{grid-template-columns:1fr}.reasons-points h3{margin:7px 0}.reasons-points>div{padding-bottom:9px}.footer-grid{grid-template-columns:1fr 1fr;gap:20px}.footer-brand{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* DRIFF v6 — faithful implementation of the approved dark landing-page mockup. */
body.driff-landing {background:#06111b!important;color:#f7fafd!important}
body.driff-landing .site-header {background:#07121c!important;border-bottom:1px solid #25333d!important;position:relative;z-index:50}
body.driff-landing .header-inner {min-height:90px}
body.driff-landing .logo-link{width:230px}
body.driff-landing .logo-link img{height:78px;width:100%;object-fit:contain}
body.driff-landing .nav-items{color:#fff!important;font-size:13px}
body.driff-landing .nav-items>a:not(.button){color:#e6edf4!important}
body.driff-landing .nav-items>a:not(.button):hover{color:#ff6523!important}
body.driff-landing .hero{min-height:615px;background:#07121b!important;isolation:isolate}
body.driff-landing .hero::before{background:linear-gradient(90deg,#06111b 0%,#06111b 30%,rgba(6,17,27,.99) 41%,rgba(6,17,27,.81) 50%,rgba(6,17,27,.21) 77%,rgba(6,17,27,.02) 100%)!important}
body.driff-landing .hero-backdrop{inset:0!important;width:100%!important;height:100%!important;background:url('assets/hero-cinematic.webp') center center / cover no-repeat!important;opacity:.96!important}
body.driff-landing .hero-text{max-width:710px;padding-top:67px;padding-bottom:63px}
body.driff-landing .hero h1{font-size:clamp(44px,4.8vw,68px);letter-spacing:-.045em;line-height:1.055;max-width:720px;text-shadow:0 2px 10px rgba(0,0,0,.22)}
body.driff-landing .hero h1 em{color:#ff601f}
body.driff-landing .hero-text>p{font-size:16px;max-width:530px}
body.driff-landing .hero-proof{margin-top:43px;gap:24px}
body.driff-landing .hero-proof span{font-size:12px;color:#e3ebf1}
body.driff-landing .hero-proof b{color:#ff661d;font-size:19px}
body.driff-landing .categories{background:linear-gradient(160deg,#091722,#050c14)!important;padding:69px 0 78px}
body.driff-landing .section-heading{display:block;margin:14px 0 29px}
body.driff-landing .section-heading h2{font-size:clamp(38px,3.8vw,55px);margin:0 0 10px;color:#f9fbff}
body.driff-landing .section-heading p{max-width:760px;font-size:14px;color:#b1bdc8}
body.driff-landing .cards{gap:11px;grid-template-columns:repeat(5,minmax(0,1fr))}
body.driff-landing .product-card{border:1px solid #334452;background:linear-gradient(180deg,#101f2c,#08121a)!important;border-radius:10px;box-shadow:0 12px 24px rgba(0,0,0,.11)}
body.driff-landing .product-img{background:#050b10!important;aspect-ratio:1.1/1;min-height:180px;overflow:hidden;position:relative}
body.driff-landing .product-img::after{content:'';position:absolute;inset:70% 0 0;background:linear-gradient(transparent,#0c1924)}
body.driff-landing .product-img img{object-fit:contain!important;width:100%!important;height:100%!important;mix-blend-mode:normal!important;transform:none!important}
body.driff-landing .product-body{padding:15px 15px 17px}
body.driff-landing .product-body h3{color:#fff;font-size:15px;min-height:38px;margin:0 0 8px}
body.driff-landing .product-body p{color:#c4cdd6;font-size:12px;margin-bottom:12px;min-height:60px}
body.driff-landing .product-body .examples{color:#91a3b0;border-color:#263744}
body.driff-landing .card-quote{font-size:12px;color:#ff6c2e}
body.driff-landing .quote-section{background:linear-gradient(135deg,#081520,#04101a)!important;padding:83px 0 90px}
body.driff-landing .quote-section::before{background:linear-gradient(0deg,#07121c,transparent),url('assets/hero-cinematic.webp') right center/cover no-repeat;width:52%;opacity:.13}
body.driff-landing .quote-intro h2{color:#fff;margin-top:15px}
body.driff-landing .benefit-mark{color:#ff6b22;border-color:#ff6b22}
body.driff-landing .form-panel{background:#0d1c2a!important;border:1px solid #536475!important;box-shadow:0 16px 30px rgba(0,0,0,.21);border-radius:14px}
body.driff-landing .form-heading h3{color:#fff}
body.driff-landing .field input,body.driff-landing .field textarea{background:#1b2c3a!important;color:#fff!important;border-color:#4a5b6b!important}
body.driff-landing .field input::placeholder,body.driff-landing .field textarea::placeholder{color:#aab8c3!important}
body.driff-landing .reasons{background:#08131d!important;padding:70px 0 76px}
body.driff-landing .reasons h2{color:#fff}
body.driff-landing .footer{background:#07121b!important;color:#e4eaf0!important;border-top:1px solid #283945}
body.driff-landing .footer p,body.driff-landing .footer a{color:#a4b3bf}
body.driff-landing .footer h3{color:#fff}
body.driff-landing .footer-bottom{border-top-color:#2c3e4b;color:#9faeb9}
@media(max-width:1100px){body.driff-landing .cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){body.driff-landing .hero,body.driff-landing .hero-layout{min-height:700px}body.driff-landing .hero-backdrop{background-position:58% bottom!important}body.driff-landing .hero::before{background:linear-gradient(180deg,#06111b 0%,#06111b 14%,rgba(6,17,27,.97) 32%,rgba(6,17,27,.80) 49%,rgba(6,17,27,.18) 80%,rgba(6,17,27,.1) 100%)!important}body.driff-landing .hero-text{padding:42px 0 250px}body.driff-landing .hero h1{font-size:clamp(38px,6.9vw,58px)}body.driff-landing .nav-items{background:#0b1b29!important}body.driff-landing .cards{grid-template-columns:repeat(2,minmax(0,1fr))}body.driff-landing .section-heading{display:block}}
@media(max-width:480px){body.driff-landing .hero,body.driff-landing .hero-layout{min-height:760px}body.driff-landing .hero h1{font-size:41px}body.driff-landing .hero-text{padding:36px 0 270px}body.driff-landing .hero-proof{margin-top:26px;gap:8px 20px}body.driff-landing .hero-proof span{font-size:10px}body.driff-landing .cards{grid-template-columns:1fr}body.driff-landing .product-card{display:grid;grid-template-columns:132px minmax(0,1fr);min-height:170px}body.driff-landing .product-img{height:100%;min-height:170px;aspect-ratio:auto}body.driff-landing .product-body h3{min-height:0}body.driff-landing .product-body p{min-height:0}body.driff-landing .footer-grid{grid-template-columns:1fr 1fr}}

/* Use an isolated clean excavator crop so the original visual reference lettering cannot appear twice. */
body.driff-landing .hero-backdrop{left:auto!important;right:0!important;top:0!important;bottom:0!important;width:65%!important;height:100%!important;background-position:center center!important;background-size:cover!important}
@media(max-width:780px){body.driff-landing .hero-backdrop{width:100%!important;height:62%!important;top:auto!important;bottom:0!important;background-position:64% center!important}}

/* Final release v7: updates footer and consistent dark palette. */
body.driff-landing .nav-cta{background:#ff5815!important;color:#fff!important}
body.driff-landing .footer-brand img{max-width:225px;width:100%;height:auto;max-height:110px}
body.driff-landing .hero-actions .button-orange{box-shadow:0 9px 23px rgba(255,89,19,.25)}
@media(max-width:480px){body.driff-landing .logo-link{width:175px}body.driff-landing .logo-link img{height:65px}body.driff-landing .footer-brand img{max-width:195px}}
