/* ZATO — shared stylesheet.
   Extracted from the inline page styles so every page links one copy
   instead of carrying its own. Edit here, not in the generated HTML. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: block;
  src: url('/fonts/inter-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url('/fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url('/fonts/inter-700.woff2') format('woff2');
}

/* ══ MOTION + AUDIO UI ═══════════════════════════════════════════════════ */
/* Volume slider — only present while the music is playing */
.snd-wrap{position:relative;display:inline-block;line-height:0}
#sndVol{
  position:absolute;top:calc(100% + 3px);left:50%;transform:translateX(-50%);
  width:40px;opacity:0;pointer-events:none;
  padding:0;margin:0;border:none;background:none;
  transition:opacity .2s ease;
  -webkit-appearance:none;appearance:none;cursor:pointer;
}
#sndVol.on{opacity:1;pointer-events:auto}
#sndVol::-webkit-slider-runnable-track{height:2px;background:var(--gray2)}
#sndVol::-moz-range-track{height:2px;background:var(--gray2)}
#sndVol::-webkit-slider-thumb{
  -webkit-appearance:none;width:9px;height:9px;border-radius:50%;
  background:var(--black);margin-top:-3.5px}
#sndVol::-moz-range-thumb{
  width:9px;height:9px;border:none;border-radius:50%;background:var(--black)}
#sndVol:focus{outline:none}

/* Soundwave icon — a travelling waveform, flat when muted */
.wave-svg .wv-line{opacity:1;transition:opacity .25s ease}
.wave-svg .wv-flat{opacity:0;transition:opacity .25s ease}
.wave-svg .wv-slash{opacity:0;transition:opacity .25s ease}
.snd-btn.muted .wave-svg .wv-line{opacity:0}
.snd-btn.muted .wave-svg .wv-flat{opacity:1}
.snd-btn.muted .wave-svg .wv-slash{opacity:1}
@media (prefers-reduced-motion:no-preference){
  /* The path is drawn several periods wide; shifting it by exactly one
     period and repeating gives a seamless travelling wave. */
  .snd-btn.playing .wave-svg .wv-line{animation:wvTravel 2.4s linear infinite}
  @keyframes wvTravel{
    from{transform:translateX(0)}
    to  {transform:translateX(20px)}
  }
}
    50%    {transform:scaleY(1)}
  }
}
.snd-btn.playing{color:var(--black)}


@media (prefers-reduced-motion:no-preference){
  /* Scroll reveal */
  .reveal{opacity:0;transform:translateY(16px);
    transition:opacity .65s cubic-bezier(.2,.7,.3,1),transform .65s cubic-bezier(.2,.7,.3,1)}
  .reveal.in{opacity:1;transform:none}

  /* Hover feedback WITHOUT moving the element.
     Any hover effect that shifts geometry can move the element out from
     under the cursor at its edge: hover cancels, it returns, hover fires
     again — an infinite flicker. Shadow and colour can't do that. */
  .svc,.hiw-step,.faq-item,.cert-item,.trust-item{
    transition:box-shadow .22s ease,border-color .22s ease,background .22s ease}
  .svc:hover,.hiw-step:hover{
    box-shadow:0 6px 22px rgba(0,0,0,.10);
    border-color:var(--gray3)}
  [data-theme="dark"] .svc:hover,[data-theme="dark"] .hiw-step:hover{
    box-shadow:0 6px 22px rgba(0,0,0,.5)}

  /* Buttons */
  .submit,.hero-cta,.lbtn,.dark-btn{transition:transform .18s cubic-bezier(.2,.7,.3,1),background .2s,color .2s,border-color .2s}
  .submit:hover,.hero-cta:hover{transform:translateY(-2px)}
  .submit:active,.hero-cta:active{transform:translateY(0)}

/* Numeric readouts settle rather than jump */
  #ePrice,#eVatAmount,#ePriceVat,#eDelivery,#eParts{
    transition:color .25s ease;font-variant-numeric:tabular-nums}
  /* Readouts sit in centred or auto-width columns, so any change in text
     width recentres them mid-count. Reserve a fixed box for each. */
  .price-section--total{align-items:flex-end}
  #ePriceVat{display:inline-block;min-width:7.5ch;text-align:right}
  #ePrice,#eVatAmount{display:inline-block;min-width:6.5ch;text-align:left}
  #eDelivery{display:inline-block;min-width:7ch;text-align:center}
  #eParts{display:inline-block;min-width:2.5ch;text-align:right}
  /* The rate note is written after the amount and briefly cleared while a
     new price is fetched — reserve its space so nothing reflows. */
  #eVatRate{display:inline-block;min-width:4.5ch}
  .num-changing{color:var(--gray3)}
  /* Held value while the server price is in flight */
  .num-pending{opacity:.45;transition:opacity .2s ease}

  /* Parts arrive rather than appearing */
  @keyframes viIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
  .vi-item{animation:viIn .32s cubic-bezier(.2,.7,.3,1) backwards}

  /* Material rows sweep in on first view */
  .materials-table tbody tr{opacity:0;transform:translateX(-6px);
    transition:opacity .45s ease,transform .45s ease,background .18s}
  .materials-table tbody tr.in{opacity:1;transform:none}

  /* Nav links draw an underline from the left.
     .nav-drop > a already uses ::after for its caret, and the dropdown's own
     links are block items in a panel — both must be excluded. */
  nav li > a:not(.nav-drop > a){position:relative}
  nav li > a:not(.nav-drop > a)::after{
    content:'';position:absolute;left:0;bottom:-3px;height:1px;width:0;
    background:currentColor;transition:width .22s cubic-bezier(.2,.7,.3,1)}
  nav li > a:not(.nav-drop > a):hover::after{width:100%}
  .nav-drop-menu a::after{display:none !important}

  /* FAQ answers ease open */
  @keyframes faqIn{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
  .faq-a{animation:faqIn .3s ease}

  /* Nav settles on scroll */
  nav{transition:box-shadow .25s,background .25s}
  nav.scrolled{box-shadow:0 1px 0 var(--gray2)}
}

/* ── Dark theme corrections ─────────────────────────────────────────── */
[data-theme="dark"] #partsLoadingOverlay{background:rgba(15,15,15,.94)}
[data-theme="dark"] #partsLoadingBar{background:#f0f0f0}
[data-theme="dark"] .estimate #partsLoadingPct{color:#777}

/* Primary action: --black inverts in dark mode, so white-on-white */
[data-theme="dark"] .submit,
[data-theme="dark"] .hero-cta{background:#f0f0f0;color:#0d0d0d}
[data-theme="dark"] .submit:hover,
[data-theme="dark"] .hero-cta:hover{background:#ffffff;color:#0d0d0d}
[data-theme="dark"] .submit:disabled{background:#333;color:#777}

/* Volume-series note has a hardcoded light background */
[data-theme="dark"] #seriesNote{
  background:#161616 !important;border-color:#2a2a2a !important;color:#b0b0b0}
[data-theme="dark"] #seriesNote strong{color:#f0f0f0}
[data-theme="dark"] #seriesNote a{color:#f0f0f0 !important}

/* Stripe container */
[data-theme="dark"] #paymentElementWrap,
[data-theme="dark"] .stripe-wrap{background:transparent}

*{margin:0;padding:0;box-sizing:border-box}
:root{
  --black:#0a0a0a;
  --white:#ffffff;
  --gray1:#f5f5f5;
  --gray2:#e8e8e8;
  --gray3:#999;
  --gray4:#555;
}
[data-theme="dark"]{
  --black:#f0f0f0;
  --white:#0f0f0f;
  --gray1:#1a1a1a;
  --gray2:#2a2a2a;
  --gray3:#666;
  --gray4:#aaa;
}
[data-theme="dark"] body{background:#0f0f0f;color:#f0f0f0}
[data-theme="dark"] nav{background:rgba(15,15,15,0.97);border-bottom-color:#2a2a2a}
[data-theme="dark"] .nav-mobile{background:rgba(15,15,15,.98)}
[data-theme="dark"] .hero{background:#0f0f0f}
[data-theme="dark"] .upload-zone{background:#1a1a1a;border-color:#2a2a2a}
[data-theme="dark"] .upload-zone:hover{background:#222;border-color:#444}
[data-theme="dark"] .part-item{background:#1a1a1a;border-color:#2a2a2a}
[data-theme="dark"] .part-item.active{border-color:#f0f0f0}
[data-theme="dark"] .viewer-wrap{background:#111}
[data-theme="dark"] input,[data-theme="dark"] select,[data-theme="dark"] textarea{background:#1a1a1a;border-color:#2a2a2a;color:#f0f0f0}
[data-theme="dark"] .order-form{background:#0f0f0f}
[data-theme="dark"] .est-card{background:#1a1a1a}
[data-theme="dark"] .section-alt{background:#111}
[data-theme="dark"] .footer-main{background:#0a0a0a;border-top-color:#1a1a1a}
[data-theme="dark"] .footer-bottom{background:#050505}
[data-theme="dark"] .hero-cta{background:#f0f0f0;color:#0a0a0a}
[data-theme="dark"] .hero-cta:hover{background:#ffffff}
[data-theme="dark"] .hero-cta-secondary{color:#666}
[data-theme="dark"] .hero-cta-secondary:hover{color:#f0f0f0}
[data-theme="dark"] .trust-bar{background:#1a1a1a}
[data-theme="dark"] .sticky-cta{background:#1a1a1a;border-top-color:#2a2a2a}
[data-theme="dark"] .sticky-btn{background:#f0f0f0;color:#0a0a0a}
[data-theme="dark"] .sticky-btn:hover{background:#fff}
[data-theme="dark"] .stripe-wrap{background:#1a1a1a}
.dark-btn{background:none;border:none;cursor:pointer;padding:4px 6px;display:flex;align-items:center;color:var(--black);transition:opacity .15s}
.dark-btn:hover{opacity:.6}
.dark-btn-svg{opacity:.75}
.dark-btn-svg{stroke:currentColor}
.icon-moon{display:none}
[data-theme="dark"] .icon-sun{display:none}
[data-theme="dark"] .icon-moon{display:block}
html{scroll-behavior:smooth}
body{
  background:var(--white);
  color:var(--black);
  font-family:'Inter','Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

/* NAV */
nav{
  position:sticky;top:0;z-index:100;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 clamp(1rem, 4vw, 4rem);height:64px;
  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--gray2);
  box-sizing:border-box;
  width:100%;
}
.logo{font-size:1.2rem;font-weight:700;letter-spacing:4px;color:var(--black);text-decoration:none}
.nav-links{display:flex;align-items:center;gap:2.5rem;list-style:none}
.nav-links li{display:flex;align-items:center}
.nav-links a{font-size:0.8rem;color:var(--gray3);letter-spacing:.5px;text-decoration:none;transition:color .15s}
.nav-links a:hover{color:var(--black)}
.nav-right{display:flex;align-items:center;gap:1.25rem}
.nav-phone{
  display:flex;align-items:center;gap:6px;
  font-size:.8rem;color:var(--black);font-weight:600;
  text-decoration:none;letter-spacing:.2px;
  white-space:nowrap;transition:opacity .15s;
}
.nav-phone:hover{opacity:.6}
.nav-phone svg{flex-shrink:0;opacity:.7}
.lang-dd{position:relative}
.lang-dd-btn{
  display:flex;align-items:center;gap:5px;
  background:none;border:none;cursor:pointer;
  font-family:inherit;color:var(--black);
  font-size:.75rem;letter-spacing:.5px;font-weight:600;
  padding:4px 6px;
}
.lang-dd-btn svg{flex-shrink:0;opacity:.75}
.lang-dd-menu{
  position:absolute;top:calc(100% + 10px);right:0;
  background:var(--white);border:1px solid var(--gray2);
  min-width:150px;padding:.4rem 0;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
  display:none;flex-direction:column;
  z-index:200;
}
.lang-dd.open .lang-dd-menu{display:flex}
.lang-dd-menu .lbtn{
  background:none;border:none;text-align:left;
  font-family:inherit;color:var(--gray4);
  font-size:.8rem;letter-spacing:.2px;
  padding:.5rem 1rem;cursor:pointer;
}
.lang-dd-menu .lbtn:hover{background:var(--gray1);color:var(--black)}
.lang-dd-menu .lbtn.on{color:var(--black);font-weight:700}
.btn-nav{
  background:var(--black);color:var(--white);border:none;
  padding:.5rem 1.4rem;font-size:0.78rem;letter-spacing:1.5px;
  text-transform:uppercase;cursor:pointer;transition:background .15s;
  font-family:inherit;
}
.btn-nav:hover{background:#333}

/* NAV DROPDOWN (Blog) */
.nav-drop{position:relative}
.nav-drop>a{display:flex;align-items:center;gap:4px}
.nav-drop>a::after{content:'';width:5px;height:5px;border-right:1px solid var(--gray3);border-bottom:1px solid var(--gray3);transform:rotate(45deg);margin-top:-2px;transition:border-color .15s}
.nav-drop:hover>a::after{border-color:var(--black)}
.nav-drop-menu{
  position:absolute;top:100%;left:50%;transform:translateX(-50%);
  background:var(--white);border:1px solid var(--gray2);
  min-width:280px;padding:.5rem 0;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .15s,visibility .15s;
  z-index:50;
}
.nav-drop:hover .nav-drop-menu{opacity:1;visibility:visible;pointer-events:auto}
.nav-drop-menu a{
  display:block;padding:.6rem 1.1rem;font-size:.78rem;
  color:var(--gray4);white-space:normal;line-height:1.4;
  border-bottom:1px solid var(--gray1);
}
.nav-drop-menu a:last-child{border-bottom:none}
.nav-drop-menu a:hover{color:var(--black);background:var(--gray1)}
.nav-drop-menu a small{display:block;font-size:.62rem;letter-spacing:1px;color:var(--gray3);text-transform:uppercase;margin-bottom:.2rem}
.nav-drop-all{font-weight:600;color:var(--black) !important}

/* HERO */
.hero{
  display:grid;grid-template-columns:1fr 1fr;
  gap:4rem;align-items:end;
  padding:7rem clamp(1rem, 5vw, 5rem) 5rem;
  border-bottom:1px solid var(--gray2);
  min-height:90vh;
}
.hero-eyebrow{
  font-size:0.72rem;letter-spacing:3px;color:var(--gray3);
  text-transform:uppercase;margin-bottom:1.5rem;
  display:flex;align-items:center;gap:12px;
}
.hero-eyebrow::before{content:'';display:block;width:24px;height:1px;background:var(--gray3)}
h1{
  font-size:clamp(3.5rem,7vw,6rem);
  font-weight:700;line-height:.9;
  letter-spacing:-4px;color:var(--black);
  margin-bottom:2rem;
}
.hero-desc{font-size:1rem;color:var(--gray4);max-width:420px;line-height:1.75;margin-bottom:2.5rem}
.hero-actions{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}
.btn-primary{
  background:var(--black);color:var(--white);border:none;
  padding:.9rem 2.2rem;font-size:0.82rem;letter-spacing:1.5px;
  text-transform:uppercase;cursor:pointer;transition:background .15s;font-family:inherit;
}
.btn-primary:hover{background:#333}
.btn-ghost{
  background:none;border:none;font-size:0.82rem;color:var(--gray3);
  cursor:pointer;transition:color .15s;font-family:inherit;letter-spacing:.3px;
}
.btn-ghost:hover{color:var(--black)}
.hero-specs{}
.spec-row{
  display:flex;justify-content:space-between;align-items:baseline;
  padding:.9rem 0;border-bottom:1px solid var(--gray2);
}
.spec-row:first-child{border-top:1px solid var(--gray2)}
.spec-label{font-size:0.78rem;color:var(--gray3);letter-spacing:.3px}
.spec-val{font-size:1.1rem;font-weight:600;letter-spacing:-.5px}

/* SECTIONS */
section{padding:6rem 4rem;border-bottom:1px solid var(--gray2)}
.sec-eyebrow{font-size:0.68rem;letter-spacing:3px;color:var(--gray3);text-transform:uppercase;margin-bottom:.6rem;display:block}
h2{font-size:clamp(1.8rem,3vw,2.6rem);font-weight:700;letter-spacing:-1.5px;line-height:1.1;margin-bottom:.5rem}
.sec-intro{color:var(--gray4);font-size:1rem;max-width:500px;margin-top:.5rem}

/* SERVICES */
.services-grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  border:1px solid var(--gray2);margin-top:3.5rem;
}
.svc{
  padding:2.25rem 2rem;border-right:1px solid var(--gray2);
  border-bottom:1px solid var(--gray2);transition:background .2s;
}
.svc:hover{background:var(--gray1)}
.svc:nth-child(3n){border-right:none}
.svc:nth-child(4),.svc:nth-child(5),.svc:nth-child(6){border-bottom:none}
.svc-n{font-size:0.62rem;color:#ccc;letter-spacing:2px;margin-bottom:1.2rem;display:block;font-family:monospace}
.svc h3{font-size:.95rem;font-weight:600;letter-spacing:-.2px;margin-bottom:.5rem}
.svc p{font-size:.82rem;color:var(--gray4);line-height:1.65}
.svc-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:1.1rem}
.tag{font-size:.65rem;letter-spacing:.5px;color:var(--gray3);border:1px solid var(--gray2);padding:3px 8px}

/* PROCESS */
.process-grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  border:1px solid var(--gray2);margin-top:3.5rem;
}
.step{padding:2.25rem 1.75rem;border-right:1px solid var(--gray2)}
.step:last-child{border-right:none}
.step-n{font-size:2.5rem;font-weight:700;color:var(--gray2);letter-spacing:-2px;display:block;line-height:1;margin-bottom:.75rem;font-variant-numeric:tabular-nums}
.step h3{font-size:.85rem;font-weight:600;letter-spacing:-.2px;margin-bottom:.4rem}
.step p{font-size:.78rem;color:var(--gray4);line-height:1.65}

/* ORDER FORM */
.order-wrap{max-width:100%;margin-top:3.5rem}
.order-inner{display:grid;grid-template-columns:1fr 380px;gap:3rem;align-items:start}
.order-main{}
.order-sidebar{
  border:1px solid var(--gray2);padding:2rem;
  position:sticky;top:80px;
}
.sidebar-title{font-size:.65rem;letter-spacing:2px;color:var(--gray3);text-transform:uppercase;margin-bottom:1.25rem;display:block}
@media(max-width:1200px){.order-inner{grid-template-columns:1fr 340px}}
@media(max-width:1100px){.order-inner{grid-template-columns:1fr}}
@media(max-width:900px){.order-inner{grid-template-columns:1fr;gap:1.5rem}}
.tabs{display:flex;border-bottom:1px solid var(--gray2);margin-bottom:2.5rem}
.tab{
  background:none;border:none;border-bottom:2px solid transparent;
  padding:.8rem 1.5rem .8rem 0;margin-bottom:-1px;
  font-size:.8rem;letter-spacing:.3px;color:var(--gray3);
  cursor:pointer;transition:all .15s;font-family:inherit;
}
.tab.on{color:var(--black);border-bottom-color:var(--black)}
.tab:hover:not(.on){color:var(--gray4)}

/* UPLOAD */
.upload-area{
  border:1px dashed var(--gray2);padding:3.5rem 2rem;
  text-align:center;cursor:pointer;transition:all .2s;
  position:relative;margin-bottom:1rem;
}
.upload-area:hover,.upload-area.drag{border-color:var(--black);background:var(--gray1)}
.upload-area input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}
.upload-icon{font-size:1.5rem;display:block;margin-bottom:.75rem;color:var(--gray3)}
.upload-title{font-size:.85rem;font-weight:600;display:block}
.upload-sub{font-size:.75rem;color:var(--gray3);margin-top:.3rem}



/* PARTS TABLE — replaced by sidebar */
#parts-wrap{display:none}
.parts-hdr{display:none}
.prow{display:none}
.pthumb{display:none}

/* ESTIMATE */
.estimate{
  display:flex;justify-content:space-between;align-items:center;
  padding:1.25rem 0;border-top:1px solid var(--gray2);
  margin:0 0 1.5rem;flex-wrap:wrap;gap:1rem;
}

/* PRICE BREAKDOWN */
.price-breakdown{display:flex;align-items:flex-end;justify-content:space-between;gap:4rem}
.price-section{display:flex;flex-direction:column;gap:2px}
.price-left{display:flex;flex-direction:column;gap:.6rem}
.price-section--total{text-align:right}
.price-sec-label{font-size:.58rem;letter-spacing:2px;color:var(--gray3);text-transform:uppercase}
.price-sec-row{display:flex;align-items:baseline;gap:.4rem}
.price-sec-value{font-size:.9rem;font-weight:600;letter-spacing:-.3px}
.price-sec-note{font-size:.65rem;color:var(--gray3)}
.price-total{font-size:1.9rem;font-weight:700;letter-spacing:-1.5px;display:block}

.est-l{font-size:.65rem;letter-spacing:2px;color:var(--gray3);text-transform:uppercase;display:block;margin-bottom:4px}
.est-price{font-size:2rem;font-weight:700;letter-spacing:-1.5px}
.est-note{font-size:.7rem;color:#bbb;margin-top:3px}

/* FORMS */
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin-bottom:.4rem}
.field-group{margin-bottom:1.5rem}
.field-group .fg{margin-bottom:.4rem}
.field-group .form-row{margin-bottom:.4rem}
.form-section{margin-bottom:2rem}
.form-section .fg{margin-bottom:.4rem}
.form-section .form-row{margin-bottom:.4rem}
.fg{display:flex;flex-direction:column;gap:3px;margin-bottom:.55rem}
.fg label{font-size:.6rem;letter-spacing:1.5px;color:var(--gray3);text-transform:uppercase}
.fg input,.fg select,.fg textarea{
  background:var(--gray1);border:1px solid var(--gray2);
  color:var(--black);padding:.45rem .7rem;font-size:.82rem;
  font-family:inherit;outline:none;transition:border-color .15s;
  -webkit-appearance:none;
}
.fg input::placeholder,.fg textarea::placeholder{color:#ccc}
.fg input:focus,.fg select:focus,.fg textarea:focus{border-color:var(--black);background:var(--white)}
.fg textarea{resize:vertical;min-height:70px}

/* PAYMENT ELEMENT */
.pay-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:1.5rem}
.popt{
  flex:1;min-width:90px;border:1px solid var(--gray2);
  background:#fff;padding:.6rem .75rem;text-align:center;
  cursor:pointer;font-size:.7rem;color:var(--gray3);letter-spacing:.5px;
  text-transform:uppercase;transition:all .15s;font-family:inherit;
}
.popt.on{border-color:var(--black);color:var(--black);background:var(--gray1)}
.popt:hover:not(.on){border-color:#ccc;color:var(--gray4)}

/* STRIPE CARD */
.card-wrap{background:var(--gray1);border:1px solid var(--gray2);padding:1rem;margin-bottom:1rem;display:none}
.card-wrap.show{display:block}
#payment-element{padding:4px 0}
#payment-element iframe{border-radius:0 !important}
#card-errors{color:#e00;font-size:.8rem;margin-top:.5rem;min-height:20px}

.submit{
  width:100%;background:var(--black);color:#fff;border:none;
  padding:1.1rem;font-size:.82rem;letter-spacing:2px;text-transform:uppercase;
  cursor:pointer;transition:background .15s;font-family:inherit;font-weight:600;
}
.submit:hover{background:#333}
.submit:disabled{background:#ccc;cursor:not-allowed}

/* SUCCESS */
.success{display:none;padding:3rem 0;text-align:center}
.success h3{font-size:1.2rem;font-weight:700;letter-spacing:-.5px;margin-bottom:.5rem}
.success p{font-size:.88rem;color:var(--gray4)}
.success-tick{font-size:2.5rem;display:block;margin-bottom:1rem}

/* CONTACT */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:5rem;max-width:880px;margin-top:3.5rem}
.cinfo{display:flex;flex-direction:column;gap:2rem}
.citem h4{font-size:.65rem;letter-spacing:2px;color:var(--gray3);text-transform:uppercase;margin-bottom:.3rem}
.citem p{font-size:.92rem}
.cform{display:flex;flex-direction:column}

/* 3D VIEWER — integrated sidebar */
.viewer-layout{
  display:grid;grid-template-columns:420px 1fr;
  border:1px solid var(--gray2);margin-bottom:1.5rem;
  height:clamp(320px, 44vh, 520px);
  overflow:hidden;
  width:100%;
}
@media(max-width:900px){
  .viewer-layout{grid-template-columns:1fr;height:auto}
  .viewer-list{max-height:250px;border-right:none;border-bottom:1px solid var(--gray2)}
  .viewer-canvas-wrap{height:280px}
  .viewer-layout{min-height:0}
}
.viewer-list{
  border-right:1px solid var(--gray2);
  overflow-y:auto;display:flex;flex-direction:column;
  position:relative;z-index:2;
}
.vi-item{border-bottom:1px solid var(--gray2);cursor:pointer;transition:background .15s}
.vi-item:hover{background:var(--gray1)}
.vi-item.active{background:var(--gray1);border-left:2px solid var(--black)}
.vi-top{display:flex;align-items:center;gap:10px;padding:.75rem 1rem .4rem}
.vi-badge-ext{
  width:44px;height:44px;flex-shrink:0;
  background:var(--gray1);border:1px solid var(--gray2);
  display:flex;align-items:center;justify-content:center;
  font-size:.52rem;letter-spacing:1px;color:var(--gray3);
  text-transform:uppercase;font-weight:700;overflow:hidden;
}
.vi-meta{flex:1;min-width:0}
.vi-name{font-size:.78rem;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vi-sub{font-size:.65rem;color:var(--gray3);margin-top:2px}
.vi-del{background:none;border:none;color:#ccc;cursor:pointer;font-size:1rem;padding:4px 6px;transition:color .15s;font-family:inherit;flex-shrink:0}
.vi-del:hover{color:#e00}
.vi-cfg{padding:.25rem .85rem .6rem;display:grid;grid-template-columns:1fr 1fr;gap:0 2.25rem;align-items:start;
  background:linear-gradient(var(--gray2),var(--gray2)) center top/1px 100% no-repeat}
.vi-col{display:flex;flex-direction:column;min-width:0}

/* Settings only expand for the selected part */
.vi-item:not(.active) .vi-cfg{display:none}
.vi-field{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:.4rem;padding:3px 0;border-bottom:1px solid var(--gray1);min-width:0}
.vi-field:last-child{border-bottom:none}
.vi-field-full{grid-column:1/-1}
.vi-lbl{font-size:.68rem;color:var(--gray4);white-space:nowrap;flex-shrink:0;min-width:0}
.vi-field input,.vi-field select{font-size:.68rem;border:none;background:none;color:var(--black);text-align:right;padding:0;font-family:inherit;max-width:100%;min-width:0;outline:none;color-scheme:inherit}
.vi-field select{cursor:pointer}

/* Custom select — dark mode safe */
.csel{position:relative;display:inline-block;width:5rem;min-width:5rem;max-width:5rem;flex:0 0 5rem}
.csel-val{
  display:flex;align-items:center;justify-content:space-between;gap:4px;
  font-size:.72rem;color:var(--black);cursor:pointer;padding:2px 0;
  border-bottom:1px dashed var(--gray2);user-select:none;white-space:nowrap;
}
.csel-val::after{content:'';width:4px;height:4px;border-right:1px solid var(--gray3);border-bottom:1px solid var(--gray3);transform:rotate(45deg);margin-top:-3px;flex-shrink:0}
.csel-drop{
  position:absolute;right:0;top:calc(100% + 4px);
  background:var(--white);border:1px solid var(--gray2);
  min-width:100%;max-height:200px;overflow-y:auto;
  z-index:500;box-shadow:0 4px 16px rgba(0,0,0,.12);
  display:none;
}
.csel-drop.open{display:block}
.csel-opt{
  display:block;padding:.4rem .65rem;font-size:.72rem;
  color:var(--black);cursor:pointer;white-space:nowrap;
}
.csel-opt:hover{background:var(--gray1)}
.csel-opt.selected{font-weight:700}
[data-theme="dark"] .csel-val{border-bottom-color:#444}
[data-theme="dark"] .csel-drop{background:#1a1a1a;border-color:#333;box-shadow:0 4px 16px rgba(0,0,0,.5)}
[data-theme="dark"] .csel-opt{color:#f0f0f0}
[data-theme="dark"] .csel-opt:hover{background:#2a2a2a}
[data-theme="dark"] .csel-opt.selected{color:#fff}

.mat-suggestion{
  display:flex;align-items:center;justify-content:space-between;gap:.5rem;
  background:var(--gray1);border:1px solid var(--gray2);
  padding:.5rem .65rem;margin-top:2px;
}
.mat-sug-text{
  display:flex;align-items:flex-start;gap:.4rem;
  font-size:.66rem;color:var(--gray4);line-height:1.5;
}
.mat-sug-icon{font-size:.8rem;color:var(--gray3);flex-shrink:0;line-height:1.4}
.mat-sug-btn{
  flex-shrink:0;background:var(--black);color:#fff;border:none;
  padding:.3rem .65rem;font-size:.62rem;font-weight:600;letter-spacing:.3px;
  cursor:pointer;font-family:inherit;text-transform:uppercase;
  transition:background .15s;
}
.mat-sug-btn:hover{background:#333}
.vi-lbl{font-size:.68rem;color:var(--gray4);white-space:nowrap;flex-shrink:0;min-width:0}
.vi-cfg select,.vi-cfg input{
  background:#fff;border:1px solid var(--gray2);color:var(--black);
  padding:3px 6px;font-size:.72rem;font-family:inherit;outline:none;
  transition:border-color .15s;-webkit-appearance:none;appearance:none;
  width:5rem;max-width:5rem;min-width:0;flex:0 0 5rem;text-align:right;
}
.vi-cfg select:focus,.vi-cfg input:focus{border-color:var(--black)}
.vi-add{
  margin:auto 1rem 1rem;border:1px dashed var(--gray2);
  color:var(--gray3);font-size:.72rem;letter-spacing:1px;
  text-transform:uppercase;padding:.65rem;transition:all .15s;
}
.vi-add:hover{border-color:var(--black);color:var(--black)}
.viewer-canvas-wrap{
  position:relative;background:#f8f8f8;
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;z-index:1;
}
.viewer-canvas-wrap canvas{position:absolute;inset:0;width:100%!important;height:100%!important;display:block}
.btn-ar{position:absolute;bottom:10px;left:10px;z-index:10;display:none;
  background:var(--black);color:var(--white);border:none;cursor:pointer;
  font-size:.65rem;letter-spacing:1px;text-transform:uppercase;font-family:inherit;
  padding:5px 10px;font-weight:600;gap:5px;align-items:center;}
.btn-ar:hover{opacity:.8}
.btn-ar.visible{display:flex}
[data-theme="dark"] .btn-ar{background:#f0f0f0;color:#0a0a0a}

#ovLoading{position:absolute;inset:0;display:none;flex-direction:column;align-items:center;justify-content:center;background:rgba(248,248,248,.96);z-index:20}
#ovLoading .ov-spinner{width:28px;height:28px;border:2px solid var(--gray2);border-top-color:var(--black);border-radius:50%;animation:spin .7s linear infinite;margin-bottom:.75rem}
#ovLoading .ov-label{font-size:.7rem;letter-spacing:2px;text-transform:uppercase;color:var(--gray3)}
.viewer-placeholder{
  position:absolute;inset:0;
  text-align:center;color:var(--gray3);font-size:.82rem;
  line-height:1.8;pointer-events:none;padding:2rem;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  z-index:1;background:#f8f8f8;
}
.vp-icon{font-size:2.5rem;opacity:.2;display:block;margin-bottom:.75rem}

footer{
  padding:2rem clamp(1rem, 4vw, 4rem);
  display:flex;justify-content:space-between;align-items:center;
  flex-wrap:wrap;gap:1rem;
}
.fl{font-size:.85rem;font-weight:700;letter-spacing:4px}
.fc{font-size:.72rem;color:var(--gray3)}


/* TRUST BAR */
.trust-bar{
  display:flex;justify-content:center;gap:0;
  border-top:1px solid var(--gray2);border-bottom:1px solid var(--gray2);
  background:var(--gray1);
}
.trust-item{
  display:flex;align-items:center;gap:.75rem;
  padding:1.1rem 1.5rem;
  border-right:1px solid var(--gray2);
  flex:1;justify-content:center;min-width:0;
}
.trust-item:last-child{border-right:none}
.trust-icon{font-size:1rem;opacity:.5;font-family:monospace;font-weight:400}
.trust-text{display:flex;flex-direction:column}
.trust-val{font-size:.88rem;font-weight:700;letter-spacing:-.3px}
.trust-lbl{font-size:.65rem;color:var(--gray3);letter-spacing:.5px;text-transform:uppercase}

/* ABOUT SECTION */
.about-grid{
  display:grid;grid-template-columns:1fr 1fr;
  gap:5rem;margin-top:3rem;align-items:start;
}
.about-text p{font-size:.95rem;color:var(--gray4);line-height:1.8;margin-bottom:1rem}
.about-facts{display:flex;flex-direction:column;gap:1rem;margin-top:1.5rem}
.about-fact{display:flex;flex-direction:column}
.about-fact-val{font-size:1.8rem;font-weight:700;letter-spacing:-1px}
.about-fact-lbl{font-size:.68rem;color:var(--gray3);letter-spacing:1px;text-transform:uppercase}
.about-cert{
  display:flex;flex-direction:column;gap:1rem;
  padding:2rem;background:var(--gray1);border:1px solid var(--gray2);
}
.cert-item{
  display:flex;align-items:center;gap:.75rem;
  font-size:.82rem;color:var(--gray4);padding:.5rem 0;
  border-bottom:1px solid var(--gray2);
}
.cert-item:last-child{border-bottom:none}
.cert-icon{font-size:1.1rem}
.cert-label{font-weight:600;font-size:.78rem}
.cert-desc{font-size:.72rem;color:var(--gray3)}


/* COOKIE BANNER */
.cookie-banner{
  position:fixed;bottom:0;left:0;right:0;
  background:#0a0a0a;color:#fff;
  padding:1.25rem 2rem;z-index:999;
  display:flex;align-items:center;justify-content:space-between;
  gap:1rem;flex-wrap:wrap;
}
.cookie-banner p{font-size:.78rem;color:#ccc;line-height:1.6;margin:0;flex:1;min-width:200px}
.cookie-banner a{color:#fff;text-decoration:underline}
.cookie-btns{display:flex;gap:.75rem;flex-shrink:0}
.cookie-accept{
  background:#fff;color:#0a0a0a;border:none;
  padding:.5rem 1.25rem;font-size:.75rem;font-weight:600;
  cursor:pointer;font-family:inherit;letter-spacing:.5px;
}
.cookie-reject{
  background:none;color:#999;border:1px solid #444;
  padding:.5rem 1.25rem;font-size:.75rem;
  cursor:pointer;font-family:inherit;letter-spacing:.5px;
}
.cookie-reject:hover{color:#fff;border-color:#999}

/* TRUST BADGES (before submit) */
.trust-badges{
  display:flex;align-items:center;gap:1rem;
  padding:1rem 0;margin-bottom:1rem;
  border-top:1px solid var(--gray2);border-bottom:1px solid var(--gray2);
  flex-wrap:wrap;
}
.badge{
  display:flex;align-items:center;gap:.4rem;
  font-size:.68rem;color:var(--gray3);letter-spacing:.3px;
}
.badge-icon{font-size:.9rem}

/* VIES VALIDATION */
.vies-status{font-size:.68rem;margin-top:2px;min-height:0;display:block;line-height:1.45}
.vies-sep{color:var(--gray3)}
.vies-ok{color:#2a7a2a}
.vies-err{color:#888}
.vies-loading{color:#999}
.vies-company{font-size:.72rem;color:#2a7a2a;font-weight:600}



/* WHATSAPP BUTTON */
.wa-btn{
  position:fixed;bottom:2rem;right:2rem;
  width:56px;height:56px;
  background:var(--black);color:#fff;
  border:none;border-radius:50%;
  cursor:pointer;z-index:900;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 20px rgba(0,0,0,.25);
  transition:transform .2s, box-shadow .2s;
  text-decoration:none;
}
.wa-btn:hover{
  transform:scale(1.1);
  box-shadow:0 6px 28px rgba(0,0,0,.3);
}
.wa-btn svg{width:28px;height:28px;fill:#fff}
[data-theme="dark"] .wa-btn{background:#f0f0f0;box-shadow:0 4px 20px rgba(0,0,0,.5)}
[data-theme="dark"] .wa-btn svg{fill:#0a0a0a}
/* ── Dark mode: viewer, thumbnails, inputs ── */
[data-theme="dark"] .viewer-canvas-wrap{background:#111}
[data-theme="dark"] #ovLoading{background:rgba(15,15,15,.96)}
[data-theme="dark"] .vi-item:hover{background:#222}
[data-theme="dark"] .vi-item.active-thumb{background:#1a1a1a}
[data-theme="dark"] input,[data-theme="dark"] select,[data-theme="dark"] textarea{background:#1a1a1a;border-color:#2a2a2a;color:#f0f0f0;color-scheme:dark}
[data-theme="dark"] .vi-field select,[data-theme="dark"] .vi-mat-col-inner select{color-scheme:dark;background:#1a1a1a;color:#f0f0f0}
[data-theme="dark"] .vi-field input,[data-theme="dark"] .vi-field select{color:#f0f0f0;background:transparent}
[data-theme="dark"] .vi-mat-col-inner select{color:#f0f0f0;background:#1a1a1a}
[data-theme="dark"] .fg input:focus,[data-theme="dark"] .fg select:focus,[data-theme="dark"] .fg textarea:focus{background:#222;color:#f0f0f0}
[data-theme="dark"] .order-panel{background:#111}
[data-theme="dark"] .vi-item{background:#111;border-color:#2a2a2a}
[data-theme="dark"] .vi-field{border-bottom-color:#2a2a2a}
[data-theme="dark"] .vi-cfg{background:#111}
[data-theme="dark"] .part-price{color:#f0f0f0}
@media(max-width:900px){
  .wa-btn{right:1rem;bottom:1rem;width:52px;height:52px}
  .wa-btn svg{width:24px;height:24px}
}

/* ENHANCED FOOTER */
.footer-main{
  display:grid;grid-template-columns:1fr 1fr 1fr;
  gap:3rem;padding:3rem clamp(1rem, 4vw, 4rem) 2rem;
  border-top:1px solid var(--gray2);
}
.footer-col h4{font-size:.65rem;letter-spacing:2px;color:var(--gray3);text-transform:uppercase;margin-bottom:1rem}
.footer-col p,.footer-col a{font-size:.78rem;color:var(--gray4);line-height:1.9;text-decoration:none;display:block}
.footer-col a:hover{color:var(--black)}
.footer-bottom{
  display:flex;justify-content:space-between;align-items:center;
  padding:1.25rem clamp(1rem, 4vw, 4rem);border-top:1px solid var(--gray2);
  flex-wrap:wrap;gap:.5rem;
}

/* HOW IT WORKS */
.hiw{display:grid;grid-template-columns:1fr 1fr 1fr;gap:0;margin-top:2rem;border:1px solid var(--gray2)}
.hiw-step{padding:2rem 1.75rem;position:relative;border-right:1px solid var(--gray2)}
.hiw-step:last-child{border-right:none}
.hiw-n{font-size:.6rem;letter-spacing:3px;color:var(--gray3);text-transform:uppercase;margin-bottom:.75rem}
.hiw-icon{font-size:1.4rem;margin-bottom:.75rem;display:block}
.hiw-title{font-size:.95rem;font-weight:700;margin-bottom:.4rem}
.hiw-desc{font-size:.8rem;color:var(--gray4);line-height:1.7}
.hiw-arrow{position:absolute;right:-18px;top:50%;transform:translateY(-50%);font-size:1.1rem;color:#0a0a0a;z-index:1;background:#fff;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:900;letter-spacing:-1px}
[data-theme="dark"] .hiw-arrow{background:#0f0f0f;color:#fff}

/* HERO CTA */
.hero-cta{
  display:inline-flex;align-items:center;gap:.5rem;
  background:var(--black);color:#fff;
  padding:.85rem 2rem;font-size:.82rem;
  font-weight:700;letter-spacing:1.5px;text-transform:uppercase;
  cursor:pointer;border:none;font-family:inherit;
  margin-top:2rem;transition:background .15s;text-decoration:none;
}
.hero-cta:hover{background:#222}
.hero-cta-secondary{
  display:inline-flex;align-items:center;gap:.5rem;
  color:var(--gray3);font-size:.78rem;letter-spacing:.5px;
  cursor:pointer;border:none;background:none;
  font-family:inherit;text-decoration:underline;
}
.hero-cta-secondary:hover{color:var(--black)}

/* STICKY CTA */
.sticky-cta{
  display:none;
  position:fixed;top:0;left:0;right:0;
  background:var(--black);color:#fff;
  padding:.6rem 2rem;z-index:200;
  align-items:center;justify-content:space-between;
  gap:1rem;
}
.sticky-cta.visible{display:flex}
.sticky-cta-text{font-size:.75rem;letter-spacing:.5px;color:#999}
.sticky-cta-btn{
  background:#fff;color:#000;border:none;
  padding:.45rem 1.25rem;font-size:.72rem;
  font-weight:700;letter-spacing:1px;text-transform:uppercase;
  cursor:pointer;font-family:inherit;white-space:nowrap;
}
.sticky-cta-btn:hover{background:#eee}

/* FAQ */
.faq-list{margin-top:2rem;max-width:760px}
.faq-item{border-bottom:1px solid var(--gray2)}
.faq-q{display:flex;justify-content:space-between;align-items:center;padding:1.1rem 0;cursor:pointer;font-weight:500;font-size:.9rem;gap:1rem}
.faq-q::after{content:'＋';font-size:1.1rem;font-weight:300;color:var(--gray3);flex-shrink:0}
.faq-item.open .faq-q::after{content:'－'}
.faq-a{display:none;padding:0 0 1.1rem;font-size:.85rem;color:var(--gray4);line-height:1.8}
.faq-item.open .faq-a{display:block}

/* MATERIALS TABLE */
.materials-table{width:100%;border-collapse:collapse;margin-top:2rem;font-size:.82rem}
.materials-table th{font-size:.6rem;letter-spacing:2px;color:var(--gray3);text-transform:uppercase;padding:.6rem 1rem;border-bottom:2px solid var(--black);text-align:left;font-weight:400}
.materials-table td{padding:.75rem 1rem;border-bottom:1px solid var(--gray2);vertical-align:middle}
.materials-table tr:hover td{background:var(--gray1)}
.mat-name{font-weight:600;font-size:.85rem}

/* MODAL */
.modal-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.7);
  z-index:1000;display:none;align-items:center;justify-content:center;
  padding:2rem;
}
.modal-overlay.open{display:flex}
.modal-box{
  background:#fff;max-width:720px;width:100%;max-height:85vh;
  overflow-y:auto;padding:3rem;position:relative;
}
.modal-close{
  position:absolute;top:1.5rem;right:1.5rem;
  background:none;border:none;font-size:1.5rem;cursor:pointer;
  color:var(--gray3);font-family:inherit;
}
.modal-close:hover{color:var(--black)}
.modal-box h2{font-size:1.1rem;font-weight:700;margin-bottom:.25rem}
.modal-box .modal-date{font-size:.72rem;color:var(--gray3);margin-bottom:2rem}
.modal-box h3{font-size:.82rem;font-weight:700;letter-spacing:1px;text-transform:uppercase;margin:2rem 0 .5rem}
.modal-box p{font-size:.85rem;color:var(--gray4);line-height:1.8;margin-bottom:.75rem}
.modal-box ul{font-size:.85rem;color:var(--gray4);line-height:1.8;padding-left:1.25rem;margin-bottom:.75rem}
.modal-box li{margin-bottom:.25rem}
.modal-box a{color:var(--black)}

/* SPINNER */
@keyframes spin{to{transform:rotate(360deg)}}
.spinner{
  display:inline-block;width:16px;height:16px;
  border:2px solid rgba(255,255,255,.3);
  border-top-color:#fff;border-radius:50%;
  animation:spin .7s linear infinite;vertical-align:middle;margin-right:8px;
}

@media(max-width:1200px){
  .nav-phone span{display:none}
}
@media(max-width:900px){
  .nav-phone span{display:none}
  .nav-phone{gap:0}
}
@media(max-width:780px){
  .nav-phone{display:none}
}
@media(max-width:900px){
  html,body{overflow-x:hidden;max-width:100vw}
  *{max-width:100%;box-sizing:border-box}
  nav{padding:0 1rem;box-sizing:border-box}
  .nav-links{display:none}
  .nav-phone{flex-shrink:0}
  .lang-dd-btn span{display:none}
  .lang-dd-btn{padding:4px}
  .lang-dd-menu{right:-1rem}
  .btn-nav{padding:.4rem .8rem;font-size:.7rem;letter-spacing:.5px}
  .hero{grid-template-columns:1fr;padding:5rem 1.5rem 3rem;min-height:auto;gap:3rem}
  section{padding:3rem 1rem !important;box-sizing:border-box}
  .services-grid{grid-template-columns:1fr 1fr}
  .svc:nth-child(2n){border-right:none}
  .svc:nth-child(3){border-right:1px solid var(--gray2)}
  .svc:nth-child(5),.svc:nth-child(6){border-bottom:none}
  .svc:nth-child(4){border-bottom:1px solid var(--gray2)}
  .process-grid{grid-template-columns:1fr 1fr}
  .step:nth-child(2n){border-right:none}
  .step:nth-child(1){border-bottom:1px solid var(--gray2)}
  .contact-grid{grid-template-columns:1fr}
  .form-row{grid-template-columns:1fr}
  footer{flex-direction:column;text-align:center}
  .viewer-layout{grid-template-columns:1fr;height:auto}
  .viewer-list{max-height:300px;border-right:none;border-bottom:1px solid var(--gray2)}
  .viewer-canvas-wrap{height:300px}

  /* Trust bar — 2 colunas em mobile */
  .trust-bar{flex-wrap:wrap}
  .trust-item{
    width:50%;flex:none;
    border-right:none;border-bottom:1px solid var(--gray2);
    padding:.75rem 1rem;
    box-sizing:border-box;
  }
  .trust-item:nth-child(odd){border-right:1px solid var(--gray2)}
  .trust-item:last-child{border-bottom:none}
  .trust-item:nth-last-child(2):nth-child(odd){border-bottom:none}
  .trust-val{font-size:.8rem}
  .trust-lbl{font-size:.58rem}

  /* HOW IT WORKS — coluna única em mobile */
  .hiw{grid-template-columns:1fr;border:1px solid var(--gray2)}
  .hiw-step{border-right:none;border-bottom:1px solid var(--gray2)}
  .hiw-step:last-child{border-bottom:none}
  .hiw-arrow{display:none}

  /* Footer */
  .footer-main{grid-template-columns:1fr;gap:1.5rem;padding:2rem 1rem}
  .footer-bottom{padding:1rem;flex-direction:column;text-align:center;font-size:.65rem}
  .about-grid{grid-template-columns:1fr}
  .sticky-cta-text{display:none}
  .sticky-cta-btn{margin-left:auto}
}
