
:root{
  --blue:#0b48c8;
  --blue2:#0739a9;
  --green:#0b7b38;
  --text:#101114;
  --muted:#677184;
  --line:#dfe4ec;
  --soft:#f6f8fb;
  --panel:#ffffff;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  font-family:Arial,Helvetica,sans-serif;
  background:#fff;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
img{display:block;max-width:100%}
.container{width:min(1460px,calc(100% - 64px));margin:0 auto}
.header{
  height:98px;
  display:flex;
  align-items:center;
  border-bottom:1px solid var(--line);
  background:rgba(255,255,255,.97);
}
.header .inner{
  width:min(1460px,calc(100% - 64px));
  margin:0 auto;
  display:grid;
  grid-template-columns:180px 1fr auto;
  align-items:center;
  gap:28px;
}
.logo img{width:108px;height:auto}
.nav{display:flex;justify-content:center;gap:68px;font-size:16px}
.nav a{padding:37px 0 21px;border-bottom:3px solid transparent}
.nav a.active{color:var(--blue);border-bottom-color:var(--blue)}
.actions{display:flex;align-items:center;gap:22px}
.lang{display:flex;gap:12px;align-items:center;font-size:16px}
.lang .active{color:var(--blue);font-weight:700}
.mail-btn{
  display:inline-flex;align-items:center;gap:12px;
  border:1.5px solid var(--blue);border-radius:6px;padding:14px 22px;
  color:var(--blue);background:#fff;font-size:17px
}
.mail-btn.dark{background:#090909;color:#fff;border-color:#090909}
.icon-mail{width:22px;height:16px;border:2px solid currentColor;border-radius:2px;position:relative}
.icon-mail:after{content:"";position:absolute;left:3px;right:3px;top:1px;height:8px;border-bottom:2px solid currentColor;transform:skewY(-28deg) rotate(-1deg)}
.hero{
  min-height:555px;
  display:grid;
  grid-template-columns:39% 61%;
  align-items:center;
  gap:0;
  overflow:hidden;
}
.hero-copy{padding:36px 0 20px 50px}
.hero h1{font-size:74px;line-height:.99;margin:0 0 24px;font-weight:900;letter-spacing:-2px}
.hero .lead{font-size:25px;color:#666;line-height:1.35;margin:0 0 18px}
.hero .tags{font-size:17px;line-height:1.8;margin-bottom:24px}
.hero .tags span:not(:last-child):after{content:" • ";color:var(--green);font-weight:900;margin:0 10px}
.hero-visual{height:100%;display:flex;align-items:center;justify-content:center;padding:30px 20px 20px 0}
.hero-visual img{width:100%;max-height:470px;object-fit:contain}
.primary{
  display:inline-flex;align-items:center;gap:18px;
  background:#050505;color:#fff;border:0;border-radius:9px;
  padding:18px 34px;font-size:20px;box-shadow:0 8px 20px rgba(0,0,0,.15)
}
.primary.blue{background:linear-gradient(90deg,#0b42bd,#0b4fd4)}
.mini-flow{display:flex;align-items:center;gap:9px;margin-top:20px;flex-wrap:wrap}
.mini-flow .step{
  border:1px solid #d9dee7;border-radius:7px;padding:9px 12px;font-size:13px;line-height:1.25;background:#fff
}
.mini-flow .arrow{color:#8b94a2;font-size:22px}
.mini-note{font-size:13px;color:#777;margin-top:12px}
.trust-row{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  display:grid;grid-template-columns:repeat(5,1fr)
}
.trust-item{padding:20px 32px;display:flex;gap:16px;align-items:center;border-right:1px solid var(--line);font-size:13px;line-height:1.45}
.trust-item:last-child{border-right:0}
.trust-ico{font-size:30px;color:var(--green)}
.home-cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;background:#111}
.home-card{height:275px;position:relative;overflow:hidden;background:#111}
.home-card img{width:100%;height:100%;object-fit:cover;transition:.25s transform}
.home-card:hover img{transform:scale(1.025)}
.home-card.mold{outline:2px solid rgba(255,255,255,.22);outline-offset:-2px}
.section{padding:54px 0}
.page-title{font-size:64px;line-height:1;margin:0 0 16px;letter-spacing:-1.5px}
.page-subtitle{color:var(--muted);font-size:21px;line-height:1.35;max-width:620px}
.soft-band{
  background:linear-gradient(120deg,#fff 35%,#eff6ff 100%);
  border-bottom:1px solid var(--line)
}
.cap-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:10px;margin-top:28px}
.cap-card{border:1px solid var(--line);border-radius:9px;padding:16px 10px 18px;background:#fff;min-width:0}
.cap-top{display:flex;gap:10px;align-items:center;font-weight:700;font-size:14px;min-height:55px}
.cap-num{color:var(--blue);font-size:24px;font-weight:800}
.cap-card img{width:100%;height:122px;object-fit:cover;border-radius:6px;margin:8px 0 12px}
.cap-card ul{list-style:none;padding:0;margin:0;font-size:12px;line-height:1.75}
.cap-card li:before{content:"•";color:var(--blue);margin-right:6px}
.tech-row{display:grid;grid-template-columns:1.7fr 1fr;gap:18px;margin-top:18px}
.tech-panel{border:1px solid var(--line);border-radius:10px;padding:22px;background:#fff}
.tech-panel h3{color:#0751a7;font-size:17px;margin:0 0 20px}
.tech-cols{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.tech-col{padding-right:14px;border-right:1px solid var(--line);font-size:12px;line-height:1.7}
.tech-col:last-child{border-right:0}
.tech-col strong{color:#0751a7}
.brand-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.brand-chip{border:1px solid #e7ebf1;border-radius:6px;padding:10px;text-align:center;font-weight:800;color:#153d87;background:#fff}
.why{margin-top:18px;padding:18px 20px;border:1px solid var(--line);border-radius:10px;display:grid;grid-template-columns:180px repeat(5,1fr);gap:10px;align-items:center;background:#fbfcfe}
.why h3{color:#0751a7;margin:0;font-size:18px}
.why div{font-size:12px;border-left:1px solid var(--line);padding-left:16px}
.upload-hero{position:relative;min-height:250px;padding:58px 0 24px;overflow:hidden}
.upload-hero:after{
  content:"";position:absolute;right:0;top:0;width:52%;height:100%;
  background:url("../img/upload_hero.jpg") center/cover no-repeat;opacity:.8;mask-image:linear-gradient(90deg,transparent,#000 30%)
}
.upload-hero .container{position:relative;z-index:1}
.upload-hero h1{font-size:52px;margin:0 0 14px}
.upload-hero p{font-size:21px;line-height:1.55;color:var(--muted);margin:0}
.upload-card{width:min(1320px,calc(100% - 64px));margin:0 auto 48px}
.dropzone{
  border:1.5px dashed #aab8cf;border-radius:9px;min-height:250px;
  display:flex;align-items:center;justify-content:center;text-align:center;
  background:#fff;cursor:pointer;padding:28px
}
.dropzone.drag{border-color:var(--blue);background:#f5f9ff}
.cloud{font-size:54px;color:var(--blue)}
.dropzone h2{margin:8px 0 6px;font-size:26px}
.dropzone p{margin:5px 0;color:var(--muted)}
.choose{color:var(--blue);font-weight:700}
.file-list{margin:14px 0 0;padding:0;list-style:none}
.file-list li{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:9px 2px;font-size:13px}
.form-label{font-weight:700;margin:20px 0 8px;display:block}
.textarea,.email{
  width:100%;border:1px solid #cfd7e4;border-radius:7px;background:#fff;padding:14px 16px;outline:none;font-size:16px
}
.textarea{min-height:90px;resize:vertical}
.email-row{display:flex;align-items:center;border:1px solid #cfd7e4;border-radius:7px;background:#fff}
.email-row span{padding:0 15px;color:#62718a}
.email-row .email{border:0}
.submit-wrap{text-align:center;margin:28px 0 10px}
.privacy{text-align:center;color:#758096;font-size:13px;margin-top:10px}
.about-hero{position:relative;padding:66px 0 75px;overflow:hidden}
.about-hero:after{
  content:"";position:absolute;right:0;top:0;width:32%;height:100%;
  background:url("../img/about_board.jpg") center/cover no-repeat;opacity:.9
}
.about-hero .container{position:relative;z-index:1}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}
.about h1{font-size:52px;margin:0 0 24px}
.about .intro{font-size:20px;line-height:1.55;max-width:660px}
.contact-list{margin-top:28px;max-width:650px}
.contact-row{display:grid;grid-template-columns:55px 110px 1fr;gap:20px;padding:20px 0;border-bottom:1px solid var(--line);align-items:start}
.contact-ico{font-size:30px;color:var(--blue)}
.contact-box{border:1px solid var(--line);background:rgba(255,255,255,.95);border-radius:9px;padding:38px 45px;margin-top:90px}
.contact-box h2{font-size:28px;margin:0 0 24px}
.contact-box p{color:#536077;line-height:1.5}
.contact-box .primary{font-size:16px;padding:14px 24px;margin:8px 0 30px}
.footer{border-top:1px solid var(--line);padding:30px 0 18px;background:#fff}
.footer-grid{display:grid;grid-template-columns:1.7fr 1fr 1fr 1fr;gap:50px}
.footer-logo img{width:95px}
.footer h4{font-size:13px;margin:0 0 14px}
.footer a{display:block;color:var(--blue);font-size:12px;margin:8px 0}
.footer p{font-size:12px;color:#68758a;line-height:1.55}
.copyright{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:20px;padding-top:16px;color:#76839a;font-size:12px}
.confirm{width:min(900px,calc(100% - 36px));margin:28px auto 50px}
.confirm-head{display:flex;justify-content:space-between;align-items:start;gap:30px;margin:20px 0 25px}
.confirm-title{display:flex;gap:14px;align-items:center}
.ok-circle{width:32px;height:32px;border-radius:50%;background:#22aa55;color:white;display:grid;place-items:center;font-weight:900}
.confirm h1{font-size:30px;margin:0}
.req-box{border:1px solid var(--line);border-radius:8px;padding:16px 22px;min-width:260px}
.req-box small{color:#667386}
.req-box strong{display:block;font-size:18px;margin:8px 0}
.files-panel{border:1px solid var(--line);border-radius:8px;padding:8px 16px;background:#fff}
.file-row{display:grid;grid-template-columns:1.2fr 100px 1.2fr 1fr;gap:14px;align-items:center;padding:13px 4px;border-bottom:1px solid var(--line);font-size:13px}
.file-row:last-child{border-bottom:0}
.progress{height:7px;border-radius:20px;background:#e9edf2;overflow:hidden}
.progress span{display:block;height:100%;width:100%;background:#21ad58}
.received{color:#1f8250}




.estimate-title{margin-top:28px}
.estimate-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:12px}
.estimate-card{border:1px solid var(--line);border-radius:8px;padding:16px;min-height:150px;background:#fff}
.estimate-card h3{font-size:13px;margin:0 0 18px;color:#37465e}
.estimate-card .price{font-size:22px;font-weight:800}
.estimate-card p{font-size:11px;color:#647187;line-height:1.5}
.estimate-card a{font-size:11px;color:var(--blue)}
.estimate-card.mold{border-color:#a8c4f4;background:#fbfdff}
.estimate-card.pending{opacity:.7}
.info-strip{margin-top:14px;border:1px solid #d9e3f5;background:#f5f9ff;border-radius:7px;padding:13px;color:#53647d;font-size:12px}
.final-cta{text-align:center;margin:26px 0}
.badge-live{display:inline-block;background:#e7f5ea;color:#17723b;border-radius:30px;padding:4px 9px;font-size:11px;font-weight:700}
.badge-soon{display:inline-block;background:#f0f2f5;color:#667080;border-radius:30px;padding:4px 9px;font-size:11px;font-weight:700}
@media(max-width:1050px){
  .header .inner{grid-template-columns:120px 1fr auto}
  .nav{gap:24px}
  .hero{grid-template-columns:1fr}
  .hero-copy{padding:35px}
  .hero-visual{padding:0 30px 30px}
  .hero h1{font-size:58px}
  .cap-grid{grid-template-columns:repeat(3,1fr)}
  .tech-row{grid-template-columns:1fr}
  .why{grid-template-columns:1fr 1fr}
  .why h3{grid-column:1/-1}
  .estimate-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:720px){
  .container,.header .inner,.upload-card{width:min(100% - 28px,1460px)}
  .header{height:auto;padding:12px 0}
  .header .inner{grid-template-columns:90px 1fr}
  .logo img{width:82px}
  .nav{display:none}
  .actions{justify-content:end;gap:10px}
  .mail-btn{padding:10px 12px;font-size:13px}
  .lang{font-size:13px}
  .hero-copy{padding:28px 14px}
  .hero h1,.page-title{font-size:44px}
  .hero .lead{font-size:20px}
  .trust-row{grid-template-columns:1fr 1fr}
  .home-cards{grid-template-columns:1fr}
  .cap-grid{grid-template-columns:1fr 1fr}
  .tech-cols{grid-template-columns:1fr 1fr}
  .about-grid{grid-template-columns:1fr}
  .about-hero:after{opacity:.15;width:100%}
  .contact-box{margin-top:0}
  .file-row{grid-template-columns:1fr}
  
  .estimate-grid{grid-template-columns:1fr}
  .confirm-head{flex-direction:column}
  .footer-grid{grid-template-columns:1fr 1fr}
  .copyright{flex-direction:column;gap:8px}
}


/* ================================================================
   DIAZON V1.4 — UNIFIED PAGE GRID
   One horizontal grid for every page.
   ================================================================ */
:root{
  --diazon-page-max:1440px;
  --diazon-page-side:96px; /* 48 px left + 48 px right */
}

html,body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}

.container,
.header .inner,
.upload-card,
.confirm{
  width:min(var(--diazon-page-max),calc(100% - var(--diazon-page-side)))!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

.header .inner{
  min-width:0;
}

.hero.container{
  width:min(var(--diazon-page-max),calc(100% - var(--diazon-page-side)))!important;
  max-width:none!important;
}

.hero-copy{
  padding-left:0!important;
  padding-right:28px!important;
  min-width:0;
}

.hero-visual{
  padding-right:0!important;
  min-width:0;
}

.soft-band > .container,
.upload-hero > .container,
.about-hero > .container,
.footer > .container{
  width:min(var(--diazon-page-max),calc(100% - var(--diazon-page-side)))!important;
  max-width:none!important;
}

.upload-card{
  margin-top:0!important;
  margin-bottom:48px!important;
}

.confirm{
  margin-top:28px!important;
  margin-bottom:50px!important;
}

/* Prevent grid children from forcing different page widths. */
.hero > *,
.cap-grid > *,
.tech-row > *,
.tech-cols > *,
.about-grid > *,
.next-grid > *,
.estimate-grid > *,
.footer-grid > *{
  min-width:0;
}

.cap-card,
.tech-panel,
.estimate-card,
.contact-box,
.files-panel,
.dropzone{
  width:100%;
  max-width:100%;
}

.file-row{
  min-width:0;
}

.file-row > *{
  min-width:0;
  overflow-wrap:anywhere;
}

/* Keep the confirmation page on exactly the same page grid. */
.confirm-head,
.next-steps,
.confirm > section,
.confirm > .final-cta{
  width:100%;
}

/* Stable typography: no page-specific accidental scaling. */
body{
  font-size:16px;
  line-height:1.4;
}

.header{
  width:100%;
}

@media(max-width:1100px){
  :root{--diazon-page-side:48px;} /* 24 + 24 */
  .header .inner{
    grid-template-columns:120px minmax(0,1fr) auto!important;
  }
  .nav{gap:24px!important;}
  .hero-copy{padding-right:16px!important;}
}

@media(max-width:720px){
  :root{--diazon-page-side:28px;} /* 14 + 14 */

  .container,
  .header .inner,
  .upload-card,
  .confirm,
  .hero.container,
  .soft-band > .container,
  .upload-hero > .container,
  .about-hero > .container,
  .footer > .container{
    width:calc(100% - var(--diazon-page-side))!important;
  }

  .confirm > div[style*="grid-template-columns:1fr 1fr"]{
    grid-template-columns:1fr!important;
  }
}


/* ================================================================
   DIAZON V1.5 — RESULT PAGE
   Only working calculators are shown.
   ================================================================ */
#estimateGrid{
  width:100%;
  margin-top:14px;
}

.mold-launch-card{
  display:block;
  width:100%;
  border:1.5px solid #8eb6ff;
  border-radius:12px;
  background:linear-gradient(135deg,#ffffff 0%,#f7fbff 100%);
  padding:24px 28px;
  text-decoration:none;
  color:#111;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.mold-launch-card:hover{
  transform:translateY(-1px);
  border-color:#0b48c8;
  box-shadow:0 8px 24px rgba(11,72,200,.10);
}

.mold-launch-top{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  font-size:16px;
  font-weight:700;
  margin-bottom:18px;
}

.mold-dot{
  width:18px;
  height:18px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#7ce7aa,#17a850 70%);
  flex:0 0 auto;
}

.mold-ready-badge{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:4px 12px;
  border-radius:999px;
  background:#e6f5e9;
  color:#13823d;
  font-size:14px;
  font-weight:700;
}

.mold-launch-main{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:30px;
  align-items:center;
}

.mold-launch-title{
  margin:0 0 10px;
  font-size:30px;
  line-height:1.1;
  font-weight:800;
  letter-spacing:-.3px;
}

.mold-launch-file{
  font-size:15px;
  font-weight:700;
  color:#58657a;
  margin-bottom:6px;
}

.mold-launch-meta{
  font-size:15px;
  line-height:1.55;
  color:#5d6a7f;
}

.mold-launch-arrow{
  min-width:220px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  min-height:58px;
  border-radius:8px;
  background:linear-gradient(90deg,#0a43bd,#0b52d8);
  color:#fff;
  font-size:18px;
  font-weight:800;
  white-space:nowrap;
  padding:0 24px;
}

.replace-step-panel{
  margin-top:14px;
  padding:16px 18px;
  border:1px solid #d8e0ec;
  border-radius:9px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.replace-step-note{
  margin-top:4px;
  color:#6c788c;
  font-size:13px;
  line-height:1.4;
}

.replace-step-actions{
  flex:0 0 auto;
}

.replace-step-btn{
  min-height:46px;
  border:1.5px solid #0b48c8;
  border-radius:7px;
  padding:0 20px;
  background:#fff;
  color:#0b48c8;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
}

.replace-step-btn:hover{
  background:#f5f9ff;
}

.replace-step-btn:disabled{
  opacity:.55;
  cursor:wait;
}

.no-ready-calc{
  border:1px solid #d8e0ec;
  border-radius:10px;
  padding:22px;
  background:#fff;
  color:#5e6a7e;
}

@media(max-width:720px){
  .mold-launch-card{
    padding:20px;
  }
  .mold-launch-main{
    grid-template-columns:1fr;
    gap:18px;
  }
  .mold-launch-arrow{
    min-width:0;
    width:100%;
  }
  .replace-step-panel{
    align-items:stretch;
    flex-direction:column;
  }
  .replace-step-btn{
    width:100%;
  }
}


/* ================================================================
   DIAZON V1.6 — REQUEST FILE MANAGEMENT + LARGE ACTION
   ================================================================ */
.file-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin:24px 0 10px;
}
.file-section-head h3{margin:0}

.edit-files-main-btn{
  min-height:46px;
  padding:0 20px;
  border:1.5px solid #0b48c8;
  border-radius:7px;
  background:#fff;
  color:#0b48c8;
  font-size:15px;
  font-weight:800;
  cursor:pointer;
}
.edit-files-main-btn:hover{background:#f4f8ff}

.file-editor{
  margin-bottom:12px;
  padding:18px 20px;
  border:1.5px solid #aac5f2;
  border-radius:10px;
  background:#f8fbff;
}
.file-editor[hidden]{display:none!important}
.file-editor-title{
  font-size:18px;
  font-weight:800;
  margin-bottom:5px;
}
.file-editor-note{
  max-width:900px;
  color:#657187;
  font-size:13px;
  line-height:1.5;
  margin-bottom:14px;
}
.file-picker-btn,
.apply-files-btn,
.cancel-files-btn{
  min-height:44px;
  border-radius:7px;
  padding:0 18px;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
}
.file-picker-btn{
  border:1px solid #0b48c8;
  background:#fff;
  color:#0b48c8;
}
.apply-files-btn{
  border:1px solid #0b48c8;
  background:#0b48c8;
  color:#fff;
}
.apply-files-btn:disabled{opacity:.45;cursor:not-allowed}
.cancel-files-btn{
  border:1px solid #ccd4e0;
  background:#fff;
  color:#566176;
}
.file-editor-actions{display:flex;gap:10px;margin-top:14px}
.edit-selected-list{margin-top:10px}
.edit-selected-item{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:8px 0;
  border-bottom:1px solid #e0e6ef;
  font-size:13px;
}
.edit-selected-item:last-child{border-bottom:0}

/* Current file rows now include an explicit delete action. */
.file-row{
  grid-template-columns:minmax(180px,1.25fr) 90px minmax(150px,1fr) minmax(150px,.8fr) auto!important;
}
.file-delete-btn{
  min-height:34px;
  padding:0 12px;
  border:1px solid #ccd4e0;
  border-radius:6px;
  background:#fff;
  color:#536176;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}
.file-delete-btn:hover{
  border-color:#c63b3b;
  color:#b42020;
  background:#fff8f8;
}

/* One real action instead of a small "details" link. */
.mold-action-card{
  display:block;
  width:100%;
  margin-top:14px;
  border:0;
  border-radius:12px;
  padding:26px 30px;
  background:linear-gradient(100deg,#4f665b 0%,#61786c 100%);
  color:#fff!important;
  text-decoration:none!important;
  cursor:pointer;
  box-shadow:0 8px 22px rgba(55,76,66,.14);
  transition:transform .14s ease,box-shadow .14s ease;
}
.mold-action-card:hover{
  transform:translateY(-1px);
  box-shadow:0 11px 28px rgba(55,76,66,.20);
}
.mold-action-top{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:15px;
  font-size:18px;
  font-weight:800;
}
.mold-action-badge{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:4px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  font-size:14px;
  font-weight:700;
}
.mold-action-main{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:26px;
}
.mold-action-title{
  font-size:32px;
  line-height:1.08;
  font-weight:900;
  letter-spacing:-.4px;
  margin-bottom:9px;
}
.mold-action-file{
  font-size:17px;
  font-weight:800;
  margin-bottom:5px;
}
.mold-action-meta{
  font-size:16px;
  line-height:1.5;
  color:rgba(255,255,255,.88);
}
.mold-action-go{
  font-size:22px;
  font-weight:900;
  white-space:nowrap;
  padding-left:20px;
}
.mold-action-card *{pointer-events:none}

@media(max-width:720px){
  .file-section-head{
    align-items:stretch;
    flex-direction:column;
  }
  .edit-files-main-btn{width:100%}
  .file-row{grid-template-columns:1fr!important}
  .file-delete-btn{width:100%;margin-top:4px}
  .mold-action-card{padding:22px 20px}
  .mold-action-main{grid-template-columns:1fr}
  .mold-action-title{font-size:27px}
  .mold-action-go{font-size:19px;padding-left:0}
}


/* V1.6.1 — "calculation ready" state */
.mold-action-card{
  border:1px solid rgba(30,82,59,.22);
}
.mold-action-badge{
  background:rgba(255,255,255,.18);
  color:#f5fff8;
}
.mold-action-top > span:first-child{
  color:#f4fff7;
}

.mold-stl-advice{
  margin-top:16px;
  max-width:900px;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.30);
  border-radius:8px;
  background:rgba(255,255,255,.12);
  color:#f7fff9;
  font-size:15px;
  line-height:1.5;
}
.mold-stl-advice b{color:#fff}


/* V1.8 — STEP/STL cross-check */
.model-conflict-card{
  width:100%;
  margin-top:14px;
  padding:24px 28px;
  border:1.5px solid #d69a36;
  border-radius:12px;
  background:#fffaf0;
  color:#28231b;
}
.model-conflict-title{
  font-size:24px;
  line-height:1.2;
  font-weight:900;
  margin-bottom:10px;
}
.model-conflict-text{
  font-size:15px;
  line-height:1.55;
  color:#665b49;
}
.model-compare-files{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin:18px 0;
}
.model-compare-files > div{
  padding:14px 16px;
  border:1px solid #ead8b7;
  border-radius:8px;
  background:#fff;
  font-size:14px;
  line-height:1.45;
  overflow-wrap:anywhere;
}
.model-analysis-error{
  color:#a4372e;
  margin-top:7px;
  font-size:12px;
}
.model-select-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.model-select-btn{
  min-height:50px;
  padding:0 24px;
  border:1.5px solid #486356;
  border-radius:8px;
  background:#fff;
  color:#315343;
  font-size:16px;
  font-weight:900;
  cursor:pointer;
}
.model-select-btn.preferred{
  background:#315f49;
  color:#fff;
  border-color:#315f49;
}
.model-select-btn:disabled{
  opacity:.55;
  cursor:wait;
}
.model-conflict-note{
  margin-top:12px;
  color:#766a57;
  font-size:13px;
}
.mold-pair-ok,
.mold-pair-warning{
  margin-top:16px;
  max-width:900px;
  padding:12px 14px;
  border-radius:8px;
  font-size:15px;
  line-height:1.5;
}
.mold-pair-ok{
  border:1px solid rgba(255,255,255,.30);
  background:rgba(255,255,255,.12);
  color:#f7fff9;
}
.mold-pair-warning{
  border:1px solid rgba(255,224,151,.50);
  background:rgba(92,63,20,.22);
  color:#fff7df;
}
@media(max-width:720px){
  .model-compare-files{grid-template-columns:1fr}
  .model-select-actions{flex-direction:column}
  .model-select-btn{width:100%}
}


/* V1.8.1 — data sufficiency states
   STEP / matched STEP+STL = muted green
   STL only                = pale yellow
*/
.mold-action-card-stl{
  background:linear-gradient(100deg,#fff9e5 0%,#f3e7bd 100%)!important;
  border:1.5px solid #d8c681!important;
  color:#3f3823!important;
  box-shadow:0 8px 22px rgba(139,119,56,.11)!important;
}

.mold-action-card-stl:hover{
  border-color:#bda553!important;
  box-shadow:0 11px 28px rgba(139,119,56,.16)!important;
}

.mold-action-card-stl .mold-action-top,
.mold-action-card-stl .mold-action-title,
.mold-action-card-stl .mold-action-file,
.mold-action-card-stl .mold-action-go{
  color:#3f3823!important;
}

.mold-action-card-stl .mold-action-meta{
  color:#6d6245!important;
}

.mold-action-card-stl .mold-action-badge{
  background:#eadb9f!important;
  color:#675719!important;
}

.mold-action-card-stl .mold-stl-advice{
  background:rgba(255,255,255,.58)!important;
  border:1px solid #d9c983!important;
  color:#665c3e!important;
}

.mold-action-card-stl .mold-stl-advice b{
  color:#473e22!important;
}

/* Small visual cue that the yellow state is advisory, not an error. */
.mold-action-card-stl .mold-action-go::before{
  content:"ⓘ";
  margin-right:10px;
  font-weight:700;
}


/* V1.8.2 — semantic conflict state
   Yellow = calculation possible, more data desirable.
   Terracotta/red = STEP and STL conflict, user decision required.
*/
.model-conflict-card{
  border-color:#c77a70!important;
  background:linear-gradient(100deg,#fff6f4 0%,#f8e7e3 100%)!important;
  color:#3f2926!important;
}

.model-conflict-title{
  color:#7d332c!important;
}

.model-conflict-text{
  color:#72514c!important;
}

.model-compare-files > div{
  border-color:#e6bdb7!important;
  background:rgba(255,255,255,.78)!important;
}

.model-analysis-error{
  color:#a62f28!important;
}

.model-select-btn{
  border-color:#9f5a51!important;
  color:#713f39!important;
  background:#fff!important;
}

.model-select-btn:hover{
  background:#fff4f2!important;
}

.model-select-btn.preferred{
  background:#5d6f66!important;
  color:#fff!important;
  border-color:#5d6f66!important;
}

.model-conflict-note{
  color:#76524d!important;
}

/* Stronger but still calm visual marker. */
.model-conflict-title::before{
  content:"!";
  display:inline-grid;
  place-items:center;
  width:26px;
  height:26px;
  margin-right:10px;
  border-radius:50%;
  background:#b85b50;
  color:#fff;
  font-size:16px;
  font-weight:900;
  vertical-align:2px;
}


/* ================================================================
   V1.8.3 — FINAL STATUS COLORS

   GREEN  = sufficient/consistent information
   YELLOW = STL only, calculation possible but STEP desirable
   ORANGE = STEP/STL filenames differ, possible version mix-up
   RED    = same-name models but geometry conflicts
   ================================================================ */

/* Clean fresh green instead of muddy green */
.mold-action-card:not(.mold-action-card-stl):not(.mold-action-card-name-warning){
  background:linear-gradient(105deg,#2f9560 0%,#55b67b 100%)!important;
  border:1px solid rgba(36,133,82,.28)!important;
  box-shadow:0 8px 22px rgba(47,149,96,.16)!important;
}
.mold-action-card:not(.mold-action-card-stl):not(.mold-action-card-name-warning):hover{
  box-shadow:0 11px 28px rgba(47,149,96,.23)!important;
}

/* STL only = soft pale yellow */
.mold-action-card-stl{
  background:linear-gradient(105deg,#fffbea 0%,#f5edc8 100%)!important;
  border:1.5px solid #d9c987!important;
  color:#403923!important;
  box-shadow:0 8px 22px rgba(139,119,56,.10)!important;
}

/* Different STEP/STL base filenames = orange advisory */
.mold-action-card-name-warning{
  background:linear-gradient(105deg,#fff3df 0%,#ffdca7 100%)!important;
  border:1.5px solid #e4a04c!important;
  color:#523315!important;
  box-shadow:0 8px 22px rgba(180,109,27,.13)!important;
}
.mold-action-card-name-warning:hover{
  border-color:#cf852c!important;
  box-shadow:0 11px 28px rgba(180,109,27,.19)!important;
}
.mold-action-card-name-warning .mold-action-top,
.mold-action-card-name-warning .mold-action-title,
.mold-action-card-name-warning .mold-action-file,
.mold-action-card-name-warning .mold-action-go{
  color:#523315!important;
}
.mold-action-card-name-warning .mold-action-meta{
  color:#73522d!important;
}
.mold-action-card-name-warning .mold-action-badge{
  background:#f0bd75!important;
  color:#663d10!important;
}
.mold-name-advice{
  margin-top:16px;
  max-width:920px;
  padding:12px 14px;
  border:1px solid #e1a857;
  border-radius:8px;
  background:rgba(255,255,255,.52);
  color:#67451f;
  font-size:15px;
  line-height:1.5;
}
.mold-name-advice b{
  color:#55330e;
}

/* Conflict requiring a user choice.
   Different names => orange.
   Same base name but geometry mismatch => terracotta/red. */
.model-conflict-card.model-conflict-name{
  border-color:#e19a42!important;
  background:linear-gradient(105deg,#fff6e9 0%,#ffe3bd 100%)!important;
  color:#4f3318!important;
}
.model-conflict-card.model-conflict-name .model-conflict-title{
  color:#92510e!important;
}
.model-conflict-card.model-conflict-name .model-conflict-title::before{
  background:#e28a25!important;
}
.model-conflict-card.model-conflict-name .model-conflict-text,
.model-conflict-card.model-conflict-name .model-conflict-note{
  color:#76502a!important;
}
.model-conflict-card.model-conflict-name .model-compare-files > div{
  border-color:#ecc993!important;
}

.model-conflict-card.model-conflict-geometry{
  border-color:#c77a70!important;
  background:linear-gradient(105deg,#fff6f4 0%,#f8e7e3 100%)!important;
}

/* Name detail inside orange conflict */
.model-name-warning{
  margin-top:12px;
  padding:11px 13px;
  border-left:4px solid #e28a25;
  border-radius:6px;
  background:rgba(255,255,255,.62);
  color:#6f471d;
  font-size:14px;
  line-height:1.5;
}
.model-name-warning b{
  color:#844c0d;
}

/* Preferred STEP button uses same clean green */
.model-select-btn.preferred{
  background:#2f9560!important;
  border-color:#2f9560!important;
  color:#fff!important;
}


/* ================================================================
   DIAZON V1.10 — TYPOGRAPHY PASS
   Larger readable type throughout the public site.
   ================================================================ */

html{
  font-size:18px;
}

body{
  font-size:18px!important;
  line-height:1.48!important;
}

/* Navigation */
.header .inner,
.nav,
.header a,
.header button{
  font-size:17px!important;
}

/* Main page headings */
h1{
  font-size:clamp(40px,4vw,64px)!important;
  line-height:1.04!important;
}
h2{
  font-size:clamp(28px,2.2vw,36px)!important;
  line-height:1.14!important;
}
h3{
  font-size:22px!important;
  line-height:1.22!important;
}

/* General text */
p,
li,
label,
input,
select,
textarea,
button,
a{
  font-size:16.5px;
}

/* Hero */
.hero-copy p,
.hero-copy .lead{
  font-size:22px!important;
  line-height:1.45!important;
}
.hero-copy .hero-tags,
.hero-copy .hero-tags *{
  font-size:16px!important;
}
#heroIdeaButton{
  font-size:24px!important;
}
#heroIdeaButton #heroIdeaLabel{
  font-size:24px!important;
}

/* Homepage service cards and helper flow */
.hero-hint-label,
.hero-copy .step,
.hero-copy .item{
  font-size:15px!important;
  line-height:1.28!important;
}
.service-card,
.service-card *{
  font-size:17px;
}
.service-card h3{
  font-size:24px!important;
}

/* Capabilities page */
.cap-card{
  font-size:16px!important;
}
.cap-card h3,
.cap-card strong{
  font-size:18px!important;
}
.tech-panel{
  font-size:16.5px!important;
}
.tech-panel h3{
  font-size:21px!important;
}

/* Upload */
.upload-hero p{
  font-size:19px!important;
}
.dropzone{
  font-size:18px!important;
}
.dropzone strong{
  font-size:26px!important;
}
.upload-card label,
.upload-card input,
.upload-card textarea{
  font-size:17px!important;
}

/* Request / result page */
.confirm{
  font-size:17px!important;
}
.confirm-head p{
  font-size:18px!important;
}
.file-section-head h3{
  font-size:24px!important;
}
.file-row{
  font-size:16px!important;
}
.file-row b{
  font-size:17px!important;
}
.info-strip{
  font-size:15.5px!important;
}
.estimate-title h3{
  font-size:26px!important;
}
.estimate-title > div{
  font-size:16px!important;
}
.edit-files-main-btn,
.file-picker-btn,
.apply-files-btn,
.cancel-files-btn,
.file-delete-btn{
  font-size:16px!important;
}

/* Large mold result card */
.mold-action-top{
  font-size:20px!important;
}
.mold-action-title{
  font-size:36px!important;
}
.mold-action-file{
  font-size:19px!important;
}
.mold-action-meta{
  font-size:18px!important;
}
.mold-action-go{
  font-size:24px!important;
}
.mold-action-badge{
  font-size:16px!important;
}
.mold-stl-advice,
.mold-name-advice,
.mold-pair-ok,
.mold-pair-warning{
  font-size:17px!important;
  line-height:1.5!important;
}

/* STEP/STL conflict */
.model-conflict-title{
  font-size:28px!important;
}
.model-conflict-text{
  font-size:17px!important;
}
.model-compare-files > div{
  font-size:16px!important;
}
.model-select-btn{
  font-size:17px!important;
}
.model-conflict-note{
  font-size:15px!important;
}
.model-name-warning{
  font-size:16px!important;
}

/* About */
.about-grid,
.about-grid p,
.about-grid li{
  font-size:17px!important;
}
.contact-box{
  font-size:17px!important;
}

/* Footer */
.footer{
  font-size:15.5px!important;
}
.footer a{
  font-size:15.5px!important;
}

/* Keep forms compact enough on smaller widths */
@media(max-width:900px){
  html{font-size:17px;}
  body{font-size:17px!important;}
  h1{font-size:42px!important;}
  h2{font-size:30px!important;}
  #heroIdeaButton,
  #heroIdeaButton #heroIdeaLabel{
    font-size:21px!important;
  }
  .mold-action-title{
    font-size:30px!important;
  }
}

@media(max-width:600px){
  html{font-size:16px;}
  body{font-size:16px!important;}
  h1{font-size:36px!important;}
  h2{font-size:27px!important;}
  h3{font-size:21px!important;}
  p,li,label,input,select,textarea,button,a{
    font-size:16px;
  }
}


/* ================================================================
   DIAZON V1.10 — STL CARD CONTRAST FIX
   Pale yellow advisory card must use dark readable text throughout.
   ================================================================ */

.mold-action-card-stl{
  background:linear-gradient(105deg,#fffbea 0%,#f4e8b8 100%)!important;
  border:1.5px solid #d6c47b!important;
  color:#3d3520!important;
}

.mold-action-card-stl,
.mold-action-card-stl *,
.mold-action-card-stl a,
.mold-action-card-stl span,
.mold-action-card-stl div,
.mold-action-card-stl b{
  color:#3d3520!important;
  text-shadow:none!important;
}

.mold-action-card-stl .mold-action-top{
  color:#3d3520!important;
}

.mold-action-card-stl .mold-action-badge{
  background:#e9d78d!important;
  color:#5c4c12!important;
}

.mold-action-card-stl .mold-action-title{
  color:#352f1f!important;
}

.mold-action-card-stl .mold-action-file{
  color:#4b4023!important;
}

.mold-action-card-stl .mold-action-meta{
  color:#665a35!important;
}

.mold-action-card-stl .mold-action-go{
  color:#4a3d15!important;
}

.mold-action-card-stl .mold-stl-advice{
  background:rgba(255,255,255,.60)!important;
  border:1px solid #d5c06d!important;
  color:#5c512d!important;
}

.mold-action-card-stl .mold-stl-advice b{
  color:#3c3216!important;
}


/* ================================================================
   DIAZON V1.10.1 — ZOOM-RESILIENT LAYOUT
   The site should remain readable even when the browser is zoomed out.
   Instead of a fixed 1440px content width, layout and typography scale
   with the CSS viewport width.
   ================================================================ */

:root{
  --diazon-page-max:3200px!important;
  --diazon-page-side:clamp(28px,4vw,96px)!important;
}

/* Public-page width now follows viewport, so 50–80% browser zoom
   doesn't collapse the site into a narrow column. */
.container,
.header .inner,
.upload-card,
.confirm,
.hero.container,
.soft-band > .container,
.upload-hero > .container,
.about-hero > .container,
.footer > .container{
  width:min(92vw,var(--diazon-page-max))!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Typography grows with the CSS viewport. Browser zoom-out increases
   CSS viewport width, so this compensates naturally. */
html{
  font-size:clamp(18px,0.82vw,34px)!important;
}

body{
  font-size:clamp(18px,0.82vw,34px)!important;
  line-height:1.48!important;
}

.header .inner,
.nav,
.header a,
.header button{
  font-size:clamp(16px,0.72vw,28px)!important;
}

h1{
  font-size:clamp(46px,3.0vw,108px)!important;
  line-height:1.03!important;
}
h2{
  font-size:clamp(30px,1.75vw,64px)!important;
  line-height:1.12!important;
}
h3{
  font-size:clamp(22px,1.15vw,40px)!important;
}

p,
li,
label,
input,
select,
textarea,
button,
a{
  font-size:clamp(16px,0.74vw,28px);
}

.hero-copy p,
.hero-copy .lead{
  font-size:clamp(21px,1.1vw,40px)!important;
}
.hero-copy .hero-tags,
.hero-copy .hero-tags *{
  font-size:clamp(16px,0.72vw,27px)!important;
}
#heroIdeaButton,
#heroIdeaButton #heroIdeaLabel{
  font-size:clamp(24px,1.2vw,44px)!important;
}

/* Result/request page */
.confirm{
  font-size:clamp(17px,0.76vw,29px)!important;
}
.file-row{
  font-size:clamp(16px,0.70vw,27px)!important;
}
.file-row b{
  font-size:clamp(17px,0.74vw,28px)!important;
}
.info-strip{
  font-size:clamp(15.5px,0.66vw,25px)!important;
}
.estimate-title h3{
  font-size:clamp(26px,1.25vw,46px)!important;
}
.estimate-title > div{
  font-size:clamp(16px,0.7vw,26px)!important;
}

/* Large calculation status cards */
.mold-action-top{
  font-size:clamp(20px,0.9vw,34px)!important;
}
.mold-action-title{
  font-size:clamp(36px,1.85vw,68px)!important;
}
.mold-action-file{
  font-size:clamp(19px,0.86vw,32px)!important;
}
.mold-action-meta{
  font-size:clamp(18px,0.80vw,30px)!important;
}
.mold-action-go{
  font-size:clamp(24px,1.05vw,38px)!important;
}
.mold-action-badge{
  font-size:clamp(16px,0.7vw,26px)!important;
}
.mold-stl-advice,
.mold-name-advice,
.mold-pair-ok,
.mold-pair-warning{
  font-size:clamp(17px,0.74vw,28px)!important;
}

/* Capabilities/about/upload */
.cap-card,
.tech-panel,
.about-grid,
.contact-box{
  font-size:clamp(16px,0.72vw,27px)!important;
}
.cap-card h3,
.tech-panel h3{
  font-size:clamp(20px,0.95vw,35px)!important;
}
.upload-hero p{
  font-size:clamp(19px,0.86vw,32px)!important;
}
.dropzone{
  font-size:clamp(18px,0.82vw,31px)!important;
}
.dropzone strong{
  font-size:clamp(26px,1.25vw,46px)!important;
}

/* Footer shouldn't become microscopic either. */
.footer,
.footer a{
  font-size:clamp(15px,0.62vw,23px)!important;
}

/* Very wide CSS viewports usually mean either a very wide monitor
   or zoomed-out browser. Give the content more width instead of
   leaving huge blank margins. */
@media(min-width:2200px){
  .hero{
    min-height:auto!important;
  }
  .hero-copy{
    padding-right:clamp(24px,2vw,72px)!important;
  }
}

/* Keep normal tablet/mobile behavior. */
@media(max-width:1000px){
  :root{
    --diazon-page-side:28px!important;
  }
  .container,
  .header .inner,
  .upload-card,
  .confirm,
  .hero.container,
  .soft-band > .container,
  .upload-hero > .container,
  .about-hero > .container,
  .footer > .container{
    width:calc(100% - 28px)!important;
  }
  html,
  body{
    font-size:17px!important;
  }
}


/* ================================================================
   DIAZON V1.10.2 — ONE INTERACTIVE HERO BUTTON
   ================================================================ */

#heroIdeaButton{
  position:relative;
  width:min(100%,620px);
  min-height:78px;
  box-sizing:border-box;
  display:grid!important;
  grid-template-columns:30px minmax(0,1fr) 34px;
  align-items:center;
  column-gap:14px!important;
  padding:18px 28px!important;
  overflow:hidden;
  cursor:pointer;
}

#heroIdeaButton .hero-idea-dot{
  color:#24d55e!important;
  font-size:22px!important;
  line-height:1;
  text-align:center;
}

#heroIdeaButton .hero-idea-arrow{
  color:#24d55e!important;
  font-size:30px!important;
  line-height:1;
  text-align:center;
}

#heroIdeaButton #heroIdeaLabel{
  min-width:0!important;
  width:100%;
  font-size:clamp(23px,1.15vw,42px)!important;
  line-height:1.15!important;
  font-weight:500;
  text-align:center!important;
  white-space:nowrap;
  transition:opacity .08s ease, transform .08s ease;
  pointer-events:none;
}

#heroIdeaButton.hero-idea-switching #heroIdeaLabel{
  opacity:.78;
  transform:translateY(-1px);
}

#heroIdeaButton:hover{
  box-shadow:0 10px 26px rgba(0,0,0,.22)!important;
}

/* Removed from the first screen by design. */
.tags,
.mini-flow,
.mini-note{
  display:none!important;
}

@media(max-width:720px){
  #heroIdeaButton{
    width:100%;
    min-height:68px;
    grid-template-columns:22px minmax(0,1fr) 28px;
    padding:15px 20px!important;
  }
  #heroIdeaButton #heroIdeaLabel{
    font-size:20px!important;
    white-space:normal;
  }
}


/* V1.10.3 — six-stage production strip */
@media(max-width:1400px) and (min-width:701px){
  .home-cards{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}


/* ================================================================
   DIAZON V1.10.4 — COMPACT FIRST SCREEN
   Applies only to the homepage.
   Goal: hero + 6 visual stages + footer visible without scrolling
   on a normal desktop viewport.
   ================================================================ */

.home-page .header{
  height:82px!important;
}
.home-page .header .inner{
  min-height:82px!important;
}
.home-page .logo img{
  width:92px!important;
}
.home-page .nav a{
  padding-top:27px!important;
  padding-bottom:18px!important;
}

/* Pull the entire hero upward and reduce empty vertical space. */
.home-page .hero{
  min-height:355px!important;
  height:355px!important;
  align-items:start!important;
}
.home-page .hero-copy{
  padding:18px 0 8px 34px!important;
  align-self:start!important;
}
.home-page .hero h1{
  font-size:clamp(58px,3.25vw,82px)!important;
  line-height:.96!important;
  margin:0 0 12px!important;
  letter-spacing:-2px!important;
}
.home-page .hero .lead{
  font-size:clamp(20px,1.05vw,28px)!important;
  line-height:1.24!important;
  margin:0 0 14px!important;
}
.home-page #heroIdeaButton{
  min-height:64px!important;
  width:min(100%,570px)!important;
  padding:12px 24px!important;
}
.home-page #heroIdeaButton #heroIdeaLabel{
  font-size:clamp(21px,1.05vw,32px)!important;
}

/* Raise the product visual and make it occupy the hero efficiently. */
.home-page .hero-visual{
  height:355px!important;
  align-items:flex-start!important;
  justify-content:center!important;
  padding:0 10px 0 0!important;
  transform:translateY(-18px);
}
.home-page .hero-visual img{
  width:100%!important;
  max-height:365px!important;
  object-fit:contain!important;
}

/* Six production images: enough height to read, but no wasted vertical space. */
.home-page .home-cards{
  margin-top:-6px!important;
}
.home-page .home-card{
  height:198px!important;
}

/* Compact footer, retaining all information. */
.home-page .footer{
  padding:14px 0 8px!important;
}
.home-page .footer-grid{
  grid-template-columns:1.55fr .95fr 1.15fr .85fr!important;
  gap:32px!important;
  align-items:start!important;
}
.home-page .footer-logo img{
  width:72px!important;
}
.home-page .footer h4{
  font-size:15px!important;
  margin:0 0 7px!important;
}
.home-page .footer a{
  font-size:14.5px!important;
  margin:4px 0!important;
  line-height:1.25!important;
}
.home-page .footer p{
  font-size:13.5px!important;
  line-height:1.34!important;
  margin:6px 0!important;
}
.home-page .copyright{
  margin-top:9px!important;
  padding-top:8px!important;
  font-size:13px!important;
}

/* At shorter desktop heights, compress one more step instead of forcing scroll. */
@media(min-width:1001px) and (max-height:900px){
  .home-page .header{
    height:74px!important;
  }
  .home-page .header .inner{
    min-height:74px!important;
  }
  .home-page .hero{
    min-height:320px!important;
    height:320px!important;
  }
  .home-page .hero-copy{
    padding-top:12px!important;
  }
  .home-page .hero h1{
    font-size:clamp(52px,3vw,72px)!important;
    margin-bottom:8px!important;
  }
  .home-page .hero .lead{
    margin-bottom:10px!important;
  }
  .home-page .hero-visual{
    height:320px!important;
    transform:translateY(-22px);
  }
  .home-page .hero-visual img{
    max-height:330px!important;
  }
  .home-page .home-card{
    height:178px!important;
  }
  .home-page .footer{
    padding-top:10px!important;
  }
  .home-page .footer-logo img{
    width:64px!important;
  }
  .home-page .copyright{
    margin-top:6px!important;
    padding-top:6px!important;
  }
}

/* Keep existing responsive behavior on tablets and phones. */
@media(max-width:1000px){
  .home-page .header{
    height:auto!important;
  }
  .home-page .hero{
    height:auto!important;
    min-height:0!important;
  }
  .home-page .hero-visual{
    height:auto!important;
    transform:none!important;
    padding:10px 0!important;
  }
  .home-page .home-cards{
    margin-top:0!important;
  }
  .home-page .home-card{
    height:auto!important;
    min-height:220px;
  }
  .home-page .footer-grid{
    gap:24px!important;
  }
}


/* ================================================================
   DIAZON V1.10.11 — BRIGHT HOMEPAGE / PRODUCTION AGGREGATOR
   ================================================================ */

.home-page{
  background:#f6f8fa!important;
  color:#12171d;
}

/* Header: brand descriptor next to logo. */
.home-page .header{
  height:92px!important;
  background:#fff!important;
}
.home-page .header .inner{
  min-height:92px!important;
  grid-template-columns:minmax(300px,390px) 1fr auto!important;
  gap:28px!important;
}
.home-page .brand-lockup{
  display:flex;
  align-items:center;
  gap:16px;
  min-width:0;
}
.home-page .brand-lockup .logo{
  display:block;
  flex:0 0 auto;
}
.home-page .brand-lockup .logo img{
  width:88px!important;
  height:auto;
}
.home-page .brand-descriptor{
  border-left:1px solid #d8dee5;
  padding-left:16px;
  color:#4c5965;
  font-size:15px;
  line-height:1.28;
  font-weight:650;
  white-space:nowrap;
}

/* Hero goes back to a comfortable, non-cramped height. */
.home-page .hero{
  height:auto!important;
  min-height:405px!important;
  padding-top:18px!important;
  padding-bottom:22px!important;
  align-items:center!important;
  background:#fff;
}
.home-page .hero-copy{
  padding:20px 18px 20px 34px!important;
  align-self:center!important;
}
.home-page .hero h1{
  font-size:clamp(58px,3.45vw,86px)!important;
  line-height:.98!important;
  margin:0 0 16px!important;
}
.home-page .hero .lead{
  margin:0 0 20px!important;
  color:#5d6670!important;
}
.home-page .hero-visual{
  height:390px!important;
  transform:none!important;
  display:flex!important;
  align-items:center!important;
  padding:0 14px!important;
}
.home-page .hero-visual img{
  width:100%!important;
  max-height:390px!important;
  object-fit:contain!important;
}

/* Bright production cards. Flex-wrap centers the last row automatically. */
.home-page .production-section{
  width:min(94vw,1780px);
  margin:26px auto 38px;
  padding:0;
}
.home-page .production-grid{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:stretch;
  gap:20px;
}
.home-page .production-card{
  flex:0 1 calc(25% - 15px);
  min-width:260px;
  max-width:420px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid #d9e0e6;
  border-radius:16px;
  background:#fff;
  color:#171c21;
  text-decoration:none;
  box-shadow:0 5px 20px rgba(28,43,56,.06);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.home-page .production-card:hover{
  transform:translateY(-3px);
  border-color:#b9c8d2;
  box-shadow:0 10px 28px rgba(28,43,56,.10);
}
.home-page .production-card.mold{
  border-color:#b9dcc6;
}
.home-page .production-card-image{
  height:178px;
  overflow:hidden;
  background:#edf1f4;
}
.home-page .production-card-image img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center top;
  filter:saturate(.90) brightness(1.06);
  transition:transform .2s ease;
}
.home-page .production-card:hover .production-card-image img{
  transform:scale(1.025);
}
.home-page .production-card-body{
  flex:1 1 auto;
  padding:18px 20px 20px;
  background:#fff;
}
.home-page .production-card-body h2{
  margin:0 0 8px!important;
  color:#111820;
  font-size:22px!important;
  line-height:1.16!important;
  font-weight:800;
}
.home-page .production-card-body h2::before{
  content:"";
  display:inline-block;
  width:4px;
  height:18px;
  margin-right:9px;
  border-radius:3px;
  background:#28a562;
  vertical-align:-2px;
}
.home-page .production-card-body p{
  margin:0!important;
  color:#56626d;
  font-size:16px!important;
  line-height:1.42!important;
  font-weight:450;
}

/* Stop the old dark-strip rules from affecting the new cards. */
.home-page .home-cards,
.home-page .home-card{
  display:none!important;
}

/* Footer no longer needs to be forcibly squeezed into the first viewport. */
.home-page .footer{
  margin-top:0!important;
  padding:28px 0 18px!important;
  background:#fff!important;
  border-top:1px solid #e2e7eb;
}
.home-page .footer-grid{
  gap:44px!important;
}
.home-page .footer-logo img{
  width:82px!important;
}
.home-page .footer p,
.home-page .footer a{
  font-size:15px!important;
}
.home-page .copyright{
  margin-top:18px!important;
  padding-top:14px!important;
  font-size:14px!important;
}

@media(max-width:1450px){
  .home-page .production-card{
    flex-basis:calc(33.333% - 14px);
  }
  .home-page .brand-descriptor{
    font-size:14px;
  }
}

@media(max-width:1000px){
  .home-page .header{
    height:auto!important;
  }
  .home-page .header .inner{
    min-height:0!important;
    grid-template-columns:1fr auto!important;
  }
  .home-page .brand-descriptor{
    white-space:normal;
  }
  .home-page .hero{
    min-height:0!important;
  }
  .home-page .hero-visual{
    height:auto!important;
  }
  .home-page .production-card{
    flex-basis:calc(50% - 10px);
    max-width:none;
  }
}

@media(max-width:680px){
  .home-page .brand-descriptor{
    display:none;
  }
  .home-page .production-section{
    width:calc(100% - 28px);
    margin-top:18px;
  }
  .home-page .production-card{
    flex-basis:100%;
    min-width:0;
  }
  .home-page .production-card-image{
    height:190px;
  }
}


/* ================================================================
   DIAZON V1.10.12 — CAPABILITIES REDESIGN
   Light cards + hover/tap technology popover
   ================================================================ */
.capabilities-body-v2{background:#f7f9fb!important;color:#171c21}
.capabilities-body-v2 .header{background:#fff}
.capabilities-body-v2 .brand-lockup{display:flex;align-items:center;gap:15px;min-width:0}
.capabilities-body-v2 .brand-descriptor{border-left:1px solid #d8dee5;padding-left:15px;color:#4c5965;font-size:14px;line-height:1.25;font-weight:650;white-space:nowrap}

.capabilities-hero-v2{background:#fff;border-bottom:1px solid #e3e8ed;padding:42px 0 34px}
.capabilities-title-row-v2{display:flex;align-items:flex-end;justify-content:space-between;gap:36px}
.capabilities-title-row-v2 h1{margin:0 0 12px;font-size:clamp(44px,3.1vw,70px)!important;line-height:1;font-weight:900;letter-spacing:-1.5px;color:#10161c}
.capabilities-title-row-v2 p{max-width:850px;margin:0;color:#5b6671;font-size:20px!important;line-height:1.45}
.capabilities-hover-note-v2{flex:0 0 auto;padding:13px 17px;border:1px solid #d7e2da;border-radius:10px;background:#f5fbf7;color:#4c6355;font-size:14px;line-height:1.35;text-align:left}
.capabilities-hover-note-v2 b{color:#26784a}

.capabilities-section-v2{padding:34px 0 52px;background:#f7f9fb}
.capabilities-grid-v2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;align-items:stretch}
.capability-card-v2{position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #d9e1e7;border-radius:16px;background:#fff;box-shadow:0 5px 20px rgba(28,43,56,.055);outline:none;cursor:default;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.capability-card-v2:hover,.capability-card-v2:focus-visible{transform:translateY(-3px);border-color:#a9cdb7;box-shadow:0 12px 30px rgba(32,73,49,.10)}
.capability-card-image-v2{height:185px;overflow:hidden;background:#edf1f4}
.capability-card-image-v2 img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;filter:saturate(.9) brightness(1.07);transition:transform .2s ease}
.capability-card-v2:hover .capability-card-image-v2 img{transform:scale(1.025)}
.capability-card-body-v2{display:flex;flex-direction:column;flex:1;padding:19px 20px 18px}
.capability-card-body-v2 h2{margin:0 0 9px!important;color:#111820;font-size:22px!important;line-height:1.16!important;font-weight:850}
.capability-card-body-v2 h2:before{content:"";display:inline-block;width:4px;height:18px;margin-right:9px;border-radius:3px;background:#2fa563;vertical-align:-2px}
.capability-card-body-v2 p{margin:0!important;color:#58646f;font-size:16px!important;line-height:1.42!important}
.capability-card-hint-v2{margin-top:auto;padding-top:17px;color:#28784b;font-size:14px;font-weight:750}
.capability-card-hint-v2 span{margin-left:5px;font-size:18px}

.cap-popover-v2{position:fixed;z-index:3000;width:min(390px,calc(100vw - 32px));max-height:min(620px,calc(100vh - 32px));overflow:auto;padding:22px 24px 21px;border:1px solid #c8d9cf;border-radius:16px;background:rgba(255,255,255,.985);box-shadow:0 22px 60px rgba(18,36,25,.18);opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .13s ease,transform .13s ease,visibility .13s ease}
.cap-popover-v2.open{opacity:1;visibility:visible;transform:translateY(0)}
.cap-pop-content-v2 h3{margin:0 34px 14px 0;color:#142019;font-size:22px;line-height:1.15}
.cap-pop-content-v2 ul{list-style:none;padding:0;margin:0}
.cap-pop-content-v2 li{position:relative;padding:8px 0 8px 18px;border-bottom:1px solid #edf1ee;color:#46544a;font-size:15.5px;line-height:1.35}
.cap-pop-content-v2 li:last-child{border-bottom:0}
.cap-pop-content-v2 li:before{content:"";position:absolute;left:0;top:15px;width:6px;height:6px;border-radius:50%;background:#2fa563}
.cap-pop-link{display:inline-flex;margin-top:15px;padding:10px 14px;border-radius:8px;background:#2f9560;color:#fff!important;text-decoration:none;font-weight:800;font-size:14.5px}
.cap-pop-link:hover{background:#25794e}
.cap-pop-close-v2{display:none;position:absolute;right:12px;top:9px;border:0;background:transparent;color:#5b665f;font-size:28px;line-height:1;cursor:pointer}
.cap-pop-backdrop-v2{display:none}

@media(max-width:1450px){.capabilities-grid-v2{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){
  .capabilities-body-v2 .brand-descriptor{display:none}
  .capabilities-title-row-v2{align-items:flex-start;flex-direction:column;gap:18px}
  .capabilities-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .capabilities-hover-note-v2{font-size:13px}
}
@media(max-width:700px){
  .capabilities-hero-v2{padding:28px 0 24px}
  .capabilities-title-row-v2 h1{font-size:40px!important}
  .capabilities-title-row-v2 p{font-size:17px!important}
  .capabilities-hover-note-v2{display:none}
  .capabilities-section-v2{padding-top:22px}
  .capabilities-grid-v2{grid-template-columns:1fr;gap:16px}
  .capability-card-image-v2{height:190px}
  .cap-popover-v2{left:16px!important;right:16px!important;bottom:16px!important;top:auto!important;width:auto;max-height:72vh;border-radius:18px;transform:translateY(18px)}
  .cap-popover-v2.open{transform:translateY(0)}
  .cap-pop-close-v2{display:block}
  .cap-pop-backdrop-v2{position:fixed;inset:0;z-index:2990;display:block;background:rgba(15,22,18,.32);opacity:0;visibility:hidden;transition:opacity .13s ease,visibility .13s ease}
  .cap-pop-backdrop-v2.open{opacity:1;visibility:visible}
  .capability-card-hint-v2:before{content:"Нажмите — ";font-weight:500;color:#738078}
}


/* ================================================================
   DIAZON V1.10.14 — CAPABILITIES: IN-CARD TECHNOLOGY DETAILS
   ================================================================ */

/* Header brand: logo must always remain visible. */
.capabilities-body-v2 .header{
  overflow:visible!important;
}
.capabilities-body-v2 .header .inner{
  grid-template-columns:minmax(285px,340px) 1fr auto!important;
  gap:24px!important;
  overflow:visible!important;
}
.capabilities-body-v2 .brand-lockup{
  display:flex!important;
  align-items:center!important;
  gap:15px!important;
  min-width:285px!important;
  overflow:visible!important;
}
.capabilities-body-v2 .brand-lockup .logo{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex:0 0 88px!important;
  width:88px!important;
  min-width:88px!important;
  visibility:visible!important;
  opacity:1!important;
  overflow:visible!important;
}
.capabilities-body-v2 .brand-lockup .logo img{
  display:block!important;
  width:88px!important;
  min-width:88px!important;
  max-width:88px!important;
  height:auto!important;
  visibility:visible!important;
  opacity:1!important;
}
.capabilities-body-v2 .brand-descriptor{
  display:block;
  flex:0 0 auto;
  margin:0!important;
  border-left:1px solid #d8dee5!important;
  padding-left:15px!important;
  white-space:nowrap!important;
}
.capabilities-body-v2 .nav{
  gap:46px!important;
}

/* Cards retain their footprint; details replace the front face. */
.capabilities-grid-v2{
  align-items:stretch!important;
}
.capability-card-v2{
  min-height:425px!important;
  height:425px!important;
  isolation:isolate;
  cursor:pointer!important;
  transform:none!important;
}
.capability-card-v2:hover,
.capability-card-v2:focus,
.capability-card-v2:focus-visible,
.capability-card-v2.is-open{
  transform:none!important;
  border-color:#96c8aa!important;
  box-shadow:0 12px 30px rgba(32,73,49,.10)!important;
}

.capability-card-image-v2,
.capability-card-body-v2{
  position:relative;
  z-index:1;
  transition:opacity .16s ease, visibility .16s ease, transform .16s ease;
}
.capability-card-image-v2{
  height:205px!important;
  flex:0 0 205px!important;
}
.capability-card-body-v2{
  min-height:220px;
}
.capability-card-hint-v2{
  margin-top:auto!important;
}

/* The detail face occupies exactly the same card. */
.capability-data-v2{
  position:absolute!important;
  inset:0!important;
  z-index:5!important;
  display:block!important;
  padding:24px 24px 22px!important;
  overflow:auto!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fcf9 100%)!important;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(7px);
  transition:opacity .16s ease,visibility .16s ease,transform .16s ease;
}
.capability-data-v2 h3{
  margin:0 0 15px!important;
  padding-right:4px;
  color:#16231b!important;
  font-size:23px!important;
  line-height:1.15!important;
}
.capability-data-v2 ul{
  list-style:none!important;
  padding:0!important;
  margin:0!important;
}
.capability-data-v2 li{
  position:relative;
  padding:8px 0 8px 19px!important;
  border-bottom:1px solid #e5ece7;
  color:#46544a!important;
  font-size:15px!important;
  line-height:1.32!important;
}
.capability-data-v2 li:last-child{
  border-bottom:0;
}
.capability-data-v2 li:before{
  content:"";
  position:absolute;
  left:0;
  top:15px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#2fa563;
}
.capability-data-v2 .cap-pop-link{
  margin-top:15px!important;
}

.capability-card-v2:hover .capability-card-image-v2,
.capability-card-v2:hover .capability-card-body-v2,
.capability-card-v2:focus .capability-card-image-v2,
.capability-card-v2:focus .capability-card-body-v2,
.capability-card-v2.is-open .capability-card-image-v2,
.capability-card-v2.is-open .capability-card-body-v2{
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transform:scale(.99);
}
.capability-card-v2:hover .capability-data-v2,
.capability-card-v2:focus .capability-data-v2,
.capability-card-v2.is-open .capability-data-v2{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:translateY(0)!important;
}

/* Old external popover is retired. */
.cap-popover-v2,
.cap-pop-backdrop-v2{
  display:none!important;
}

/* Touch/mobile close control. */
.capability-back-v2{
  display:none;
  margin:0 0 14px;
  padding:7px 10px;
  border:1px solid #c7d9ce;
  border-radius:7px;
  background:#fff;
  color:#28784b;
  font-size:14px;
  font-weight:750;
  cursor:pointer;
}

@media(max-width:1180px){
  .capabilities-body-v2 .header .inner{
    grid-template-columns:250px 1fr auto!important;
  }
  .capabilities-body-v2 .brand-lockup{
    min-width:250px!important;
  }
  .capabilities-body-v2 .brand-descriptor{
    font-size:12.5px!important;
  }
  .capabilities-body-v2 .nav{
    gap:30px!important;
  }
}

@media(max-width:1000px){
  .capabilities-body-v2 .header .inner{
    grid-template-columns:100px 1fr auto!important;
  }
  .capabilities-body-v2 .brand-lockup{
    min-width:88px!important;
  }
  .capabilities-body-v2 .brand-descriptor{
    display:none!important;
  }
}

@media(max-width:700px){
  .capability-card-v2{
    height:410px!important;
    min-height:410px!important;
  }
  .capability-card-image-v2{
    height:195px!important;
    flex-basis:195px!important;
  }
  .capability-data-v2{
    padding:18px!important;
  }
  .capability-back-v2{
    display:inline-flex!important;
  }

  /* Mobile has no hover: only explicit tap state opens details. */
  .capability-card-v2:hover .capability-card-image-v2,
  .capability-card-v2:hover .capability-card-body-v2{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:none!important;
  }
  .capability-card-v2:hover .capability-data-v2{
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transform:translateY(7px)!important;
  }
  .capability-card-v2.is-open .capability-card-image-v2,
  .capability-card-v2.is-open .capability-card-body-v2{
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  .capability-card-v2.is-open .capability-data-v2{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:none!important;
  }
}


/* ================================================================
   DIAZON V1.10.16 — UNIFIED BRAND HEADER ON ALL PUBLIC PAGES
   [DIAZON logo] | Агрегатор производства электроники
   ================================================================ */

.header{
  overflow:visible!important;
}

.header .inner{
  grid-template-columns:minmax(300px,350px) 1fr auto!important;
  gap:28px!important;
  overflow:visible!important;
}

.brand-lockup{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:16px!important;
  min-width:300px!important;
  overflow:visible!important;
}

.brand-lockup .logo{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex:0 0 92px!important;
  width:92px!important;
  min-width:92px!important;
  margin:0!important;
  overflow:visible!important;
  visibility:visible!important;
  opacity:1!important;
}

.brand-lockup .logo img{
  display:block!important;
  width:92px!important;
  min-width:92px!important;
  max-width:92px!important;
  height:auto!important;
  margin:0!important;
  visibility:visible!important;
  opacity:1!important;
}

.brand-descriptor{
  display:block!important;
  flex:0 0 auto!important;
  margin:0!important;
  padding-left:16px!important;
  border-left:1px solid #d8dee5!important;
  color:#3e4b59!important;
  font-size:16px!important;
  line-height:1.22!important;
  font-weight:700!important;
  white-space:nowrap!important;
}

.header .nav{
  justify-content:center!important;
  gap:54px!important;
  min-width:0!important;
}

.header .actions{
  justify-self:end!important;
}

@media(max-width:1180px){
  .header .inner{
    grid-template-columns:minmax(245px,280px) 1fr auto!important;
    gap:20px!important;
  }
  .brand-lockup{
    min-width:245px!important;
  }
  .brand-lockup .logo,
  .brand-lockup .logo img{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
    flex-basis:82px!important;
  }
  .brand-descriptor{
    padding-left:12px!important;
    font-size:13px!important;
  }
  .header .nav{
    gap:30px!important;
  }
}

@media(max-width:900px){
  .header .inner{
    grid-template-columns:92px 1fr auto!important;
  }
  .brand-lockup{
    min-width:82px!important;
  }
  .brand-descriptor{
    display:none!important;
  }
}

/* On narrow mobile header preserve logo and allow navigation to wrap
   instead of cutting the right side of the page. */
@media(max-width:700px){
  .header{
    height:auto!important;
  }
  .header .inner{
    grid-template-columns:76px 1fr!important;
    grid-template-areas:
      "brand actions"
      "nav nav"!important;
    row-gap:2px!important;
    padding-top:8px!important;
    padding-bottom:8px!important;
  }
  .brand-lockup{grid-area:brand}
  .header .nav{
    grid-area:nav;
    justify-content:flex-start!important;
    gap:24px!important;
    overflow-x:auto;
  }
  .header .actions{
    grid-area:actions;
  }
  .brand-lockup .logo,
  .brand-lockup .logo img{
    width:72px!important;
    min-width:72px!important;
    max-width:72px!important;
    flex-basis:72px!important;
  }
}


/* ================================================================
   DIAZON V1.11.3 — TECHNOLOGY DETAILS ON HOMEPAGE CARDS
   ================================================================ */

.hero-subtitle-nowrap-v1113{
  white-space:nowrap!important;
  max-width:none!important;
}

/* Card front and technology face occupy the same footprint. */
.production-card{
  position:relative!important;
  isolation:isolate;
  overflow:hidden!important;
}

.home-card-detail-v1113{
  position:absolute;
  inset:0;
  z-index:8;
  display:flex;
  flex-direction:column;
  padding:24px 24px 22px;
  background:linear-gradient(180deg,#fff 0%,#f8fcf9 100%);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(7px);
  transition:opacity .16s ease,visibility .16s ease,transform .16s ease;
  overflow:auto;
}

.home-card-detail-v1113 h3{
  margin:0 0 14px;
  color:#16231b;
  font-size:23px;
  line-height:1.15;
  font-weight:800;
}

.home-card-detail-v1113 ul{
  list-style:none;
  padding:0;
  margin:0;
}

.home-card-detail-v1113 li{
  position:relative;
  padding:7px 0 7px 18px;
  border-bottom:1px solid #e5ece7;
  color:#46544a;
  font-size:15px;
  line-height:1.28;
}

.home-card-detail-v1113 li:last-child{
  border-bottom:0;
}

.home-card-detail-v1113 li::before{
  content:"";
  position:absolute;
  left:0;
  top:13px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#2fa563;
}

@media (hover:hover) and (pointer:fine){
  .production-card:hover .home-card-detail-v1113,
  .production-card:focus-within .home-card-detail-v1113{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:none;
  }
}

/* PCB contains the largest parameter set, so it expands above the grid. */
.production-card-pcb-v1113{
  z-index:2;
  transform-origin:50% 12%;
  transition:
    transform .20s cubic-bezier(.2,.72,.22,1),
    box-shadow .20s ease,
    border-color .20s ease!important;
}

@media (hover:hover) and (pointer:fine){
  .production-card-pcb-v1113:hover,
  .production-card-pcb-v1113:focus-within{
    z-index:90!important;
    transform:scale(1.42)!important;
    box-shadow:
      0 28px 70px rgba(24,53,34,.24),
      0 8px 22px rgba(24,53,34,.12)!important;
  }

  .production-card-pcb-v1113:hover .home-card-detail-v1113,
  .production-card-pcb-v1113:focus-within .home-card-detail-v1113{
    padding:19px 21px 17px;
  }

  .production-card-pcb-v1113:hover .home-card-detail-v1113 h3,
  .production-card-pcb-v1113:focus-within .home-card-detail-v1113 h3{
    font-size:19px;
    margin-bottom:8px;
  }

  .production-card-pcb-v1113:hover .home-card-detail-v1113 li,
  .production-card-pcb-v1113:focus-within .home-card-detail-v1113 li{
    font-size:12.4px;
    line-height:1.18;
    padding:4px 0 4px 16px;
  }

  .production-card-pcb-v1113:hover .home-card-detail-v1113 li::before,
  .production-card-pcb-v1113:focus-within .home-card-detail-v1113 li::before{
    top:9px;
  }
}

@media(max-width:1450px) and (hover:hover) and (pointer:fine){
  .production-card-pcb-v1113:hover,
  .production-card-pcb-v1113:focus-within{
    transform:scale(1.30)!important;
  }
}

@media(max-width:1000px), (hover:none), (pointer:coarse){
  .production-card-pcb-v1113:hover,
  .production-card-pcb-v1113:focus-within,
  .production-card-pcb-v1113.is-open-v1113{
    transform:none!important;
  }

  .production-card.is-open-v1113 .home-card-detail-v1113{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:none!important;
  }
}

/* Allow wrapping only when the screen is genuinely narrow. */
@media(max-width:900px){
  .hero-subtitle-nowrap-v1113{
    white-space:normal!important;
  }
}


/* ================================================================
   DIAZON V1.11.4 — PCB HOVER HITBOX FIX
   The enlarged transformed area must NOT keep the card open.
   Expansion is now controlled by JS using the card's ORIGINAL rect.
   ================================================================ */

@media (hover:hover) and (pointer:fine){
  /* Neutralize the old transform that depended on the transformed :hover hitbox. */
  .production-card-pcb-v1113:hover,
  .production-card-pcb-v1113:focus-within{
    transform:none!important;
    z-index:2!important;
    box-shadow:none!important;
  }

  /* Open state is controlled explicitly by pointer position in the original card rect. */
  .production-card-pcb-v1113.pcb-expanded-v1114{
    z-index:90!important;
    transform:scale(1.42)!important;
    box-shadow:
      0 28px 70px rgba(24,53,34,.24),
      0 8px 22px rgba(24,53,34,.12)!important;
  }

  .production-card-pcb-v1113.pcb-expanded-v1114 .home-card-detail-v1113{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:none!important;
    padding:19px 21px 17px!important;
  }

  .production-card-pcb-v1113.pcb-expanded-v1114 .home-card-detail-v1113 h3{
    font-size:19px!important;
    margin-bottom:8px!important;
  }

  .production-card-pcb-v1113.pcb-expanded-v1114 .home-card-detail-v1113 li{
    font-size:12.4px!important;
    line-height:1.18!important;
    padding:4px 0 4px 16px!important;
  }

  .production-card-pcb-v1113.pcb-expanded-v1114 .home-card-detail-v1113 li::before{
    top:9px!important;
  }
}

@media(max-width:1450px) and (hover:hover) and (pointer:fine){
  .production-card-pcb-v1113.pcb-expanded-v1114{
    transform:scale(1.30)!important;
  }
}

@media(max-width:1000px), (hover:none), (pointer:coarse){
  .production-card-pcb-v1113.pcb-expanded-v1114{
    transform:none!important;
  }
}


/* ================================================================
   DIAZON V1.11.5 — UPLOAD FIRST, CALCULATORS OFFERED AUTOMATICALLY
   ================================================================ */

.home-card-detail-v1113{
  padding-bottom:18px!important;
}

.home-card-auto-tools-v1115{
  margin-top:auto;
  padding-top:11px;
  border-top:1px solid #d9e6dd;
  color:#66736a;
  font-size:12.5px;
  line-height:1.28;
  font-weight:650;
}

.home-card-calc-badge-v1115{
  margin-top:auto;
  margin-bottom:8px;
  padding:8px 10px;
  border:1px solid #a9d7ba;
  border-radius:8px;
  background:#effaf3;
  color:#197744;
  font-size:13px;
  line-height:1.25;
  font-weight:800;
}

/* When mold card has both badge and generic note, the badge starts
   the footer block and generic note follows it without another auto margin. */
.home-card-calc-badge-v1115 + .home-card-auto-tools-v1115{
  margin-top:0;
}

/* PCB card is scaled; keep footer notes compact enough to remain readable. */
@media (hover:hover) and (pointer:fine){
  .production-card-pcb-v1113.pcb-expanded-v1114 .home-card-auto-tools-v1115{
    font-size:10.8px;
    line-height:1.2;
    padding-top:7px;
  }
}

.mold-action-auto-v1115{
  margin-bottom:5px;
  color:#28784b;
  font-size:14px;
  line-height:1.3;
  font-weight:750;
}

@media(max-width:700px){
  .home-card-auto-tools-v1115{
    font-size:12px;
  }
  .home-card-calc-badge-v1115{
    font-size:12.5px;
  }
}


/* DIAZON V1.11.34 — footer without brand/logo column */
.footer-inner,
.footer-grid,
.site-footer-inner{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}

@media(max-width:900px){
  .footer-inner,
  .footer-grid,
  .site-footer-inner{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:620px){
  .footer-inner,
  .footer-grid,
  .site-footer-inner{
    grid-template-columns:1fr!important;
  }
}
