/* Microtarash Industrial Premium homepage — visual layer only. */
:root{--bg:#f7f8f8;--panel:#eef0f1;--panel-2:#fff;--ink:#15191b;--muted:#667075;--copper:#e87520;--copper-light:#ffb15f;--copper-deep:#bd4f0b;--dark:#30393d;--dark-panel:#3b464a;--line:#dfe3e5;--green:#3fa56b}
body{background:var(--bg);color:var(--ink)}
header{background:rgba(9,13,16,.94)!important;border-bottom:1px solid rgba(255,255,255,.08)!important;color:#fff!important;backdrop-filter:blur(14px)}
header nav.wrap{max-width:1280px;padding:10px clamp(16px,3vw,30px);min-height:64px}
.brand .mark{border-color:var(--copper)!important;background:radial-gradient(circle at 50% 50%,transparent 0 6px,rgba(232,117,32,.25) 6px 7px,transparent 7px 12px,rgba(232,117,32,.3) 12px 13px,transparent 13px 17px)!important}
.brand .name b,.brand .name span{color:#fff}.brand .name span{color:#889196}.logo-note{display:none!important}
.navlinks{gap:clamp(13px,2.2vw,28px)!important;font-size:12px!important}.navlinks a{color:#c5cbce!important}.navlinks a:hover{color:#fff!important}.navlinks a::after{background:var(--copper)!important}.navlinks a.cta-link{background:linear-gradient(100deg,#ff7a20,#e55c11)!important;color:#fff!important;padding:10px 17px!important;border-radius:4px!important}
.hero{min-height:590px;padding:95px 0 58px!important;background-color:#0b1013;background-image:linear-gradient(90deg,rgba(7,11,13,.97) 0%,rgba(7,11,13,.78) 42%,rgba(7,11,13,.24) 100%),url('/assets/hero-cnc.svg')!important;background-size:cover!important;background-position:center!important;color:#fff!important;display:flex;align-items:center}
.hero::before{display:none!important}.hero::after{display:none!important}.hero .wrap{width:min(1280px,calc(100% - 40px))}.eyebrow{color:#f0a15b!important;font-size:12px!important}.eyebrow .dash{background:var(--copper)!important}
h1{font-size:clamp(36px,5vw,62px)!important;line-height:1.25!important;max-width:16ch!important;letter-spacing:-.02em}.hero p.lead{color:#cbd1d3!important;font-size:16px!important;max-width:55ch!important}.gold-text{background:linear-gradient(100deg,#ff8a31,#ffc47f)!important;-webkit-background-clip:text!important;background-clip:text!important}
.hero-ctas{gap:10px!important}.btn-copper{background:linear-gradient(100deg,#c94d0a,#f06b18,#ff9b43)!important;color:#fff!important;border-radius:4px!important;box-shadow:0 12px 28px rgba(232,101,20,.18)}.btn-outline{border:1px solid rgba(255,255,255,.28)!important;color:#fff!important;background:rgba(255,255,255,.03)!important;border-radius:4px!important}.btn-outline:hover{border-color:var(--copper)!important}
.spec-row{gap:0!important;justify-content:flex-start!important;max-width:760px;border-top:1px solid rgba(255,255,255,.13);margin-top:42px!important;padding-top:18px}.spec-row div{flex:1;border-inline-start:1px solid rgba(255,255,255,.12)!important;padding-inline:20px}.spec-row div:first-child{padding-inline-start:0;border-inline-start:0!important}.spec-row b{font-size:20px!important;color:#fff}.spec-row span{color:#9ea7aa!important}
.trust-strip{background:#11171a!important;padding:0!important}.trust-grid{max-width:1280px}.trust-item{padding:17px 20px!important;border-color:rgba(255,255,255,.09)!important}.trust-item b{font-size:13px!important}.trust-item span{font-size:10px!important}
section{padding:68px 0!important}.section-head{margin-bottom:30px!important}.section-head h2{font-size:clamp(26px,3.2vw,36px)!important}.section-head p{font-size:13px!important}
.services{background:#f7f8f8!important}.services .grid4{gap:14px!important}.card{border:1px solid #e2e5e6!important;border-radius:6px!important;box-shadow:0 8px 25px rgba(15,23,28,.06)!important;overflow:hidden;padding:0 0 20px!important}.card:hover{transform:translateY(-5px)!important;box-shadow:0 16px 35px rgba(15,23,28,.11)!important}.card::before{height:3px!important}.card h3,.card p,.card .tag,.card .service-link{margin-inline:20px}.card h3{margin-top:18px!important;font-size:15px!important}.card p{font-size:12px!important;line-height:1.8}.card .tag{margin-top:10px!important}.service-link{font-size:11px!important}
.card .service-visual{height:150px;width:100%;background-size:cover;background-position:center;position:relative;overflow:hidden}.card .service-visual::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(7,11,13,.16))}.service-visual.turning{background-image:url('/assets/service-turning.svg')}.service-visual.milling{background-image:url('/assets/service-milling.svg')}.service-visual.axis4{background-image:url('/assets/service-4axis.svg')}.service-visual.batch{background-image:url('/assets/service-batch.svg')}
.why{background:#fff!important}.why-grid{gap:38px!important}.why-item{padding:15px 0!important}.why-item b{font-size:13px!important}.why-item p{font-size:11.5px!important}.spec-box{background:#11181b!important;border-radius:5px!important;box-shadow:0 15px 35px rgba(7,11,13,.12)}
#gallery{background:#0e1518!important;color:#fff!important}.gallery-dark .section-head p,#gallery .section-head p{color:#aeb7ba!important}#gallery .section-head h2{color:#fff!important}#gallery .eyebrow{color:#ffae63!important}#gallery .no-files{color:#8e999d!important}.gallery-card{background:#151d21;border:1px solid #273137;border-radius:4px;overflow:hidden}.gallery-card img,.gallery-card video{width:100%;aspect-ratio:4/3;object-fit:cover}.gallery-card .gallery-info{padding:12px 14px}.gallery-card h3{font-size:12px;margin:0 0 4px;color:#fff}.gallery-card p{font-size:10px;color:#98a2a6;margin:0}
#blog{background:#f4f6f7!important}.post{background:#fff;border:1px solid #e1e5e7;border-radius:5px;padding:0 0 18px!important;overflow:hidden;box-shadow:0 8px 25px rgba(15,23,28,.05)}.post .post-cover{height:130px;background:#dfe3e4 center/cover no-repeat}.post .post-body{padding:15px 18px}.post .date,.post .read{color:var(--copper)!important}.post h3{font-size:14px!important}.post p{font-size:11.5px!important}
.materials-section{background:#fff}.materials-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.material-card{border:1px solid #e1e5e7;border-radius:5px;background:#fff;padding:12px;text-align:center;box-shadow:0 5px 18px rgba(15,23,28,.04)}.material-card .material-swatch{height:62px;border-radius:3px;margin-bottom:9px;background:linear-gradient(135deg,#dfe3e4,#8b9497,#eef0ef,#727b7e);position:relative;overflow:hidden}.material-card:nth-child(2) .material-swatch{background:linear-gradient(135deg,#1c2022,#72787a,#303638)}.material-card:nth-child(3) .material-swatch{background:linear-gradient(135deg,#6b7072,#c6cbcb,#7d8385)}.material-card:nth-child(4) .material-swatch{background:linear-gradient(135deg,#b87333,#f1b05f,#8c5427)}.material-card:nth-child(5) .material-swatch{background:linear-gradient(135deg,#bfc5c7,#e7eaeb,#777f81)}.material-card:nth-child(6) .material-swatch{background:linear-gradient(135deg,#b7bfc1,#eef0f0,#939b9d)}.material-card b{font-size:12px}.material-card span{display:block;font-size:9px;color:#7b8589;margin-top:2px}
.faq{background:#f4f6f7!important}.faq-list{background:#fff;border:1px solid #e0e4e6;border-radius:5px;overflow:hidden}.faq-item{padding:0 18px;border-color:#e6e9ea!important}.faq-item summary{font-size:12px!important;padding:15px 0!important}.faq-item p{font-size:11.5px!important}
.portal{background:#101719!important}.portal-panel{background:#161f23!important;border-color:#2c383d!important;border-radius:5px}.dropzone{background:#11181b!important;border-color:#344247!important}.final-cta{background:#0a0f12!important;padding:45px 0!important}
footer{background:#090e11!important}.foot-note{border-color:#20282c!important}
/* section separators and compact rhythm */
section:not(.hero):not(.trust-strip)::before{content:'';position:absolute;top:0;left:50%;width:min(1180px,calc(100% - 40px));height:1px;transform:translateX(-50%);background:rgba(20,30,34,.05)}
@media(max-width:900px){.materials-grid{grid-template-columns:repeat(3,1fr)}.hero{min-height:540px}.navlinks{gap:10px!important}.navlinks a:not(.cta-link){display:none!important}}
@media(max-width:600px){.hero{padding:75px 0 45px!important;min-height:560px;background-position:62% center!important}.hero .wrap{width:min(100% - 28px,1280px)}h1{font-size:34px!important}.hero p.lead{font-size:13px!important}.spec-row{display:grid!important;grid-template-columns:1fr 1fr}.spec-row div{padding:10px!important}.materials-grid{grid-template-columns:repeat(2,1fr)}.card .service-visual{height:145px}}

/* V8 visual corrections — aligned with the approved Microtarash reference */
.hero{min-height:620px!important;padding:78px 0 50px!important;background:#080d10!important;background-image:radial-gradient(circle at 78% 30%,rgba(232,117,32,.10),transparent 28%),linear-gradient(90deg,#070b0d 0%,#0a1013 55%,#10181b 100%)!important;display:flex;align-items:center}
.hero .wrap.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(430px,1.02fr);gap:48px;align-items:center;width:min(1280px,calc(100% - 40px))}
.hero-copy{position:relative;z-index:3;padding:15px 0}
.hero h1{max-width:17ch!important;font-size:clamp(34px,4.3vw,57px)!important}
.hero p.lead{max-width:52ch!important}
.hero-visual{position:relative;min-height:445px;border:1px solid rgba(255,255,255,.12);border-radius:7px;overflow:hidden;background:#10171a;box-shadow:0 25px 70px rgba(0,0,0,.35)}
.hero-slide{position:absolute;inset:0;opacity:1;transition:opacity .25s ease}.hero-slide img,#heroSlideImage{width:100%;height:100%;object-fit:cover;display:block;transition:opacity .18s ease}.hero-slide-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,9,11,.03) 30%,rgba(5,9,11,.76) 100%),linear-gradient(90deg,rgba(5,9,11,.04),rgba(5,9,11,.16));pointer-events:none}.hero-slide-caption{position:absolute;right:24px;bottom:22px;display:flex;flex-direction:column;gap:5px;color:#fff;z-index:2}.hero-slide-caption .mono{font-size:9px;color:#ffae63;letter-spacing:.12em}.hero-slide-caption b{font-size:18px}.hero-dots{position:absolute;left:22px;bottom:24px;display:flex;gap:7px;z-index:3}.hero-dot{width:26px;height:3px;border:0;border-radius:10px;background:rgba(255,255,255,.25);padding:0;cursor:pointer}.hero-dot.active{background:var(--copper)}
.spec-row{max-width:650px!important}
.why{padding-top:62px!important;padding-bottom:72px!important}.why-grid{grid-template-columns:1.05fr .95fr!important;align-items:stretch!important}.why-list{display:grid;grid-template-columns:1fr 1fr;gap:10px 20px}.why-item{display:grid;grid-template-columns:42px 1fr;gap:13px;border:1px solid #e5e8e9!important;border-top:1px solid #e5e8e9!important;border-radius:5px;padding:17px!important;background:#fff;box-shadow:0 5px 18px rgba(15,23,28,.035)}.why-item:hover{border-color:#f0a15b!important;transform:translateY(-2px);transition:.2s}.why-icon{width:38px;height:38px;border:1px solid #e0a064;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:inherit;font-size:10px;color:#c95d13;background:#fff8f1;position:relative}.why-icon::after{content:'';position:absolute;inset:5px;border:1px dashed rgba(201,93,19,.35);border-radius:50%}.why-item b{font-size:13px!important;margin-bottom:5px}.why-item p{font-size:11.2px!important;line-height:1.9}.spec-box{height:100%;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center}
.materials-section{padding-top:52px!important;padding-bottom:58px!important}.materials-section .section-head{text-align:center;margin-inline:auto}.materials-grid{grid-template-columns:repeat(6,1fr)!important}.material-card{transition:.2s}.material-card:hover{transform:translateY(-3px);border-color:#f0a15b;box-shadow:0 12px 28px rgba(15,23,28,.09)}
.faq-list{max-width:1000px!important}.faq-item summary{justify-content:flex-start!important;gap:10px!important}.faq-item summary::before{order:0!important;flex:0 0 24px;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border:1px solid #e2a065;border-radius:50%;font-size:15px;margin-inline-start:0;margin-inline-end:0}.faq-item summary{padding-inline:4px!important}.faq-item summary{direction:rtl}.faq-item summary::before{margin-inline-end:2px}
@media(max-width:950px){.hero .wrap.hero-grid{grid-template-columns:1fr;gap:28px}.hero-copy{padding-top:10px}.hero-visual{min-height:360px}.why-grid{grid-template-columns:1fr!important}.materials-grid{grid-template-columns:repeat(3,1fr)!important}}
@media(max-width:600px){.hero{min-height:auto!important;padding:58px 0 35px!important}.hero .wrap.hero-grid{width:min(100% - 28px,1280px)}.hero-visual{min-height:285px}.hero-slide-caption{right:15px;bottom:15px}.hero-slide-caption b{font-size:15px}.hero-dots{left:15px;bottom:17px}.why-list{grid-template-columns:1fr}.materials-grid{grid-template-columns:repeat(2,1fr)!important}}

/* V17 — CMS-controlled complete site palette */
:root{
  --dark:#394247;--dark-panel:#465055;--dark-soft:#30383d;--dark-text:#fff;--dark-muted:#c2c9cc;
  --header-bg:#252d31;--footer-bg:#252d31;--card:#fff;--line:#dfe3e5;
  --font:var(--site-font,'Vazirmatn',sans-serif);
  --heading-font:var(--heading-font-global,'Vazirmatn',sans-serif);
}
body{font-family:var(--font)!important;color:var(--ink)}
h1,h2,h3,h4,h5,h6,.brand,.navlinks,.btn,.eyebrow{font-family:var(--font)!important}
header{background:var(--header-bg)!important}
.hero{background-color:var(--dark)!important;color:var(--dark-text)!important;background-image:linear-gradient(90deg,color-mix(in srgb,var(--dark) 96%,transparent),color-mix(in srgb,var(--dark) 78%,transparent),color-mix(in srgb,var(--dark) 24%,transparent)),var(--hero-image,url('/assets/hero-cnc.svg'))!important}
.trust-strip{background:var(--dark-soft)!important}
.spec-box{background:var(--dark-panel)!important}
#gallery{background:var(--dark)!important;color:var(--dark-text)!important}
.gallery-card{background:var(--dark-panel)!important;border-color:var(--dark-line,rgba(255,255,255,.12))!important}
.gallery-card h3{color:var(--dark-text)!important}.gallery-card p{color:var(--dark-muted)!important}
.portal{background:var(--dark-soft)!important}.portal-panel{background:var(--dark-panel)!important;border-color:var(--dark-line,rgba(255,255,255,.12))!important}.dropzone{background:var(--dark)!important;border-color:var(--dark-line,rgba(255,255,255,.12))!important}
.final-cta{background:var(--dark)!important;color:var(--dark-text)!important}
footer{background:var(--footer-bg)!important}
.card,.post,.material-card,.faq-list,.faq details{background:var(--card)!important;border-color:var(--line)!important}
.gallery-caption{background:transparent!important;border-top:0!important;padding:10px 4px 4px!important;min-height:0!important}
.gallery-caption strong{color:var(--dark-text,#fff)!important}.gallery-caption span{color:var(--dark-muted,#c2c9cc)!important;display:block!important}
@supports not (background:color-mix(in srgb, #000 50%, #fff)){
  .hero{background-image:linear-gradient(90deg,rgba(57,66,71,.96),rgba(57,66,71,.78),rgba(57,66,71,.24)),url('/assets/hero-cnc.svg')!important}
}

/* V26: slide filenames/titles are intentionally not displayed on the hero images. */
.hero-slide-caption{display:none!important}


/* V55 — Premium industrial redesign: visual layer only. */
:root{
  --mt-orange:#f07a24;
  --mt-orange-2:#ffad61;
  --mt-charcoal:#11171a;
  --mt-steel:#20292d;
  --mt-surface:#f5f7f8;
  --mt-border:#dfe4e7;
  --mt-shadow:0 18px 50px rgba(16,25,29,.08);
}
body{background:var(--mt-surface);letter-spacing:-.01em}
header{box-shadow:0 8px 28px rgba(0,0,0,.14)!important}
header nav.wrap{min-height:72px!important}
.brand{gap:11px!important}.brand .mark{box-shadow:0 0 0 5px rgba(240,122,36,.06),0 8px 22px rgba(0,0,0,.18)!important}
.navlinks a{transition:color .2s,transform .2s!important}.navlinks a:hover{transform:translateY(-1px)}
.navlinks a.cta-link{box-shadow:0 8px 22px rgba(240,105,25,.22)!important}

.hero{min-height:650px!important;padding:92px 0 70px!important;position:relative;isolation:isolate;background-color:#0b1013!important}
.hero::after{content:"";display:block!important;position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 82% 48%,rgba(240,122,36,.15),transparent 24%),linear-gradient(90deg,rgba(4,8,10,.98),rgba(7,12,15,.84) 48%,rgba(7,12,15,.42) 100%)!important}
.hero .wrap.hero-grid{width:min(1320px,calc(100% - 48px))!important;grid-template-columns:minmax(0,.92fr) minmax(470px,1.08fr)!important;gap:58px!important}
.hero-copy{padding:10px 0 0!important}
.hero .eyebrow{font-weight:700;letter-spacing:.02em;text-transform:none}
.hero h1{font-size:clamp(39px,4.5vw,64px)!important;line-height:1.2!important;max-width:15ch!important;text-shadow:0 10px 30px rgba(0,0,0,.2)}
.hero p.lead{font-size:16.5px!important;line-height:2!important;color:#d2d9dc!important}
.hero-ctas{margin-top:32px!important}.hero .btn{min-height:50px;padding:13px 25px!important}
.spec-row{margin-top:45px!important;padding-top:20px!important}.spec-row div{padding-inline:22px!important}.spec-row b{font-family:inherit!important;font-size:21px!important;color:#f7f9fa!important}.spec-row span{font-size:10.5px!important}
.hero-visual{min-height:470px!important;border-radius:10px!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:0 32px 90px rgba(0,0,0,.42)!important;transform:perspective(1200px) rotateY(-1deg);transition:transform .35s ease,box-shadow .35s ease}
.hero-visual:hover{transform:perspective(1200px) rotateY(0deg) translateY(-2px);box-shadow:0 38px 100px rgba(0,0,0,.5)!important}
.hero-slide-overlay{background:linear-gradient(180deg,rgba(4,8,10,.02) 30%,rgba(4,8,10,.82) 100%),linear-gradient(90deg,rgba(4,8,10,.08),rgba(4,8,10,.02))!important}
.hero-dots{bottom:21px!important}.hero-dot{height:4px!important;width:30px!important}.hero-dot.active{box-shadow:0 0 12px rgba(240,122,36,.5)}

.trust-strip{position:relative;box-shadow:0 -12px 30px rgba(0,0,0,.08),0 12px 30px rgba(0,0,0,.08);z-index:2}
.trust-grid{width:min(1280px,calc(100% - 40px))!important}.trust-item{position:relative!important;min-height:78px;display:flex;flex-direction:column;justify-content:center;transition:background .2s}.trust-item:hover{background:rgba(255,255,255,.035)}.trust-item::before{content:"";position:absolute;right:0;top:24px;width:3px;height:30px;background:var(--mt-orange);opacity:.8;border-radius:3px}

section{position:relative!important;padding:92px 0!important}.section-head{max-width:760px!important}.section-head .eyebrow{font-weight:800}.section-head h2{font-size:clamp(29px,3.2vw,42px)!important;line-height:1.35!important;letter-spacing:-.035em!important}.section-head p{max-width:65ch!important;line-height:2!important}
.services{background:#f7f9fa!important}.services .grid4{gap:18px!important}.services .card{position:relative;box-shadow:var(--mt-shadow)!important;transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease!important}.services .card:hover{transform:translateY(-8px)!important;box-shadow:0 25px 55px rgba(16,25,29,.13)!important;border-color:#f1c5a4!important}.services .card::before{height:4px!important;background:linear-gradient(90deg,var(--mt-orange),var(--mt-orange-2))!important}
.card .service-visual{height:178px!important}.card .service-visual::before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.08),transparent 42%);z-index:1;pointer-events:none}.card h3{font-size:16px!important;margin-top:20px!important}.card p{font-size:12.2px!important;min-height:48px}.card .tag{display:inline-flex;align-items:center;min-height:26px;padding:4px 9px;border-radius:3px;background:#fff6ef;border:1px solid #f2d4bd;color:#b85717;font-size:9.5px!important}.service-link{display:inline-flex!important;align-items:center;gap:7px;margin-top:14px!important;color:#1a2327!important;font-weight:800!important}.service-link::after{content:'←';color:var(--mt-orange);transition:transform .2s}.service-link:hover::after{transform:translateX(-4px)}

.why{background:#fff!important}.why-grid{gap:52px!important}.why-list{gap:14px 18px!important}.why-item{min-height:112px;padding:18px!important;box-shadow:0 8px 26px rgba(16,25,29,.045)!important;transition:transform .22s,box-shadow .22s,border-color .22s}.why-item:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(16,25,29,.09)!important;border-color:#efc5a5!important}.why-icon{background:#fff8f3!important;box-shadow:inset 0 0 0 5px rgba(240,122,36,.035)}.spec-box{border:1px solid rgba(255,255,255,.08);box-shadow:0 25px 60px rgba(8,13,16,.2)!important;overflow:hidden;position:relative}.spec-box::after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;border:1px solid rgba(255,255,255,.06);left:-100px;bottom:-120px;box-shadow:0 0 0 34px rgba(255,255,255,.018),0 0 0 68px rgba(255,255,255,.012)}

#gallery{padding-top:100px!important;padding-bottom:100px!important;background:linear-gradient(180deg,#0d1417,#111a1e)!important}.gallery-card{transition:transform .25s,box-shadow .25s,border-color .25s}.gallery-card:hover{transform:translateY(-6px);border-color:rgba(240,122,36,.5);box-shadow:0 22px 48px rgba(0,0,0,.3)}.gallery-card img,.gallery-card video{transition:transform .45s ease}.gallery-card:hover img,.gallery-card:hover video{transform:scale(1.025)}

#blog{background:#f3f6f7!important}.post{box-shadow:var(--mt-shadow)!important;transition:transform .25s,box-shadow .25s,border-color .25s}.post:hover{transform:translateY(-5px);box-shadow:0 22px 48px rgba(16,25,29,.11)!important;border-color:#efc5a5}.post .post-cover{height:150px!important}.post h3{font-size:15px!important;line-height:1.7!important}.post p{line-height:1.9!important}

.materials-section{background:#fff!important}.material-card{box-shadow:0 8px 25px rgba(16,25,29,.045)!important;transition:transform .22s,box-shadow .22s,border-color .22s}.material-card:hover{transform:translateY(-5px)!important;box-shadow:0 18px 36px rgba(16,25,29,.09)!important;border-color:#efc5a5!important}.material-card .material-swatch{height:70px!important;box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}

.faq{background:#f5f7f8!important}.faq-list{box-shadow:0 14px 38px rgba(16,25,29,.055)!important;border-radius:8px!important}.faq-item{transition:background .2s}.faq-item:hover{background:#fafbfb}.faq-item[open]{background:#fffaf6}.faq-item summary{font-size:13px!important;font-weight:700!important;min-height:58px;align-items:center!important}.faq-item summary::before{border-color:#efb486!important;color:#c75e19!important;background:#fff7f0}.faq-item p{padding-bottom:16px!important;color:#667075}

.portal{background:linear-gradient(145deg,#11191d,#182226)!important;padding-top:98px!important;padding-bottom:98px!important}.portal-panel{box-shadow:0 28px 70px rgba(0,0,0,.25)!important;border-radius:10px!important}.dropzone{border-radius:8px!important;transition:border-color .2s,background .2s,transform .2s}.dropzone:hover{border-color:rgba(240,122,36,.75)!important;background:#151e22!important;transform:translateY(-2px)}.steps{gap:0!important}.step{position:relative!important;padding:18px 20px!important;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.07)!important}.step:not(:last-child)::after{content:'←';position:absolute;left:-8px;top:50%;transform:translateY(-50%);z-index:2;color:var(--mt-orange);font-weight:900}.step b{font-family:inherit!important;color:var(--mt-orange-2)!important}

.final-cta{padding:60px 0!important;background:linear-gradient(110deg,#090e11,#151d21)!important;border-top:1px solid rgba(255,255,255,.06)}.final-cta .wrap{display:flex;align-items:center;justify-content:space-between;gap:30px}.final-cta h2{font-size:clamp(26px,3vw,38px)!important}.final-cta p{color:#aeb7ba!important}.final-cta .btn{box-shadow:0 14px 30px rgba(240,105,25,.22)}
footer{border-top:1px solid rgba(255,255,255,.07)!important}.foot-grid{gap:50px!important}.foot-note{padding-top:18px!important;margin-top:28px!important}

@media(max-width:950px){
  .hero .wrap.hero-grid{grid-template-columns:1fr!important;gap:34px!important}.hero-copy{padding-top:0!important}.hero-visual{min-height:390px!important;transform:none!important}.why-grid{gap:30px!important}.final-cta .wrap{align-items:flex-start;flex-direction:column}
}
@media(max-width:650px){
  header nav.wrap{min-height:62px!important}.brand .name span{display:none}.brand .mark{width:36px;height:36px}.navlinks a.cta-link{padding:9px 12px!important;font-size:11px!important}
  section{padding:68px 0!important}.hero{padding:60px 0 42px!important;min-height:auto!important}.hero .wrap.hero-grid{width:min(100% - 28px,1320px)!important}.hero h1{font-size:35px!important}.hero p.lead{font-size:13px!important}.hero-visual{min-height:275px!important;border-radius:7px!important}.spec-row{margin-top:32px!important}.spec-row div{padding:9px 10px!important}.spec-row b{font-size:17px!important}
  .trust-item{min-height:70px;padding:14px 16px!important}.trust-item::before{top:20px;height:28px}
  .section-head h2{font-size:27px!important}.services .grid4{gap:14px!important}.card .service-visual{height:155px!important}.why-list{grid-template-columns:1fr!important}.why-item{min-height:0}.materials-grid{gap:9px!important}.material-card{padding:10px!important}.material-card .material-swatch{height:58px!important}.step:not(:last-child)::after{display:none}.final-cta .wrap{gap:20px}.final-cta .btn{width:100%;text-align:center}
}

/* V56: keep the complete hero + trust strip visible in the first desktop viewport. */
@media(min-width:951px){
  .hero{
    min-height:calc(100svh - 72px - 78px)!important;
    height:calc(100svh - 72px - 78px)!important;
    padding:42px 0 34px!important;
    display:flex!important;
    align-items:center!important;
  }
  .hero .wrap.hero-grid{
    height:100%!important;
    min-height:0!important;
    align-items:center!important;
    gap:46px!important;
  }
  .hero-copy{padding:0!important}
  .hero h1{font-size:clamp(36px,4vw,58px)!important}
  .hero p.lead{font-size:15.5px!important;line-height:1.85!important}
  .hero-ctas{margin-top:25px!important}
  .spec-row{margin-top:30px!important;padding-top:15px!important}
  .hero-visual{min-height:0!important;height:min(430px,100%)!important}
  .trust-strip{height:78px!important}
  .trust-grid{height:100%!important}
}
@media(min-width:951px) and (max-height:780px){
  .hero{padding:28px 0 24px!important}
  .hero h1{font-size:clamp(34px,3.8vw,52px)!important}
  .hero p.lead{font-size:14px!important}
  .hero-ctas{margin-top:18px!important}
  .spec-row{margin-top:20px!important;padding-top:10px!important}
  .hero-visual{height:390px!important}
  .trust-strip{height:70px!important}
}
@media(max-width:950px){
  /* On smaller screens the hero remains naturally scrollable rather than shrinking text to unreadable sizes. */
  .hero{height:auto!important;min-height:auto!important}
}

/* V58: make Services and Gallery fully visible inside their navigation viewport. */
@media(min-width:951px){
  .site-main>section[data-section="services"],
  .site-main>section[data-section="gallery"]{
    min-height:calc(100svh - 72px)!important;
    height:calc(100svh - 72px)!important;
    max-height:calc(100svh - 72px)!important;
    overflow:hidden!important;
    display:flex!important;
    align-items:center!important;
  }
  .site-main>section[data-section="services"]>.wrap,
  .site-main>section[data-section="gallery"]>.wrap{
    width:min(1280px,calc(100% - 40px))!important;
    padding-block:18px!important;
  }
  .site-main>section[data-section="services"] .section-head,
  .site-main>section[data-section="gallery"] .section-head{
    margin-bottom:18px!important;
  }
  .site-main>section[data-section="services"] .section-head p,
  .site-main>section[data-section="gallery"] .section-head p{
    margin-top:7px!important;
    line-height:1.65!important;
  }
  .site-main>section[data-section="services"] .grid4{
    gap:12px!important;
  }
  .site-main>section[data-section="services"] .card .service-visual{
    height:112px!important;
  }
  .site-main>section[data-section="services"] .card{
    padding-bottom:12px!important;
  }
  .site-main>section[data-section="services"] .card h3{
    margin-top:12px!important;
    margin-bottom:5px!important;
  }
  .site-main>section[data-section="services"] .card p{
    font-size:11.2px!important;
    line-height:1.65!important;
    min-height:38px!important;
    margin-bottom:5px!important;
  }
  .site-main>section[data-section="services"] .card .tag{
    min-height:22px!important;
    padding:3px 8px!important;
    margin-top:4px!important;
  }
  .site-main>section[data-section="services"] .service-link{
    margin-top:7px!important;
    font-size:10.5px!important;
  }

  /* Four columns keeps the gallery to one compact row for the common 4-item set,
     and two rows for larger galleries instead of pushing cards below the fold. */
  .site-main>section[data-section="gallery"] .grid3{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:12px!important;
  }
  .site-main>section[data-section="gallery"] .gallery-card img,
  .site-main>section[data-section="gallery"] .gallery-card video{
    aspect-ratio:16/9!important;
  }
  .site-main>section[data-section="gallery"] .gallery-card .gallery-info{
    padding:7px 10px!important;
  }
  .site-main>section[data-section="gallery"] .gallery-card h3{
    font-size:10.5px!important;
    margin-bottom:2px!important;
  }
  .site-main>section[data-section="gallery"] .gallery-card p{
    font-size:9px!important;
    line-height:1.55!important;
  }
}

@media(min-width:651px) and (max-width:950px){
  .site-main>section[data-section="services"],
  .site-main>section[data-section="gallery"]{
    min-height:calc(100svh - 62px)!important;
    scroll-margin-top:62px!important;
  }
  .site-main>section[data-section="services"] .grid4{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }
  .site-main>section[data-section="services"] .card .service-visual{height:105px!important}
  .site-main>section[data-section="gallery"] .grid3{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
  .site-main>section[data-section="gallery"] .gallery-card img,
  .site-main>section[data-section="gallery"] .gallery-card video{aspect-ratio:16/9!important}
}


/* V63: fit the online-order section in one desktop viewport. */
@media(min-width:951px){
  .site-main>section[data-section="portal"]{
    min-height:calc(100svh - 72px)!important;
    height:calc(100svh - 72px)!important;
    max-height:calc(100svh - 72px)!important;
    padding:0!important;
    overflow:hidden!important;
    align-items:center!important;
  }
  .site-main>section[data-section="portal"]>.wrap{
    width:min(1280px,calc(100% - 40px))!important;
    padding-block:14px!important;
    box-sizing:border-box!important;
  }
  .site-main>section[data-section="portal"] .section-head{
    margin-bottom:9px!important;
  }
  .site-main>section[data-section="portal"] .section-head .eyebrow{
    margin-bottom:3px!important;
  }
  .site-main>section[data-section="portal"] .section-head h2{
    display:none!important;
  }
  .site-main>section[data-section="portal"] .section-head p{
    margin-top:3px!important;
    font-size:11.5px!important;
    line-height:1.65!important;
  }
  .site-main>section[data-section="portal"] .steps{
    gap:8px!important;
    margin-bottom:9px!important;
  }
  .site-main>section[data-section="portal"] .step{
    padding:8px 11px!important;
    min-height:0!important;
  }
  .site-main>section[data-section="portal"] .step b{font-size:10px!important}
  .site-main>section[data-section="portal"] .step span{
    font-size:10px!important;
    line-height:1.5!important;
  }
  .site-main>section[data-section="portal"] .portal-panel{
    max-height:none!important;
    height:auto!important;
    overflow:visible!important;
    padding:14px 18px!important;
    gap:20px!important;
  }
  .site-main>section[data-section="portal"] .portal-panel>div>h3{
    margin-bottom:8px!important;
    font-size:15px!important;
  }
  .site-main>section[data-section="portal"] #loginNotice{
    margin-bottom:8px!important;
    font-size:10.5px!important;
  }
  .site-main>section[data-section="portal"] .dropzone{
    padding:10px 14px!important;
  }
  .site-main>section[data-section="portal"] .dropzone svg{width:24px!important;height:24px!important}
  .site-main>section[data-section="portal"] .dropzone p{
    margin:4px 0 2px!important;
    font-size:11px!important;
  }
  .site-main>section[data-section="portal"] .dropzone .hint{font-size:8.5px!important}
  .site-main>section[data-section="portal"] .order-fields-grid{
    gap:6px 9px!important;
    margin-top:7px!important;
  }
  .site-main>section[data-section="portal"] .field{
    margin-top:7px!important;
  }
  .site-main>section[data-section="portal"] .field label{
    font-size:10px!important;
    margin-bottom:3px!important;
  }
  .site-main>section[data-section="portal"] .field input,
  .site-main>section[data-section="portal"] .field select,
  .site-main>section[data-section="portal"] .field textarea{
    padding:7px 9px!important;
    font-size:11px!important;
  }
  .site-main>section[data-section="portal"] .field textarea{
    min-height:46px!important;
    height:46px!important;
  }
  .site-main>section[data-section="portal"] .submit-row{margin-top:7px!important}
  .site-main>section[data-section="portal"] .btn-dark{padding:10px 18px!important;font-size:12px!important}
  .site-main>section[data-section="portal"] .tracker{transform:none!important}
  .site-main>section[data-section="portal"] .portal-panel .hint{font-size:10px!important}
}

@media(min-width:951px) and (max-height:780px){
  .site-main>section[data-section="portal"]>.wrap{padding-block:8px!important}
  .site-main>section[data-section="portal"] .section-head{margin-bottom:6px!important}
  .site-main>section[data-section="portal"] .section-head p{font-size:10.5px!important}
  .site-main>section[data-section="portal"] .steps{margin-bottom:6px!important}
  .site-main>section[data-section="portal"] .step{padding:6px 9px!important}
  .site-main>section[data-section="portal"] .portal-panel{padding:10px 14px!important;gap:16px!important}
  .site-main>section[data-section="portal"] .dropzone{padding:7px 10px!important}
  .site-main>section[data-section="portal"] .field{margin-top:5px!important}
  .site-main>section[data-section="portal"] .field input,
  .site-main>section[data-section="portal"] .field select,
  .site-main>section[data-section="portal"] .field textarea{padding:6px 8px!important}
  .site-main>section[data-section="portal"] .field textarea{height:40px!important;min-height:40px!important}
}

/* Keep the full form usable on smaller screens; only desktop is locked to one viewport. */
@media(max-width:950px){
  .site-main>section[data-section="portal"] .section-head h2{display:none!important}
}
